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.

DM368 boot via NFS Problem

Hi,

I am trying to mount the file system  using nfs but after booting i am getting the following output.

TFTP from server 192.168.1.101; our IP address is 192.168.1.100
Filename 'uImage_ipnc_dm368'.
Load address: 0x80700000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ####################################
done
Bytes transferred = 3842560 (3aa200 hex)
## Booting kernel from Legacy Image at 80700000 ...
   Image Name:   Linux-2.6.37_IPNC_DM365_4.0.0
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3842496 Bytes =  3.7 MB
   Load Address: 80008000
   Entry Point:  80008000
   Loading Kernel Image ... OK
OK

Starting kernel ...

[    0.000000] Linux version 2.6.37_IPNC_DM365_4.0.0 (root@volansys28-desktop) (gcc version 4.3.3 (GCC) ) #1 PREEMPT Wed Aug 22 12:14:32 IST 2012
[    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=ttyS1,115200n8 noinitrd rw ip=192.168.1.101:192.168.1.100:192.168.1.1:255.255.255.0:::off root=/dev/nfs nfsroot=192.168.1.1
01:/home/volansys28/Desktop/IPNC/IPNC_RDK_DM36x_Version4.0.0/PrivateTI_IPNC_RDK_DM36x_v4.0.0/Source/ipnc_rdk/target/filesys,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=$(ethaddr)
[    0.000000] TI DaVinci EMAC: kernel boot params Ethernet address: $(ethaddr)
[    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.000296] Calibrating delay loop... 215.44 BogoMIPS (lpj=1077248)
[    0.240080] pid_max: default: 32768 minimum: 301
[    0.240387] Mount-cache hash table entries: 512
[    0.241182] CPU: Testing write buffer coherency: ok
[    0.245698] DaVinci: 8 gpio irqs
[    0.246312] NET: Registered protocol family 16
[    0.261346] EVM: (null) video input
[    0.340860] bio: create slab <bio-0> at 0
[    0.345465] SCSI subsystem initialized
[    0.349271] usbcore: registered new interface driver usbfs
[    0.350971] usbcore: registered new interface driver hub
[    0.351854] usbcore: registered new device driver usb
[    0.355091] vpss vpss: dm365_vpss vpss probed
[    0.355152] vpss vpss: dm365_vpss vpss probe success
[    0.357019] Advanced Linux Sound Architecture Driver Version 1.0.23.
[    0.358983] Switching to clocksource timer0_1
[    0.360102] Switched to NOHz mode on CPU #0
[    0.422162] NET: Registered protocol family 2
[    0.422479] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.423267] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.423409] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.423501] TCP: Hash tables configured (established 2048 bind 2048)
[    0.423533] TCP reno registered
[    0.423570] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.423633] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.424138] NET: Registered protocol family 1
[    0.425171] RPC: Registered udp transport module.
[    0.425213] RPC: Registered tcp transport module.
[    0.425241] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.498975] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.499992] JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
[    0.503791] msgmni has been set to 87
[    0.507652] io scheduler noop registered (default)
[    0.509450] CSL: Module install successful, device major num = 254
[    0.509496] CSL: Module version 0.10.00, built on Aug 22 2012 12:06:26
[    0.509549] I2C: Module install successful, device major num = 253
[    0.509588] DMA: Module install successful, device major num = 252
[    0.509616] DRV: Module install successful
[    0.509639] DRV: Module built on Aug 22 2012 12:06:27
[    0.509665] DRV: EDMACC.QUEPRI  = 00002777
[    0.509688] DRV: SYSTEM.MSTPRI0 = 00440011
[    0.509710] DRV: SYSTEM.MSTPRI1 = 00000444
[    0.509731] DRV: ISP.BCR        = 00000002
[    0.509753] DRV: SYSTEM.MISC    = 00000391
[    0.509776] EDMAK module: built on Aug 22 2012 at 12:06:12
[    0.509806]   Reference Linux version 2.6.37
[    0.509834]   File /home/volansys28/Desktop/IPNC/IPNC_RDK_DM36x_Version4.0.0/PrivateTI_IPNC_RDK_DM36x_v4.0.0/Source/dvsdk_ipnctools/linuxutils_2_26_02_05/packages/t
i/sdo/linuxutils/edma/src/module/edmak.c
[    0.511310] IRQK module: built on Aug 22 2012 at 12:03:54
[    0.511359]   Reference Linux version 2.6.37
[    0.511387]   File /home/volansys28/Desktop/IPNC/IPNC_RDK_DM36x_Version4.0.0/PrivateTI_IPNC_RDK_DM36x_v4.0.0/Source/dvsdk_ipnctools/linuxutils_2_26_02_05/packages/t
i/sdo/linuxutils/irq/src/module/irqk.c
[    0.512849] irqk initialized
[    0.512922] CMEMK module: built on Aug 22 2012 at 12:06:10
[    0.512961]   Reference Linux version 2.6.37
[    0.512989]   File /home/volansys28/Desktop/IPNC/IPNC_RDK_DM36x_Version4.0.0/PrivateTI_IPNC_RDK_DM36x_v4.0.0/Source/dvsdk_ipnctools/linuxutils_2_26_02_05/packages/t
i/sdo/linuxutils/cmem/src/module/cmemk.c
[    0.517685] allocated heap buffer 0xc4000000 of size 0x5000000
[    0.517736] CMEM Range Overlaps Kernel Physical - allowing overlap
[    0.517774] CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83000000)
[    0.517920] cmemk initialized
[    0.517974] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.542249] serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
[    0.564271] serial8250.0: ttyS1 at MMIO 0x1d06000 (irq = 41) is a 16550A
[    1.124468] console [ttyS1] enabled
[    1.131468] brd: module loaded
[    1.143293] NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung )
[    1.151963] Bad block table not found for chip 0
[    1.157977] Bad block table not found for chip 0
[    1.162795] Scanning device for bad blocks
[    1.192791] Bad eraseblock 248 at 0x000001f00000
[    1.197486] Bad eraseblock 249 at 0x000001f20000
[    1.202251] Bad eraseblock 250 at 0x000001f40000
[    1.206939] Bad eraseblock 251 at 0x000001f60000
[    1.211694] Bad eraseblock 252 at 0x000001f80000
[    1.216380] Bad eraseblock 253 at 0x000001fa0000
[    1.221129] Bad eraseblock 254 at 0x000001fc0000
[    1.225815] Bad eraseblock 255 at 0x000001fe0000
[    1.230580] Bad eraseblock 256 at 0x000002000000
[    1.235269] Bad eraseblock 257 at 0x000002020000
[    1.240032] Bad eraseblock 258 at 0x000002040000
[    1.244721] Bad eraseblock 259 at 0x000002060000
[    1.249488] Bad eraseblock 260 at 0x000002080000
[    1.254176] Bad eraseblock 261 at 0x0000020a0000
[    1.258854] Bad eraseblock 262 at 0x0000020c0000
[    1.263619] Bad eraseblock 263 at 0x0000020e0000
[    1.275992] Bad eraseblock 338 at 0x000002a40000
[    1.354269] Creating 7 MTD partitions on "davinci_nand.0":
[    1.359917] 0x000000000000-0x000000300000 : "bootloader"
[    1.369258] 0x000000300000-0x000000500000 : "params"
[    1.378173] 0x000000500000-0x000000900000 : "kernel"
[    1.387460] 0x000000900000-0x000003100000 : "filesystem1"
[    1.397324] 0x000003100000-0x000003300000 : "data1"
[    1.406677] 0x000003300000-0x000005b00000 : "filesystem2"
[    1.416666] 0x000005b00000-0x000008000000 : "data2"
[    1.426003] davinci_nand davinci_nand.0: controller rev. 2.3
[    1.489144] davinci_mdio davinci_mdio.0: davinci mdio revision 1.4
[    1.495352] davinci_mdio davinci_mdio.0: detected phy mask fffffffd
[    1.503076] davinci_mdio.0: probed
[    1.506519] davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
[    1.514398] i2c /dev entries driver
[    1.520105] Linux media interface: v0.10
[    1.524762] Linux video capture interface: v2.00
[    1.531732] vpbe-osd vpbe-osd: OSD sub device probe success
[    1.538199] vpbe-venc vpbe-venc: VENC sub device probe success
[    1.545040] vpbe-v4l2 vpbe-v4l2: vpbe v4l2 device registered
[    1.551241] Setting default output to Composite
[    1.555796] Setting default mode to ntsc
[    1.559945] vpbe-v4l2 vpbe-v4l2: Trying to register VPBE display device.
[    1.566659] vpbe-v4l2 vpbe-v4l2: layer=c2951a00,layer->video_dev=c2951ae8
[    1.574361] vpbe-v4l2 vpbe-v4l2: Trying to register VPBE display device.
[    1.581316] vpbe-v4l2 vpbe-v4l2: layer=c2951c00,layer->video_dev=c2951ce8
[    1.589956] watchdog watchdog: heartbeat 60 sec
[    1.599873] Error: Driver 'davinci-mcbsp' is already registered, aborting...
[    1.609859] asoc: cq93vc-hifi <-> davinci-vcif mapping ok
[    1.618631] ALSA device list:
[    1.621936]   #0: DaVinci DM365 EVM
[    1.626706] TCP cubic registered
[    1.630310] NET: Registered protocol family 17
[    1.643776] net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, id=181b8b0)
[    1.669952] IP-Config: Complete:
[    1.673034]      device=eth0, addr=192.168.1.101, mask=255.255.255.0, gw=192.168.1.1,
[    1.680944]      host=192.168.1.101, domain=, nis-domain=(none),
[    1.686965]      bootserver=192.168.1.100, rootserver=192.168.1.101, rootpath=
[    1.696726] VFS: Unable to mount root fs via NFS, trying floppy.
[    1.703858] VFS: Cannot open root device "nfs" or unknown-block(2,0)
[    1.710381] Please append a correct "root=" boot option; here are the available partitions:
[    1.718782] 1f00            3072 mtdblock0  (driver?)
[    1.724017] 1f01            2048 mtdblock1  (driver?)
[    1.729192] 1f02            4096 mtdblock2  (driver?)
[    1.734278] 1f03           40960 mtdblock3  (driver?)
[    1.739445] 1f04            2048 mtdblock4  (driver?)
[    1.744530] 1f05           40960 mtdblock5  (driver?)
[    1.749684] 1f06           37888 mtdblock6  (driver?)
[    1.754761] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
[    1.763094] Backtrace:
[    1.765566] Function entered at [<c002e4ec>] from [<c0311888>]
[    1.771465]  r7:00008000 r6:c2813000 r5:c0023668 r4:c03b2920
[    1.777166] Function entered at [<c0311870>] from [<c03118f4>]
[    1.783066] Function entered at [<c031188c>] from [<c0008fcc>]
[    1.788908]  r3:00000000 r2:00000000 r1:c2825f58 r0:c03317d6
[    1.794677] Function entered at [<c0008de8>] from [<c00090c0>]
[    1.800574] Function entered at [<c0009014>] from [<c0009244>]
[    1.806417]  r4:c03b2228
[    1.808961] Function entered at [<c00090e4>] from [<c00084b4>]
[    1.814858]  r5:c0022e04 r4:c03b21d8
[    1.818461] Function entered at [<c00083a4>] from [<c0042e0c>]
[    1.824358]  r5:c00083a4 r4:00000000

