环境变量:setenv bootargs mem=60M console=ttyS0,115200n8 ip=192.168.1.100:192.168.1.10:192.168.1.1:255.255.255.0 root=/dev/mtdblock3 rw rootfstype=jffs2 vpfe_capture.interface=0 davinci_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=pal;saveenv
但是,总是启动失败,报错信息如下:
IP-Config: Complete:
device=eth0, addr=192.168.1.100, mask=255.255.255.0, gw=192.168.1.1,
host=192.168.1.100, domain=, nis-domain=(none),
bootserver=192.168.1.10, rootserver=192.168.1.10, rootpath=
Looking up port of RPC 100003/2 on 192.168.1.10
rpcbind: server 192.168.1.10 not responding, timed out
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 192.168.1.10
rpcbind: server 192.168.1.10 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
Root-NFS: Server returned error -5 while mounting /tftpboot/192.168.1.100
VFS: Unable to mount root fs via NFS, trying floppy.
List of all partitions:
No filesystem could mount root, tried: jffs2
Kernel panic – not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
Backtrace:
[<c002e5f4>] (dump_backtrace+0x0/0x114) from [<c02ccc48>] (dump_stack+0x18/0x1c)
r7:00008000 r6:c2011000 r5:c0023808 r4:c03db550
[<c02ccc30>] (dump_stack+0x0/0x1c) from [<c02ccca0>] (panic+0x54/0x12c)
[<c02ccc4c>] (panic+0x0/0x12c) from [<c0008fbc>] (mount_block_root+0x1e0/0x220)
r3:00000000 r2:00000020 r1:c2027f60 r0:c0353de6
[<c0008ddc>] (mount_block_root+0x0/0x220) from [<c00090c0>] (mount_root+0xc4/0xfc)
r8:00000000 r7:00000000 r6:00000000 r5:00000000 r4:00200000
[<c0008ffc>] (mount_root+0x0/0xfc) from [<c0009268>] (prepare_namespace+0x170/0x1c8)
r5:c0023808 r4:c03db060
[<c00090f8>] (prepare_namespace+0x0/0x1c8) from [<c00084bc>] (kernel_init+0xe4/0x118)
r5:00000000 r4:c03dae20
[<c00083d8>] (kernel_init+0x0/0x118) from [<c0042e10>] (do_exit+0x0/0x668)
r5:00000000 r4:00000000
Chris Meng:
Xin Jin,
你的环境支持dhcp么?如果是,有尝试过ip=dhcp么?
静态IP请参考: ip={ ipaddr }:{ serverip }:{ gatewayip }:{ netmask }:{ hostname }::off
lu edward:
回复 Chris Meng:
这个是linux中分区表没有写好。找不到mtd3
lu edward:
回复 lu edward:
也有可能是文件系统烧写的位置不对。