This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

关于DM8127 采用TFTP boot kernel以及采用NFS文件系统

您好:

    我采用TFTP boot kernel,并且采用NFS文件系统为根文件系统,参照DM8127网络摄像机的文档,我修改了boot参数,以下是uboot中的打印

TI8148_IPNC#pri
bootdelay=2
baudrate=115200
verify=yes
ramdisk_file=ramdisk.gz
loadaddr=0x81000000
script_addr=0x80900000
loadbootscript=fatload mmc 0 ${script_addr} boot.scr
bootscript= echo Running bootscript from MMC/SD to set the ENV...; source ${script_addr}
ethaddr=84:7e:40:6f:d1:12
ethact=cpsw
filesize=23B038
fileaddr=81000000
bootfile=uImage
gatewayip=10.175.3.1
netmask=255.255.255.0
ipaddr=10.175.3.35
serverip=10.175.3.187
dnsip=10.170.1.3
dnsip2=61.177.7.1
autoload=n
bootcmd=ipnc_ff_init 0;nboot 0x81000000 0 0x280000; bootm
stdin=serial
stdout=serial
stderr=serial
ver=U-Boot 2010.06-00023-g6d4b40c (Dec 21 2012 - 20:03:36) DM8127_IPNC_3.50.00
bootargs=console=ttyO0,115200n8 root=/dev/nfs rw mem=80M
vram=4M notifyk.vpssm3_sva=0xBFD00000
nfsroot=10.175.3.196:/home/DM8127/DM8127/Source/ipnc_rdk/
target/filesys,nolock eth=00.0C.0C.02.39.3C ip=10.175.3.211
cmemk.phys_start=0x85000000 cmemk.phys_end=0x89000000
cmemk.allowOverlap=1 earlyprintk

Environment size: 948/8188 bytes

然后TFTP, bootm 0x81000000;系统显示文件系统错误,麻烦帮忙看一下,一下是相关的信息。

nf_conntrack version 0.5.0 (1103 buckets, 4412 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 17
Bridge firewalling registered
lib80211: common routines for IEEE802.11 drivers
Registering the dns_resolver key type
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
omap_voltage_late_init: Voltage driver support not added
Power Management for TI81XX.
Detected MACID=0:c:c:2:39:3c
tps65911-rtc tps65911-rtc: setting system clock to 2012-11-09 21:44:02 UTC (1352497442)

CPSW phy found : id is : 0x4dd074
PHY 0:01 not found
IP-Config: Guessing netmask 255.0.0.0
IP-Config: Complete:
     device=eth0, addr=10.175.3.211, mask=255.0.0.0, gw=255.255.255.255,
     host=10.175.3.211, domain=, nis-domain=(none),
     bootserver=255.255.255.255, rootserver=10.175.3.196, rootpath=
PHY: 0:00 - Link is Up - 100/Full
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             128 mtdblock0  (driver?)
1f01            2304 mtdblock1  (driver?)
1f02             128 mtdblock2  (driver?)
1f03            4352 mtdblock3  (driver?)
1f04          107520 mtdblock4  (driver?)
1f05           12288 mtdblock5  (driver?)
1f06           54272 mtdblock6  (driver?)
1f07           81152 mtdblock7  (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
Backtrace:
[<c004bf70>] (dump_backtrace+0x0/0x110) from [<c038e1f0>] (dump_stack+0x18/0x1c)
 r6:00008000 r5:c4778000 r4:c0501058 r3:60000013
[<c038e1d8>] (dump_stack+0x0/0x1c) from [<c038e250>] (panic+0x5c/0x178)
[<c038e1f4>] (panic+0x0/0x178) from [<c0009184>] (mount_block_root+0x1c4/0x204)
 r3:00000000 r2:00000000 r1:c4425f58 r0:c0447925
 r7:c0447989
[<c0008fc0>] (mount_block_root+0x0/0x204) from [<c0009358>] (mount_root+0xac/0xcc)
[<c00092ac>] (mount_root+0x0/0xcc) from [<c00094e4>] (prepare_namespace+0x16c/0x1cc)
 r4:c0500524
[<c0009378>] (prepare_namespace+0x0/0x1cc) from [<c0008d70>] (kernel_init+0x114/0x154)
 r5:c002d154 r4:c002d154
[<c0008c5c>] (kernel_init+0x0/0x154) from [<c00730d4>] (do_exit+0x0/0x5d0)
 r5:c0008c5c r4:00000000