I had also tried to boot images (uImage and ubifs) copied through tftp and then write images into nand but it gives output like this,

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.37_IPNC_DM365_4.0.0
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3842496 Bytes =  3.7 MB
   Load Address: 80008000
   Entry Point:  80008000
## Booting kernel from Legacy Image at 80700000 ...
   Image Name:   Linux-2.6.37_IPNC_DM365_4.0.0
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3842496 Bytes =  3.7 MB
   Load Address: 80008000
   Entry Point:  80008000
   Loading Kernel Image ... OK
OK

Starting kernel ...

[    0.000000] Linux version 2.6.37_IPNC_DM365_4.0.0 (root@volansys-parth) (gcc version 4.3.3 (GCC) ) #1 PREEMPT Tue Aug 21 17:37:09 IST 2012
[    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: mem=48M console=ttyS1,115200n8 noinitrd ip=dhcp eth=$(ethaddr) rw ubi.mtd=3,512 rootfstype=ubifs root=ubi0:rootfs cmemk.phys_start=
0x83000000 cmemk.phys_end=0x88000000 cmemk.phys_start_1=0x00001000 cmemk.phys_end_1=0x00008000 cmemk.pools_1=1x28672
[    0.000000] TI DaVinci EMAC: kernel boot params Ethernet address: $(ethaddr)
[    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.000294] Calibrating delay loop... 215.44 BogoMIPS (lpj=1077248)
[    0.240076] pid_max: default: 32768 minimum: 301
[    0.240390] Mount-cache hash table entries: 512
[    0.241177] CPU: Testing write buffer coherency: ok
[    0.245669] DaVinci: 8 gpio irqs
[    0.246290] NET: Registered protocol family 16
[    0.261339] EVM: (null) video input
[    0.340729] bio: create slab <bio-0> at 0
[    0.345335] SCSI subsystem initialized
[    0.349159] usbcore: registered new interface driver usbfs
[    0.350865] usbcore: registered new interface driver hub
[    0.351751] usbcore: registered new device driver usb
[    0.354983] vpss vpss: dm365_vpss vpss probed
[    0.355047] vpss vpss: dm365_vpss vpss probe success
[    0.356923] Advanced Linux Sound Architecture Driver Version 1.0.23.
[    0.358865] Switching to clocksource timer0_1
[    0.360098] Switched to NOHz mode on CPU #0
[    0.422103] NET: Registered protocol family 2
[    0.422410] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.423218] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.423362] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.423451] TCP: Hash tables configured (established 2048 bind 2048)
[    0.423482] TCP reno registered
[    0.423521] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.423586] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.424091] NET: Registered protocol family 1
[    0.425120] RPC: Registered udp transport module.
[    0.425165] RPC: Registered tcp transport module.
[    0.425193] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.498916] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.499943] JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.503722] msgmni has been set to 87
[    0.507578] io scheduler noop registered (default)
[    0.509385] CSL: Module install successful, device major num = 254
[    0.509431] CSL: Module version 0.10.00, built on Aug 21 2012 17:29:24
[    0.509482] I2C: Module install successful, device major num = 253
[    0.509525] DMA: Module install successful, device major num = 252
[    0.509554] DRV: Module install successful
[    0.509578] DRV: Module built on Aug 21 2012 17:29:26
[    0.509603] DRV: EDMACC.QUEPRI  = 00002777
[    0.509626] DRV: SYSTEM.MSTPRI0 = 00440011
[    0.509648] DRV: SYSTEM.MSTPRI1 = 00000444
[    0.509669] DRV: ISP.BCR        = 00000002
[    0.509691] DRV: SYSTEM.MISC    = 00000391
[    0.509714] EDMAK module: built on Aug 21 2012 at 17:29:11
[    0.509743]   Reference Linux version 2.6.37
[    0.509768]   File /home/volansys/Desktop/IPNC/

