
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!