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.

IPNC_Release4.0.0 port

I' m porting the IPNC_Release4.0.0 to our own board.Our board doesn't have mmc.We use the nfs to debug.The filesystem and kernel have running.But stopping at the AV_server.out not to continute run. I don't know the reaseon.Please look at the print info:

 0
BOOTP broadcast 1
DHCP client bound to address 192.168.9.117
Using DaVinci-EMAC device
TFTP from server 192.168.9.188; our IP address is 192.168.9.117
Filename 'uImage_ipnc_dm368'.
Load address: 0x80700000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##################################
done
Bytes transferred = 3833696 (3a7f60 hex)
## Booting kernel from Legacy Image at 80700000 ...
   Image Name:   Linux-2.6.37_IPNC_DM365_4.0.0
   Created:      2013-05-10   5:24:02 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3833632 Bytes = 3.7 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

[    0.000000] Linux version 2.6.37_IPNC_DM365_4.0.0 (root@ben-desktop) (gcc version 4.3.3 (GCC) ) #3 PREEMPT Fri May 10 13:24:01 CST 2013
[    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=dhcp root=/dev/nfs nfsroot=192.168.9.188:/home/ben/ipnc4.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=00:0e:99:02:ce:f4 lpj=739328 nohz=off highres=off
[    0.000000] TI DaVinci EMAC: kernel boot params Ethernet address: 00:0e:99:02:ce:f4
[    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: 44780k/44780k available, 4372k 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 - 0xc0029000   ( 132 kB)
[    0.000000]       .text : 0xc0029000 - 0xc038a000   (3460 kB)
[    0.000000]       .data : 0xc038a000 - 0xc03aff20   ( 152 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.000411] Calibrating delay loop (skipped) preset value.. 147.86 BogoMIPS (lpj=739328)
[    0.000494] pid_max: default: 32768 minimum: 301
[    0.000878] Mount-cache hash table entries: 512
[    0.001975] CPU: Testing write buffer coherency: ok
[    0.008161] DaVinci: 8 gpio irqs
[    0.009021] NET: Registered protocol family 16
[    0.028422] EVM: (null) video input
[    0.136555] bio: create slab <bio-0> at 0
[    0.143315] SCSI subsystem initialized
[    0.148536] usbcore: registered new interface driver usbfs
[    0.150698] usbcore: registered new interface driver hub
[    0.151914] usbcore: registered new device driver usb
[    0.156303] vpss vpss: dm365_vpss vpss probed
[    0.156387] vpss vpss: dm365_vpss vpss probe success
[    0.158951] Advanced Linux Sound Architecture Driver Version 1.0.23.
[    0.162060] Switching to clocksource timer0_1
[    0.247524] NET: Registered protocol family 2
[    0.247951] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.249067] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.249272] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.249399] TCP: Hash tables configured (established 2048 bind 2048)
[    0.249444] TCP reno registered
[    0.249497] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.249587] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.250657] NET: Registered protocol family 1
[    0.252034] RPC: Registered udp transport module.
[    0.252096] RPC: Registered tcp transport module.
[    0.252136] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.353896] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.354923] JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
[    0.360440] msgmni has been set to 87
[    0.365751] io scheduler noop registered (default)
[    0.367846] CSL: Module install successful, device major num = 254
[    0.367909] CSL: Module version 0.10.00, built on May 10 2013 12:46:00
[    0.367984] I2C: Module install successful, device major num = 253
[    0.368040] DMA: Module install successful, device major num = 252
[    0.368082] DRV: Module install successful
[    0.368118] DRV: Module built on May 10 2013 12:46:02
[    0.368155] DRV: EDMACC.QUEPRI  = 00002777
[    0.368188] DRV: SYSTEM.MSTPRI0 = 00440011
[    0.368220] DRV: SYSTEM.MSTPRI1 = 00000444
[    0.368251] DRV: ISP.BCR        = 00000002
[    0.368283] DRV: SYSTEM.MISC    = 00000399
[    0.368316] EDMAK module: built on May 10 2013 at 12:45:33
[    0.368359]   Reference Linux version 2.6.37
[    0.368395]   File /home/ben/ipnc4.0/Source/dvsdk_ipnctools/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/edma/src/module/edmak.c
[    0.370674] IRQK module: built on May 10 2013 at 12:45:32
[    0.370742]   Reference Linux version 2.6.37
[    0.370777]   File /home/ben/ipnc4.0/Source/dvsdk_ipnctools/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/irq/src/module/irqk.c
[    0.372749] irqk initialized
[    0.372847] CMEMK module: built on May 10 2013 at 12:45:28
[    0.372902]   Reference Linux version 2.6.37
[    0.372939]   File /home/ben/ipnc4.0/Source/dvsdk_ipnctools/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
[    0.379584] allocated heap buffer 0xc4000000 of size 0x5000000
[    0.379655] CMEM Range Overlaps Kernel Physical - allowing overlap
[    0.379708] CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83000000)
[    0.379910] cmemk initialized
[    0.379988] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.405458] serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
[    0.931114] console [ttyS0] enabled
[    0.957184] serial8250.0: ttyS1 at MMIO 0x1d06000 (irq = 41) is a 16550A
[    0.968685] brd: module loaded
[    0.983886] ONFI flash detected
[    0.987227] ONFI param page 0 valid
[    0.991251] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron NAND 256MiB 3,3V 8-bit)
[    1.002013] nand_bbt: ECC error while reading bad block table
[    1.008130] Creating 7 MTD partitions on "davinci_nand.0":
[    1.013888] 0x000000000000-0x000000300000 : "bootloader"
[    1.024684] 0x000000300000-0x000000500000 : "params"
[    1.035308] 0x000000500000-0x000000900000 : "kernel"
[    1.046132] 0x000000900000-0x000003100000 : "filesystem1"
[    1.057578] 0x000003100000-0x000003300000 : "data1"
[    1.068528] 0x000003300000-0x000005b00000 : "filesystem2"
[    1.080474] 0x000005b00000-0x000010000000 : "data2"
[    1.091914] davinci_nand davinci_nand.0: controller rev. 2.3
[    1.150152] davinci_mdio davinci_mdio.0: davinci mdio revision 1.4
[    1.156391] davinci_mdio davinci_mdio.0: detected phy mask fffffffe
[    1.164595] davinci_mdio.0: probed
[    1.168068] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
[    1.176236] i2c /dev entries driver
[    1.182739] Linux media interface: v0.10
[    1.187623] Linux video capture interface: v2.00
[    1.195419] vpbe-osd vpbe-osd: OSD sub device probe success
[    1.202434] vpbe-venc vpbe-venc: VENC sub device probe success
[    1.209636] vpbe-v4l2 vpbe-v4l2: vpbe v4l2 device registered
[    1.215820] Setting default output to Composite
[    1.220596] Setting default mode to ntsc
[    1.224689] vpbe-v4l2 vpbe-v4l2: Trying to register VPBE display device.
[    1.231537] vpbe-v4l2 vpbe-v4l2: layer=c2957400,layer->video_dev=c29574e8
[    1.239437] vpbe-v4l2 vpbe-v4l2: Trying to register VPBE display device.
[    1.246480] vpbe-v4l2 vpbe-v4l2: layer=c2957e00,layer->video_dev=c2957ee8
[    1.255795] watchdog watchdog: heartbeat 60 sec
[    1.267702] Error: Driver 'davinci-mcbsp' is already registered, aborting...
[    1.278796] asoc: cq93vc-hifi <-> davinci-vcif mapping ok
[    1.289130] ALSA device list:
[    1.292531]   #0: DaVinci DM365 EVM
[    1.297895] TCP cubic registered
[    1.301594] NET: Registered protocol family 17
[    1.318549] net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:00, id=221613)
[    1.340508] Sending DHCP requests .
[    3.310450] PHY: 0:00 - Link is Up - 100/Full
[    3.830108] ., OK
[    3.860158] IP-Config: Got DHCP answer from 0.0.0.0, my address is 192.168.9.117
[    3.868340] IP-Config: Complete:
[    3.871926]      device=eth0, addr=192.168.9.117, mask=255.255.255.0, gw=192.168.9.1,
[    3.879784]      host=192.168.9.117, domain=, nis-domain=(none),
[    3.886110]      bootserver=0.0.0.0, rootserver=192.168.9.188, rootpath=
[    3.919764] VFS: Mounted root (nfs filesystem) on device 0:13.
[    3.925759] VFS: mounted rootfs
[    3.929165] Freeing init memory: 132K
INIT: version 2.86 booting
Starting mounting local filesystems: mount Creat queue id:0
queue id:0
FileMngThread created
Creat queue id:32769
queue id:32769
AlramThread created
Share memory init success
IPNC_DM365_4.0.0 (root@ben-desktop) (gcc version 4.3.3 (GCC) ) #3 PREEMPT Fri 
Creat queue id:65538
queue id:65538
queue id:32769
queue id:65538
Creat queue id:98307
queue id:98307
mount: mounting /dev/root on / failed: No such file or directory
 failed (1: ).
net_search_gateway:eth0, 1A8C0, 0, 1

CPU is DM365

*****************************************************************

  IPNC BUILD VERSION: DM365 IPNC RDK V4.00.00.08

*****************************************************************

./av_server.out DM365 NTSC APPRO2A AEWB 720P H264 4000000 VBR AUTO MENUOFF &

Check_device_version : DEVICE VER = 1 !!

 the av_server.out stop here and not to continue to run. i don't know the reason.

 

 

  • Hello,

     From the log it shows, av_server.out may not be present here in filesystem under folder /opt/ipnc

    Can you check this? please run "make sysall" with NFS selected in Rules.Make

    Also, please check if the filesyetem has proper permission for this to run av_server.out

    Please try to use the latest version v5.0 or higher to be ins syn with latest updates

    Regards,

    Raghu

  • Hi Dong,

    were you able to find the cause of the problem? I'm running into the same issue.

    Thanks!