工程你们好!
我先说一下我的情况:NFS 和 TFTP服务 我已经安装好了,下面是我测试的信息:
==========
root@qi-desktop:/home/qi# tftp 192.168.11.128
tftp> get MLO
tftp> q
root@qi-desktop:/home/qi# ls
Desktop Documents Downloads examples.desktop MLO
————
root@qi-desktop:/home/qi# mount -t nfs 192.168.11.128:/opt/dvrrdk/DVRRDK_04.00.00.03/target/rfs_816x /mnt
root@qi-desktop:/home/qi# ls /mnt 里面是有的!
==========
上面测试了,nfs和tftp都能使用!
然后我就启动板子,打印uboot的信息:
==========
UBOOT # pri
ubi.mtd=4,2048 root=ubi0:rootfs rootwait=1 rootfstype=ubifs rw
ip=129.1.9.121:129.1.9.101:129.1.9.1:255.255.0.0::eth0:off
vram=20M notifyk.vpssm3_sva=0xBEE00000
bootcmd=nboot 0x81000000 nand0 0x580000;bootm 0x81000000
bootdelay=1
baudrate=115200
ethaddr=44:AA:27:00:00:00
eth1addr=xx:xx:xx:xx:xx:xx
autoload=no
ethact=DaVinci EMAC
filesize=2CE800
fileaddr=81000000
netmask=255.255.255.0
machid=0xcae
ipaddr=192.168.11.199
serverip=192.168.11.128
gatewayip=192.168.11.1
stdin=serial
stdout=serial
stderr=serial
ver=U-Boot 2010.06-dirty (Sep 10 2015 – 14:20:58)
bootargs=mem=512M console=ttyO2,115200n8 root=/dev/nfs rwnfsroot=192.168.11.128:/opt/dvrrdk/DVRRDK_04.00.00.03/target/rfs_816x,nolockip=192.168.11.199:192.168.11.128:192.168.11.1:255.255.255.0::eth0:off vram=24M notifyk.vpssm3_sva=0xbfb00000ddr_mem=2048M vmalloc=476M rootdelay=5
Environment size: 843/8188 bytes
UBOOT #
==========
启动内核就出现了我要解决的问题:
==========
Power Management for TI81XX.
smartreflex smartreflex: Driver initialized
rtc-pcf8563 1-0051: low voltage detected, date/time is not reliable.
rtc-pcf8563 1-0051: setting system clock to 2004-02-10 21:38:22 UTC (1076449102)
davinci_mdio davinci_mdio.0: resetting idled controller
net eth0: attached PHY driver [ET1011C] (mii_bus:phy_addr=0:01, id=282f014)
IP-Config: Complete:
device=eth0, addr=192.168.11.199, mask=255.255.255.0, gw=192.168.11.1,
host=192.168.11.199, domain=, nis-domain=(none),
bootserver=192.168.11.128, rootserver=192.168.11.128, rootpath=
Waiting 5sec before mounting root device…
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00 2432 mtdblock0 (driver?)
1f01 128 mtdblock1 (driver?)
1f02 3072 mtdblock2 (driver?)
1f03 4352 mtdblock3 (driver?)
1f04 466944 mtdblock4 (driver?)
1f05 47360 mtdblock5 (driver?)
Kernel panic – not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
Backtrace:[<c004ffac>] (dump_backtrace+0x0/0x110) from [<c042dba4>] (dump_stack+0x18/0x1c)
r6:00008000 r5:d9fd8000 r4:c05e2498 r3:60000013
[<c042db8c>] (dump_stack+0x0/0x1c) from [<c042dc04>] (panic+0x5c/0x178)
[<c042dba8>] (panic+0x0/0x178) from [<c0009184>] (mount_block_root+0x1c4/0x204)
r3:00000004 r2:00000000 r1:d9c3bf58 r0:c04ff0b5
r7:c04ff119
[<c0008fc0>] (mount_block_root+0x0/0x204) from [<c0009358>] (mount_root+0xac/0xcc)
[<c00092ac>] (mount_root+0x0/0xcc) from [<c00094e4>] (prepare_namespace+0x16c/0x1cc)
r4:c05e1924
[<c0009378>] (prepare_namespace+0x0/0x1cc) from [<c0008d70>] (kernel_init+0x114/0x154)
r5:c0030220 r4:c0030220
[<c0008c5c>] (kernel_init+0x0/0x154) from [<c007818c>] (do_exit+0x0/0x5d0)
r5:c0008c5c r4:00000000
==========
tftp也下载不了 ,这跟网线有关系么?网口的灯就只有一盏是亮的!使用tftp的时候,网络会重新启动
大概的情况就是这样,之前用其他板子搭建都没这么的情况,不知道为啥,希望能得到你们的帮助!
Chris Meng:
你好,
1. 能否在另外一台Linux上mount改目录?
2. 在uboot下是否能ping通server?
3. 你的uboot配置是2GB DDR的,请问你的软件都已经修改支持2GB DDR了么?