Kernel cmdline limited to 256 characters in pxeboot

Bug #820141 reported by Tobin Davis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro U-Boot
Fix Released
Undecided
John Rigby
u-boot-linaro (Ubuntu)
Fix Released
Undecided
Justin L Werner

Bug Description

The default # of characters allowed in the omap4 kernel is set at 512 according to /usr/src/linux-headers-3.0.0-1200-omap4/include/asm-generic/setup.h, however u-boot only allows 256 on the append line in the pxe config. With the panda, this is severely limiting due to the need to work around a known memory hole with mem=456M@0x80000000 mem=512M@0xA0000000. Either the memory hole is left unmasked, which may cause random kernel oops during an image install, or netinstall cannot effectively be preseeded for full automation.

Working length:
append vram=32M mem=456M@0x80000000 mem=512M@0xA0000000 fixrtc debian-installer/framebuffer=false console=ttyO2,115200n8 url=http://master.gruenet/preseed/preseed.cfg locale=en_US setup/layoutcode=en_US console-setup/layoutcode=en_US auto netcfg/get_hostname=

Failing length:
append vram=32M mem=456M@0x80000000 mem=512M@0xA0000000 fixrtc quiet debian-installer/framebuffer=false console=ttyO2,115200n8 url=http://master.gruenet/preseed/preseed.cfg locale=en_US setup/layoutcode=en_US console-setup/layoutcode=en_US auto netcfg/get_hostname=

Difference is the addition of "quiet" to reduce the noise level of kernel boot messages.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: u-boot (not installed)
ProcVersionSignature: User Name 3.0.0-1200.2-omap4 3.0.0-rc7
Uname: Linux 3.0.0-1200-omap4 armv7l
Architecture: armel
Date: Tue Aug 2 18:25:06 2011
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
SourcePackage: u-boot
UpgradeStatus: No upgrade log present (probably fresh install)

Changed in u-boot (Ubuntu):
assignee: nobody → Justin L Werner (justin-l-werner)
affects: u-boot (Ubuntu) → u-boot-linaro (Ubuntu)
Changed in u-boot-linaro:
assignee: nobody → John Rigby (jcrigby)
Revision history for this message
John Rigby (jcrigby) wrote :

I believe that this bug was actually caused by CONFIG_SYS_MAXARGS being set too low. It was once 16 but is now 32. This has fixed several other related bugs.

Changed in u-boot-linaro:
status: New → Fix Released
Changed in u-boot-linaro (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.