From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timur Tabi Date: Wed, 09 Aug 2006 17:08:13 -0500 Subject: [U-Boot-Users] Linux kernel ignoring bootargs In-Reply-To: <44DA5AAF.3020104@ovro.caltech.edu> References: <44DA5490.9050100@freescale.com> <44DA5AAF.3020104@ovro.caltech.edu> Message-ID: <44DA5CCD.4040001@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de David Hawkins wrote: > Timur Tabi wrote: >> I'm trying to boot a Linux 2.6.17 kernel from U-Boot, and it appears >> that it's ignoring the bootargs variable in U-Boot. > > Try clearing bootargs, and then setting it again. Doesn't help. It looks like there's a command line hard-coded into the kernel: [ 0.000000] Kernel command line: root=/dev/nfs rw nfsroot=192.168.1.1:/nfsroot0/u/timur/itx-ltib/rootfs ip=192.168.1.141:192.168.1.1:192.168.1.1:255.255.255.0:unknown:eth0:off console=ttyS0,115200 I can't figure out how it got there. I know I put it there, because the IP addresses are correct for the test board that's in the lab. It's not correct, however, for the board in my office. ACK! I just remembered - the command line is hard-coded in the device tree, which is hard-coded in the kernel image. Crap. Oh well, thanks for helping me remember! -- Timur Tabi Linux Kernel Developer @ Freescale