Modify

Opened 6 years ago

Last modified 4 years ago

#10158 new defect

Backfire and Soekris48xx profile broken.

Reported by: dave@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: base system Version: Backfire 10.03.1 RC5
Keywords: soekris serial console Cc:

Description

I have a soekris net4826 board that hangs at the grub screen until a serial console is connected.

I've created the image use the follwing command:

OpenWrt-ImageBuilder-x86-for-Linux-i686$ make image V=99 PROFILE=Soekris48xx PACKAGES="libnl-tiny libuci wireless-tools kmod-ath kmod-ath5k kmod-cfg80211 kmod-crc-ccitt kmod-crypto-aes kmod-crypto-arc4 kmod-crypto-core kmod-e100 kmod-mac80211 luci luci-app-firewall luci-i18n-english luci-lib-core luci-lib-ipkg luci-lib-lmo luci-lib-nixio luci-lib-sys luci-lib-web luci-mod-admin-core luci-mod-admin-full luci-sgi-cgi luci-theme-base luci-theme-openwrt hostapd kmod-usb-serial-pl2303 microcom pyserial kmod-usb-core kmod-usb-ohci kmod-usb-serial kmod-usb-serial-ftdi kmod-usb2 avrdude aircrack-ng aircrack-ptw airpwn heyu hostap-utils openvpn kismet-server kismet-drone kismet-client mii-tool nbtscan nano netcat ntpdate bash sslsniff sslcat sshtunnel usbutils ethtool ettercap tcpdump"

but still get the following menu.lst:
OpenWrt-ImageBuilder-x86-for-Linux-i686$ cat build_dir/linux-x86_generic/root.grub/boot/grub/menu.lst
serial --unit=0 --speed=38400 --word=8 --parity=no --stop=1
terminal --timeout=2 console serial

default 0
timeout 5

title OpenWrt
root (hd0,0)
kernel /boot/vmlinuz block2mtd.block2mtd=/dev/sda2,65536,rootfs root=/dev/mtdblock0 rootfstype=squashfs rootwait console=tty0 console=ttyS0,38400n8 noinitrd reboot=bios
boot

title OpenWrt (failsafe)
root (hd0,0)
kernel /boot/vmlinuz failsafe=true block2mtd.block2mtd=/dev/sda2,65536,rootfs root=/dev/mtdblock0 rootfstype=squashfs rootwait console=tty0 console=ttyS0,38400n8 noinitrd reboot=bios
boot

I manually modified target/linux/x86/image/Makefile and removed the console option and now it boots.

Attachments (0)

Change History (3)

comment:1 Changed 6 years ago by anonymous

Before:

ifneq ($(CONFIG_X86_GRUB_CONSOLE),)

GRUB_CONSOLE_CMDLINE += console
GRUB_TERMINALS += console

endif

After:
ifneq ($(CONFIG_X86_GRUB_CONSOLE),)

GRUB_CONSOLE_CMDLINE +=
GRUB_TERMINALS +=

endif

comment:2 Changed 6 years ago by jow

The profile is fine but has no effect in the ImageBuilder as it only defines the initial menuconfig state. The correct workaround is to unset the Grub serial option in the shipped .config .

comment:3 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.