[U-Boot-Users] Questions of uImage on sbc8260 board

Ccool ccool at ninjatech.biz
Tue Dec 7 17:41:54 CET 2004


Le 3 Décembre 2004 00:45, duo dong a écrit :

> VFS: Cannot open root device "" or 00:00 <<--??
> Please append a correct "root=" boot option <<--??
> Kernel panic: VFS: Unable to mount root fs on 00:00
> <<--??

That ain't good ;)

> <0>Rebooting in 180 seconds..
> The u-boot envs are:
> => printenv
> bootcmd=version;echo;bootp;setenv bootargs
> root=/dev/nfs rw nfsroot=$(serverip):$(rootpath)
> ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off;bootm
> bootdelay=5
> baudrate=9600
> ethaddr=00:a0:1e:a8:7b:cb
> loads_echo=1
> do_echo=1
> ipaddr=10.0.0.99
> serverip=10.0.0.2
> netmask=255.0.0.0
> hostname=sbc8260
> stdin=serial
> stdout=serial
> stderr=serial
> ver=U-Boot 1.0.2 (Nov 27 2004 - 10:55:29)

you don't have any "bootargs" setup!! this might be it

> Q2. I marked several places above by "<<--??". Any one
> see those before? If you do, please let me know how to
> fix them.

If I understand correctly your problem, it is quite simple actually.  You need 
a variable "bootargs" to be passed to the kernel...  you could do something 
like that:


setenv console=ttyS0,9600 ip=$(ipaddr) root=$(root)

type that and with your u-boot settings, it should work.

good luck
Raphaël




More information about the U-Boot mailing list