[U-Boot-Users] kernel bootparams

himbA goavr at email.si
Thu Feb 12 00:14:07 CET 2004


Hello

I have a board, pxa based, and it has u-boot burnt, but i don't have the 
source from which it was compiled from, so i don't have any config 
setting (got the board as-is).

for now booting is made from flash, loading both kernel and ramdisk. i 
want to try nfs based booting and first strange thing i notice when 
kernel gets booted is that kernel parameters are always the same, no 
matter to what i set 'bootargs' var in u-boot. it always displays
....
Kernel command line: root=/dev/ram0 console=ttyS0,115200 mem=64M
....
and hangs at
....
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
Kernel panic: VFS: Unable to mount root fs on 01:00


although passed bootargs says:
bootargs=root=/dev/nfs rw nfsroot=10.10.10.1:/tftpboot/10.10.10.1 
ip=10.10.10.2:10.10.10.1::255.255.255.0:xcep:: console=ttyS0,115200 mem=64M

I also tried changing CONFIG_CMDLINE setting in .config of the kernel to 
same value as bootargs but still notihng changed.

If CONFIG_BOOTARGS var in u-boot is specified during compile time, does 
it interfere with bootargs passed at boot time ?

i will copile u-boot from CVS tomorrow (need to create new board 
defines), just need to clear some stuff now...

regards, himba




More information about the U-Boot mailing list