Source/dvsdk_ipnctools/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/edma/src/module/edmak.c
[    0.511223] IRQK module: built on Aug 21 2012 at 17:21:32
[    0.511272]   Reference Linux version 2.6.37
[    0.511298]   File /home/volansys/Desktop/IPNC/Source/dvsdk_ipnctools/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/irq/src/module/irqk.c
[    0.512757] irqk initialized
[    0.512829] CMEMK module: built on Aug 21 2012 at 17:29:09
[    0.512868]   Reference Linux version 2.6.37
[    0.512895]   File /home/volansys/Desktop/IPNC/Source/dvsdk_ipnctools/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
[    0.517571] allocated heap buffer 0xc4000000 of size 0x5000000
[    0.517630] CMEMK Error: CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83000000)
[    0.524264] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.548142] serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
[    0.570356] serial8250.0: ttyS1 at MMIO 0x1d06000 (irq = 41) is a 16550A
[    1.088618] console [ttyS1] enabled
[    1.095566] brd: module loaded
[    1.107364] NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung )
[    1.115965] Bad block table not found for chip 0
[    1.122258] Bad block table not found for chip 0
[    1.126894] Scanning device for bad blocks
[    1.156958] Bad eraseblock 248 at 0x000001f00000
[    1.161730] Bad eraseblock 249 at 0x000001f20000
[    1.166418] Bad eraseblock 250 at 0x000001f40000
[    1.171172] Bad eraseblock 251 at 0x000001f60000
[    1.175860] Bad eraseblock 252 at 0x000001f80000
[    1.180612] Bad eraseblock 253 at 0x000001fa0000
[    1.185297] Bad eraseblock 254 at 0x000001fc0000
[    1.190064] Bad eraseblock 255 at 0x000001fe0000
[    1.194753] Bad eraseblock 256 at 0x000002000000
[    1.199521] Bad eraseblock 257 at 0x000002020000
[    1.204209] Bad eraseblock 258 at 0x000002040000
[    1.208887] Bad eraseblock 259 at 0x000002060000
[    1.213649] Bad eraseblock 260 at 0x000002080000
[    1.218339] Bad eraseblock 261 at 0x0000020a0000
[    1.223101] Bad eraseblock 262 at 0x0000020c0000
[    1.227789] Bad eraseblock 263 at 0x0000020e0000
[    1.240256] Bad eraseblock 338 at 0x000002a40000
[    1.318611] Creating 7 MTD partitions on "davinci_nand.0":
[    1.324259] 0x000000000000-0x000000300000 : "bootloader"
[    1.333531] 0x000000300000-0x000000500000 : "params"
[    1.342619] 0x000000500000-0x000000900000 : "kernel"
[    1.351847] 0x000000900000-0x000003100000 : "filesystem1"
[    1.361627] 0x000003100000-0x000003300000 : "data1"
[    1.370908] 0x000003300000-0x000005b00000 : "filesystem2"
[    1.380802] 0x000005b00000-0x000008000000 : "data2"
[    1.390190] davinci_nand davinci_nand.0: controller rev. 2.3
[    1.398811] UBI: attaching mtd3 to ubi0
[    1.403004] UBI: physical eraseblock size:   131072 bytes (128 KiB)
[    1.409482] UBI: logical eraseblock size:    129024 bytes
[    1.414894] UBI: smallest flash I/O unit:    2048
[    1.419717] UBI: sub-page size:              512
[    1.424349] UBI: VID header offset:          512 (aligned 512)
[    1.430273] UBI: data offset:                2048
[    1.435721] UBI error: validate_ec_hdr: bad VID header offset 2048, expected 512
[    1.443252] UBI error: validate_ec_hdr: bad EC header
[    1.448324] UBI error: ubi_io_read_ec_hdr: validation failed for PEB 0
[    1.455157] UBI error: ubi_init: cannot attach mtd3
[    1.509033] davinci_mdio davinci_mdio.0: davinci mdio revision 1.4
[    1.515242] davinci_mdio davinci_mdio.0: detected phy mask fffffffd
[    1.522995] davinci_mdio.0: probed
[    1.526440] davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
[    1.534314] i2c /dev entries driver
[    1.540041] Linux media interface: v0.10
[    1.544660] Linux video capture interface: v2.00
[    1.551624] vpbe-osd vpbe-osd: OSD sub device probe success
[    1.558076] vpbe-venc vpbe-venc: VENC sub device probe success
[    1.564920] vpbe-v4l2 vpbe-v4l2: vpbe v4l2 device registered
[    1.571128] Setting default output to Composite
[    1.575685] Setting default mode to ntsc
[    1.579833] vpbe-v4l2 vpbe-v4l2: Trying to register VPBE display device.
[    1.586548] vpbe-v4l2 vpbe-v4l2: layer=c2883200,layer->video_dev=c28832e8
[    1.594280] vpbe-v4l2 vpbe-v4l2: Trying to register VPBE display device.
[    1.601230] vpbe-v4l2 vpbe-v4l2: layer=c2953800,layer->video_dev=c29538e8
[    1.609875] watchdog watchdog: heartbeat 60 sec
[    1.619796] Error: Driver 'davinci-mcbsp' is already registered, aborting...
[    1.629818] asoc: cq93vc-hifi <-> davinci-vcif mapping ok
[    1.638585] ALSA device list:
[    1.641883]   #0: DaVinci DM365 EVM
[    1.646671] TCP cubic registered
[    1.650279] NET: Registered protocol family 17
[    1.663736] net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, id=181b8b0)
[    1.689298] Sending DHCP requests .
[    3.659335] PHY: 0:01 - Link is Up - 100/Full
[    4.148992] ..... timed out!
[   82.190251] IP-Config: Reopening network devices...
[   82.196262] net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, id=181b8b0)
[   82.219028] Sending DHCP requests .
[   84.189345] PHY: 0:01 - Link is Up - 100/Full
[   84.658996] ..... timed out!
[  162.370263] IP-Config: Auto-configuration of network failed.
[  162.376567] VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
[  162.383739] Please append a correct "root=" boot option; here are the available partitions:
[  162.392221] 1f00            3072 mtdblock0  (driver?)
[  162.397312] 1f01            2048 mtdblock1  (driver?)
[  162.402480] 1f02            4096 mtdblock2  (driver?)
[  162.407561] 1f03           40960 mtdblock3  (driver?)
[  162.412717] 1f04            2048 mtdblock4  (driver?)
[  162.417795] 1f05           40960 mtdblock5  (driver?)
[  162.422949] 1f06           37888 mtdblock6  (driver?)
[  162.428021] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[  162.436348] Backtrace:
[  162.438821] Function entered at [<c002e4ec>] from [<c0311888>]
[  162.444725]  r7:00008000 r6:c2813000 r5:c0023668 r4:c03b2920
[  162.450500] Function entered at [<c0311870>] from [<c03118f4>]
[  162.456338] Function entered at [<c031188c>] from [<c0008fcc>]
[  162.462236]  r3:00000000 r2:00000000 r1:c2825f78 r0:c03317d6
[  162.467940] Function entered at [<c0008de8>] from [<c0009178>]
[  162.473839] Function entered at [<c00090e4>] from [<c00084b4>]
[  162.479739]  r5:c0022e04 r4:c03b21d8
[  162.483339] Function entered at [<c00083a4>] from [<c0042e0c>]
[  162.489234]  r5:c00083a4 r4:00000000
in both cases i set my env variables as given in user guide, but it does not help,
Please help....

  • I believe your bootargs are wrong. Both your camera and NFS host are using 192.168.1.101, which probably is not true.

    Try ip=dhcp in your bootargs. also note that eth=$(ethaddr) is not right either, you can just leave that out.

  • Thanks for your reply,

    but my camera ip is 192.168.1.100 and my NFS host ip is 192.168.1.101,

    but i solved this problem by enabling ext4 support for my kernel,

    Now i solve this problem and can boot my fs through NFS but again next problem is i am not able to compile cmem as a kernel object (cmem.ko),

    if any one knows which makefile i have to change then please reply

  • Hi Poonam,

    I suggest you to create new thread for cmem problem to get better response.

    I never worked with IPNC SDK. However for DVSDK you can use command "make cmem". Check your SDK Makefile if there is any such rule available.

    Regards,

    Krunal

  • Forgot to mention - in DVSDK the Makefile is available at root directory of DVSDK i.e. $(DVSDK)/Makefile

    Regards,

    Krunal

  • Hi Krunal,

    Thanks for reply.

  • Did this solved your problem?

    - Krunal

  • Hi,

    No my problem is not solved yet, actually i have both, IPNC app source code and DVSDK source, and to compile both i have an another makefile which is in IPNC app folder, and that makefile shows that for compiling cmem below makefile is used, so problem is in this make file,

    ROOTDIR = ../..

    # We conditionally include $(ROOTDIR)/Rules.make because when the
    # kernel make system invokes us, it won't be found... but that's okay.
    -include $(ROOTDIR)/Rules.make

    TARGET = cmemk.ko

    obj-y += cmemk.o

    EXTRA_CFLAGS +=    -DUSE_UDEV=$(USE_UDEV) \
            -DMAX_POOLS=$(MAX_POOLS)

    MAKE_ENV = ARCH=arm CROSS_COMPILE=$(MVTOOL_PREFIX)

    debug: EXTRA_CFLAGS += -D__DEBUG

    .PHONY: clean debug release install default

    default: release

    docs:

    release:
        make -C $(LINUXKERNEL_INSTALL_DIR) M=`pwd` $(MAKE_ENV) \
            EXTRA_CFLAGS="$(EXTRA_CFLAGS)"

    debug:
        make -C $(LINUXKERNEL_INSTALL_DIR) M=`pwd` $(MAKE_ENV) \
            EXTRA_CFLAGS="$(EXTRA_CFLAGS)" modules

    install:
        install -d $(EXEC_DIR)

    clean:
        -rm -rf *.o *mod* *.ko .cmem* .tmp*
    #
    #  @(#) ti.sdo.linuxutils.cmem; 2, 2, 0,145; 7-12-2011 11:02:14; /db/atree/library/trees/linuxutils/linuxutils-j05x/src/ xlibrary

    when i change  obj -y to obj -m, & compile only dvsdk,  it compile and generate cmemk.ko but this  gives error when i compile whole app, kernel, and dvsdk.