大家好,目前已有的是奇想达的DM368开发板,想在上面跑IPNC 的一套程序(想用RDK程序),用的是奇想达自带的UBOOT,IPNC的内核和文件系统,用的是NFS挂载,UBOOT环境变量按照《UserGuide_IPNC_RDK_DM36x_Version4.0.0》配好,启动后显示信息如下:
Starting kernel ...
[ 0.000000] Linux version 2.6.37_IPNC_DM365_4.0.0 (root@ubuntu) (gcc version 4.3.3 (GCC) ) #1 PREEMPT Mon Mar 31 01:07:29 PDT 2014
[ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: DaVinci DM36x IPNC
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] DaVinci dm36x_rev1.2 variant 0x8
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 12192
[ 0.000000] Kernel command line: console=ttyS0,115200n8 noinitrd rw ip=192.168.0.60:192.168.0.138:192.168.0.1:255.255.255.0::eth0:off root=/dev/nfs nfsroot=192.168.0.138:/root/newfs/fs,nolock mem=48M 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=00:0C:29:94:D7:D6 nohz=off highres=off
[ 0.000000] TI DaVinci EMAC: kernel boot params Ethernet address: 00:0C:29:94:D7:D6
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 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: 44772k/44772k available, 4380k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] DMA : 0xff000000 - 0xffe00000 ( 14 MB)
[ 0.000000] vmalloc : 0xc3800000 - 0xfea00000 ( 946 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc3000000 ( 48 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .init : 0xc0008000 - 0xc002a000 ( 136 kB)
[ 0.000000] .text : 0xc002a000 - 0xc038b000 (3460 kB)
[ 0.000000] .data : 0xc038c000 - 0xc03b21c0 ( 153 kB)
[ 0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptable hierarchical RCU implementation.
[ 0.000000] RCU-based detection of stalled CPUs is disabled.
[ 0.000000] Verbose stalled-CPUs detection is disabled.
[ 0.000000] NR_IRQS:245
[ 0.000000] Console: colour dummy device 80x30
[ 0.000412] Calibrating delay loop... 147.86 BogoMIPS (lpj=739328)
[ 0.220099] pid_max: default: 32768 minimum: 301
[ 0.220531] Mount-cache hash table entries: 512
[ 0.221622] CPU: Testing write buffer coherency: ok
[ 0.227841] DaVinci: 8 gpio irqs
[ 0.228689] NET: Registered protocol family 16
[ 0.249002] EVM: (null) video input
[ 0.357039] bio: create slab <bio-0> at 0
[ 0.363700] SCSI subsystem initialized
[ 0.368885] usbcore: registered new interface driver usbfs
[ 0.371129] usbcore: registered new interface driver hub
[ 0.372354] usbcore: registered new device driver usb
[ 0.376730] vpss vpss: dm365_vpss vpss probed
[ 0.376817] vpss vpss: dm365_vpss vpss probe success
[ 0.379431] Advanced Linux Sound Architecture Driver Version 1.0.23.
[ 0.382502] Switching to clocksource timer0_1
[ 0.467866] NET: Registered protocol family 2
[ 0.468298] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.469422] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.469629] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.469758] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.469804] TCP reno registered
[ 0.469858] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.469950] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.470997] NET: Registered protocol family 1
[ 0.472379] RPC: Registered udp transport module.
[ 0.472439] RPC: Registered tcp transport module.
[ 0.472481] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.574300] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 0.575335] JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.580863] msgmni has been set to 87
[ 0.586156] io scheduler noop registered (default)
[ 0.588239] CSL: Module install successful, device major num = 254
[ 0.588304] CSL: Module version 0.10.00, built on Mar 31 2014 00:58:29
[ 0.588375] I2C: Module install successful, device major num = 253
[ 0.588432] DMA: Module install successful, device major num = 252
[ 0.588472] DRV: Module install successful
[ 0.588506] DRV: Module built on Mar 31 2014 00:58:31
[ 0.588543] DRV: EDMACC.QUEPRI = 00002777
[ 0.588575] DRV: SYSTEM.MSTPRI0 = 00440011
[ 0.588607] DRV: SYSTEM.MSTPRI1 = 00000444
[ 0.588638] DRV: ISP.BCR = 00000002
[ 0.588671] DRV: SYSTEM.MISC = 00000391
[ 0.588703] EDMAK module: built on Mar 31 2014 at 00:58:08
[ 0.588746] Reference Linux version 2.6.37
[ 0.588780] File /home/ipnc/Source/dvsdk_ipnctools/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/edma/src/module/edmak.c
[ 0.591041] IRQK module: built on Mar 31 2014 at 00:09:40
[ 0.591112] Reference Linux version 2.6.37
[ 0.591150] File /home/ipnc/Source/dvsdk_ipnctools/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/irq/src/module/irqk.c
[ 0.593117] irqk initialized
[ 0.593215] CMEMK module: built on Mar 31 2014 at 00:58:04
[ 0.593268] Reference Linux version 2.6.37
[ 0.593305] File /home/ipnc/Source/dvsdk_ipnctools/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
[ 0.599973] allocated heap buffer 0xc4000000 of size 0x5000000
[ 0.600520] CMEM Range Overlaps Kernel Physical - allowing overlap
[ 0.600590] CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83000000)
[ 0.600796] cmemk initialized
[ 0.600873] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.625875] serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
[ 1.148767] console [ttyS0] enabled
[ 1.174942] serial8250.0: ttyS1 at MMIO 0x1d06000 (irq = 41) is a 16550A
[ 1.186443] brd: module loaded
[ 1.201666] NAND device: Manufacturer ID: 0xec, Chip ID: 0xd3 (Samsung )
[ 1.210906] nand_bbt: ECC error while reading bad block table
[ 1.217498] Creating 7 MTD partitions on "davinci_nand.0":
[ 1.223196] 0x000000000000-0x000000300000 : "bootloader"
[ 1.234090] 0x000000300000-0x000000500000 : "params"
[ 1.244594] 0x000000500000-0x000000900000 : "kernel"
[ 1.255485] 0x000000900000-0x000003100000 : "filesystem1"
[ 1.266950] 0x000003100000-0x000003300000 : "data1"
[ 1.277960] 0x000003300000-0x000005b00000 : "filesystem2"
[ 1.289656] 0x000005b00000-0x000040000000 : "data2"
[ 1.304173] davinci_nand davinci_nand.0: controller rev. 2.3
[ 1.370147] davinci_mdio davinci_mdio.0: davinci mdio revision 1.4
[ 1.376384] davinci_mdio davinci_mdio.0: detected phy mask fffffffc
[ 1.386544] davinci_mdio.0: probed
[ 1.390018] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
[ 1.397405] davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
[ 1.405527] i2c /dev entries driver
[ 1.412006] Linux media interface: v0.10
[ 1.416938] Linux video capture interface: v2.00
[ 1.424724] vpbe-osd vpbe-osd: OSD sub device probe success
[ 1.431675] vpbe-venc vpbe-venc: VENC sub device probe success
[ 1.438868] vpbe-v4l2 vpbe-v4l2: vpbe v4l2 device registered
[ 1.445050] Setting default output to Composite
[ 1.449626] Settig default mode to ntsc
[ 1.453920] vpbe-v4l2 vpbe-v4l2: Trying to register VPBE display device.
[ 1.460765] vpbe-v4l2 vpbe-v4l2: layer=c2977c00,layer->video_dev=c2977ce8
[ 1.468642] vpbe-v4l2 vpbe-v4l2: Trying to register VPBE display device.
[ 1.475689] vpbe-v4l2 vpbe-v4l2: layer=c2943c00,layer->video_dev=c2943ce8
[ 1.485000] watchdog watchdog: heartbeat 60 sec
[ 1.496790] Error: Driver 'davinci-mcbsp' is already registered, aborting...
[ 1.507857] asoc: cq93vc-hifi <-> davinci-vcif mapping ok
[ 1.518248] ALSA device list:
[ 1.521650] #0: DaVinci DM365 EVM
[ 1.526976] TCP cubic registered
[ 1.530681] NET: Registered protocol family 17
[ 1.547666] net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, id=22161a)
[ 1.571199] IP-Config: Complete:
[ 1.574303] device=eth0, addr=192.168.0.60, mask=255.255.255.0, gw=192.168.0.1,
[ 1.582178] host=192.168.0.60, domain=, nis-domain=(none),
[ 1.588135] bootserver=192.168.0.138, rootserver=192.168.0.138, rootpath=
[ 4.601568] VFS: Unable to mount root fs via NFS, trying floppy.
[ 4.608967] VFS: Cannot open root device "nfs" or unknown-block(2,0)
[ 4.615666] Please append a correct "root=" boot option; here are the available partitions:
[ 4.624277] 1f00 3072 mtdblock0 (driver?)
[ 4.629399] 1f01 2048 mtdblock1 (driver?)
[ 4.634622] 1f02 4096 mtdblock2 (driver?)
[ 4.639733] 1f03 40960 mtdblock3 (driver?)
[ 4.644931] 1f04 2048 mtdblock4 (driver?)
[ 4.650138] 1f05 40960 mtdblock5 (driver?)
[ 4.655263] 1f06 955392 mtdblock6 (driver?)
[ 4.660447] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
[ 4.668748] Backtrace:
[ 4.671295] Function entered at [<c002e4ec>] from [<c0311888>]
[ 4.677157] r7:00008000 r6:c2813000 r5:c0023668 r4:c03b2920
[ 4.682951] Function entered at [<c0311870>] from [<c03118f4>]
[ 4.688812] Function entered at [<c031188c>] from [<c0008fcc>]
我想问的问题是,挂载失败问题是因为我用的硬件(奇想达的DM368开发板)与IPNC要求的不同 还是 我要修改内核代码之类可以解决(如果是这个原因,想请教下有经验的人,主要要改哪些方面)? 谢谢。