我们使用的是 IPNC3.0 RDK,已经在Ubuntu下搭建好了开发环境,可以编译生成uImage 和 squash-fs,并且通过tftp下载到板子里后,程序能正常跑起来,看到视频图像。
我想请问如何在 DM368 板子上搭建 NFS 调试环境?
因为现在调试程序,代码每一次小改动,都必须重新编译,然后通过tftp下载才能运行,太麻烦了!是不是搭建好了 NFS 环境,程序调试起来就没这么麻烦了吧 。。。
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.
我们使用的是 IPNC3.0 RDK,已经在Ubuntu下搭建好了开发环境,可以编译生成uImage 和 squash-fs,并且通过tftp下载到板子里后,程序能正常跑起来,看到视频图像。
我想请问如何在 DM368 板子上搭建 NFS 调试环境?
因为现在调试程序,代码每一次小改动,都必须重新编译,然后通过tftp下载才能运行,太麻烦了!是不是搭建好了 NFS 环境,程序调试起来就没这么麻烦了吧 。。。
嗯,参考了 该链接:http://processors.wiki.ti.com/index.php/UG:_DaVinci_PSP_Installation_on_DM36x_EVM 和 IPNC RDK里的UserGuide_IPNC_RDK_DM36x.pdf文档,在虚拟机里Ubuntu12.04下和IPNC DM368板子上进行了如下设置:
用root用户登录Ubuntu12.04,并在/etc/export文件最后一行加上了:/home/ipnc30/ipnc_rdk/target/filesys *(rw,no_root_squash,no_all_squash,sync)
然后,分别执行如下命令:exportfs -av 和 service nfs-kernel-server restart
在IPNC DM368板子上,上电启动进入到uboot后,设置了如下参数:
setenv nfshost 192.168.1.153 <ip addr of nfs host,Ubuntu12.04>
setenv rootpath /home/ipnc30/ipnc_rdk/target/filesys <directory to mount*>
setenv bootargs 'console=ttyS0,115200n8 rw mem=48M root=/dev/nfs nfsroot=$(nfshost):$(rootpath), nolock ip=dhcp mem=48M lpj=1077248 cmemk.phys_start="0x83000000" cmemk.phys_end="0x88000000" cmemk.phys_start_1="0x00001000" cmemk.phys_end_1="0x00008000" cmemk.pools_1="1x28672" cmemk.allowOverlap=1 eth=$(ethaddr)';
saveenv
boot
板子启动后,可以顺利的运行UBL、U-boot,但引导操作系统后,一直停留在 Starting Kernel 。。。。
请问专家,关于NFS的设置,是我哪里操作得有问题吗?为什么板子无法启动呢?
我的配置:setenv bootcmd 'nboot 0x80700000 0 0x500000;bootm'
setenv nfshost 192.168.1.112;setenv rootpath /home/liligang/dm368_ov2715_v3.0.0/ipnc_rdk/target/filesys
setenv bootargs console=ttyS1,115200n8 noinitrd rw ip=192.168.1.152 root=/dev/nfs nfsroot=$(nfshost):$(rootpath), nolock mem=48M
能启动
但Appro创建队列是出错queue id:131076
DM36x initialization passed!
TI UBL Base Version: 1.50
Boot Loader BootMode = NAND
Starting NAND Copy...
Valid magicnum, 0xA1ACED66, found in block 0x00000008.
Boot Mode Task Completed
IPNC UBL Version: 2.0.0
Platform: DM368
Jumping to entry point at 0x81080000
U-Boot 1.3.4 (Feb 28 2012 - 15:29:09) DM368-IPNC-2.0.0
I2C: ready
DRAM: 128 MB
NAND: NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
128 MiB
In: serial
Out: serial
Err: serial
ARM Clock :- 432MHz
DDR Clock :- 340MHz
Ethernet PHY: GENERIC @ 0x01
Hit any key to stop autoboot: 0
Loading from NAND 128MiB 3,3V 8-bit, offset 0x500000
Image Name: Linux-2.6.18_pro500-davinci_IPNC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3072956 Bytes = 2.9 MB
Load Address: 80008000
Entry Point: 80008000
## Booting kernel from Legacy Image at 80700000 ...
Image Name: Linux-2.6.18_pro500-davinci_IPNC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3072956 Bytes = 2.9 MB
Load Address: 80008000
Entry Point: 80008000
Loading Kernel Image ... OK
OK
Starting kernel ...
[ 0.000000] Linux version 2.6.18_pro500-davinci_IPNC_DM368_3.0.0 (root@ubuntu) (gcc version 4.2.0 (MontaVista 4.2.0-16.0.32.0801914 2008-08-30)) #1 PREEMPT Sun Jan 27 22:29:44 PST 2013
[ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[ 0.000000] Machine: DaVinci DM368 IPNC
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] DaVinci DM0365 variant 0x8
[ 0.000000] PLL0: fixedrate: 24000000, commonrate: 170000000, vpssrate: 340000000
[ 0.000000] PLL0: vencrate_sd: 75555555, ddrrate: 340000000 mmcsdrate: 48571428
[ 0.000000] PLL1: armrate: 432000000, voicerate: 20571428, vencrate_hd: 27000000
[ 0.000000] CPU0: D VIVT write-back cache
[ 0.000000] CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
[ 0.000000] CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
[ 0.000000] Built 1 zonelists. Total pages: 13312
[ 0.000000] Kernel command line: console=ttyS0,115200n8 noinitrd rw ip=192.168.1.152 root=/dev/nfs nfsroot=192.168.1.112:/home/liligang/dm368_ov2715_v3.0.0/ipnc_rdk/target/filesys, nolock mem=52M
[ 0.000000] PID hash table entries: 256 (order: 8, 1024 bytes)
[ 0.000000] Clock event device timer0_0 configured with caps set: 07
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Memory: 52MB = 52MB total
[ 0.000000] Memory: 49408KB available (2681K code, 311K data, 180K init)
[ 0.240000] Security Framework v1.0.0 initialized
[ 0.240000] Capability LSM initialized
[ 0.240000] Mount-cache hash table entries: 512
[ 0.240000] CPU: Testing write buffer coherency: ok
[ 0.240000] NET: Registered protocol family 16
[ 0.240000] DaVinci: 104 gpio irqs
[ 0.240000] MUX: initialized GPIO20
[ 0.240000] MUX: initialized I2C_SCL
[ 0.250000] Generic PHY: Registered new driver
[ 0.250000] ch0 default output "COMPOSITE", mode "NTSC"
[ 0.250000] VPBE Encoder Initialized
[ 0.250000] SCSI subsystem initialized
[ 0.260000] NET: Registered protocol family 2
[ 0.350000] IP route cache hash table entries: 512 (order: -1, 2048 bytes)
[ 0.350000] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.350000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.350000] TCP: Hash tables configured (established 2048 bind 1024)
[ 0.350000] TCP reno registered
[ 0.360000] VFS: Disk quotas dquot_6.5.1
[ 0.370000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.370000] squashfs: version 3.1 (2006/08/19) Phillip Lougher
[ 0.370000] JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
[ 0.370000] Initializing Cryptographic API
[ 0.370000] io scheduler noop registered
[ 0.370000] io scheduler anticipatory registered (default)
[ 0.370000] io scheduler deadline registered
[ 0.370000] io scheduler cfq registered
[ 0.400000] CSL: Module install successful, device major num = 253
[ 0.400000] CSL: Module version 0.10.00, built on Jan 27 2013 22:14:10
[ 0.400000] I2C: Module install successful, device major num = 252
[ 0.400000] DMA: Module install successful, device major num = 251
[ 0.400000] DRV: Module install successful
[ 0.400000] DRV: Module built on Jan 27 2013 22:14:15
[ 0.400000] DRV: EDMACC.QUEPRI = 00002777
[ 0.400000] DRV: SYSTEM.MSTPRI0 = 00440011
[ 0.400000] DRV: SYSTEM.MSTPRI1 = 00000444
[ 0.400000] DRV: ISP.BCR = 00000002
[ 0.400000] DRV: SYSTEM.MISC = 00000319
[ 0.400000] EDMAK module: built on Jan 27 2013 at 22:13:37
[ 0.400000] Reference Linux version 2.6.18
[ 0.400000] File /home/liligang/dm368_ov2715_v3.0.0/dvsdk_ipnctools/linuxutils_2_24_03/packages/ti/sdo/linuxutils/edma/src/module/edmak.c
[ 0.410000] IRQK module: built on Jan 27 2013 at 22:13:38
[ 0.410000] Reference Linux version 2.6.18
[ 0.410000] File /home/liligang/dm368_ov2715_v3.0.0/dvsdk_ipnctools/linuxutils_2_24_03/packages/ti/sdo/linuxutils/irq/src/module/irqk.c
[ 0.410000] irqk initialized
[ 0.410000] CMEMK module: built on Jan 27 2013 at 22:13:34
[ 0.410000] Reference Linux version 2.6.18
[ 0.410000] File /home/liligang/dm368_ov2715_v3.0.0/dvsdk_ipnctools/linuxutils_2_24_03/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
[ 0.410000] no physical memory specified, continuing with no memory allocation capability...
[ 0.410000] cmemk initialized
[ 0.410000] Serial: 8250/16550 driver $Revision: 1.90 $ 1 ports, IRQ sharing disabled
[ 0.410000] serial8250.0: ttyS0 at MMIO map 0x1d06000 mem 0xfbd06000 (irq = 41) is a 16550A
[ 0.420000] RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize
[ 0.430000] Davinci EMAC MII Bus: probed
[ 0.440000] MAC address is deadbeaf
[ 0.440000] TI DaVinci EMAC Linux version updated 4.0
[ 0.450000] Linux video capture interface: v2.00
[ 0.450000] Trying to register davinci display video device.
[ 0.460000] layer=c31a7c00,layer->video_dev=c31a7d60
[ 0.460000] Trying to register davinci display video device.
[ 0.470000] layer=c31a7a00,layer->video_dev=c31a7b60
[ 0.470000] davinci_init:DaVinci V4L2 Display Driver V1.0 loaded
[ 0.480000] i2c /dev entries driver
[ 0.490000] nand_davinci nand_davinci.0: Using 4-bit hardware ECC
[ 0.490000] NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
[ 0.500000] Creating 6 MTD partitions on "nand_davinci.0":
[ 0.510000] 0x00000000-0x00300000 : "bootloader"
[ 0.520000] 0x00300000-0x00500000 : "params"
[ 0.520000] 0x00500000-0x00900000 : "kernel"
[ 0.530000] 0x00900000-0x02100000 : "filesystem"
[ 0.530000] 0x02100000-0x02300000 : "data1"
[ 0.540000] 0x02300000-0x08000000 : "data2"
[ 0.550000] nand_davinci nand_davinci.0: hardware revision: 2.3
[ 0.550000] rtc_davinci_dm365 rtc_davinci_dm365.0: rtc intf: proc
[ 0.560000] rtc_davinci_dm365 rtc_davinci_dm365.0: rtc intf: dev (254:0)
[ 0.570000] rtc_davinci_dm365 rtc_davinci_dm365.0: rtc core: registered rtc_davinci_dm365 as rtc0
[ 0.580000] Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).
[ 0.590000] ASoC version 0.13.1
[ 0.590000] CQ0093 Voice Codec 0.1
[ 0.590000] asoc: cq93vc <-> davinci-vcif mapping ok
[ 0.600000] ALSA device list:
[ 0.610000] #0: On-chip voice codec (cq93vc)
[ 0.610000] IPv4 over IPv4 tunneling driver
[ 0.620000] TCP bic registered
[ 0.620000] NET: Registered protocol family 1
[ 0.620000] NET: Registered protocol family 17
[ 0.630000] rtc_davinci_dm365 rtc_davinci_dm365.0: setting the system clock to 2000-01-01 00:00:00 (946684800)
[ 0.640000] Time: timer0_1 clocksource has been installed.
[ 0.650000] Clock event device timer0_0 configured with caps set: 08
[ 0.650000] Switched to high resolution mode on CPU 0
[ 0.690000] IP-Config: Guessing netmask 255.255.255.0
[ 0.690000] IP-Config: Complete:
[ 0.690000] device=eth0, addr=192.168.1.152, mask=255.255.255.0, gw=255.255.255.255,
[ 0.700000] host=192.168.1.152, domain=, nis-domain=(none),
[ 0.710000] bootserver=255.255.255.255, rootserver=192.168.1.112, rootpath=
[ 0.720000] Looking up port of RPC 100003/2 on 192.168.1.112
[ 5.730000] Looking up port of RPC 100005/1 on 192.168.1.112
[ 5.740000] VFS: Mounted root (nfs filesystem).
[ 5.740000] Freeing init memory: 180K
INIT: version 2.86 booting
Creat queue id:0
queue id:0
FileMngThread created
Creat queue id:32769
queue id:32769
AlramThread created
Share memory init success
IPNC_DM368_3.0.0 (root@ubuntu) (gcc version 4.2.0 (MontaVista 4
Creat queue id:65538
queue id:65538
queue id:32769
queue id:65538
Creat queue id:98307
queue id:98307
Setting up networking ...net_search_gateway:eth0, 1A8C0, 0, 1
CPU is DM368
*****************************************************************
IPNC BUILD VERSION: DM368 IPNC REF DESIGN VERSION 3.00.00.10
*****************************************************************
./av_server.out DM368 NTSC APPRO2A AEWB 720P H264 4000000 VBR AUTO MENUOFF &
Check_device_version : DEVICE VER = 1 !!
AVSERVER UI: Initializing.
++++++ changeTimeZone: cp -f /usr/share/zoneinfo/Etc/GMT-8 /tmp/localtime
(0)
ApproDrvInit: 7
Creat queue id:131076
queue id:131076
CLK Hz,
ARM Hz = 432000000
DDR Hz = 340000000
VPSS Hz = 340000000
IMCOP Hz = 340000000
[ 8.410000] CMEMK Error: ioctl: no heap available in block 0
[ 8.530000] CMEMK Error: Failed to find a pool which fits 28672
CMEM Error: allo[ 8.550000] CMEMK Error: get_phys: Unable to find phys addr for 0x00000000
cHeap: ioctl CME[ 8.550000] CMEMK Error: get_phys: get_user_pages() failed: -14
M_IOCALLOCHEAP f[ 8.560000] CMEMK Error: GETPHYS: Failed to convert virtual 0x0 to physical.
ailed: -1
DRV [ 8.560000] CMEMK Error: get_phys: Unable to find phys addr for 0x00000000
LDC: GetConfig 0[ 8.580000] CMEMK Error: get_phys: get_user_pages() failed: -14
003 0x0
CMEM Er[ 8.590000] CMEMK Error: FREE: Failed to convert virtual 0x0 to physical
ror: getPool: Failed to get a pool fitting a size 28672
CMEM Error: getPhys: Failed to get physical address of 0
CMEM Error: free: failed to free 0
ERROR (alg.c|ALG_sysInit|82): VICP Protocol regn failed
ERROR (avServerApi.c|AVSERVER_init|580): ALG_sysInit()
ERROR (avServerUi.c|UI_start|58): AVSERVER_init()
.
log status
Starting portmap daemon: ApproDrvInit: 9
queue id:131076
log status
ApproDrvInit: 8
queue id:131076
ApproDrvInit: 2
queue id:131076
ApproDrvInit: 6
queue id:131076
ApproDrvInit: 10
queue id:131076
portmapstart_daemon
log success
.
log status
log status
Starting mounting local filesystems: log status
mount none on /dev/shm type tmpfs (rw,size=5M)
none on /var/run type tmpfs (rw)
none on /tmp type tmpfs (rw,sync)
log success
log status
Starting hotplug subsystem:
usb
usb [success]
input
input [success]
done.
[ 12.490000] loop: loaded (max 8 devices)
[ 12.590000] tun: Universal TUN/TAP device driver, 1.6
[ 12.590000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 12.830000] CSLIP: code copyright 1989 Regents of the University of California
[ 12.970000] netconsole: not configured, aborting
[ 13.140000] PPP generic driver version 2.4.2
[ 13.380000] PPP Deflate Compression module registered
Starting internet superserver: inetd.
[ 14.050000] sbulla: unknown partition table
insmod: /opt/ipnc/modules/des.ko: No such file or directory
insmod: /opt/ipnc/modules/md5.ko: No such file or directory
[ 15.220000] davinci-mmc davinci-mmc.0: Supporting 4-bit mode
[ 15.340000] davinci-mmc davinci-mmc.0: Using DMA mode
[ 15.800000] usbcore: registered new driver usbfs
[ 15.810000] usbcore: registered new driver hub
[ 16.060000] musb_hdrc: version 6.0, cppi-dma, peripheral, debug=0
[ 16.260000] musb_hdrc musb_hdrc: No DMA interrupt line
[ 16.260000] musb_hdrc: USB Peripheral mode controller at c38f0000 using DMA, IRQ 12
[ 16.490000] Loading iSCSI transport class v1.1-646.<5>iscsi: registered transport (tcp)
[ 17.380000] sbulla: unknown partition table
mkdosfs 3.0.6 (04 Oct 2009)
unable to get drive geometry, using default 255/63
/dev/sbulla has 255 heads and 63 sectors per track,
logical sector size is 512,
using 0xf8 media descriptor, with 1024 sectors;
file system has 2 12-bit FATs and 4 sectors per cluster.
FAT size is 1 sector, and provides 247 clusters.
Root directory contains 512 slots.
Volume ID is 39275dbc, no volume label.
queue id:0
TimeOut occure in boot_proc.
Program exit.
ApproDrvInit: 3
queue id:131076
INIT: Entering runlevel: 5
MontaVista(R) Linux(R) Professional Edition 5.0.0 (0702774)
192 login: root (automatic login)
Welcome to MontaVista(R) Linux(R) Professional Edition 5.0.0 (0702774).
login[640]: root login on `ttyS0'
#
楼上的哥们,你用的是IPNC_RDK3.0.0--OV2715? 我用的是IPNC_RDK3.0.0--MT5,貌似这两个不同Sensor版本的IPNC_RDK,在U-boot里的参数配置还不太一样?
我的U-boot参数配置,如下:
setenv bootcmd 'nboot 0x80700000 0 0x500000;bootm 0x80700000'
setenv nfshost 192.168.1.102 ; setenv rootpath /home/ipnc30/ipnc_rdk/target/filesys
setenv bootargs 'console=ttyS0,115200n8 rw ip=192.168.1.168 root=/dev/nfs nfsroot=$(nfshost):$(rootpath), nolock mem=48M lpj=1077248 cmemk.phys_start="0x83000000" cmemk.phys_end="0x88000000" cmemk.phys_start_1="0x00001000" cmemk.phys_end_1="0x00008000" cmemk.pools_1="1x28672" cmemk.allowOverlap=1';saveenv
boot
IPNC的启动信息,如下:
Loading from NAND 128MiB 3,3V 8-bit, offset 0x500000 Image Name: Linux-2.6.18_pro500-davinci_IPNC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2650052 Bytes = 2.5 MB Load Address: 80008000 Entry Point: 80008000 Skipping bad block 0x005e0000 ## Booting kernel from Legacy Image at 80700000 ... Image Name: Linux-2.6.18_pro500-davinci_IPNC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2650052 Bytes = 2.5 MB Load Address: 80008000 Entry Point: 80008000 Loading Kernel Image ... OK OK
Starting kernel ...
[ 0.000000] Linux version 2.6.18_pro500-davinci_IPNC_DM368_3.0.0 (root@localhost.localdomain) (gcc 鐗堟湰 4.2.0 (MontaVista 4.2.0-16.0.32.0801914 2008-08-30)) #1 PREEMPT Thu Jan 10 11:45:09 CST 2013 [ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177 [ 0.000000] Machine: DaVinci DM368 IPNC [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] DaVinci DM0365 variant 0x8 [ 0.000000] PLL0: fixedrate: 24000000, commonrate: 170000000, vpssrate: 340000000 [ 0.000000] PLL0: vencrate_sd: 75555555, ddrrate: 340000000 mmcsdrate: 48571428 [ 0.000000] PLL1: armrate: 432000000, voicerate: 20571428, vencrate_hd: 27000000 [ 0.000000] CPU0: D VIVT write-back cache [ 0.000000] CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets [ 0.000000] CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets [ 0.000000] Built 1 zonelists. Total pages: 12288 [ 0.000000] Kernel command line: console=ttyS0,115200n8 rw ip=192.168.1.168 root=/dev/nfs nfsroot=$(nfshost):$(rootpath), nolock mem=48M lpj=1077248 cmemk.phys_start="0x83000000" cmemk.phys_end="0x88000000" cmemk.phys_start_1="0x00001000" cmemk.phys_end_1="0x00008000" cmemk.pools_1="1x28672" cmemk.allowOverlap=1 [ 0.000000] PID hash table entries: 256 (order: 8, 1024 bytes) [ 0.000000] Clock event device timer0_0 configured with caps set: 07 [ 0.000000] Console: colour dummy device 80x30 [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Memory: 48MB = 48MB total [ 0.000000] Memory: 45872KB available (2285K code, 276K data, 172K init) [ 0.000000] Calibrating delay loop (skipped)... 215.44 BogoMIPS preset [ 0.000000] Security Framework v1.0.0 initialized [ 0.000000] Capability LSM initialized [ 0.000000] Mount-cache hash table entries: 512 [ 0.000000] CPU: Testing write buffer coherency: ok [ 0.010000] NET: Registered protocol family 16 [ 0.010000] DaVinci: 104 gpio irqs [ 0.010000] MUX: initialized GPIO20 [ 0.010000] MUX: initialized I2C_SCL [ 0.010000] Generic PHY: Registered new driver [ 0.010000] ch0 default output "COMPOSITE", mode "NTSC" [ 0.010000] VPBE Encoder Initialized [ 0.020000] SCSI subsystem initialized [ 0.020000] NET: Registered protocol family 2 [ 0.110000] IP route cache hash table entries: 512 (order: -1, 2048 bytes) [ 0.110000] TCP established hash table entries: 2048 (order: 1, 8192 bytes) [ 0.110000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.110000] TCP: Hash tables configured (established 2048 bind 1024) [ 0.110000] TCP reno registered [ 0.120000] VFS: Disk quotas dquot_6.5.1 [ 0.120000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.120000] squashfs: version 3.1 (2006/08/19) Phillip Lougher [ 0.120000] JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc. [ 0.130000] Initializing Cryptographic API [ 0.130000] io scheduler noop registered [ 0.130000] io scheduler anticipatory registered (default) [ 0.130000] io scheduler deadline registered [ 0.130000] io scheduler cfq registered [ 0.160000] CSL: Module install successful, device major num = 253 [ 0.160000] CSL: Module version 0.10.00, built on Jan 10 2013 11:37:39 [ 0.160000] I2C: Module install successful, device major num = 252 [ 0.160000] DMA: Module install successful, device major num = 251 [ 0.160000] DRV: Module install successful [ 0.160000] DRV: Module built on Jan 10 2013 11:37:40 [ 0.160000] DRV: EDMACC.QUEPRI = 00002777 [ 0.160000] DRV: SYSTEM.MSTPRI0 = 00440011 [ 0.160000] DRV: SYSTEM.MSTPRI1 = 00000444 [ 0.160000] DRV: ISP.BCR = 00000002 [ 0.160000] DRV: SYSTEM.MISC = 00000399 [ 0.160000] EDMAK module: built on Jan 10 2013 at 11:37:25 [ 0.160000] Reference Linux version 2.6.18 [ 0.160000] File /home/james/project/dm368/dvsdk_ipnctools/linuxutils_2_24_03/packages/ti/sdo/linuxutils/edma/src/module/edmak.c [ 0.160000] IRQK module: built on Jan 10 2013 at 11:37:25 [ 0.160000] Reference Linux version 2.6.18 [ 0.160000] File /home/james/project/dm368/dvsdk_ipnctools/linuxutils_2_24_03/packages/ti/sdo/linuxutils/irq/src/module/irqk.c [ 0.160000] irqk initialized [ 0.160000] CMEMK module: built on Jan 10 2013 at 11:37:24 [ 0.160000] Reference Linux version 2.6.18 [ 0.160000] File /home/james/project/dm368/dvsdk_ipnctools/linuxutils_2_24_03/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c [ 0.170000] allocated heap buffer 0xc4000000 of size 0x5000000 [ 0.170000] CMEM Range Overlaps Kernel Physical - allowing overlap [ 0.170000] CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83000000) [ 0.170000] cmemk initialized [ 0.170000] Serial: 8250/16550 driver $Revision: 1.90 $ 1 ports, IRQ sharing disabled [ 0.170000] serial8250.0: ttyS0 at MMIO map 0x1d06000 mem 0xfbd06000 (irq = 41) is a 16550A [ 0.180000] RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize [ 0.190000] Davinci EMAC MII Bus: probed [ 0.190000] MAC address is deadbeaf [ 0.200000] TI DaVinci EMAC Linux version updated 4.0 [ 0.200000] Linux video capture interface: v2.00 [ 0.210000] Trying to register davinci display video device. [ 0.220000] layer=c0521200,layer->video_dev=c0521360 [ 0.220000] Trying to register davinci display video device. [ 0.230000] layer=c0521000,layer->video_dev=c0521160 [ 0.230000] davinci_init:DaVinci V4L2 Display Driver V1.0 loaded [ 0.240000] i2c /dev entries driver [ 0.240000] nand_davinci nand_davinci.0: Using 4-bit hardware ECC [ 0.250000] NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit) [ 0.260000] Creating 6 MTD partitions on "nand_davinci.0": [ 0.270000] 0x00000000-0x00300000 : "bootloader" [ 0.270000] 0x00300000-0x00500000 : "params" [ 0.280000] 0x00500000-0x00900000 : "kernel" [ 0.280000] 0x00900000-0x02100000 : "filesystem" [ 0.290000] 0x02100000-0x02300000 : "data1" [ 0.300000] 0x02300000-0x08000000 : "data2" [ 0.300000] nand_davinci nand_davinci.0: hardware revision: 2.3 [ 0.310000] rtc_davinci_dm365 rtc_davinci_dm365.0: rtc intf: proc [ 0.320000] rtc_davinci_dm365 rtc_davinci_dm365.0: rtc intf: dev (254:0) [ 0.320000] rtc_davinci_dm365 rtc_davinci_dm365.0: rtc core: registered rtc_davinci_dm365 as rtc0 [ 0.330000] Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC). [ 0.340000] ASoC version 0.13.1 [ 0.350000] CQ0093 Voice Codec 0.1 [ 0.350000] asoc: cq93vc <-> davinci-vcif mapping ok [ 0.360000] ALSA device list: [ 0.360000] #0: On-chip voice codec (cq93vc) [ 0.370000] IPv4 over IPv4 tunneling driver [ 0.370000] TCP bic registered [ 0.380000] NET: Registered protocol family 1 [ 0.380000] NET: Registered protocol family 17 [ 0.390000] rtc_davinci_dm365 rtc_davinci_dm365.0: setting the system clock to 2000-01-01 00:00:00 (946684800) [ 0.400000] Time: timer0_1 clocksource has been installed. [ 0.400000] Clock event device timer0_0 configured with caps set: 08 [ 0.400000] Switched to high resolution mode on CPU 0 [ 0.440000] IP-Config: Guessing netmask 255.255.255.0 [ 0.440000] IP-Config: Complete: [ 0.440000] device=eth0, addr=192.168.1.168, mask=255.255.255.0, gw=255.255.255.255, [ 0.450000] host=192.168.1.168, domain=, nis-domain=(none), [ 0.460000] bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath= [ 0.470000] VFS: Cannot open root device "nfs" or unknown-block(0,255) [ 0.470000] Please append a correct "root=" boot option [ 0.490000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,255) [ 0.490000]
为啥我的IPNC启动到这里,会报错呢? 我明明在 U-boot 里设置了正确的 nfshost 和 rootpath 呀??
你们都是使用pre_build的方式在实验NFS吗?
如果严格按照了文档所述的方法并确认每一步都正确,我还见过几种情形,请尝试:
2.http://e2e.ti.com/support/embedded/linux/f/354/p/132623/476954.aspx#476954
3.http://e2e.ti.com/support/embedded/linux/f/354/p/132164/475129.aspx#475129
建议更换不同的网络环境以及使用不同的参数进行实验。
你们都是使用pre_build的方式在实验NFS吗? 砖家这话,啥意思?pre_build,俺不太明白。。。
我严格按照了IPNC_RDK文档所述的方法并确认每一步都正确,U-boot也使用了不同的参数进行实验,还是如下的提示信息:
[ 0.450000] Sending DHCP requests ..., OK
[ 7.260000] IP-Config: Got DHCP answer from 0.0.0.0, my address is 192.168.1.156
[ 7.260000] IP-Config: Complete:
[ 7.270000] device=eth0, addr=192.168.1.156, mask=255.255.255.0, gw=192.168.1.1,
[ 7.270000] host=192.168.1.156, domain=domain, nis-domain=(none),
[ 7.290000] bootserver=0.0.0.0, rootserver=0.0.0.0, rootpath=
[ 7.290000] VFS: Cannot open root device "nfs" or unknown-block(0,255)
[ 7.300000] Please append a correct "root=" boot option
[ 7.300000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,255)
[ 7.320000]
为什么 bootserver 和 rootserver 获取不到呢? 不是在 U-boot里都有设置 nfshost 和 rootpath的吗?? 晕。。。
专家建议,更换不同的网络环境,需要换成什么样的网络环境???
我用IPNC 2.6 和 IPNC_RDK3.0.0 都尝试过了,NFS调试环境搭建不起来。。弱弱的问一句,这是IPNC本身的问题么?
是不是bootargs没有设置好啊,我直接设置的全路径,楼主留个QQ啊,关于flash烧写的问题想请教下你,我的342563790