From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ccool Date: Tue, 07 Dec 2004 11:41:54 -0500 Subject: [U-Boot-Users] Questions of uImage on sbc8260 board In-Reply-To: <20041203054507.79341.qmail@web54404.mail.yahoo.com> References: <20041203054507.79341.qmail@web54404.mail.yahoo.com> Message-ID: <200412071141.54174.ccool@ninjatech.biz> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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