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.

TMS320DM368: webGUI is not working for IPNC RDK 5.1.0 in DM36x EVM

Part Number: TMS320DM368

Hello, 

We are porting the IPNC application on DM36x EVM. We are using SD Card for booting.

We are able to see the live video on the CVBS Out and able to record the video with IPNC RDK 5.1.0 on DM36x EVM.

But we are facing following issues:-

1. We are not able to access the web based GUI.

 2. We are not able to stream the H.264 encoded video with bit rate greater than 300kbps.

We are running the application through the command line. We have commented some lines of rcS script as mentioned in the YUV Sensor Guide Document.

For GUI, we are using windows 7 64bit with IE version 8.

Please suggest what we have to do for the above.

Regards,

Amit Soni

  • Hi Amit,

    1. We are not able to access the web based GUI.

    This is because you are not running the system_server and autorun.sh.
    "boa" is responsible for running the web gui.

    2. We are not able to stream the H.264 encoded video with bit rate greater than 300kbps.

    Can you check the below doc
    /Source/dvsdk_ipnctools/codecs-dm365/packages/ti/sdo/codecs/h264enc/docs/h264_encoder_dm365_userguide.pdf

    Thanks,
    Anuj
  • Hi Anuj,

    1. We are not able to access the web based GUI.

    How to run these application? Any document related to this one?

    2. Sometimes streaming is working fine, and sometimes it is failng. What is the reason for this?

    Can you explain these things?

    Regards,

    Amit Soni

  • Hello Anuj,

    I have gone through this document.
    /Source/dvsdk_ipnctools/codecs-dm365/packages/ti/sdo/codecs/h264enc/docs/h264_encoder_dm365_userguide.pdf

    But in this document, I did not get any clue regarding the streaming. Sometimes streaming on 1.5MB/s bit rate is working fine, sometimes, it is giving error.

    Also guide me how to run system_server and autorun.sh. What are the dependencies for these files?

    Thank you,


    Regards,
    Amit Soni
  • Hi Amit,
    Please share a few log files with the working and non working case with different bitrates.
    I will look for the dependencies between system server and autorun.sh.
    Please share the changes that You have done for porting the ipnc on your custom evm.
    When you are getting error with high bitrate , please check the cpu load at that time.

    Regards,
    Anuj
  • Hi Anuj,

    I am sharing my boot logs.

    Working boot logs are:

    DM36x initialization passed!
    TI UBL Version: 1.50
    Booting Catalog Boot Loader
    BootMode = SD/MMC 
    Starting SDMMC Copy...
       DONE
    Jumping to entry point at 0x81080000.
    
    
    U-Boot 2010.12-rc2 (Mar 24 2011 - 16:49:26)
    
    Cores: ARM 432 MHz
    DDR:   340 MHz
    I2C:   ready
    DRAM:  128 MiB                                                                  
    NAND:  2048 MiB                                                                 
    MMC:   davinci: 0, davinci: 1                                                   
    Bad block table found at page 524224, version 0x33                              
    Bad block table found at page 1048512, version 0x01                             
    Bad block table found at page 524160, version 0x33                              
    Bad block table found at page 1048448, version 0x01                             
    nand_read_bbt: Bad block at 0x000003f80000                                      
    nand_read_bbt: Bad block at 0x00000a9a0000                                      
    nand_read_bbt: Bad block at 0x00000c100000                                      
    nand_read_bbt: Bad block at 0x000022040000                                      
    nand_read_bbt: Bad block at 0x000022480000                                      
    nand_read_bbt: Bad block at 0x0000232e0000                                      
    nand_read_bbt: Bad block at 0x000023560000                                      
    nand_read_bbt: Bad block at 0x0000237e0000                                      
    nand_read_bbt: Bad block at 0x000023820000                                      
    nand_read_bbt: Bad block at 0x000023a80000                                      
    nand_read_bbt: Bad block at 0x000023aa0000                                      
    nand_read_bbt: Bad block at 0x000023ac0000                                      
    nand_read_bbt: Bad block at 0x000023ca0000                                      
    nand_read_bbt: Bad block at 0x000023f20000                                      
    nand_read_bbt: Bad block at 0x0000241a0000                                      
    nand_read_bbt: Bad block at 0x000024260000                                      
    nand_read_bbt: Bad block at 0x000026460000                                      
    nand_read_bbt: Bad block at 0x0000264c0000                                      
    nand_read_bbt: Bad block at 0x000030180000                                      
    nand_read_bbt: Bad block at 0x0000316a0000                                      
    nand_read_bbt: Bad block at 0x000031840000                                      
    nand_read_bbt: Bad block at 0x000031ae0000                                      
    nand_read_bbt: Bad block at 0x000031f40000                                      
    nand_read_bbt: Bad block at 0x000032260000                                      
    nand_read_bbt: Bad block at 0x0000322e0000                                      
    nand_read_bbt: Bad block at 0x000032300000                                      
    nand_read_bbt: Bad block at 0x000032320000                                      
    nand_read_bbt: Bad block at 0x000032480000                                      
    nand_read_bbt: Bad block at 0x000032660000                                      
    nand_read_bbt: Bad block at 0x000032740000                                      
    nand_read_bbt: Bad block at 0x0000327c0000                                      
    nand_read_bbt: Bad block at 0x0000328e0000                                      
    nand_read_bbt: Bad block at 0x000032920000                                      
    nand_read_bbt: Bad block at 0x000032a80000                                      
    nand_read_bbt: Bad block at 0x000032b20000                                      
    nand_read_bbt: Bad block at 0x000032c40000                                      
    nand_read_bbt: Bad block at 0x000032d80000                                      
    nand_read_bbt: Bad block at 0x000032e00000                                      
    nand_read_bbt: Bad block at 0x000032e80000                                      
    nand_read_bbt: Bad block at 0x000033980000                                      
    nand_read_bbt: Bad block at 0x000034420000                                      
    nand_read_bbt: Bad block at 0x000034680000                                      
    nand_read_bbt: Bad block at 0x0000351c0000                                      
    nand_read_bbt: Bad block at 0x0000355a0000                                      
    nand_read_bbt: Bad block at 0x000037580000                                      
    nand_read_bbt: Bad block at 0x000037cc0000                                      
    nand_read_bbt: Bad block at 0x000037ce0000                                      
    nand_read_bbt: Bad block at 0x000039780000                                      
    nand_read_bbt: Bad block at 0x00003bee0000                                      
    nand_read_bbt: Bad block at 0x00003bf00000                                      
    nand_read_bbt: Bad block at 0x00003bf20000                                      
    nand_read_bbt: Bad block at 0x00003d660000                                      
    nand_read_bbt: Bad block at 0x00003f860000                                      
    nand_read_bbt: Bad block at 0x00003f940000                                      
    nand_read_bbt: Bad block at 0x00003ff00000                                      
    nand_read_bbt: Bad block at 0x000040400000                                      
    nand_read_bbt: Bad block at 0x000045aa0000                                      
    nand_read_bbt: Bad block at 0x00004cda0000                                      
    nand_read_bbt: Bad block at 0x00004ffe0000                                      
    nand_read_bbt: Bad block at 0x000051e00000                                      
    nand_read_bbt: Bad block at 0x00005bd60000                                      
    nand_read_bbt: Bad block at 0x000064640000                                      
    nand_read_bbt: Bad block at 0x0000668a0000                                      
    nand_read_bbt: Bad block at 0x000066ba0000                                      
    nand_read_bbt: Bad block at 0x000070e60000                                      
    nand_read_bbt: Bad block at 0x0000738c0000                                      
    nand_read_bbt: Bad block at 0x000074a60000                                      
    nand_read_bbt: Bad block at 0x00007dd00000                                      
    Net:   Ethernet PHY: GENERIC @ 0x00                                             
    DaVinci-EMAC                                                                    
    Hit any key to stop autoboot:  0                                                
    reading boot.scr                                                                
                                                                                    
    ** Unable to read "boot.scr" from mmc 0:1 **                                    
    reading uImage                                                                  
                                                                                    
    5150208 bytes read                                                              
    ## Booting kernel from Legacy Image at 80700000 ...                             
       Image Name:   Linux-2.6.37_IPNC_DM365EVM_5.1.0                               
       Created:      2017-04-13   4:08:12 UTC                                       
       Image Type:   ARM Linux Kernel Image (uncompressed)                          
       Data Size:    5150144 Bytes = 4.9 MiB                                        
       Load Address: 80008000                                                       
       Entry Point:  80008000                                                       
       Verifying Checksum ... OK                                                    
       Loading Kernel Image ... OK                                                  
    OK                                                                              
                                                                                    
    Starting kernel ...                                                             
                                                                                    
    Linux version 2.6.37_IPNC_DM365EVM_5.1.0 (root@ubuntu) (gcc version 4.3.3 (Sourc
    ery G++ Lite 2009q1-203) ) #2 PREEMPT Thu Apr 13 09:38:10 IST 2017              
    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177                   
    CPU: VIVT data cache, VIVT instruction cache                                    
    Machine: DaVinci DM36x EVM                                                      
    Memory policy: ECC disabled, Data cache writeback                               
    DaVinci dm36x_rev1.2 variant 0x8                                                
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 12192      
    Kernel command line: mem=48M console=ttyS0,115200n8 noinitrd root=/dev/mmcblk0p2
     rootwait ip=192.168.1.253:192.168.1.184:192.168.1.1:255.255.255.0:::off cmemk.p
    hys_start=0x83000000 cmemk.phys_end=0x88000000 cmemk.phys_start_1=0x00001000 cme
    mk.phys_end_1=0x00008000 cmemk.pools_1=1x28672 cmemk.allowOverlap=1 cmemk.useHea
    pIfPoolUnavailable=1                                                            
    PID hash table entries: 256 (order: -2, 1024 bytes)                             
    Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)                   
    Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)                    
    Memory: 48MB = 48MB total                                                       
    Memory: 43440k/43440k available, 5712k reserved, 0K highmem                     
    Virtual kernel memory layout:                                                   
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)                               
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)                               
        DMA     : 0xff000000 - 0xffe00000   (  14 MB)                               
        vmalloc : 0xc3800000 - 0xfea00000   ( 946 MB)                               
        lowmem  : 0xc0000000 - 0xc3000000   (  48 MB)                               
        modules : 0xbf000000 - 0xc0000000   (  16 MB)                               
          .init : 0xc0008000 - 0xc002d000   ( 148 kB)                               
          .text : 0xc002d000 - 0xc04c0000   (4684 kB)                               
          .data : 0xc04c0000 - 0xc04f15c0   ( 198 kB)                               
    SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1         
    Preemptable hierarchical RCU implementation.                                    
            RCU-based detection of stalled CPUs is disabled.                        
            Verbose stalled-CPUs detection is disabled.                             
    NR_IRQS:245                                                                     
    Console: colour dummy device 80x30                                              
    Calibrating delay loop... 215.44 BogoMIPS (lpj=1077248)                         
    pid_max: default: 32768 minimum: 301                                            
    Mount-cache hash table entries: 512                                             
    CPU: Testing write buffer coherency: ok                                         
    DaVinci: 8 gpio irqs                                                            
    NET: Registered protocol family 16                                              
    EVM: HD imager video input                                                      
    bio: create slab <bio-0> at 0                                                   
    SCSI subsystem initialized                                                      
    usbcore: registered new interface driver usbfs                                  
    usbcore: registered new interface driver hub                                    
    usbcore: registered new device driver usb                                       
    vpss vpss: dm365_vpss vpss probed                                               
    vpss vpss: dm365_vpss vpss probe success                                        
    Advanced Linux Sound Architecture Driver Version 1.0.23.                        
    cfg80211: Calling CRDA to update world regulatory domain                        
    Switching to clocksource timer0_1                                               
    NET: Registered protocol family 2                                               
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)                  
    TCP established hash table entries: 2048 (order: 2, 16384 bytes)                
    TCP bind hash table entries: 2048 (order: 1, 8192 bytes)                        
    TCP: Hash tables configured (established 2048 bind 2048)                        
    TCP reno registered                                                             
    UDP hash table entries: 256 (order: 0, 4096 bytes)                              
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)                         
    NET: Registered protocol family 1                                               
    RPC: Registered udp transport module.                                           
    RPC: Registered tcp transport module.                                           
    RPC: Registered tcp NFSv4.1 backchannel transport module.                       
    Installing knfsd (copyright (C) 1996 okir@monad.swb.de).                        
    JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.                            
    msgmni has been set to 84                                                       
    io scheduler noop registered (default)                                          
    CSL: Module install successful, device major num = 254                          
    CSL: Module version 0.10.00, built on Apr 13 2017 09:21:36                      
    I2C: Module install successful, device major num = 253                          
    DMA: Module install successful, device major num = 252                          
    EVM: switch to tvp5146 SD video input                                           
    DRV: Sensor interface selected on DM365 EVM                                     
    DRV: Module install successful                                                  
    DRV: Module built on Apr 13 2017 09:21:37                                       
    DRV: EDMACC.QUEPRI  = 00002777                                                  
    DRV: SYSTEM.MSTPRI0 = 00440011                                                  
    DRV: SYSTEM.MSTPRI1 = 00000444                                                  
    DRV: ISP.BCR        = 00000002                                                  
    DRV: SYSTEM.MISC    = 00000399                                                  
    EDMAK module: built on Apr 13 2017 at 09:21:19                                  
      Reference Linux version 2.6.37                                                
      File /home/spectross/Projects/IPNC_RDK/Source/dvsdk_ipnctools/linuxutils_2_26_
    02_05/packages/ti/sdo/linuxutils/edma/src/module/edmak.c                        
    IRQK module: built on Apr 13 2017 at 09:21:14                                   
      Reference Linux version 2.6.37                                                
      File /home/spectross/Projects/IPNC_RDK/Source/dvsdk_ipnctools/linuxutils_2_26_
    02_05/packages/ti/sdo/linuxutils/irq/src/module/irqk.c                          
    irqk initialized                                                                
    CMEMK module: built on Apr 13 2017 at 09:21:17                                  
      Reference Linux version 2.6.37                                                
      File /home/spectross/Projects/IPNC_RDK/Source/dvsdk_ipnctools/linuxutils_2_26_
    02_05/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c                        
    allocated heap buffer 0xc4000000 of size 0x5000000                              
    heap fallback enabled - will try heap if pool buffer is not available           
    CMEM Range Overlaps Kernel Physical - allowing overlap                          
    CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83000000)             
    cmemk initialized                                                               
    Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled                        
    serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A                    
    console [ttyS0] enabled                                                         
    serial8250 serial8250.0: unable to register port at index 1 (IO0 MEM1d06000 IRQ4
    1): -22                                                                         
    brd: module loaded                                                              
    at24 1-0050: 32768 byte 24c256 EEPROM (writable)                                
    Read MAC addr from EEPROM: 00:0e:99:03:50:a1                                    
    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron )                     
    2 NAND chips detected                                                           
    Creating 5 MTD partitions on "davinci_nand.0":                                  
    0x000000000000-0x000000f00000 : "bootloader"                                    
    0x000000f00000-0x000001000000 : "params"                                        
    0x000001000000-0x000001400000 : "kernel"                                        
    0x000001400000-0x000021400000 : "filesystem1"                                   
    0x000021400000-0x000080000000 : "filesystem2"                                   
    davinci_nand davinci_nand.0: controller rev. 2.3                                
    spi_davinci spi_davinci.0: Controller at 0xfec66000                             
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.4                          
    davinci_mdio davinci_mdio.0: detected phy mask fffffffc                         
    davinci_mdio.0: probed                                                          
    davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown                
    davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown                
    console [netcon0] enabled                                                       
    netconsole: network logging started                                             
    mice: PS/2 mouse device common for all mice                                     
    input: TSC2004 Touchscreen as /devices/virtual/input/input0                     
    dm365evm_keys: probe of 1-0025 failed with error -16                            
    i2c /dev entries driver                                                         
    Linux media interface: v0.10                                                    
    lirc_dev: IR Remote Control driver registered, major 246                        
    IR NEC protocol handler initialized                                             
    IR RC5(x) protocol handler initialized                                          
    IR RC6 protocol handler initialized                                             
    IR JVC protocol handler initialized                                             
    IR Sony protocol handler initialized                                            
    IR RC5 (streamzap) protocol handler initialized                                 
    IR LIRC bridge handler initialized                                              
    Linux video capture interface: v2.00                                            
    vpbe-osd vpbe-osd: OSD sub device probe success                                 
    vpbe-venc vpbe-venc: VENC sub device probe success                              
    vpbe-v4l2 vpbe-v4l2: vpbe v4l2 device registered                                
    ths7303 1-002c: chip found @ 0x58 (DaVinci I2C adapter)                         
    write byte data failed                                                          
    vpbe-v4l2 vpbe-v4l2: v4l2 sub device ths7303 registered                         
    Setting default output to Composite                                             
    Setting default mode to ntsc                                                    
    vpbe-v4l2 vpbe-v4l2: Trying to register VPBE display device.                    
    vpbe-v4l2 vpbe-v4l2: layer=c29b7400,layer->video_dev=c29b74f4                   
    vpbe-v4l2 vpbe-v4l2: Trying to register VPBE display device.                    
    vpbe-v4l2 vpbe-v4l2: layer=c29b7600,layer->video_dev=c29b76f4                   
    watchdog watchdog: heartbeat 60 sec                                             
    davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode                                
    usbcore: registered new interface driver usbhid                                 
    usbhid: USB HID core driver                                                     
    asoc: tlv320aic3x-hifi <-> davinci-mcbsp mapping ok                             
    ALSA device list:                                                               
      #0: DaVinci DM365 EVM                                                         
    TCP cubic registered                                                            
    NET: Registered protocol family 17                                              
    lib80211: common routines for IEEE802.11 drivers                                
    mmc0: new SDHC card at address e624                                             
    mmcblk0: mmc0:e624 SD08G 7.40 GiB                                               
     mmcblk0: p1 p2                                                                 
    net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, id=221613)  
    IP-Config: Complete:                                                            
         device=eth0, addr=192.168.1.253, mask=255.255.255.0, gw=192.168.1.1,       
         host=192.168.1.253, domain=, nis-domain=(none),                            
         bootserver=192.168.1.184, rootserver=192.168.1.184, rootpath=              
    EXT3-fs (mmcblk0p2): error: couldn't mount because of unsupported optional featu
    res (240)                                                                       
    EXT2-fs (mmcblk0p2): error: couldn't mount because of unsupported optional featu
    res (244)                                                                       
    EXT4-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is rec
    ommended                                                                        
    EXT4-fs (mmcblk0p2): recovery complete                                          
    EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)    
    VFS: Mounted root (ext4 filesystem) on device 179:2.                            
    Freeing init memory: 148K                                                       
    INIT: version 2.86 booting                                                      
    PHY: 0:01 - Link is Up - 100/Full                                               
    Creat queue id:0                                                                
    queue id:0                                                                      
    TimeOut occure in boot_proc.                                                    
    Program exit.                                                                   
    INIT: Entering runlevel: 5                                                      
    Starting telnet daemon.                                                         
    Starting syslogd/klogd: done                                                    
    getty: ioctl() TIOCSPGRP call failed                                            
     _____                    _____           _         _                           
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_                         
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|                        
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|                          
                  |___|                    |___|                                    
                                                                                    
    Arago Project http://arago-project.org 192.168.1.253 console                    
                                                                                    
    Arago 2009.11 192.168.1.253 console                                             
                                                                                    
    192.168.1.253 login: root                                                       
    -sh: can't access tty; job control turned off                                   
    root@192:~#                                                                     
    root@192:~# cd /opt/ipnc/                                                       
    root@192:/opt/ipnc#                                                             
    root@192:/opt/ipnc# ./av_server.out DM368 D1 720 480 H264 1500000 VBR AUTO RTSP 
    YUV_MOD_INTERLACED is set                                                       
                                                                                    
     DM365MM Init Successful                                                        
    AVSERVER UI: Initializing.                                                      
                                                                                    
     CLK Hz,                                                                        
     ARM   Hz =  432000000                                                          
     DDR   Hz =  340000000                                                          
     VPSS  Hz =  340000000                                                          
     IMCOP Hz =  340000000                                                          
                                                                                    
     [OSA_FILE ] Reading file [/mnt/nand/IMG_Paramset.bin] ... ERROR                
    IMAGE TUNE: Paramset File is not available..... Setting DEFAULT parameter       
                                                                                    
     DM365MM Init SuccessfulSYSTEM.MSTPRI0 value changed to 00440011                
                                                                                    
    CONFIGURING AVSERVER FOR DM368 .....                                            
    Creat queue id:32769                                                            
    queue id:32769                                                                  
    Before File Save enable in AV ServerUI                                          
     AVSERVER UI: Starting Streaming Server...                                      
    ApproDrvInit: 10                                                                
    Creat queue id:65538                                                            
    ApproDrvInit: 9                                                                 
    queue id:65538                                                                  
    ApproDrvInit: 8                                                                 
    queue id:65538                                                                  
    ApproDrvInit: 6                                                                 
    queue id:65538                                                                  
    ApproDrvInit: 2                                                                 
    queue id:65538                                                                  
    queue id:65538                                                                  
     AVSERVER UI: Starting Streaming Server...DONE                                  
     CAPTURE: Recevied CMD = 0x0300                                                 
     CAPTURE: Create...                                                             
     CAPTURE: Opening capture on imager TVP514X.                                    
    Inside DRV_captureOpen                                                          
     CAPTURE: Opening imager TVP514X.                                               
    Inside DRV_imgsOpen                                                             
    In DRV_imgGetWidthHeight, mode is: 1 gYuvModeWidth : 720 gYuvModeHeight : 480   
    In DRV_imgGetWidthHeight, width is: 736, height is: 480                         
    Inside DRV_imgsOpen after DRV_imgGetWidthHeight, width is: 736, height is: 480  
    Inside DRV_imgsOpen after H & V PAD, DRV_imgGetWidthHeight, width is: 736, heigh
    t is: 480                                                                       
    Inside CalcFrameTimedataW is: 736, dataH is: 480                                
    In DRV_imgsCalcFrameTime, dataW is: 736, dataH is: 480                          
    After IMGS_W_MAX/dataW & IMGS_H_MAX/dataH                                       
    Before col_start in DRV_imgsCalcFrameTime                                       
    After col_start in DRV_imgsCalcFrameTime                                        
    In between pFrame in DRV_imgsCalcFrameTime                                      
    Inside CalcFrameTime3                                                           
    SENSOR FPS VALUE = 30                                                           
    Inside CalcFrameTime3                                                           
     CAPTURE: Opening ISIF.                                                         
     CAPTURE: Opening H3A.                                                          
     CAPTURE: Opening IPIPE.                                                        
     CAPTURE: Open DONE.                                                            
     CAPTURE: Create...DONE                                                         
                                                                                    
     DM365MM Init Successfulin VIDEO_encodeTskMain                                  
    queue id:65538                                                                  
    IPNC_DM365EVM_5.1.0 (root@ubuntu) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1  
    IPNC AUTO_IRIS = 1                                                              
    Initializing...                                                                 
    Initializing...                                                                 
    Initializing...                                                                 
    Initializing...                                                                 
    Initializing...                                                                 
    ...done initializing                                                            
    ...done initializing                                                            
    ...done initializing                                                            
    ...done initializing                                                            
    ...done initializing                                                            
    Play this stream using the URL:                                                 
            rtsp://192.168.1.253:8557/PSIA/Streaming/channels/2?videoCodecType=H.264
                                                                                    
    (We use port 8304 for optional RTSP-over-HTTP tunneling.)                       
    Play this stream using the URL:                                                 
            rtsp://192.168.1.253:8556/PSIA/Streaming/channels/2?videoCodecType=H.264
                                                                                    
    (We use port 8303 for optional RTSP-over-HTTP tunneling.)                       
    Play this stream using the URL:                                                 
            Play this stream using the URL:                                         
            rtsp://192.168.1.253:8553/PSIA/Streaming/channels/1?videoCodecType=MPEG4
                                                                                    
    (We use port 8300 for optional RTSP-over-HTTP tunneling.)                       
    Play this stream using the URL:                                                 
            rtsp://192.168.1.253:8555/PSIA/Streaming/channels/0?videoCodecType=MJPEG
                                                                                    
    (We use port 8302 for optional RTSP-over-HTTP tunneling.)                       
    rtsp://192.168.1.253:8554/PSIA/Streaming/channels/1?videoCodecType=MPEG4        
                                                                                    
    (We use port 8301 for optional RTSP-over-HTTP tunneling.)                       
     CAPTURE: Start...                                                              
     CAPTURE: Starting IPIPE.                                                       
     CAPTURE: Starting ISIF.                                                        
     CAPTURE: Starting imager.                                                      
     ERROR  (drv_imgs_TVP514X.c|DRV_imgsSetRegs|818): DRV_i2cWrite8()               
     CAPTURE: Starting H3A.                                                         
     CAPTURE: Start DONE.                                                           
     CAPTURE: Start...DONE                                                          
                                                                                    
     Current Settings,                                                              
     Face Detect                     : OFF                                          
     Lens Distortion Correction (LDC): OFF                                          
     Video Stabilization             : OFF                                          
     Advanced DMVA                   : OFF                                          
     Spatial NF                      : OFF                                          
     Temporal NF                     : OFF                                          
     File Save                       : OFF                                          
     AE/AWB                          : OFF                                          
     Host-name / IP address          : 192.168.1.253                                
                                                                                    
     ==============                                                                 
     AV Server Main                                                                 
     ==============                                                                 
                                                                                    
     1: Toggle ON/OFF: Face Detect                                                  
     2: Toggle ON/OFF: LDC                                                          
     3: Toggle ON/OFF: Video Stabilization                                          
     4: Toggle ON/OFF: Spatial  NF                                                  
     5: Toggle ON/OFF: Temporal NF                                                  
     6: Toggle ON/OFF: Save to file                                                 
     7: Toggle ON/OFF: AE/AWB                                                       
     9: Toggle ON/OFF: Advanced DMVA                                                
                                                                                    
     r: Save RAW data to file                                                       
     y: Save YUV data to file                                                       
     p: Print Profile Info                                                          
                                                                                    
     0: Stop and Exit                                                               
                                                                                    
     Enter Choice :                                                                 
     Module   | Avg Time/Frame | Frame-rate | Total time | Total Frames |           
     CAPTURE  |          33.31 |      30.03 |      30008 |          901 |           
     DEI      |          25.27 |      39.57 |      22769 |          901 |           
     RESIZE   |          13.02 |      76.83 |      11714 |          900 |           
     ENCODE0  |          10.72 |      93.32 |       9644 |          900 |           
     STREAM   |           0.08 |   12676.06 |         71 |          900 |           
                                                                                    
                                                                                    
     Module   | Avg Time/Frame | Frame-rate | Total time | Total Frames |           
     CAPTURE  |          38.66 |      25.87 |      34832 |          901 |           
     DEI      |          25.26 |      39.60 |      22755 |          901 |           
     RESIZE   |          13.16 |      76.00 |      11855 |          901 |           
     ENCODE0  |          10.64 |      93.98 |       9587 |          901 |           
     STREAM   |           0.21 |    4792.55 |        188 |          901 |           
                                                                                    
                                                                                    
     Module   | Avg Time/Frame | Frame-rate | Total time | Total Frames |           
     CAPTURE  |          39.97 |      25.02 |      36010 |          901 |           
     DEI      |          25.38 |      39.39 |      22871 |          901 |           
     RESIZE   |          13.38 |      74.76 |      12052 |          901 |           
     ENCODE0  |          10.71 |      93.41 |       9646 |          901 |           
     STREAM   |           0.09 |   10600.00 |         85 |          901 |           
                                                                                    
    stream 2, vol_data.size = 288                                                   
    stream 2, vol_data.size = 288                                                   
                                                                                    
     Module   | Avg Time/Frame | Frame-rate | Total time | Total Frames |           
     CAPTURE  |          39.96 |      25.03 |      36001 |          901 |           
     DEI      |          25.37 |      39.41 |      22860 |          901 |           
     RESIZE   |          13.16 |      75.96 |      11861 |          901 |           
     ENCODE0  |          11.16 |      89.62 |      10053 |          901 |           
     STREAM   |           0.16 |    6087.84 |        148 |          901 |           
                                                                                    
                                                                                    
    ==================== STREAMING DETAILS ====================                     
    Start Time : 213sec 594145usec                                                  
    End Time   : 253sec 589067usec                                                  
    Total Time to stream 1000 frames: 39994.922 msec                                
    Time per frame: 39.9949 msec                                                    
    Streaming Performance in FPS: 25.0032                                           
    ===========================================================                     
                                                                                    
     Module   | Avg Time/Frame | Frame-rate | Total time | Total Frames |           
     CAPTURE  |          39.96 |      25.03 |      36000 |          901 |           
     DEI      |          25.38 |      39.41 |      22865 |          901 |           
     RESIZE   |          13.13 |      76.14 |      11833 |          901 |           
     ENCODE0  |          11.14 |      89.75 |      10039 |          901 |           
     STREAM   |           0.25 |    4004.44 |        225 |          901 |           
                                                                                    
                                                                                    
    ==================== STREAMING DETAILS ====================                     
    Start Time : 259sec 628734usec                                                  
    End Time   : 299sec 627325usec                                                  
    Total Time to stream 1000 frames: 39998.591 msec                                
    Time per frame: 39.9986 msec                                                    
    Streaming Performance in FPS: 25.0009                                           
    =========================================================== 
    

    The Rules.make file script has been changed according to the "YUV_Sensor_Integration_Guide_IPNC_DM36x" PDF file which is present in Collaterals which tells how to run it for EVM.

    Also I have put some dubug prints in the Source/ipnc_rdk/ipnc_app/network/live/appro/ApproInput.cpp to find the error. I was getting vol_data.size = 288 due to which sigterm is called. So i changed in this file:

    APPROInput.cpp

    Before changing this file, boot log after streaming:

    Stream 2 is not avaliable~~~~~~~~1:vol_data.size = 288          
    caught SIGTERM: shutting down                                                   
    ApproDrvExit: 10


    After change in ApproInput.cpp, sometimes streaming is working fine with vol_data.size = 288 & 152.

    But sometimes, it is failing in int WaitVideoStart( int vType,int sleep_unit ) function(line no. 503)

    while(1)
    	{
    		av_data.serial = -1;
    		GetAVData(cmd[AV_GET_MPEG4_SERIAL], -1, &av_data );
    
    		if( (int)av_data.serial < 0 )
    		{
                            printf("stream3\n\r");
    			printf("Stream %d is not avaliable~~~~~~~~\n",vType);
    			sigterm(0);
    			break;
    		}
    
    		if( av_data.flags != AV_FLAGS_MP4_I_FRAME )
    		{
    			usleep(sleep_unit);
    		}else{
    
    			serialnum = av_data.serial ;
    
    			break;
    		}
    		cnt++;
    		if( cnt > 10000 )
    			break;
    	}

    av_data.serial is not updated after GetAVData call. So it get sigterm. 

    Please have a look into this and guide me.

  • Hello Anuj,

    I am sharing /etc/init.d/rcS file:

    # Load the dsplink and cmem kernel modules
    /bin/mount -t sysfs none /sys -n
    mount -t debugfs none /sys/kernel/debug
    cd $DVEVMDIR
    mount -t jffs2 /dev/mtdblock4 /mnt/nand

    #./system_server &
    #$DVEVMDIR/beforeloadkmodule.sh
    #$DVEVMDIR/loadkmodules.sh
    #$DVEVMDIR/loadmodules_ipnc.sh
    ifconfig lo 127.0.0.1
    cd $DVEVMDIR
    #./boot_proc 1
    #$DVEVMDIR/autorun.sh
    mount devpts /dev/pts -t devpts

    What changes should be made for functioning of the GUI. Please guide me.

    Regards,

    Amit Soni

  • Hi Amit,

    Please try out below experiment ans share your observation.

    1. Undo the changes from etc/init.d/rcS file and comment only the  #./boot_proc 1 like

    # Load the dsplink and cmem kernel modules
    /bin/mount -t sysfs none /sys -n
    mount -t debugfs none /sys/kernel/debug
    cd $DVEVMDIR
    mount -t jffs2 /dev/mtdblock4 /mnt/nand

    ./system_server &
    $DVEVMDIR/beforeloadkmodule.sh
    $DVEVMDIR/loadkmodules.sh
    $DVEVMDIR/loadmodules_ipnc.sh
    ifconfig lo 127.0.0.1
    cd $DVEVMDIR
    #./boot_proc 1
    $DVEVMDIR/autorun.sh
    mount devpts /dev/pts -t devpts

    2.  Open  ipnc_app/sys_server/src/av_server_ctrl.c goto line no 856 and add below lines

    sprintf(cmd, "./av_server.out DM368 D1 H264 1500000 VBR AUTO MENUOFF &\n");
    fSetVideoSize(5, 720, 480);
    fSetStreamConfig(0, 720, 480, codec_tpye[0], H264_1_PORTNUM);

    The file should look like

    }

            // 20090611: Remove PTZ Support

            sprintf(cmd, "./av_server.out DM368 D1 720 480 H264 1500000 VBR AUTO RTSP MENUOFF &\n");
            fSetVideoSize(5, 720, 480);
            fSetStreamConfig(0, 720, 480, codec_tpye[0], H264_1_PORTNUM);
            fSetPtzSupport(0);

            printf(cmd);

            SemWait(gFORKSem);

    3. Build the app and replace the required binaries.
    4. Check for rtsp streaming and web gui.
    5.Also share the logs for this experiment.

    Regards,
    Anuj

    Pathpartner Technology Pvt Ltd.

  • Hi Anuj,

    Thanks for the reply.

    But I checked the YUV_Sensor_Integration_Guide_IPNC_DM36x.pdf file which is present in collateral folder. On page no. 8 it is clearly mentioned these things:

    How to run it in EVM
    1. Following needs to be changed in main Makefile located at Source/ipnc_rdk
    In sysall: comment uboot build steps
    #make uboot
    In sysclean: comment uboot build steps
    #make ubootclean
    In sys: comment uboot build steps
    #make uboot


    2. Remove the autoboot sequence from filesystem
    In the file filesys/etc/init.d/rcS located in filesystem comment following lines
    #./system_server &
    #$DVEVMDIR/beforeloadkmodule.sh
    #$DVEVMDIR/loadkmodules.sh
    #$DVEVMDIR/loadmodules_ipnc.sh
    #./boot_proc 1
    #$DVEVMDIR/autorun.sh
    3. Changed the Rules.Make located at Source/ipnc_rdk for EVM build
    SYSTEM := EVM
    IPNC_PLATFORM := DM368
    FILESYS_MODE := NFS

    comment sensor input mode
    #IMGS_ID := IMGS_MICRON_MT9P031_5MP
    Uncomment TVP input mode
    IMGS_ID := IMGS_TVP514X
    4. Now build the code by running “make” command
    5. Power ON the EVM and run under NFS mode
    6. ON reaching login prompt on the linux console, please run following command for
    AVSERVER only mode of execution
    ./av_server.out DM365 DEI APPRO2A AEWB D1 H264 3000000 VBR AUTO MENUOFF

    This should run in YUV input mode and output can be viewed through the TVOUT display connected.

    Should I do change in this /etc/init.d/rcS script for running in the EVM? Please guide me.

    Regards,

    Amit Soni

  • Hi Amit,

    Yes i also know that these steps are mentioned in YUV sensor guide.
    But by following those steps you will not be able to get the webGui since you are not running the system_server.
    system_server does some kind of initialization at first and even in middle if you change anything from webGui then all the changes taken care by system_server , and system_server will reset the av_server with the new configuration which has been set in webGui.

    If you want to use webGui then please run system_server.
    In the above post i have mentioned a .c file, there you have to change something.

    I hope this will clear your few doubts.

    Regards,
    Anuj
  • Hi Anuj,

    I will do these changes and will share the logs with you after completing.


    Regards,
    Amit Soni
  • Hello Anuj,

    I tested the IPNC RDK application with above configuration. But after booting, live video stopped on first frame.

    Also streaming is not working. and also webGUI is not working.

    Here are the logs:

    DM36x initializati
    on passed!                                                                      
    TI UBL Version: 1.50                                                            
    Booting Catalog Boot Loader                                                     
    BootMode = SD/MMC                                                               
    Starting SDMMC Copy...                                                          
       DONE                                                                         
    Jumping to entry point at 0x81080000.                                           
                                                                                    
                                                                                    
    U-Boot 2010.12-rc2 (Mar 24 2011 - 16:49:26)                                     
                                                                                    
    Cores: ARM 432 MHz                                                              
    DDR:   340 MHz                                                                  
    I2C:   ready                                                                    
    DRAM:  128 MiB                                                                  
    NAND:  2048 MiB                                                                 
    MMC:   davinci: 0, davinci: 1                                                   
    Bad block table found at page 524224, version 0x37                              
    Bad block table found at page 1048512, version 0x01                             
    Bad block table not found for chip 0                                            
    Bad block table found at page 1048448, version 0x01                             
    nand_read_bbt: Bad block at 0x000003f80000                                      
    nand_read_bbt: Bad block at 0x00000a9a0000                                      
    nand_read_bbt: Bad block at 0x00000c100000                                      
    nand_read_bbt: Bad block at 0x000022040000                                      
    nand_read_bbt: Bad block at 0x000022480000                                      
    nand_read_bbt: Bad block at 0x000022a20000                                      
    nand_read_bbt: Bad block at 0x0000232e0000                                      
    nand_read_bbt: Bad block at 0x000023560000                                      
    nand_read_bbt: Bad block at 0x0000237e0000                                      
    nand_read_bbt: Bad block at 0x000023820000                                      
    nand_read_bbt: Bad block at 0x000023a80000                                      
    nand_read_bbt: Bad block at 0x000023aa0000                                      
    nand_read_bbt: Bad block at 0x000023ac0000                                      
    nand_read_bbt: Bad block at 0x000023ca0000                                      
    nand_read_bbt: Bad block at 0x000023f20000                                      
    nand_read_bbt: Bad block at 0x0000241a0000                                      
    nand_read_bbt: Bad block at 0x000024260000                                      
    nand_read_bbt: Bad block at 0x000026460000                                      
    nand_read_bbt: Bad block at 0x0000264c0000                                      
    nand_read_bbt: Bad block at 0x000030180000                                      
    nand_read_bbt: Bad block at 0x000030500000                                      
    nand_read_bbt: Bad block at 0x000031360000                                      
    nand_read_bbt: Bad block at 0x0000316a0000                                      
    nand_read_bbt: Bad block at 0x000031840000                                      
    nand_read_bbt: Bad block at 0x000031ae0000                                      
    nand_read_bbt: Bad block at 0x000031f40000                                      
    nand_read_bbt: Bad block at 0x000032260000                                      
    nand_read_bbt: Bad block at 0x0000322e0000                                      
    nand_read_bbt: Bad block at 0x000032300000                                      
    nand_read_bbt: Bad block at 0x000032320000                                      
    nand_read_bbt: Bad block at 0x000032480000                                      
    nand_read_bbt: Bad block at 0x000032660000                                      
    nand_read_bbt: Bad block at 0x000032740000                                      
    nand_read_bbt: Bad block at 0x0000327c0000                                      
    nand_read_bbt: Bad block at 0x0000328e0000                                      
    nand_read_bbt: Bad block at 0x000032920000                                      
    nand_read_bbt: Bad block at 0x000032a80000                                      
    nand_read_bbt: Bad block at 0x000032b20000                                      
    nand_read_bbt: Bad block at 0x000032c40000                                      
    nand_read_bbt: Bad block at 0x000032d80000                                      
    nand_read_bbt: Bad block at 0x000032e00000                                      
    nand_read_bbt: Bad block at 0x000032e80000                                      
    nand_read_bbt: Bad block at 0x000033980000                                      
    nand_read_bbt: Bad block at 0x000034420000                                      
    nand_read_bbt: Bad block at 0x000034680000                                      
    nand_read_bbt: Bad block at 0x0000351c0000                                      
    nand_read_bbt: Bad block at 0x0000355a0000                                      
    nand_read_bbt: Bad block at 0x000037580000                                      
    nand_read_bbt: Bad block at 0x000037cc0000                                      
    nand_read_bbt: Bad block at 0x000037ce0000                                      
    nand_read_bbt: Bad block at 0x000039780000                                      
    nand_read_bbt: Bad block at 0x00003bee0000                                      
    nand_read_bbt: Bad block at 0x00003bf00000                                      
    nand_read_bbt: Bad block at 0x00003bf20000                                      
    nand_read_bbt: Bad block at 0x00003d660000                                      
    nand_read_bbt: Bad block at 0x00003dd60000                                      
    nand_read_bbt: Bad block at 0x00003f860000                                      
    nand_read_bbt: Bad block at 0x00003f940000                                      
    nand_read_bbt: Bad block at 0x00003ff00000                                      
    Bad block table written to 0x00003ffc0000, version 0x37                         
    nand_read_bbt: Bad block at 0x000040400000                                      
    nand_read_bbt: Bad block at 0x000045aa0000                                      
    nand_read_bbt: Bad block at 0x00004cda0000                                      
    nand_read_bbt: Bad block at 0x00004ffe0000                                      
    nand_read_bbt: Bad block at 0x000051e00000                                      
    nand_read_bbt: Bad block at 0x00005bd60000                                      
    nand_read_bbt: Bad block at 0x000064640000                                      
    nand_read_bbt: Bad block at 0x0000668a0000                                      
    nand_read_bbt: Bad block at 0x000066ba0000                                      
    nand_read_bbt: Bad block at 0x000070e60000                                      
    nand_read_bbt: Bad block at 0x0000738c0000                                      
    nand_read_bbt: Bad block at 0x000074a60000                                      
    nand_read_bbt: Bad block at 0x00007dd00000                                      
    Net:   Ethernet PHY: GENERIC @ 0x00                                             
    DaVinci-EMAC                                                                    
    Hit any key to stop autoboot:  0                                                
    reading boot.scr                                                                
                                                                                    
    ** Unable to read "boot.scr" from mmc 0:1 **                                    
    reading uImage                                                                  
                                                                                    
    5150208 bytes read                                                              
    ## Booting kernel from Legacy Image at 80700000 ...                             
       Image Name:   Linux-2.6.37_IPNC_DM365EVM_5.1.0                               
       Created:      2017-04-13   4:08:12 UTC                                       
       Image Type:   ARM Linux Kernel Image (uncompressed)                          
       Data Size:    5150144 Bytes = 4.9 MiB                                        
       Load Address: 80008000                                                       
       Entry Point:  80008000                                                       
       Verifying Checksum ... OK                                                    
       Loading Kernel Image ... OK                                                  
    OK                                                                              
                                                                                    
    Starting kernel ...                                                             
                                                                                    
    Linux version 2.6.37_IPNC_DM365EVM_5.1.0 (root@ubuntu) (gcc version 4.3.3 (Sourc
    ery G++ Lite 2009q1-203) ) #2 PREEMPT Thu Apr 13 09:38:10 IST 2017              
    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177                   
    CPU: VIVT data cache, VIVT instruction cache                                    
    Machine: DaVinci DM36x EVM                                                      
    Memory policy: ECC disabled, Data cache writeback                               
    DaVinci dm36x_rev1.2 variant 0x8                                                
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 12192      
    Kernel command line: mem=48M console=ttyS0,115200n8 noinitrd root=/dev/mmcblk0p2
     rootwait ip=192.168.1.253:192.168.1.184:192.168.1.1:255.255.255.0:::off cmemk.p
    hys_start=0x83000000 cmemk.phys_end=0x88000000 cmemk.phys_start_1=0x00001000 cme
    mk.phys_end_1=0x00008000 cmemk.pools_1=1x28672 cmemk.allowOverlap=1 cmemk.useHea
    pIfPoolUnavailable=1                                                            
    PID hash table entries: 256 (order: -2, 1024 bytes)                             
    Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)                   
    Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)                    
    Memory: 48MB = 48MB total                                                       
    Memory: 43440k/43440k available, 5712k reserved, 0K highmem                     
    Virtual kernel memory layout:                                                   
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)                               
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)                               
        DMA     : 0xff000000 - 0xffe00000   (  14 MB)                               
        vmalloc : 0xc3800000 - 0xfea00000   ( 946 MB)                               
        lowmem  : 0xc0000000 - 0xc3000000   (  48 MB)                               
        modules : 0xbf000000 - 0xc0000000   (  16 MB)                               
          .init : 0xc0008000 - 0xc002d000   ( 148 kB)                               
          .text : 0xc002d000 - 0xc04c0000   (4684 kB)                               
          .data : 0xc04c0000 - 0xc04f15c0   ( 198 kB)                               
    SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1         
    Preemptable hierarchical RCU implementation.                                    
            RCU-based detection of stalled CPUs is disabled.                        
            Verbose stalled-CPUs detection is disabled.                             
    NR_IRQS:245                                                                     
    Console: colour dummy device 80x30                                              
    Calibrating delay loop... 215.44 BogoMIPS (lpj=1077248)                         
    pid_max: default: 32768 minimum: 301                                            
    Mount-cache hash table entries: 512                                             
    CPU: Testing write buffer coherency: ok                                         
    DaVinci: 8 gpio irqs                                                            
    NET: Registered protocol family 16                                              
    EVM: HD imager video input                                                      
    bio: create slab <bio-0> at 0                                                   
    SCSI subsystem initialized                                                      
    usbcore: registered new interface driver usbfs                                  
    usbcore: registered new interface driver hub                                    
    usbcore: registered new device driver usb                                       
    vpss vpss: dm365_vpss vpss probed                                               
    vpss vpss: dm365_vpss vpss probe success                                        
    Advanced Linux Sound Architecture Driver Version 1.0.23.                        
    cfg80211: Calling CRDA to update world regulatory domain                        
    Switching to clocksource timer0_1                                               
    NET: Registered protocol family 2                                               
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)                  
    TCP established hash table entries: 2048 (order: 2, 16384 bytes)                
    TCP bind hash table entries: 2048 (order: 1, 8192 bytes)                        
    TCP: Hash tables configured (established 2048 bind 2048)                        
    TCP reno registered                                                             
    UDP hash table entries: 256 (order: 0, 4096 bytes)                              
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)                         
    NET: Registered protocol family 1                                               
    RPC: Registered udp transport module.                                           
    RPC: Registered tcp transport module.                                           
    RPC: Registered tcp NFSv4.1 backchannel transport module.                       
    Installing knfsd (copyright (C) 1996 okir@monad.swb.de).                        
    JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.                            
    msgmni has been set to 84                                                       
    io scheduler noop registered (default)                                          
    CSL: Module install successful, device major num = 254                          
    CSL: Module version 0.10.00, built on Apr 13 2017 09:21:36                      
    I2C: Module install successful, device major num = 253                          
    DMA: Module install successful, device major num = 252                          
    EVM: switch to tvp5146 SD video input                                           
    DRV: Sensor interface selected on DM365 EVM                                     
    DRV: Module install successful                                                  
    DRV: Module built on Apr 13 2017 09:21:37                                       
    DRV: EDMACC.QUEPRI  = 00002777                                                  
    DRV: SYSTEM.MSTPRI0 = 00440011                                                  
    DRV: SYSTEM.MSTPRI1 = 00000444                                                  
    DRV: ISP.BCR        = 00000002                                                  
    DRV: SYSTEM.MISC    = 00000399                                                  
    EDMAK module: built on Apr 13 2017 at 09:21:19                                  
      Reference Linux version 2.6.37                                                
      File /home/spectross/Projects/IPNC_RDK/Source/dvsdk_ipnctools/linuxutils_2_26_
    02_05/packages/ti/sdo/linuxutils/edma/src/module/edmak.c                        
    IRQK module: built on Apr 13 2017 at 09:21:14                                   
      Reference Linux version 2.6.37                                                
      File /home/spectross/Projects/IPNC_RDK/Source/dvsdk_ipnctools/linuxutils_2_26_
    02_05/packages/ti/sdo/linuxutils/irq/src/module/irqk.c                          
    irqk initialized                                                                
    CMEMK module: built on Apr 13 2017 at 09:21:17                                  
      Reference Linux version 2.6.37                                                
      File /home/spectross/Projects/IPNC_RDK/Source/dvsdk_ipnctools/linuxutils_2_26_
    02_05/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c                        
    allocated heap buffer 0xc4000000 of size 0x5000000                              
    heap fallback enabled - will try heap if pool buffer is not available           
    CMEM Range Overlaps Kernel Physical - allowing overlap                          
    CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83000000)             
    cmemk initialized                                                               
    Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled                        
    serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A                    
    console [ttyS0] enabled                                                         
    serial8250 serial8250.0: unable to register port at index 1 (IO0 MEM1d06000 IRQ4
    1): -22                                                                         
    brd: module loaded                                                              
    at24 1-0050: 32768 byte 24c256 EEPROM (writable)                                
    Read MAC addr from EEPROM: 00:0e:99:03:50:a1                                    
    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron )                     
    2 NAND chips detected                                                           
    Creating 5 MTD partitions on "davinci_nand.0":                                  
    0x000000000000-0x000000f00000 : "bootloader"                                    
    0x000000f00000-0x000001000000 : "params"                                        
    0x000001000000-0x000001400000 : "kernel"                                        
    0x000001400000-0x000021400000 : "filesystem1"                                   
    0x000021400000-0x000080000000 : "filesystem2"                                   
    davinci_nand davinci_nand.0: controller rev. 2.3                                
    spi_davinci spi_davinci.0: Controller at 0xfec66000                             
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.4                          
    davinci_mdio davinci_mdio.0: detected phy mask fffffffc                         
    davinci_mdio.0: probed                                                          
    davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown                
    davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown                
    console [netcon0] enabled                                                       
    netconsole: network logging started                                             
    mice: PS/2 mouse device common for all mice                                     
    input: TSC2004 Touchscreen as /devices/virtual/input/input0                     
    dm365evm_keys: probe of 1-0025 failed with error -16                            
    i2c /dev entries driver                                                         
    Linux media interface: v0.10                                                    
    lirc_dev: IR Remote Control driver registered, major 246                        
    IR NEC protocol handler initialized                                             
    IR RC5(x) protocol handler initialized                                          
    IR RC6 protocol handler initialized                                             
    IR JVC protocol handler initialized                                             
    IR Sony protocol handler initialized                                            
    IR RC5 (streamzap) protocol handler initialized                                 
    IR LIRC bridge handler initialized                                              
    Linux video capture interface: v2.00                                            
    vpbe-osd vpbe-osd: OSD sub device probe success                                 
    vpbe-venc vpbe-venc: VENC sub device probe success                              
    vpbe-v4l2 vpbe-v4l2: vpbe v4l2 device registered                                
    ths7303 1-002c: chip found @ 0x58 (DaVinci I2C adapter)                         
    write byte data failed                                                          
    vpbe-v4l2 vpbe-v4l2: v4l2 sub device ths7303 registered                         
    Setting default output to Composite                                             
    Setting default mode to ntsc                                                    
    vpbe-v4l2 vpbe-v4l2: Trying to register VPBE display device.                    
    vpbe-v4l2 vpbe-v4l2: layer=c29d1400,layer->video_dev=c29d14f4                   
    vpbe-v4l2 vpbe-v4l2: Trying to register VPBE display device.                    
    vpbe-v4l2 vpbe-v4l2: layer=c29d1600,layer->video_dev=c29d16f4                   
    watchdog watchdog: heartbeat 60 sec                                             
    davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode                                
    usbcore: registered new interface driver usbhid                                 
    usbhid: USB HID core driver                                                     
    asoc: tlv320aic3x-hifi <-> davinci-mcbsp mapping ok                             
    ALSA device list:                                                               
      #0: DaVinci DM365 EVM                                                         
    TCP cubic registered                                                            
    NET: Registered protocol family 17                                              
    lib80211: common routines for IEEE802.11 drivers                                
    mmc0: new SDHC card at address e624                                             
    mmcblk0: mmc0:e624 SD08G 7.40 GiB                                               
     mmcblk0: p1 p2                                                                 
    net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, id=221613)  
    IP-Config: Complete:                                                            
         device=eth0, addr=192.168.1.253, mask=255.255.255.0, gw=192.168.1.1,       
         host=192.168.1.253, domain=, nis-domain=(none),                            
         bootserver=192.168.1.184, rootserver=192.168.1.184, rootpath=              
    EXT3-fs (mmcblk0p2): error: couldn't mount because of unsupported optional featu
    res (240)                                                                       
    EXT2-fs (mmcblk0p2): error: couldn't mount because of unsupported optional featu
    res (244)                                                                       
    EXT4-fs (mmcblk0p2): warning: mounting fs with errors, running e2fsck is recomme
    nded                                                                            
    EXT4-fs (mmcblk0p2): recovery complete                                          
    EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)    
    VFS: Mounted root (ext4 filesystem) on device 179:2.                            
    Freeing init memory: 148K                                                       
    EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy:726: group 3331811 bloc
    ks in bitmap, 31812 in gd                                                       
    JBD: Spotted dirty metadata buffer (dev = mmcblk0p2, blocknr = 0). There's a ris
    k of filesystem corruption in case of system crash.                             
    INIT: version 2.86 booting                                                      
    PHY: 0:01 - Link is Up - 100/Full                                               
    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_DM365EVM_5.1.0 (root@ubuntu) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1  
    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 DM368                                                                    
                                                                                    
    *****************************************************************               
                                                                                    
      IPNC BUILD VERSION: DM368 IPNC RDK V5.10.00.04                                
                                                                                    
    *****************************************************************               
                                                                                    
    Error: SemWait: Invalid Semaphore handler                                       
    Error: SemRelease: Invalid Semaphore handler                                    
    Check_device_version : DEVICE VER = 1 !!                                        
    ./av_server.out DM368 D1 720 480 H264 1500000 VBR AUTO RTSP MENUOFF &           
    Starting internet superserver: inetdApproDrvInit: 7                             
    Creat queue id:131076                                                           
    queue id:131076                                                                 
    YUV_MOD_INTERLACED is set                                                       
                                                                                    
     DM365MM Init Successful                                                        
    AVSERVER UI: Initializing.                                                      
                                                                                    
     CLK Hz,                                                                        
     ARM   Hz =  432000000                                                          
     DDR   Hz =  340000000                                                          
     VPSS  Hz =  340000000                                                          
     IMCOP Hz =  340000000                                                          
                                                                                    
    .                                                                               
     [OSA_FILE ] Reading file [/mnt/nand/IMG_Paramset.bin] ... ERROR                
    IMAGE TUNE: Paramset File is not available..... Setting DEFAULT parameter       
    insmod: can't read '/opt/ipnc/modules/deflate.ko': No such file or directory    
    insmod: can't read '/opt/ipnc/modules/des_generic.ko': No such file or directory
    insmod: can't read '/opt/ipnc/modules/md5.ko': No such file or directory        
    insmod: can't read '/opt/ipnc/modules/sha1_generic.ko': No such file or director
    y                                                                               
    insmod: can't read '/opt/ipnc/modules/libcrc32c.ko': No such file or directory  
                                                                                    
     DM365MM Init SuccessfulSYSTEM.MSTPRI0 value changed to 00440011                
                                                                                    
    CONFIGURING AVSERVER FOR DM368 .....                                            
    queue id:65538                                                                  
    Before File Save enable in AV ServerUI                                          
     AVSERVER UI: Starting Streaming Server...                                      
    mmc_core: exports duplicate symbol mmc_card_can_sleep (owned by kernel)         
    insmod: error inserting '/opt/ipnc/modules/mmc_core.ko': -1 Invalid module forma
    t                                                                               
    mmc_block: exports duplicate symbol mmc_cleanup_queue (owned by kernel)         
    insmod: error inserting '/opt/ipnc/modules/mmc_block.ko': -1 Invalid module form
    at                                                                              
    davinci_mmc: module is already loaded                                           
    insmod: error inserting '/opt/ipnc/modules/davinci_mmc.ko': -1 Invalid parameter
    s                                                                               
    Loading iSCSI transport class v2.0-870.                                         
    iscsi: registered transport (tcp)                                               
    musb-hdrc: version 6.0, peripheral, debug=0                                     
    musb-hdrc musb-hdrc: dma type: dma-cppi3                                        
    musb-hdrc musb-hdrc: USB Peripheral mode controller at fec64000 using DMA, IRQ 1
    2                                                                               
    loop: module loaded                                                             
    tun: Universal TUN/TAP device driver, 1.6                                       
    tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>                          
    insmod: can't read '/opt/ipnc/modules/netconsole.ko': No such file or directory 
    PPP generic driver version 2.4.2                                                
    PPP Deflate Compression module registered                                       
    ApproDrvInit: 8                                                                 
    queue id:131076                                                                 
    ApproDrvInit: 10                                                                
    ApproDrvInit: 9                                                                 
    queue id:131076                                                                 
    ApproDrvInit: 2                                                                 
    queue id:131076                                                                 
    ApproDrvInit: 6                                                                 
    queue id:131076                                                                 
    queue id:131076                                                                 
    mkdosfs 2.11 (12 Mar 2005)                                                      
    unable to get drive geometry, using default 255/63/dev/ram0 has 255 heads and 63
     sectors per track,                                                             
    logical sector size is 512,                                                     
    using 0xf8 media descriptor, with 65536 sectors;                                
    file system has 2 16-bit FATs and 4 sectors per cluster.                        
    FAT size is 64 sectors, and provides 16343 clusters.                            
    Root directory contains 512 slots.                                              
    Volume ID is 0000000d, no volume label.                                         
    ApproDrvInit: 3                                                                 
    queue id:131076                                                                 
    INIT: Entering runlevel: 5                                                      
    Starting telnet daemon.                                                         
    Starting syslogd/klogd: done                                                    
    getty: ioctl() TIOCSPGR AVSERVER UI: Starting Streaming Server...DONE           
                                                                          CAPTURE: R
    ecevied CMD = 0x0300                                                            
                         CAPTURE: Create...                                         
                                            CAPTURE: Opening capture on imager TVP51
    4X.                                                                             
       Inside DRV_captureOpen                                                       
     CAPTURE: Opening imager TVP514X.                                               
                                     Inside DRV_imgsOpen                            
    In DRV_imgGetWidthHeight, mode is: 1 gYuvModeWidth : 720 gYuvModeHeight : 480   
    In DRV_imgGetWidthHeight, width is: 736, height is: 480                         
    Inside DRV_imgsOpen after DRV_imgGetWidthHeight, width is: 736, height is: 480  
    Inside DRV_imgsOpen after H & V PAD, DRV_imgGetWidthHeight, width is: 736, heigh
    t is: 480                                                                       
    Inside CalcFrameTimedataW is: 736, dataH is: 480                                
    In DRV_imgsCalcFrameTime, dataW is: 736, dataH is: 480                          
    After IMGS_W_MAX/dataW & IMGS_H_MAX/dataH                                       
    Before col_start in DRV_imgsCalcFrameTime                                       
    After col_start in DRV_imgsCalcFrameTime                                        
    In between pFrame in DRV_imgsCalcFrameTime                                      
    Inside CalcFrameTime3                                                           
    SENSOR FPS VALUE = 30                                                           
                         Inside CalcFrameTime3                                      
     CAPTURE: Opening ISIF.                                                         
                            CAPTURE: Opening H3A.                                   
                                                  CAPTURE: Opening IPIPE.           
                                                                          CAPTURE: O
    pen DONE.                                                                       
              CAPTURE: Create...DONE                                                
                                                                                    
     DM365MM Init Successfulin VIDEO_encodeTskMain                                  
                                                  queue id:131076                   
                                                                 IPNC_DM365EVM_5.1.0
     (root@ubuntu) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1                     
    IPNC AUTO_IRIS = 1                                                              
                       Initializing...                                              
                                      Initializing...                               
                                                     Initializing...                
                                                                    Initializing... 
                                                                                   I
    nitializing...                                                                  
                  ...done initializing                                              
                                      ...done initializing                          
                                                          ...done initializing      
                                                                              ...don
    e initializing                                                                  
                  ...done initializing                                              
                                      queue id:0                                    
                                                queue id:32769                      
                                                              Play this stream using
     the URL:                                                                       
                    rtsp://192.168.1.168:8557/PSIA/Streaming/channels/2?videoCodecTy
    pe=H.264                                                                        
                                                                                    
            (We use port 8304 for optional RTSP-over-HTTP tunneling.)               
                                                                     Play this strea
    m using the URL:                                                                
                            rtsp://192.168.1.168:8553/PSIA/Streaming/channels/1?vide
    oCodecType=MPEG4                                                                
                                                                                    
                    (We use port 8300 for optional RTSP-over-HTTP tunneling.)       
                                                                             Play th
    is stream using the URL:                                                        
                                    Play this stream using the URL:                 
                                                                    rtsp://192.168.1
    .168:8554/PSIA/Streaming/channels/1?videoCodecType=MPEG4                        
                                                                                    
                                                            (We use port 8301 for op
    tional RTSP-over-HTTP tunneling.)                                               
                                     Play this stream using the URL:                
                                                                            rtsp://1
    92.168.1.168:8556/PSIA/Streaming/channels/2?videoCodecType=H.264                
                                                                                    
                                                                    (We use port 830
    3 for optional RTSP-over-HTTP tunneling.)                                       
                                             rtsp://192.168.1.168:8555/PSIA/Streamin
    g/channels/0?videoCodecType=MJPEG                                               
                                                                                    
                                     (We use port 8302 for optional RTSP-over-HTTP t
    unneling.)                                                                      
                                                                                    
     _____                    _____           _         _                           
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_                         
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|                        
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|                          
                  |___|                    |___|                                    
                                                                                    
    Arago Project http://arago-project.org 192.168.1.253 console                    
                                                                                    
    Arago 2009.11 192.168.1.253 console                                             
                                                                                    
    192.168.1.253 login:  CAPTURE: Start...                                         
                                            CAPTURE: Starting IPIPE.                
                                                                     CAPTURE: Starti
    ng ISIF.                                                                        
             CAPTURE: Starting imager.                                              
                                       CAPTURE: Starting H3A.                       
                                                              CAPTURE: Start DONE.  
                                                                                   C
    APTURE: Start...DONE                                                            
                        Simple mixer control 'PGA',0                                
                                                      Capabilities: cvolume cswitch 
    penum                                                                           
           Capture channels: Front Left - Front Right                               
                                                       Limits: Capture 0 - 119      
                                                                                Fron
    t Left: Capture 2 [2%] [1.00dB] [on]                                            
                                          Front Right: Capture 2 [2%] [1.00dB] [on] 
                                                                                   S
    imple mixer control 'Mono DAC',0                                                
                                      Capabilities: pvolume penum                   
                                                                   Playback channels
    : Front Left - Front Right                                                      
                                Limits: Playback 0 - 118                            
                                                          Mono:                     
                                                                 Front Left: Playbac
    k 47 [40%] [-35.50dB]                                                           
                           Front Right: Playback 47 [40%] [-35.50dB]                
                                                                    sycOnvif Profile
     1                                                                              
      SystemInit success                                                            
                        Schedule manager init success                               
                                                     Dmva Schedule manager init succ
    ess                                                                             
       [01/Jan/1970:00:00:13 +0000] boa: server version Boa/0.94.13                 
                                                                   [01/Jan/1970:00:0
    0:13 +0000] boa: server built Aug  4 2017 at 15:42:09.                          
                                                          [01/Jan/1970:00:00:13 +000
    0] boa: starting server pid=1221, port 80                                       
                                                                                    
                                              Module   | Avg Time/Frame | Frame-rate
     | Total time | Total Frames |                                                  
                                   CAPTURE  |          39.94 |      25.04 |      359
    86 |          901 |                                                             
                        DEI           |          24.24 |      41.25 |      21840 |  
            901 |                                                                   
                  RESIZE   |          13.18 |      75.87 |      11862 |          900
     |                                                                              
       ENCODE0  |           9.61 |     104.06 |       8649 |          900 |         
                                                                            STREAM  
     |           0.11 |    8737.86 |        103 |          900 |                    
                                                                 OSD0     |         
      0.29 |    3448.41 |        252 |          869 |                               
                                                      AEWB     |           0.02 |   
    41380.95 |         21 |          869 |                                          
                                                                                    
                                                                                    
                                           Module   | Avg Time/Frame | Frame-rate | 
    Total time | Total Frames |                                                     
                                CAPTURE  |          39.97 |      25.02 |      36011 
    |          901 |                                                                
                     DEI      |          24.19 |      41.34 |      21797 |          
    901 |                                                                           
          RESIZE   |          13.17 |      75.95 |      11863 |          901 |      
                                                                               ENCOD
    E0  |           9.53 |     104.90 |       8589 |          901 |                 
                                                                    STREAM   |      
         0.11 |    9385.42 |         96 |          901 |                            
                                                         OSD0     |           0.32 |
        3139.37 |        287 |          901 |                                       
                                                                                    
                                                                                    
                                              Module   | Avg Time/Frame | Frame-rate
     | Total time | Total Frames |                                                  
                                   CAPTURE  |          39.95 |      25.03 |      359
    92 |          901 |                                                             
                        DEI           |          24.17 |      41.37 |      21777 |  
            901 |                                                                   
                  RESIZE   |          13.22 |      75.67 |      11907 |          901
     |                                                                              
       ENCODE0  |           9.58 |     104.33 |       8636 |          901 |         
                                                                            STREAM  
     |           0.09 |   11262.50 |         80 |          901 |                    
                                                                 OSD0     |         
      0.26 |    3834.04 |        235 |          901 |                               
                                                      AEWB     |           0.01 |  1
    00111.11 |         18 |         1802 |
    

    Please guide me what to do regarding this.

    Regards,

    Amit Soni

  • Hi Amit,

    Can you try out commenting these 3 lines like this

    sprintf(cmd, "./av_server.out DM368 D1 720 480 H264 1500000 VBR AUTO RTSP MENUOFF &\n");
    // fSetVideoSize(5, 720, 480);
    // fSetStreamConfig(0, 720, 480, codec_tpye[0], H264_1_PORTNUM);
    // fSetPtzSupport(0);

    printf(cmd);

    SemWait(gFORKSem);
    Note: we are still not running boot_proc from rcS file.So you won't get live streaming on webGui.So just check whether are you getting the webpage or not?

    Regards,
    Anuj
  • Hi Anuj,

    I tested the code by commenting these lines. Still Live video stopped on the first frame. Streaming is working fine. And webpage is opening.

    Here is the boot logs:

    DM36x initialization passed!                         
    TI UBL Version: 1.50                                 
    Booting Catalog Boot Loader                          
    BootMode = SD/MMC 
    Starting SDMMC Copy...
       DONE
    Jumping to entry point at 0x81080000.
    
    
    U-Boot 2010.12-rc2 (Mar 24 2011 - 16:49:26)
    
    Cores: ARM 432 MHz
    DDR:   340 MHz
    I2C:   ready
    DRAM:  128 MiB                                                                  
    NAND:  2048 MiB                                                                 
    MMC:   davinci: 0, davinci: 1                                                   
    Bad block table found at page 524224, version 0x39                              
    Bad block table found at page 1048512, version 0x01                             
    Bad block table found at page 524160, version 0x39                              
    Bad block table found at page 1048448, version 0x01                             
    nand_read_bbt: Bad block at 0x000003f80000                                      
    nand_read_bbt: Bad block at 0x00000a9a0000                                      
    nand_read_bbt: Bad block at 0x00000c100000                                      
    nand_read_bbt: Bad block at 0x000022040000                                      
    nand_read_bbt: Bad block at 0x000022480000                                      
    nand_read_bbt: Bad block at 0x000022a20000                                      
    nand_read_bbt: Bad block at 0x0000232e0000                                      
    nand_read_bbt: Bad block at 0x000023560000                                      
    nand_read_bbt: Bad block at 0x0000237e0000                                      
    nand_read_bbt: Bad block at 0x000023820000                                      
    nand_read_bbt: Bad block at 0x000023a80000                                      
    nand_read_bbt: Bad block at 0x000023aa0000                                      
    nand_read_bbt: Bad block at 0x000023ac0000                                      
    nand_read_bbt: Bad block at 0x000023ca0000                                      
    nand_read_bbt: Bad block at 0x000023f20000                                      
    nand_read_bbt: Bad block at 0x0000241a0000                                      
    nand_read_bbt: Bad block at 0x000024260000                                      
    nand_read_bbt: Bad block at 0x000026460000                                      
    nand_read_bbt: Bad block at 0x0000264c0000                                      
    nand_read_bbt: Bad block at 0x00002fd40000                                      
    nand_read_bbt: Bad block at 0x000030180000                                      
    nand_read_bbt: Bad block at 0x000030500000                                      
    nand_read_bbt: Bad block at 0x000031360000                                      
    nand_read_bbt: Bad block at 0x0000316a0000                                      
    nand_read_bbt: Bad block at 0x000031840000                                      
    nand_read_bbt: Bad block at 0x000031ae0000                                      
    nand_read_bbt: Bad block at 0x000031f40000                                      
    nand_read_bbt: Bad block at 0x000032260000                                      
    nand_read_bbt: Bad block at 0x0000322e0000                                      
    nand_read_bbt: Bad block at 0x000032300000                                      
    nand_read_bbt: Bad block at 0x000032320000                                      
    nand_read_bbt: Bad block at 0x000032480000                                      
    nand_read_bbt: Bad block at 0x000032660000                                      
    nand_read_bbt: Bad block at 0x000032740000                                      
    nand_read_bbt: Bad block at 0x0000327c0000                                      
    nand_read_bbt: Bad block at 0x0000328e0000                                      
    nand_read_bbt: Bad block at 0x000032920000                                      
    nand_read_bbt: Bad block at 0x000032a80000                                      
    nand_read_bbt: Bad block at 0x000032b20000                                      
    nand_read_bbt: Bad block at 0x000032c40000                                      
    nand_read_bbt: Bad block at 0x000032d80000                                      
    nand_read_bbt: Bad block at 0x000032e00000                                      
    nand_read_bbt: Bad block at 0x000032e80000                                      
    nand_read_bbt: Bad block at 0x000033980000                                      
    nand_read_bbt: Bad block at 0x000034420000                                      
    nand_read_bbt: Bad block at 0x000034680000                                      
    nand_read_bbt: Bad block at 0x0000351c0000                                      
    nand_read_bbt: Bad block at 0x0000355a0000                                      
    nand_read_bbt: Bad block at 0x000037580000                                      
    nand_read_bbt: Bad block at 0x000037cc0000                                      
    nand_read_bbt: Bad block at 0x000037ce0000                                      
    nand_read_bbt: Bad block at 0x000039780000                                      
    nand_read_bbt: Bad block at 0x00003bee0000                                      
    nand_read_bbt: Bad block at 0x00003bf00000                                      
    nand_read_bbt: Bad block at 0x00003bf20000                                      
    nand_read_bbt: Bad block at 0x00003d660000                                      
    nand_read_bbt: Bad block at 0x00003dd60000                                      
    nand_read_bbt: Bad block at 0x00003dda0000                                      
    nand_read_bbt: Bad block at 0x00003f860000                                      
    nand_read_bbt: Bad block at 0x00003f940000                                      
    nand_read_bbt: Bad block at 0x00003ff00000                                      
    nand_read_bbt: Bad block at 0x000040400000                                      
    nand_read_bbt: Bad block at 0x000045aa0000                                      
    nand_read_bbt: Bad block at 0x00004cda0000                                      
    nand_read_bbt: Bad block at 0x00004ffe0000                                      
    nand_read_bbt: Bad block at 0x000051e00000                                      
    nand_read_bbt: Bad block at 0x00005bd60000                                      
    nand_read_bbt: Bad block at 0x000064640000                                      
    nand_read_bbt: Bad block at 0x0000668a0000                                      
    nand_read_bbt: Bad block at 0x000066ba0000                                      
    nand_read_bbt: Bad block at 0x000070e60000                                      
    nand_read_bbt: Bad block at 0x0000738c0000                                      
    nand_read_bbt: Bad block at 0x000074a60000                                      
    nand_read_bbt: Bad block at 0x00007dd00000                                      
    Net:   Ethernet PHY: GENERIC @ 0x00                                             
    DaVinci-EMAC                                                                    
    Hit any key to stop autoboot:  0                                                
    reading boot.scr                                                                
                                                                                    
    ** Unable to read "boot.scr" from mmc 0:1 **                                    
    reading uImage                                                                  
                                                                                    
    5150208 bytes read                                                              
    ## Booting kernel from Legacy Image at 80700000 ...                             
       Image Name:   Linux-2.6.37_IPNC_DM365EVM_5.1.0                               
       Created:      2017-04-13   4:08:12 UTC                                       
       Image Type:   ARM Linux Kernel Image (uncompressed)                          
       Data Size:    5150144 Bytes = 4.9 MiB                                        
       Load Address: 80008000                                                       
       Entry Point:  80008000                                                       
       Verifying Checksum ... OK                                                    
       Loading Kernel Image ... OK                                                  
    OK                                                                              
                                                                                    
    Starting kernel ...                                                             
                                                                                    
    Linux version 2.6.37_IPNC_DM365EVM_5.1.0 (root@ubuntu) (gcc version 4.3.3 (Sourc
    ery G++ Lite 2009q1-203) ) #2 PREEMPT Thu Apr 13 09:38:10 IST 2017              
    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177                   
    CPU: VIVT data cache, VIVT instruction cache                                    
    Machine: DaVinci DM36x EVM                                                      
    Memory policy: ECC disabled, Data cache writeback                               
    DaVinci dm36x_rev1.2 variant 0x8                                                
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 12192      
    Kernel command line: mem=48M console=ttyS0,115200n8 noinitrd root=/dev/mmcblk0p2
     rootwait ip=192.168.1.253:192.168.1.184:192.168.1.1:255.255.255.0:::off cmemk.p
    hys_start=0x83000000 cmemk.phys_end=0x88000000 cmemk.phys_start_1=0x00001000 cme
    mk.phys_end_1=0x00008000 cmemk.pools_1=1x28672 cmemk.allowOverlap=1 cmemk.useHea
    pIfPoolUnavailable=1                                                            
    PID hash table entries: 256 (order: -2, 1024 bytes)                             
    Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)                   
    Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)                    
    Memory: 48MB = 48MB total                                                       
    Memory: 43440k/43440k available, 5712k reserved, 0K highmem                     
    Virtual kernel memory layout:                                                   
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)                               
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)                               
        DMA     : 0xff000000 - 0xffe00000   (  14 MB)                               
        vmalloc : 0xc3800000 - 0xfea00000   ( 946 MB)                               
        lowmem  : 0xc0000000 - 0xc3000000   (  48 MB)                               
        modules : 0xbf000000 - 0xc0000000   (  16 MB)                               
          .init : 0xc0008000 - 0xc002d000   ( 148 kB)                               
          .text : 0xc002d000 - 0xc04c0000   (4684 kB)                               
          .data : 0xc04c0000 - 0xc04f15c0   ( 198 kB)                               
    SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1         
    Preemptable hierarchical RCU implementation.                                    
            RCU-based detection of stalled CPUs is disabled.                        
            Verbose stalled-CPUs detection is disabled.                             
    NR_IRQS:245                                                                     
    Console: colour dummy device 80x30                                              
    Calibrating delay loop... 215.44 BogoMIPS (lpj=1077248)                         
    pid_max: default: 32768 minimum: 301                                            
    Mount-cache hash table entries: 512                                             
    CPU: Testing write buffer coherency: ok                                         
    DaVinci: 8 gpio irqs                                                            
    NET: Registered protocol family 16                                              
    EVM: HD imager video input                                                      
    bio: create slab <bio-0> at 0                                                   
    SCSI subsystem initialized                                                      
    usbcore: registered new interface driver usbfs                                  
    usbcore: registered new interface driver hub                                    
    usbcore: registered new device driver usb                                       
    vpss vpss: dm365_vpss vpss probed                                               
    vpss vpss: dm365_vpss vpss probe success                                        
    Advanced Linux Sound Architecture Driver Version 1.0.23.                        
    cfg80211: Calling CRDA to update world regulatory domain                        
    Switching to clocksource timer0_1                                               
    NET: Registered protocol family 2                                               
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)                  
    TCP established hash table entries: 2048 (order: 2, 16384 bytes)                
    TCP bind hash table entries: 2048 (order: 1, 8192 bytes)                        
    TCP: Hash tables configured (established 2048 bind 2048)                        
    TCP reno registered                                                             
    UDP hash table entries: 256 (order: 0, 4096 bytes)                              
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)                         
    NET: Registered protocol family 1                                               
    RPC: Registered udp transport module.                                           
    RPC: Registered tcp transport module.                                           
    RPC: Registered tcp NFSv4.1 backchannel transport module.                       
    Installing knfsd (copyright (C) 1996 okir@monad.swb.de).                        
    JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.                            
    msgmni has been set to 84                                                       
    io scheduler noop registered (default)                                          
    CSL: Module install successful, device major num = 254                          
    CSL: Module version 0.10.00, built on Apr 13 2017 09:21:36                      
    I2C: Module install successful, device major num = 253                          
    DMA: Module install successful, device major num = 252                          
    EVM: switch to tvp5146 SD video input                                           
    DRV: Sensor interface selected on DM365 EVM                                     
    DRV: Module install successful                                                  
    DRV: Module built on Apr 13 2017 09:21:37                                       
    DRV: EDMACC.QUEPRI  = 00002777                                                  
    DRV: SYSTEM.MSTPRI0 = 00440011                                                  
    DRV: SYSTEM.MSTPRI1 = 00000444                                                  
    DRV: ISP.BCR        = 00000002                                                  
    DRV: SYSTEM.MISC    = 00000399                                                  
    EDMAK module: built on Apr 13 2017 at 09:21:19                                  
      Reference Linux version 2.6.37                                                
      File /home/spectross/Projects/IPNC_RDK/Source/dvsdk_ipnctools/linuxutils_2_26_
    02_05/packages/ti/sdo/linuxutils/edma/src/module/edmak.c                        
    IRQK module: built on Apr 13 2017 at 09:21:14                                   
      Reference Linux version 2.6.37                                                
      File /home/spectross/Projects/IPNC_RDK/Source/dvsdk_ipnctools/linuxutils_2_26_
    02_05/packages/ti/sdo/linuxutils/irq/src/module/irqk.c                          
    irqk initialized                                                                
    CMEMK module: built on Apr 13 2017 at 09:21:17                                  
      Reference Linux version 2.6.37                                                
      File /home/spectross/Projects/IPNC_RDK/Source/dvsdk_ipnctools/linuxutils_2_26_
    02_05/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c                        
    allocated heap buffer 0xc4000000 of size 0x5000000                              
    heap fallback enabled - will try heap if pool buffer is not available           
    CMEM Range Overlaps Kernel Physical - allowing overlap                          
    CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83000000)             
    cmemk initialized                                                               
    Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled                        
    serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A                    
    console [ttyS0] enabled                                                         
    serial8250 serial8250.0: unable to register port at index 1 (IO0 MEM1d06000 IRQ4
    1): -22                                                                         
    brd: module loaded                                                              
    at24 1-0050: 32768 byte 24c256 EEPROM (writable)                                
    Read MAC addr from EEPROM: 00:0e:99:03:50:a1                                    
    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron )                     
    2 NAND chips detected                                                           
    Creating 5 MTD partitions on "davinci_nand.0":                                  
    0x000000000000-0x000000f00000 : "bootloader"                                    
    0x000000f00000-0x000001000000 : "params"                                        
    0x000001000000-0x000001400000 : "kernel"                                        
    0x000001400000-0x000021400000 : "filesystem1"                                   
    0x000021400000-0x000080000000 : "filesystem2"                                   
    davinci_nand davinci_nand.0: controller rev. 2.3                                
    spi_davinci spi_davinci.0: Controller at 0xfec66000                             
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.4                          
    davinci_mdio davinci_mdio.0: detected phy mask fffffffc                         
    davinci_mdio.0: probed                                                          
    davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown                
    davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown                
    console [netcon0] enabled                                                       
    netconsole: network logging started                                             
    mice: PS/2 mouse device common for all mice                                     
    input: TSC2004 Touchscreen as /devices/virtual/input/input0                     
    dm365evm_keys: probe of 1-0025 failed with error -16                            
    i2c /dev entries driver                                                         
    Linux media interface: v0.10                                                    
    lirc_dev: IR Remote Control driver registered, major 246                        
    IR NEC protocol handler initialized                                             
    IR RC5(x) protocol handler initialized                                          
    IR RC6 protocol handler initialized                                             
    IR JVC protocol handler initialized                                             
    IR Sony protocol handler initialized                                            
    IR RC5 (streamzap) protocol handler initialized                                 
    IR LIRC bridge handler initialized                                              
    Linux video capture interface: v2.00                                            
    vpbe-osd vpbe-osd: OSD sub device probe success                                 
    vpbe-venc vpbe-venc: VENC sub device probe success                              
    vpbe-v4l2 vpbe-v4l2: vpbe v4l2 device registered                                
    ths7303 1-002c: chip found @ 0x58 (DaVinci I2C adapter)                         
    write byte data failed                                                          
    vpbe-v4l2 vpbe-v4l2: v4l2 sub device ths7303 registered                         
    Setting default output to Composite                                             
    Setting default mode to ntsc                                                    
    vpbe-v4l2 vpbe-v4l2: Trying to register VPBE display device.                    
    vpbe-v4l2 vpbe-v4l2: layer=c29c7400,layer->video_dev=c29c74f4                   
    vpbe-v4l2 vpbe-v4l2: Trying to register VPBE display device.                    
    vpbe-v4l2 vpbe-v4l2: layer=c29c7600,layer->video_dev=c29c76f4                   
    watchdog watchdog: heartbeat 60 sec                                             
    davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode                                
    usbcore: registered new interface driver usbhid                                 
    usbhid: USB HID core driver                                                     
    asoc: tlv320aic3x-hifi <-> davinci-mcbsp mapping ok                             
    ALSA device list:                                                               
      #0: DaVinci DM365 EVM                                                         
    TCP cubic registered                                                            
    NET: Registered protocol family 17                                              
    lib80211: common routines for IEEE802.11 drivers                                
    mmc0: new SDHC card at address e624                                             
    mmcblk0: mmc0:e624 SD08G 7.40 GiB                                               
     mmcblk0: p1 p2                                                                 
    net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, id=221613)  
    IP-Config: Complete:                                                            
         device=eth0, addr=192.168.1.253, mask=255.255.255.0, gw=192.168.1.1,       
         host=192.168.1.253, domain=, nis-domain=(none),                            
         bootserver=192.168.1.184, rootserver=192.168.1.184, rootpath=              
    EXT3-fs (mmcblk0p2): error: couldn't mount because of unsupported optional featu
    res (240)                                                                       
    EXT2-fs (mmcblk0p2): error: couldn't mount because of unsupported optional featu
    res (240)                                                                       
    EXT4-fs (mmcblk0p2): warning: mounting fs with errors, running e2fsck is recomme
    nded                                                                            
    EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)    
    VFS: Mounted root (ext4 filesystem) on device 179:2.                            
    Freeing init memory: 148K                                                       
    EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy:726: group 3331811 bloc
    ks in bitmap, 31812 in gd                                                       
    JBD: Spotted dirty metadata buffer (dev = mmcblk0p2, blocknr = 0). There's a ris
    k of filesystem corruption in case of system crash.                             
    INIT: version 2.86 booting                                                      
    PHY: 0:01 - Link is Up - 100/Full                                               
    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_DM365EVM_5.1.0 (root@ubuntu) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1  
    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: ).                                                                  
    Newly-erased block contained word 0xbfbfbfbf at offset 0x0316ae4c               
    net_search_gateway:eth0, 1A8C0, 0, 1                                            
                                                                                    
    CPU is DM368                                                                    
                                                                                    
    *****************************************************************               
                                                                                    
      IPNC BUILD VERSION: DM368 IPNC RDK V5.10.00.04                                
                                                                                    
    *****************************************************************               
                                                                                    
    Error: SemWait: Invalid Semaphore handler                                       
    Error: SemRelease: Invalid Semaphore handler                                    
    Check_device_version : DEVICE VER = 1 !!                                        
    ./av_server.out DM368 D1 720 480 H264 1500000 VBR AUTO RTSP MENUOFF &           
    Newly-erased block contained word 0xbfbfbfbf at offset 0x0316136c               
    JFFS2: marking eraseblock at 0316136c                                           
     as bad                                                                         
    nand_bbt: Error while writing bad block table -5                                
    Starting internet superserver: inetdApproDrvInit: 7                             
    Creat queue id:131076                                                           
    queue id:131076                                                                 
    YUV_MOD_INTERLACED is set                                                       
                                                                                    
     DM365MM Init Successful                                                        
    AVSERVER UI: Initializing.                                                      
                                                                                    
     CLK Hz,                                                                        
     ARM   Hz =  432000000                                                          
     DDR   Hz =  340000000                                                          
     VPSS  Hz =  340000000                                                          
     IMCOP Hz =  340000000                                                          
                                                                                    
    .                                                                               
     [OSA_FILE ] Reading file [/mnt/nand/IMG_Paramset.bin] ... ERROR                
    IMAGE TUNE: Paramset File is not available..... Setting DEFAULT parameter       
    insmod: can't read '/opt/ipnc/modules/deflate.ko': No such file or directory    
    insmod: can't read '/opt/ipnc/modules/des_generic.ko': No such file or directory
    insmod: can't read '/opt/ipnc/modules/md5.ko': No such file or directory        
    insmod: can't read '/opt/ipnc/modules/sha1_generic.ko': No such file or director
    y                                                                               
    insmod: can't read '/opt/ipnc/modules/libcrc32c.ko': No such file or directory  
                                                                                    
     DM365MM Init SuccessfulSYSTEM.MSTPRI0 value changed to 00440011                
                                                                                    
    CONFIGURING AVSERVER FOR DM368 .....                                            
    queue id:65538                                                                  
    Before File Save enable in AV ServerUI                                          
     AVSERVER UI: Starting Streaming Server...                                      
    mmc_core: exports duplicate symbol mmc_card_can_sleep (owned by kernel)         
    insmod: error inserting '/opt/ipnc/modules/mmc_core.ko': -1 Invalid module forma
    t                                                                               
    mmc_block: exports duplicate symbol mmc_cleanup_queue (owned by kernel)         
    insmod: error inserting '/opt/ipnc/modules/mmc_block.ko': -1 Invalid module form
    at                                                                              
    davinci_mmc: module is already loaded                                           
    insmod: error inserting '/opt/ipnc/modules/davinci_mmc.ko': -1 Invalid parameter
    s                                                                               
    Loading iSCSI transport class v2.0-870.                                         
    iscsi: registered transport (tcp)                                               
    musb-hdrc: version 6.0, peripheral, debug=0                                     
    musb-hdrc musb-hdrc: dma type: dma-cppi3                                        
    musb-hdrc musb-hdrc: USB Peripheral mode controller at fec64000 using DMA, IRQ 1
    2                                                                               
    loop: module loaded                                                             
    tun: Universal TUN/TAP device driver, 1.6                                       
    tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>                          
    insmod: can't read '/opt/ipnc/modules/netconsole.ko': No such file or directory 
    PPP generic driver version 2.4.2                                                
    PPP Deflate Compression module registered                                       
    ApproDrvInit: 10                                                                
    ApproDrvInit: 9                                                                 
    queue id:131076                                                                 
    ApproDrvInit: 6                                                                 
    queue id:131076                                                                 
    ApproDrvInit: 2                                                                 
    ApproDrvInit: 8                                                                 
    queue id:131076                                                                 
    queue id:131076                                                                 
    queue id:131076                                                                 
    mkdosfs 2.11 (12 Mar 2005)                                                      
    unable to get drive geometry, using default 255/63/dev/ram0 has 255 heads and 63
     sectors per track,                                                             
    logical sector size is 512,                                                     
    using 0xf8 media descriptor, with 65536 sectors;                                
    file system has 2 16-bit FATs and 4 sectors per cluster.                        
    FAT size is 64 sectors, and provides 16343 clusters.                            
    Root directory contains 512 slots.                                              
    Volume ID is 0000000d, no volume label.                                         
    ApproDrvInit: 3                                                                 
    queue id:131076                                                                 
    INIT: Entering runlevel: 5                                                      
    Starting telnet daemon.                                                         
    Starting syslogd/klogd: done                                                    
    getty: ioctl() TIOCSPGR AVSERVER UI: Starting Streaming Server...DONE           
                                                                          CAPTURE: R
    ecevied CMD = 0x0300                                                            
                         CAPTURE: Create...                                         
                                            CAPTURE: Opening capture on imager TVP51
    4X.                                                                             
       Inside DRV_captureOpen                                                       
     CAPTURE: Opening imager TVP514X.                                               
                                     Inside DRV_imgsOpen                            
    In DRV_imgGetWidthHeight, mode is: 1 gYuvModeWidth : 720 gYuvModeHeight : 480   
    In DRV_imgGetWidthHeight, width is: 736, height is: 480                         
    Inside DRV_imgsOpen after DRV_imgGetWidthHeight, width is: 736, height is: 480  
    Inside DRV_imgsOpen after H & V PAD, DRV_imgGetWidthHeight, width is: 736, heigh
    t is: 480                                                                       
    Inside CalcFrameTimedataW is: 736, dataH is: 480                                
    In DRV_imgsCalcFrameTime, dataW is: 736, dataH is: 480                          
    After IMGS_W_MAX/dataW & IMGS_H_MAX/dataH                                       
    Before col_start in DRV_imgsCalcFrameTime                                       
    After col_start in DRV_imgsCalcFrameTime                                        
    In between pFrame in DRV_imgsCalcFrameTime                                      
    Inside CalcFrameTime3                                                           
    SENSOR FPS VALUE = 30                                                           
                         Inside CalcFrameTime3                                      
     CAPTURE: Opening ISIF.                                                         
                            CAPTURE: Opening H3A.                                   
                                                  CAPTURE: Opening IPIPE.           
                                                                          CAPTURE: O
    pen DONE.                                                                       
              CAPTURE: Create...DONE                                                
                                                                                    
     DM365MM Init Successfulin VIDEO_encodeTskMain                                  
                                                  queue id:131076                   
                                                                 IPNC_DM365EVM_5.1.0
     (root@ubuntu) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1                     
    IPNC AUTO_IRIS = 1                                                              
                       Initializing...                                              
                                      Initializing...                               
                                                     Initializing...                
                                                                    Initializing... 
                                                                                   I
    nitializing...                                                                  
                  queue id:0                                                        
                            queue id:32769                                          
                                          ...done initializing                      
                                                              ...done initializing  
                                                                                  ..
    .done initializing                                                              
                      ...done initializing                                          
                                          ...done initializing                      
                                                              Play this stream using
     the URL:                                                                       
                    rtsp://192.168.1.168:8557/PSIA/Streaming/channels/2?videoCodecTy
    pe=H.264                                                                        
                                                                                    
            (We use port 8304 for optional RTSP-over-HTTP tunneling.)               
                                                                     Play this strea
    m using the URL:                                                                
                            rtsp://192.168.1.168:8553/PSIA/Streaming/channels/1?vide
    oCodecType=MPEG4                                                                
                                                                                    
                    (We use port 8300 for optional RTSP-over-HTTP tunneling.)       
                                                                             Play th
    is stream using the URL:                                                        
                                    rtsp://192.168.1.168:8556/PSIA/Streaming/channel
    s/2?videoCodecType=H.264                                                        
                                                                                    
                            (We use port 8303 for optional RTSP-over-HTTP tunneling.
    )                                                                               
     Play this stream using the URL:                                                
                                            rtsp://192.168.1.168:8555/PSIA/Streaming
    /channels/0?videoCodecType=MJPEG                                                
                                                                                    
                                    (We use port 8302 for optional RTSP-over-HTTP tu
    nneling.)                                                                       
             Play this stream using the URL:                                        
                                                    rtsp://192.168.1.168:8554/PSIA/S
    treaming/channels/1?videoCodecType=MPEG4                                        
                                                                                    
                                            (We use port 8301 for optional RTSP-over
    -HTTP tunneling.)                                                               
                                                                                    
     _____                    _____           _         _                           
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_                         
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|                        
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|                          
                  |___|                    |___|                                    
                                                                                    
    Arago Project http://arago-project.org 192.168.1.253 console                    
                                                                                    
    Arago 2009.11 192.168.1.253 console                                             
                                                                                    
    192.168.1.253 login:  CAPTURE: Start...                                         
                                            CAPTURE: Starting IPIPE.                
                                                                     CAPTURE: Starti
    ng ISIF.                                                                        
             CAPTURE: Starting imager.                                              
                                       CAPTURE: Starting H3A.                       
                                                              CAPTURE: Start DONE.  
                                                                                   C
    APTURE: Start...DONE                                                            
                        Simple mixer control 'PGA',0                                
                                                      Capabilities: cvolume cswitch 
    penum                                                                           
           Capture channels: Front Left - Front Right                               
                                                       Limits: Capture 0 - 119      
                                                                                Fron
    t Left: Capture 2 [2%] [1.00dB] [on]                                            
                                          Front Right: Capture 2 [2%] [1.00dB] [on] 
                                                                                   S
    imple mixer control 'Mono DAC',0                                                
                                      Capabilities: pvolume penum                   
                                                                   Playback channels
    : Front Left - Front Right                                                      
                                Limits: Playback 0 - 118                            
                                                          Mono:                     
                                                                 Front Left: Playbac
    k 47 [40%] [-35.50dB]                                                           
                           Front Right: Playback 47 [40%] [-35.50dB]                
                                                                    sycOnvif Profile
     1                                                                              
      SystemInit success                                                            
                        Schedule manager init success                               
                                                     Dmva Schedule manager init succ
    ess                                                                             
       [01/Jan/1970:00:00:13 +0000] boa: server version Boa/0.94.13                 
                                                                   [01/Jan/1970:00:0
    0:13 +0000] boa: server built Aug 24 2017 at 07:05:32.                          
                                                          [01/Jan/1970:00:00:13 +000
    0] boa: starting server pid=1221, port 80                                       
    
    
    

    Now what can we do for solving this issue. Please help.

    Regards,

    Amit Soni

  • Hi Anuj,

    I am waiting for your response. Please suggest me what to do for functioning of live video. As live video is stopped on the first frame.

    Regards,
    Amit Soni
  • HI Amit,

    Please confirm few things,
    1) Or you getting Profiler log that gets periodically printed for each thread(capture , enode) , or even that gets stopped when streaming stops ?
    2) Please check AV Server command args when ran with system server and Av server ran explicitly
    3) WIS-Streamer streams video please do check is there any process exit or crash

    Thanks & Regards,
    Vishwanath Patil
  • Hi Vishwanath,

    Currently,

    1. Streaming issue has been resolved. streaming is working fine. But even with higher bitrate, quality is not better.

    2. Webpage is working. Some functionalities are failing in it.

    3. Live video has stopped working.

    I attached the debug logs in the previous comments.

    I checked in the debug prints: its showing error in: imgs_TVP514x.c | imgs_Regset() | 818: i2cWrite()

    What should I do for the functionality of Live video.

    Regards,

    Amit Soni

  • Hi Anuj,

    I uncommented these 3 lines in ipnc_app/sys_server/src/av_server_ctrl.c file:

    fSetVideoSize(5, 720, 480);
    fSetStreamConfig(0, 720, 480, codec_tpye[0], H264_1_PORTNUM);
    fSetPtzSupport(0);

    I also changed the /etc/init.d/rcS file:

    # Load the dsplink and cmem kernel modules
    /bin/mount -t sysfs none /sys -n
    mount -t debugfs none /sys/kernel/debug
    cd $DVEVMDIR
    mount -t jffs2 /dev/mtdblock4 /mnt/nand

    ./system_server &
    $DVEVMDIR/beforeloadkmodule.sh
    $DVEVMDIR/loadkmodules.sh
    $DVEVMDIR/loadmodules_ipnc.sh
    ifconfig lo 127.0.0.1
    cd $DVEVMDIR
    #./boot_proc 1
    $DVEVMDIR/autorun.sh
    mount devpts /dev/pts -t devpts


    Right now, the status is :

    1. webGUI is working

    2. Streaming is also working

    3. Live video stopped.

    I found that after running the "./system_server &", live video stopped working. Which changed should be made for the functioning of live video?

    Regards,

    Amit Soni

  • Hi Amit,

    I hope now your av_server application is running and you are getting the profile logs for running threads continuously.
    Your rtsp streaming and webGui are also working.
    Please share a log where the profiling log is present, please include the output of ps command in the log file for the same session.
    Please enable the boot_proc 1 from rcS file and share its log as a different file.
  • Hi Anuj,

    Can you please tell me what profile logs means? Is it the boot logs? or any another thing?

    Also I will share the boot logs after enabling boot_proc1.

    I will send the output of ps command for the same session.

    Regards,

    Amit Soni

  • Hi Amit,
    I want 2 log files.
    1. Without boot_proc having the complete logs where i will get information about the running threads like capture,encode etc and having the output of ps command.
    2. Same as above but with boot_proc enabled.
    And what do you mean by live video stopped?
    Is it about video streaming in webGui?
  • Hi Anuj,

    I will give log files with and without boot_proc.

    And live video stopped means, When I tested with following rcS file:

    #./system_server &
    #$DVEVMDIR/beforeloadkmodule.sh
    #$DVEVMDIR/loadkmodules.sh
    #$DVEVMDIR/loadmodules_ipnc.sh
    ifconfig lo 127.0.0.1
    cd $DVEVMDIR
    #./boot_proc 1
    #$DVEVMDIR/autorun.sh
    mount devpts /dev/pts -t devpts

    This time camera is connected to the Video_in connector and Output from the TVOUT connector is getting on the display. So we were getting live video on the display.

    But I used the following rcS file:

    ./system_server &
    $DVEVMDIR/beforeloadkmodule.sh
    $DVEVMDIR/loadkmodules.sh
    $DVEVMDIR/loadmodules_ipnc.sh
    ifconfig lo 127.0.0.1
    cd $DVEVMDIR
    #./boot_proc 1
    $DVEVMDIR/autorun.sh
    mount devpts /dev/pts -t devpts

    My video stopped after 1 sec and hanged after that. So i am not getting why this live video stopped.

    I changed in rcS file then I got that when "./system_server" is executing then only my live video stopped working.

    Please guide me what to do for this.

    Regards,

    Amit Soni
  • Hi Anuj,

    Here are the boot logs without boot_proc in the rcS file:

    DM36x initialization passed!                         
    TI UBL Version: 1.50                                 
    Booting Catalog Boot Loader                          
    BootMode = SD/MMC 
    Starting SDMMC Copy...
       DONE
    Jumping to entry point at 0x81080000.
    
    
    U-Boot 2010.12-rc2 (Mar 24 2011 - 16:49:26)
    
    Cores: ARM 432 MHz
    DDR:   340 MHz
    I2C:   ready
    DRAM:  128 MiB                                                                  
    NAND:  2048 MiB                                                                 
    MMC:   davinci: 0, davinci: 1                                                   
    Bad block table found at page 524224, version 0x6B                              
    Bad block table found at page 1048512, version 0x01                             
    Bad block table found at page 524160, version 0x6B                              
    Bad block table found at page 1048448, version 0x01                             
    nand_read_bbt: Bad block at 0x000003f80000                                      
    nand_read_bbt: Bad block at 0x00000a9a0000                                      
    nand_read_bbt: Bad block at 0x00000c100000                                      
    nand_read_bbt: Bad block at 0x0000214a0000                                      
    nand_read_bbt: Bad block at 0x0000214c0000                                      
    nand_read_bbt: Bad block at 0x000021d60000                                      
    nand_read_bbt: Bad block at 0x000021d80000                                      
    nand_read_bbt: Bad block at 0x000022040000                                      
    nand_read_bbt: Bad block at 0x000022320000                                      
    nand_read_bbt: Bad block at 0x000022480000                                      
    nand_read_bbt: Bad block at 0x0000224e0000                                      
    nand_read_bbt: Bad block at 0x000022720000                                      
    nand_read_bbt: Bad block at 0x000022760000                                      
    nand_read_bbt: Bad block at 0x0000228a0000                                      
    nand_read_bbt: Bad block at 0x0000229c0000                                      
    nand_read_bbt: Bad block at 0x000022a20000                                      
    nand_read_bbt: Bad block at 0x000022b20000                                      
    nand_read_bbt: Bad block at 0x000022b60000                                      
    nand_read_bbt: Bad block at 0x000023000000                                      
    nand_read_bbt: Bad block at 0x0000232e0000                                      
    nand_read_bbt: Bad block at 0x000023560000                                      
    nand_read_bbt: Bad block at 0x0000237e0000                                      
    nand_read_bbt: Bad block at 0x000023820000                                      
    nand_read_bbt: Bad block at 0x000023a80000                                      
    nand_read_bbt: Bad block at 0x000023aa0000                                      
    nand_read_bbt: Bad block at 0x000023ac0000                                      
    nand_read_bbt: Bad block at 0x000023ca0000                                      
    nand_read_bbt: Bad block at 0x000023f20000                                      
    nand_read_bbt: Bad block at 0x0000241a0000                                      
    nand_read_bbt: Bad block at 0x000024260000                                      
    nand_read_bbt: Bad block at 0x000024560000                                      
    nand_read_bbt: Bad block at 0x000024660000                                      
    nand_read_bbt: Bad block at 0x000024820000                                      
    nand_read_bbt: Bad block at 0x000024840000                                      
    nand_read_bbt: Bad block at 0x000024be0000                                      
    nand_read_bbt: Bad block at 0x000026460000                                      
    nand_read_bbt: Bad block at 0x0000264c0000                                      
    nand_read_bbt: Bad block at 0x00002d1c0000                                      
    nand_read_bbt: Bad block at 0x00002e380000                                      
    nand_read_bbt: Bad block at 0x00002f560000                                      
    nand_read_bbt: Bad block at 0x00002f5a0000                                      
    nand_read_bbt: Bad block at 0x00002fb20000                                      
    nand_read_bbt: Bad block at 0x00002fb60000                                      
    nand_read_bbt: Bad block at 0x00002fd40000                                      
    nand_read_bbt: Bad block at 0x000030160000                                      
    nand_read_bbt: Bad block at 0x000030180000                                      
    nand_read_bbt: Bad block at 0x0000304a0000                                      
    nand_read_bbt: Bad block at 0x000030500000                                      
    nand_read_bbt: Bad block at 0x0000305a0000                                      
    nand_read_bbt: Bad block at 0x000030660000                                      
    nand_read_bbt: Bad block at 0x000030d40000                                      
    nand_read_bbt: Bad block at 0x000031020000                                      
    nand_read_bbt: Bad block at 0x000031360000                                      
    nand_read_bbt: Bad block at 0x0000314c0000                                      
    nand_read_bbt: Bad block at 0x0000316a0000                                      
    nand_read_bbt: Bad block at 0x0000316c0000                                      
    nand_read_bbt: Bad block at 0x000031720000                                      
    nand_read_bbt: Bad block at 0x000031840000                                      
    nand_read_bbt: Bad block at 0x000031ae0000                                      
    nand_read_bbt: Bad block at 0x000031c20000                                      
    nand_read_bbt: Bad block at 0x000031c60000                                      
    nand_read_bbt: Bad block at 0x000031cc0000                                      
    nand_read_bbt: Bad block at 0x000031f40000                                      
    nand_read_bbt: Bad block at 0x000032260000                                      
    nand_read_bbt: Bad block at 0x0000322e0000                                      
    nand_read_bbt: Bad block at 0x000032300000                                      
    nand_read_bbt: Bad block at 0x000032320000                                      
    nand_read_bbt: Bad block at 0x000032360000                                      
    nand_read_bbt: Bad block at 0x000032480000                                      
    nand_read_bbt: Bad block at 0x000032660000                                      
    nand_read_bbt: Bad block at 0x0000326e0000                                      
    nand_read_bbt: Bad block at 0x000032740000                                      
    nand_read_bbt: Bad block at 0x000032780000                                      
    nand_read_bbt: Bad block at 0x0000327c0000                                      
    nand_read_bbt: Bad block at 0x0000328a0000                                      
    nand_read_bbt: Bad block at 0x0000328e0000                                      
    nand_read_bbt: Bad block at 0x000032920000                                      
    nand_read_bbt: Bad block at 0x000032a80000                                      
    nand_read_bbt: Bad block at 0x000032b20000                                      
    nand_read_bbt: Bad block at 0x000032c40000                                      
    nand_read_bbt: Bad block at 0x000032d80000                                      
    nand_read_bbt: Bad block at 0x000032e00000                                      
    nand_read_bbt: Bad block at 0x000032e80000                                      
    nand_read_bbt: Bad block at 0x000032ee0000                                      
    nand_read_bbt: Bad block at 0x000033280000                                      
    nand_read_bbt: Bad block at 0x000033980000                                      
    nand_read_bbt: Bad block at 0x0000340e0000                                      
    nand_read_bbt: Bad block at 0x000034420000                                      
    nand_read_bbt: Bad block at 0x000034680000                                      
    nand_read_bbt: Bad block at 0x0000351c0000                                      
    nand_read_bbt: Bad block at 0x0000355a0000                                      
    nand_read_bbt: Bad block at 0x000037580000                                      
    nand_read_bbt: Bad block at 0x000037cc0000                                      
    nand_read_bbt: Bad block at 0x000037ce0000                                      
    nand_read_bbt: Bad block at 0x000039780000                                      
    nand_read_bbt: Bad block at 0x00003bee0000                                      
    nand_read_bbt: Bad block at 0x00003bf00000                                      
    nand_read_bbt: Bad block at 0x00003bf20000                                      
    nand_read_bbt: Bad block at 0x00003d660000                                      
    nand_read_bbt: Bad block at 0x00003dd60000                                      
    nand_read_bbt: Bad block at 0x00003dda0000                                      
    nand_read_bbt: Bad block at 0x00003e0c0000                                      
    nand_read_bbt: Bad block at 0x00003e400000                                      
    nand_read_bbt: Bad block at 0x00003e620000                                      
    nand_read_bbt: Bad block at 0x00003e700000                                      
    nand_read_bbt: Bad block at 0x00003ebe0000                                      
    nand_read_bbt: Bad block at 0x00003eda0000                                      
    nand_read_bbt: Bad block at 0x00003f860000                                      
    nand_read_bbt: Bad block at 0x00003f940000                                      
    nand_read_bbt: Bad block at 0x00003fbc0000                                      
    nand_read_bbt: Bad block at 0x00003ff00000                                      
    nand_read_bbt: Bad block at 0x000040400000                                      
    nand_read_bbt: Bad block at 0x000045aa0000                                      
    nand_read_bbt: Bad block at 0x00004cda0000                                      
    nand_read_bbt: Bad block at 0x00004ffe0000                                      
    nand_read_bbt: Bad block at 0x000051e00000                                      
    nand_read_bbt: Bad block at 0x00005bd60000                                      
    nand_read_bbt: Bad block at 0x000064640000                                      
    nand_read_bbt: Bad block at 0x0000668a0000                                      
    nand_read_bbt: Bad block at 0x000066ba0000                                      
    nand_read_bbt: Bad block at 0x000070e60000                                      
    nand_read_bbt: Bad block at 0x0000738c0000                                      
    nand_read_bbt: Bad block at 0x000074a60000                                      
    nand_read_bbt: Bad block at 0x00007dd00000                                      
    Net:   Ethernet PHY: GENERIC @ 0x00                                             
    DaVinci-EMAC                                                                    
    Hit any key to stop autoboot:  0                                                
    reading boot.scr                                                                
                                                                                    
    ** Unable to read "boot.scr" from mmc 0:1 **                                    
    reading uImage                                                                  
                                                                                    
    5150208 bytes read                                                              
    ## Booting kernel from Legacy Image at 80700000 ...                             
       Image Name:   Linux-2.6.37_IPNC_DM365EVM_5.1.0                               
       Created:      2017-04-13   4:08:12 UTC                                       
       Image Type:   ARM Linux Kernel Image (uncompressed)                          
       Data Size:    5150144 Bytes = 4.9 MiB                                        
       Load Address: 80008000                                                       
       Entry Point:  80008000                                                       
       Verifying Checksum ... OK                                                    
       Loading Kernel Image ... OK                                                  
    OK                                                                              
                                                                                    
    Starting kernel ...                                                             
                                                                                    
    Linux version 2.6.37_IPNC_DM365EVM_5.1.0 (root@ubuntu) (gcc version 4.3.3 (Sourc
    ery G++ Lite 2009q1-203) ) #2 PREEMPT Thu Apr 13 09:38:10 IST 2017              
    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177                   
    CPU: VIVT data cache, VIVT instruction cache                                    
    Machine: DaVinci DM36x EVM                                                      
    Memory policy: ECC disabled, Data cache writeback                               
    DaVinci dm36x_rev1.2 variant 0x8                                                
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 12192      
    Kernel command line: mem=48M console=ttyS0,115200n8 noinitrd root=/dev/mmcblk0p2
     rootwait ip=192.168.1.253:192.168.1.184:192.168.1.1:255.255.255.0:::off cmemk.p
    hys_start=0x83000000 cmemk.phys_end=0x88000000 cmemk.phys_start_1=0x00001000 cme
    mk.phys_end_1=0x00008000 cmemk.pools_1=1x28672 cmemk.allowOverlap=1 cmemk.useHea
    pIfPoolUnavailable=1                                                            
    PID hash table entries: 256 (order: -2, 1024 bytes)                             
    Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)                   
    Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)                    
    Memory: 48MB = 48MB total                                                       
    Memory: 43440k/43440k available, 5712k reserved, 0K highmem                     
    Virtual kernel memory layout:                                                   
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)                               
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)                               
        DMA     : 0xff000000 - 0xffe00000   (  14 MB)                               
        vmalloc : 0xc3800000 - 0xfea00000   ( 946 MB)                               
        lowmem  : 0xc0000000 - 0xc3000000   (  48 MB)                               
        modules : 0xbf000000 - 0xc0000000   (  16 MB)                               
          .init : 0xc0008000 - 0xc002d000   ( 148 kB)                               
          .text : 0xc002d000 - 0xc04c0000   (4684 kB)                               
          .data : 0xc04c0000 - 0xc04f15c0   ( 198 kB)                               
    SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1         
    Preemptable hierarchical RCU implementation.                                    
            RCU-based detection of stalled CPUs is disabled.                        
            Verbose stalled-CPUs detection is disabled.                             
    NR_IRQS:245                                                                     
    Console: colour dummy device 80x30                                              
    Calibrating delay loop... 215.44 BogoMIPS (lpj=1077248)                         
    pid_max: default: 32768 minimum: 301                                            
    Mount-cache hash table entries: 512                                             
    CPU: Testing write buffer coherency: ok                                         
    DaVinci: 8 gpio irqs                                                            
    NET: Registered protocol family 16                                              
    EVM: HD imager video input                                                      
    bio: create slab <bio-0> at 0                                                   
    SCSI subsystem initialized                                                      
    usbcore: registered new interface driver usbfs                                  
    usbcore: registered new interface driver hub                                    
    usbcore: registered new device driver usb                                       
    vpss vpss: dm365_vpss vpss probed                                               
    vpss vpss: dm365_vpss vpss probe success                                        
    Advanced Linux Sound Architecture Driver Version 1.0.23.                        
    cfg80211: Calling CRDA to update world regulatory domain                        
    Switching to clocksource timer0_1                                               
    NET: Registered protocol family 2                                               
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)                  
    TCP established hash table entries: 2048 (order: 2, 16384 bytes)                
    TCP bind hash table entries: 2048 (order: 1, 8192 bytes)                        
    TCP: Hash tables configured (established 2048 bind 2048)                        
    TCP reno registered                                                             
    UDP hash table entries: 256 (order: 0, 4096 bytes)                              
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)                         
    NET: Registered protocol family 1                                               
    RPC: Registered udp transport module.                                           
    RPC: Registered tcp transport module.                                           
    RPC: Registered tcp NFSv4.1 backchannel transport module.                       
    Installing knfsd (copyright (C) 1996 okir@monad.swb.de).                        
    JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.                            
    msgmni has been set to 84                                                       
    io scheduler noop registered (default)                                          
    CSL: Module install successful, device major num = 254                          
    CSL: Module version 0.10.00, built on Apr 13 2017 09:21:36                      
    I2C: Module install successful, device major num = 253                          
    DMA: Module install successful, device major num = 252                          
    EVM: switch to tvp5146 SD video input                                           
    DRV: Sensor interface selected on DM365 EVM                                     
    DRV: Module install successful                                                  
    DRV: Module built on Apr 13 2017 09:21:37                                       
    DRV: EDMACC.QUEPRI  = 00002777                                                  
    DRV: SYSTEM.MSTPRI0 = 00440011                                                  
    DRV: SYSTEM.MSTPRI1 = 00000444                                                  
    DRV: ISP.BCR        = 00000002                                                  
    DRV: SYSTEM.MISC    = 00000399                                                  
    EDMAK module: built on Apr 13 2017 at 09:21:19                                  
      Reference Linux version 2.6.37                                                
      File /home/spectross/Projects/IPNC_RDK/Source/dvsdk_ipnctools/linuxutils_2_26_
    02_05/packages/ti/sdo/linuxutils/edma/src/module/edmak.c                        
    IRQK module: built on Apr 13 2017 at 09:21:14                                   
      Reference Linux version 2.6.37                                                
      File /home/spectross/Projects/IPNC_RDK/Source/dvsdk_ipnctools/linuxutils_2_26_
    02_05/packages/ti/sdo/linuxutils/irq/src/module/irqk.c                          
    irqk initialized                                                                
    CMEMK module: built on Apr 13 2017 at 09:21:17                                  
      Reference Linux version 2.6.37                                                
      File /home/spectross/Projects/IPNC_RDK/Source/dvsdk_ipnctools/linuxutils_2_26_
    02_05/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c                        
    allocated heap buffer 0xc4000000 of size 0x5000000                              
    heap fallback enabled - will try heap if pool buffer is not available           
    CMEM Range Overlaps Kernel Physical - allowing overlap                          
    CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83000000)             
    cmemk initialized                                                               
    Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled                        
    serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A                    
    console [ttyS0] enabled                                                         
    serial8250 serial8250.0: unable to register port at index 1 (IO0 MEM1d06000 IRQ4
    1): -22                                                                         
    brd: module loaded                                                              
    at24 1-0050: 32768 byte 24c256 EEPROM (writable)                                
    Read MAC addr from EEPROM: 00:0e:99:03:50:a1                                    
    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron )                     
    2 NAND chips detected                                                           
    Creating 5 MTD partitions on "davinci_nand.0":                                  
    0x000000000000-0x000000f00000 : "bootloader"                                    
    0x000000f00000-0x000001000000 : "params"                                        
    0x000001000000-0x000001400000 : "kernel"                                        
    0x000001400000-0x000021400000 : "filesystem1"                                   
    0x000021400000-0x000080000000 : "filesystem2"                                   
    davinci_nand davinci_nand.0: controller rev. 2.3                                
    spi_davinci spi_davinci.0: Controller at 0xfec66000                             
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.4                          
    davinci_mdio davinci_mdio.0: detected phy mask fffffffc                         
    davinci_mdio.0: probed                                                          
    davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown                
    davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown                
    console [netcon0] enabled                                                       
    netconsole: network logging started                                             
    mice: PS/2 mouse device common for all mice                                     
    input: TSC2004 Touchscreen as /devices/virtual/input/input0                     
    dm365evm_keys: probe of 1-0025 failed with error -16                            
    i2c /dev entries driver                                                         
    Linux media interface: v0.10                                                    
    lirc_dev: IR Remote Control driver registered, major 246                        
    IR NEC protocol handler initialized                                             
    IR RC5(x) protocol handler initialized                                          
    IR RC6 protocol handler initialized                                             
    IR JVC protocol handler initialized                                             
    IR Sony protocol handler initialized                                            
    IR RC5 (streamzap) protocol handler initialized                                 
    IR LIRC bridge handler initialized                                              
    Linux video capture interface: v2.00                                            
    vpbe-osd vpbe-osd: OSD sub device probe success                                 
    vpbe-venc vpbe-venc: VENC sub device probe success                              
    vpbe-v4l2 vpbe-v4l2: vpbe v4l2 device registered                                
    ths7303 1-002c: chip found @ 0x58 (DaVinci I2C adapter)                         
    write byte data failed                                                          
    vpbe-v4l2 vpbe-v4l2: v4l2 sub device ths7303 registered                         
    Setting default output to Composite                                             
    Setting default mode to ntsc                                                    
    vpbe-v4l2 vpbe-v4l2: Trying to register VPBE display device.                    
    vpbe-v4l2 vpbe-v4l2: layer=c29c5400,layer->video_dev=c29c54f4                   
    vpbe-v4l2 vpbe-v4l2: Trying to register VPBE display device.                    
    vpbe-v4l2 vpbe-v4l2: layer=c29c5600,layer->video_dev=c29c56f4                   
    watchdog watchdog: heartbeat 60 sec                                             
    davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode                                
    usbcore: registered new interface driver usbhid                                 
    usbhid: USB HID core driver                                                     
    asoc: tlv320aic3x-hifi <-> davinci-mcbsp mapping ok                             
    ALSA device list:                                                               
      #0: DaVinci DM365 EVM                                                         
    TCP cubic registered                                                            
    NET: Registered protocol family 17                                              
    lib80211: common routines for IEEE802.11 drivers                                
    mmc0: new SDHC card at address e624                                             
    mmcblk0: mmc0:e624 SD08G 7.40 GiB                                               
     mmcblk0: p1 p2                                                                 
    net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, id=221613)  
    IP-Config: Complete:                                                            
         device=eth0, addr=192.168.1.253, mask=255.255.255.0, gw=192.168.1.1,       
         host=192.168.1.253, domain=, nis-domain=(none),                            
         bootserver=192.168.1.184, rootserver=192.168.1.184, rootpath=              
    EXT3-fs (mmcblk0p2): error: couldn't mount because of unsupported optional featu
    res (240)                                                                       
    EXT2-fs (mmcblk0p2): error: couldn't mount because of unsupported optional featu
    res (240)                                                                       
    EXT4-fs (mmcblk0p2): warning: mounting fs with errors, running e2fsck is recomme
    nded                                                                            
    EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)    
    VFS: Mounted root (ext4 filesystem) on device 179:2.                            
    Freeing init memory: 148K                                                       
    EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy:726: group 3330787 bloc
    ks in bitmap, 30788 in gd                                                       
    JBD: Spotted dirty metadata buffer (dev = mmcblk0p2, blocknr = 0). There's a ris
    k of filesystem corruption in case of system crash.                             
    INIT: version 2.86 booting                                                      
    PHY: 0:01 - Link is Up - 100/Full                                               
    JFFS2 notice: (1069) check_node_data: wrong data CRC in data node at 0x2fba3f58:
     read 0x65cd4ada, calculated 0x4efa4415.                                        
    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                                                       
    queue id:32769                                                                  
    Creat queue id:65538                                                            
    queue id:65538                                                                  
    Creat queue id:98307                                                            
    queue id:98307                                                                  
    IPNC_DM365EVM_5.1.0 (root@ubuntu) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1  
    queue id:65538                                                                  
    mount: mounting /dev/root on / failed: No such file or directory                
     failed (1: ).                                                                  
    Newly-erased block contained word 0xbfbfbfbf at offset 0x128c5440               
    net_search_gateway:eth0, 1A8C0, 0, 1                                            
                                                                                    
    CPU is DM368                                                                    
    Check_device_version : DEVICE VER = 1 !!                                        
                                                                                    
    *****************************************************************               
                                                                                    
      IPNC BUILD VERSION: DM368 IPNC RDK V5.10.00.04                                
                                                                                    
    *****************************************************************               
                                                                                    
    Error: SemWait: Invalid Semaphore handler                                       
    Error: SemRelease: Invalid Semaphore handler                                    
    ./av_server.out DM368 D1 720 480 H264 1500000 VBR AUTO RTSP MENUOFF &           
    Erase at 0x128c0000 failed immediately: errno -5                                
    JFFS2: marking eraseblock at 128c0000                                           
     as bad                                                                         
    nand_bbt: Error while writing bad block table -5                                
    Starting internet superserver: inetdApproDrvInit: 7                             
    Creat queue id:131076                                                           
    queue id:131076                                                                 
    YUV_MOD_INTERLACED is set                                                       
                                                                                    
     DM365MM Init Successful                                                        
    AVSERVER UI: Initializing.                                                      
    .                                                                               
                                                                                    
     CLK Hz,                                                                        
     ARM   Hz =  432000000                                                          
     DDR   Hz =  340000000                                                          
     VPSS  Hz =  340000000                                                          
     IMCOP Hz =  340000000                                                          
                                                                                    
     [OSA_FILE ] Reading file [/mnt/nand/IMG_Paramset.bin] ... ERROR                
    IMAGE TUNE: Paramset File is not available..... Setting DEFAULT parameter       
    insmod: can't read '/opt/ipnc/modules/deflate.ko': No such file or directory    
    insmod: can't read '/opt/ipnc/modules/des_generic.ko': No such file or directory
    insmod: can't read '/opt/ipnc/modules/md5.ko': No such file or directory        
    insmod: can't read '/opt/ipnc/modules/sha1_generic.ko': No such file or director
    y                                                                               
    insmod: can't read '/opt/ipnc/modules/libcrc32c.ko': No such file or directory  
                                                                                    
     DM365MM Init SuccessfulSYSTEM.MSTPRI0 value changed to 00440011                
                                                                                    
    CONFIGURING AVSERVER FOR DM368 .....                                            
    queue mmc_core: exports duplicate symbol mmc_card_can_sleep (owned by kernel)   
    id:65538                                                                        
    Before File Save enable in AV ServerUI                                          
     AVSERVER UI: Starting Streaming Server...                                      
    insmod: error inserting '/opt/ipnc/modules/mmc_core.ko': -1 Invalid module forma
    t                                                                               
    mmc_block: exports duplicate symbol mmc_cleanup_queue (owned by kernel)         
    insmod: error inserting '/opt/ipnc/modules/mmc_block.ko': -1 Invalid module form
    at                                                                              
    davinci_mmc: module is already loaded                                           
    insmod: error inserting '/opt/ipnc/modules/davinci_mmc.ko': -1 Invalid parameter
    s                                                                               
    Loading iSCSI transport class v2.0-870.                                         
    iscsi: registered transport (tcp)                                               
    musb-hdrc: version 6.0, peripheral, debug=0                                     
    musb-hdrc musb-hdrc: dma type: dma-cppi3                                        
    musb-hdrc musb-hdrc: USB Peripheral mode controller at fec64000 using DMA, IRQ 1
    2                                                                               
    loop: module loaded                                                             
    tun: Universal TUN/TAP device driver, 1.6                                       
    tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>                          
    insmod: can't read '/opt/ipnc/modules/netconsole.ko': No such file or directory 
    PPP generic driver version 2.4.2                                                
    PPP Deflate Compression module registered                                       
    ApproDrvInit: 9                                                                 
    queue id:131076                                                                 
    ApproDrvInit: 8                                                                 
    queue id:131076                                                                 
    ApproDrvInit: 10                                                                
    queue id:131076                                                                 
    ApproDrvInit: 2                                                                 
    queue id:131076                                                                 
    ApproDrvInit: 6                                                                 
    queue id:131076                                                                 
    mkdosfs 2.11 (12 Mar 2005)                                                      
    unable to get drive geometry, using default 255/63/dev/ram0 has 255 heads and 63
     sectors per track,                                                             
    logical sector size is 512,                                                     
    using 0xf8 media descriptor, with 65536 sectors;                                
    file system has 2 16-bit FATs and 4 sectors per cluster.                        
    FAT size is 64 sectors, and provides 16343 clusters.                            
    Root directory contains 512 slots.                                              
    Volume ID is 0000000d, no volume label.                                         
    ApproDrvInit: 3                                                                 
    queue id:131076                                                                 
    INIT: Entering runlevel: 5                                                      
    Starting telnet daemon.                                                         
    Starting syslogd/klogd: done                                                    
    getty: ioctl() TIOCSPGR AVSERVER UI: Starting Streaming Server...DONE           
                                                                          CAPTURE: R
    ecevied CMD = 0x0300                                                            
                         CAPTURE: Create...                                         
                                            CAPTURE: Opening capture on imager TVP51
    4X.                                                                             
       Inside DRV_captureOpen                                                       
     CAPTURE: Opening imager TVP514X.                                               
                                     Inside DRV_imgsOpen                            
    In DRV_imgGetWidthHeight, mode is: 1 gYuvModeWidth : 720 gYuvModeHeight : 480   
    In DRV_imgGetWidthHeight, width is: 736, height is: 480                         
    Inside DRV_imgsOpen after DRV_imgGetWidthHeight, width is: 736, height is: 480  
    Inside DRV_imgsOpen after H & V PAD, DRV_imgGetWidthHeight, width is: 736, heigh
    t is: 480                                                                       
    Inside CalcFrameTimedataW is: 736, dataH is: 480                                
    In DRV_imgsCalcFrameTime, dataW is: 736, dataH is: 480                          
    After IMGS_W_MAX/dataW & IMGS_H_MAX/dataH                                       
    Before col_start in DRV_imgsCalcFrameTime                                       
    After col_start in DRV_imgsCalcFrameTime                                        
    In between pFrame in DRV_imgsCalcFrameTime                                      
    Inside CalcFrameTime3                                                           
    SENSOR FPS VALUE = 30                                                           
                         Inside CalcFrameTime3                                      
     CAPTURE: Opening ISIF.                                                         
                            CAPTURE: Opening H3A.                                   
                                                  CAPTURE: Opening IPIPE.           
                                                                          CAPTURE: O
    pen DONE.                                                                       
              CAPTURE: Create...DONE                                                
                                                                                    
     DM365MM Init Successfulin VIDEO_encodeTskMain                                  
                                                  queue id:131076                   
     DISPLAY: Recevied CMD = 0x0300                                                 
                                    DISPLAY: Create...                              
                                                      IPNC_DM365EVM_5.1.0 (root@ubun
    tu) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1                                
                                                     IPNC AUTO_IRIS = 1             
                                                                         DISPLAY: Cr
    eate...DONE                                                                     
               Initializing...                                                      
                              Initializing...                                       
                                             Initializing...                        
                                                            Initializing...         
                                                                           Initializ
    ing...                                                                          
          ...done initializing                                                      
                              ...done initializing                                  
                                                  ...done initializing              
                                                                      ...done initia
    lizing                                                                          
          ...done initializing                                                      
                              queue id:0                                            
                                        queue id:32769                              
                                                      Play this stream using the URL
    :                                                                               
            Play this stream using the URL:                                         
                                            rtsp://192.168.1.168:8557/PSIA/Streaming
    /channels/2?videoCodecType=H.264                                                
                                                                                    
                                    (We use port 8304 for optional RTSP-over-HTTP tu
    nneling.)                                                                       
             Play this stream using the URL:                                        
                                                    rtsp://192.168.1.168:8556/PSIA/S
    treaming/channels/2?videoCodecType=H.264                                        
                                                                                    
                                            (We use port 8303 for optional RTSP-over
    -HTTP tunneling.)                                                               
                     Play this stream using the URL:                                
                                                            rtsp://192.168.1.168:855
    4/PSIA/Streaming/channels/1?videoCodecType=MPEG4                                
                                                                                    
                                                    (We use port 8301 for optional R
    TSP-over-HTTP tunneling.)                                                       
                             rtsp://192.168.1.168:8553/PSIA/Streaming/channels/1?vid
    eoCodecType=MPEG4                                                               
                                                                                    
                     (We use port 8300 for optional RTSP-over-HTTP tunneling.)      
                                                                              Play t
    his stream using the URL:                                                       
                                    rtsp://192.168.1.168:8555/PSIA/Streaming/channel
    s/0?videoCodecType=MJPEG                                                        
                                                                                    
                            (We use port 8302 for optional RTSP-over-HTTP tunneling.
    )                                                                               
                                                                                    
     _____                    _____           _         _                           
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_                         
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|                        
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|                          
                  |___|                    |___|                                    
                                                                                    
    Arago Project http://arago-project.org 192.168.1.253 console                    
                                                                                    
    Arago 2009.11 192.168.1.253 console                                             
                                                                                    
    192.168.1.253 login:  CAPTURE: Start...                                         
                                            CAPTURE: Starting IPIPE.                
                                                                     CAPTURE: Starti
    ng ISIF.                                                                        
             CAPTURE: Starting imager.                                              
                                       CAPTURE: Starting H3A.                       
                                                              CAPTURE: Start DONE.  
                                                                                   C
    APTURE: Start...DONE                                                            
                        Done value in VIDEO_captureTskMain: 0                       
                                             
                                         Simple mixer control 'PGA',0               
                                                                       Capabilities:
     cvolume cswitch penum                                                          
                            Capture channels: Front Left - Front Right              
                                                                        Limits: Capt
    ure 0 - 119                                                                     
                                               
                                           Front Left: Capture 2 [2%] [1.00dB] [on] 
                                                                                    
     Front Right: Capture 2 [2%] [1.00dB] [on]                                      
                                               
                                         Simple mixer control 'Mono DAC',0          
                                                                            Capabili
    ties: pvolume penum                                                             
                         Playback channels: Front Left - Front Right                
                                                                      Limits: Playba
    ck 0 - 118                                                                      
                Mono:                                                               
                       Front Left: Playback 47 [40%] [-35.50dB]                     
                                                                 Front Right: Playba
    ck 47 [40%] [-35.50dB]                                                          
    In VIDEO_captureTskMain in while loop                                           
                                         sycOnvif Profile 1                         
                                            
                                         SystemInit success                         
                                                           Schedule manager init suc
    cess                                                                            
        Dmva Schedule manager init success                                          
                                              
                                         [01/Jan/1970:00:00:13 +0000] boa: server ve
    rsion Boa/0.94.13                                                               
                     [01/Jan/1970:00:00:13 +0000] boa: server built Aug 28 2017 at 0
    5:41:05.                                                                        
            [01/Jan/1970:00:00:13 +0000] boa: starting server pid=1221, port 80    
            
              PID USER       VSZ STAT COMMAND                                               
        1 root      1624 S    init [5]                                              
        2 root         0 SW   [kthreadd]                                            
        3 root         0 SW   [ksoftirqd/0]                                         
        4 root         0 SW   [kworker/0:0]                                         
        5 root         0 SW   [kworker/u:0]                                         
        6 root         0 SW<  [khelper]                                             
        7 root         0 SW   [kworker/u:1]                                         
      180 root         0 SW   [sync_supers]                                         
      182 root         0 SW   [bdi-default]                                         
      184 root         0 SW<  [kblockd]                                             
      198 root         0 SW   [khubd]                                               
      201 root         0 SW   [kseriod]                                             
      212 root         0 SW<  [kmmcd]                                               
      223 root         0 SW<  [cfg80211]                                            
      313 root         0 SW<  [rpciod]                                              
      314 root         0 SW   [kworker/0:1]                                         
      323 root         0 SW   [khungtaskd]                                          
      324 root         0 SW   [kswapd0]                                             
      383 root         0 SW   [fsnotify_mark]                                       
      385 root         0 SW<  [aio]                                                 
      399 root         0 SW<  [nfsiod]                                              
      406 root         0 SW<  [crypto]                                              
      952 root         0 SW   [mtdblock0]                                           
      957 root         0 SW   [mtdblock1]                                           
      962 root         0 SW   [mtdblock2]                                           
      967 root         0 SW   [mtdblock3]                                           
      972 root         0 SW   [mtdblock4]                                           
      979 root         0 SW<  [spi_davinci.0]                                       
     1028 root         0 SW   [kworker/u:2]                                         
     1033 root         0 SW<  [usbhid_resumer]                                      
     1054 root         0 SW   [mmcqd/0]                                             
     1059 root         0 SW   [jbd2/mmcblk0p2-]                                     
     1060 root         0 SW<  [ext4-dio-unwrit]                                     
     1068 root         0 SW   [flush-179:0]                                         
     1069 root         0 SWN  [jffs2_gcd_mtd4]                                      
     1070 root      101m S    ./system_server                                       
     1097 root      209m S    ./av_server.out DM368 D1 720 480 H264 1500000 VBR AUT 
     1106 root      2976 S    /usr/sbin/inetd                                       
     1149 root         0 SW<  [iscsi_eh]                                            
     1211 root     24380 S    ./wis-streamer -s -h                                  
     1212 root     24380 S    ./wis-streamer -s -h                                  
     1213 root     24380 S    ./wis-streamer -s -h                                  
     1214 root     24380 S    ./wis-streamer -s -h                                  
     1215 root     24380 S    ./wis-streamer -s -h                                  
     1221 root     42404 S    ./boa -c /etc                                         
     1224 root      1764 S    avahi-autoipd: [eth0] announcing 169.254.5.55         
     1225 root      1764 S    avahi-autoipd: [eth0] callout dispatcher              
     1229 root      2704 S    avahi-daemon: running [192.local]                     
     1232 root      1940 S    /usr/sbin/avahi-dnsconfd -D                           
     1241 root      2900 S    /usr/sbin/telnetd                                     
     1248 root      2964 S    /sbin/syslogd -n -C64 -m 20                           
     1250 root      2900 S    /sbin/klogd -n                                        
     1253 root      3080 S    -sh                                                   
     1274 root         0 SW   [flush-1:0]                                           
     1297 root      3080 R    ps                                                    
                        
    
    

    and status of ps command is also in the last.

    Here is the boot logs with boot_proc in rcS:

    DM36x initialization passed!                         
    TI UBL Version: 1.50                                 
    Booting Catalog Boot Loader                          
    BootMode = SD/MMC 
    Starting SDMMC Copy...
       DONE
    Jumping to entry point at 0x81080000.
    
    
    U-Boot 2010.12-rc2 (Mar 24 2011 - 16:49:26)
    
    Cores: ARM 432 MHz
    DDR:   340 MHz
    I2C:   ready
    DRAM:  128 MiB                                                                  
    NAND:  2048 MiB                                                                 
    MMC:   davinci: 0, davinci: 1                                                   
    Bad block table not found for chip 0                                            
    Bad block table found at page 1048512, version 0x01                             
    Bad block table not found for chip 0                                            
    Bad block table found at page 1048448, version 0x01                             
    Bad block table written to 0x00003ffe0000, version 0x01                         
    Bad block table written to 0x00003ffc0000, version 0x01                         
    nand_read_bbt: Bad block at 0x000040400000                                      
    nand_read_bbt: Bad block at 0x000045aa0000                                      
    nand_read_bbt: Bad block at 0x00004cda0000                                      
    nand_read_bbt: Bad block at 0x00004ffe0000                                      
    nand_read_bbt: Bad block at 0x000051e00000                                      
    nand_read_bbt: Bad block at 0x00005bd60000                                      
    nand_read_bbt: Bad block at 0x000064640000                                      
    nand_read_bbt: Bad block at 0x0000668a0000                                      
    nand_read_bbt: Bad block at 0x000066ba0000                                      
    nand_read_bbt: Bad block at 0x000070e60000                                      
    nand_read_bbt: Bad block at 0x0000738c0000                                      
    nand_read_bbt: Bad block at 0x000074a60000                                      
    nand_read_bbt: Bad block at 0x00007dd00000                                      
    Net:   Ethernet PHY: GENERIC @ 0x00                                             
    DaVinci-EMAC                                                                    
    Hit any key to stop autoboot:  0                                                
    reading boot.scr                                                                
                                                                                    
    ** Unable to read "boot.scr" from mmc 0:1 **                                    
    reading uImage                                                                  
                                                                                    
    5150208 bytes read                                                              
    ## Booting kernel from Legacy Image at 80700000 ...                             
       Image Name:   Linux-2.6.37_IPNC_DM365EVM_5.1.0                               
       Created:      2017-04-13   4:08:12 UTC                                       
       Image Type:   ARM Linux Kernel Image (uncompressed)                          
       Data Size:    5150144 Bytes = 4.9 MiB                                        
       Load Address: 80008000                                                       
       Entry Point:  80008000                                                       
       Verifying Checksum ... OK                                                    
       Loading Kernel Image ... OK                                                  
    OK                                                                              
                                                                                    
    Starting kernel ...                                                             
                                                                                    
    Linux version 2.6.37_IPNC_DM365EVM_5.1.0 (root@ubuntu) (gcc version 4.3.3 (Sourc
    ery G++ Lite 2009q1-203) ) #2 PREEMPT Thu Apr 13 09:38:10 IST 2017              
    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177                   
    CPU: VIVT data cache, VIVT instruction cache                                    
    Machine: DaVinci DM36x EVM                                                      
    Memory policy: ECC disabled, Data cache writeback                               
    DaVinci dm36x_rev1.2 variant 0x8                                                
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 12192      
    Kernel command line: mem=48M console=ttyS0,115200n8 noinitrd root=/dev/mmcblk0p2
     rootwait ip=192.168.1.253:192.168.1.184:192.168.1.1:255.255.255.0:::off cmemk.p
    hys_start=0x83000000 cmemk.phys_end=0x88000000 cmemk.phys_start_1=0x00001000 cme
    mk.phys_end_1=0x00008000 cmemk.pools_1=1x28672 cmemk.allowOverlap=1 cmemk.useHea
    pIfPoolUnavailable=1                                                            
    PID hash table entries: 256 (order: -2, 1024 bytes)                             
    Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)                   
    Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)                    
    Memory: 48MB = 48MB total                                                       
    Memory: 43440k/43440k available, 5712k reserved, 0K highmem                     
    Virtual kernel memory layout:                                                   
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)                               
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)                               
        DMA     : 0xff000000 - 0xffe00000   (  14 MB)                               
        vmalloc : 0xc3800000 - 0xfea00000   ( 946 MB)                               
        lowmem  : 0xc0000000 - 0xc3000000   (  48 MB)                               
        modules : 0xbf000000 - 0xc0000000   (  16 MB)                               
          .init : 0xc0008000 - 0xc002d000   ( 148 kB)                               
          .text : 0xc002d000 - 0xc04c0000   (4684 kB)                               
          .data : 0xc04c0000 - 0xc04f15c0   ( 198 kB)                               
    SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1         
    Preemptable hierarchical RCU implementation.                                    
            RCU-based detection of stalled CPUs is disabled.                        
            Verbose stalled-CPUs detection is disabled.                             
    NR_IRQS:245                                                                     
    Console: colour dummy device 80x30                                              
    Calibrating delay loop... 215.44 BogoMIPS (lpj=1077248)                         
    pid_max: default: 32768 minimum: 301                                            
    Mount-cache hash table entries: 512                                             
    CPU: Testing write buffer coherency: ok                                         
    DaVinci: 8 gpio irqs                                                            
    NET: Registered protocol family 16                                              
    EVM: HD imager video input                                                      
    bio: create slab <bio-0> at 0                                                   
    SCSI subsystem initialized                                                      
    usbcore: registered new interface driver usbfs                                  
    usbcore: registered new interface driver hub                                    
    usbcore: registered new device driver usb                                       
    vpss vpss: dm365_vpss vpss probed                                               
    vpss vpss: dm365_vpss vpss probe success                                        
    Advanced Linux Sound Architecture Driver Version 1.0.23.                        
    cfg80211: Calling CRDA to update world regulatory domain                        
    Switching to clocksource timer0_1                                               
    NET: Registered protocol family 2                                               
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)                  
    TCP established hash table entries: 2048 (order: 2, 16384 bytes)                
    TCP bind hash table entries: 2048 (order: 1, 8192 bytes)                        
    TCP: Hash tables configured (established 2048 bind 2048)                        
    TCP reno registered                                                             
    UDP hash table entries: 256 (order: 0, 4096 bytes)                              
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)                         
    NET: Registered protocol family 1                                               
    RPC: Registered udp transport module.                                           
    RPC: Registered tcp transport module.                                           
    RPC: Registered tcp NFSv4.1 backchannel transport module.                       
    Installing knfsd (copyright (C) 1996 okir@monad.swb.de).                        
    JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.                            
    msgmni has been set to 84                                                       
    io scheduler noop registered (default)                                          
    CSL: Module install successful, device major num = 254                          
    CSL: Module version 0.10.00, built on Apr 13 2017 09:21:36                      
    I2C: Module install successful, device major num = 253                          
    DMA: Module install successful, device major num = 252                          
    EVM: switch to tvp5146 SD video input                                           
    DRV: Sensor interface selected on DM365 EVM                                     
    DRV: Module install successful                                                  
    DRV: Module built on Apr 13 2017 09:21:37                                       
    DRV: EDMACC.QUEPRI  = 00002777                                                  
    DRV: SYSTEM.MSTPRI0 = 00440011                                                  
    DRV: SYSTEM.MSTPRI1 = 00000444                                                  
    DRV: ISP.BCR        = 00000002                                                  
    DRV: SYSTEM.MISC    = 00000399                                                  
    EDMAK module: built on Apr 13 2017 at 09:21:19                                  
      Reference Linux version 2.6.37                                                
      File /home/spectross/Projects/IPNC_RDK/Source/dvsdk_ipnctools/linuxutils_2_26_
    02_05/packages/ti/sdo/linuxutils/edma/src/module/edmak.c                        
    IRQK module: built on Apr 13 2017 at 09:21:14                                   
      Reference Linux version 2.6.37                                                
      File /home/spectross/Projects/IPNC_RDK/Source/dvsdk_ipnctools/linuxutils_2_26_
    02_05/packages/ti/sdo/linuxutils/irq/src/module/irqk.c                          
    irqk initialized                                                                
    CMEMK module: built on Apr 13 2017 at 09:21:17                                  
      Reference Linux version 2.6.37                                                
      File /home/spectross/Projects/IPNC_RDK/Source/dvsdk_ipnctools/linuxutils_2_26_
    02_05/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c                        
    allocated heap buffer 0xc4000000 of size 0x5000000                              
    heap fallback enabled - will try heap if pool buffer is not available           
    CMEM Range Overlaps Kernel Physical - allowing overlap                          
    CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83000000)             
    cmemk initialized                                                               
    Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled                        
    serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A                    
    console [ttyS0] enabled                                                         
    serial8250 serial8250.0: unable to register port at index 1 (IO0 MEM1d06000 IRQ4
    1): -22                                                                         
    brd: module loaded                                                              
    at24 1-0050: 32768 byte 24c256 EEPROM (writable)                                
    Read MAC addr from EEPROM: 00:0e:99:03:50:a1                                    
    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron )                     
    2 NAND chips detected                                                           
    Creating 5 MTD partitions on "davinci_nand.0":                                  
    0x000000000000-0x000000f00000 : "bootloader"                                    
    0x000000f00000-0x000001000000 : "params"                                        
    0x000001000000-0x000001400000 : "kernel"                                        
    0x000001400000-0x000021400000 : "filesystem1"                                   
    0x000021400000-0x000080000000 : "filesystem2"                                   
    davinci_nand davinci_nand.0: controller rev. 2.3                                
    spi_davinci spi_davinci.0: Controller at 0xfec66000                             
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.4                          
    davinci_mdio davinci_mdio.0: detected phy mask fffffffc                         
    davinci_mdio.0: probed                                                          
    davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown                
    davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown                
    console [netcon0] enabled                                                       
    netconsole: network logging started                                             
    mice: PS/2 mouse device common for all mice                                     
    input: TSC2004 Touchscreen as /devices/virtual/input/input0                     
    dm365evm_keys: probe of 1-0025 failed with error -16                            
    i2c /dev entries driver                                                         
    Linux media interface: v0.10                                                    
    lirc_dev: IR Remote Control driver registered, major 246                        
    IR NEC protocol handler initialized                                             
    IR RC5(x) protocol handler initialized                                          
    IR RC6 protocol handler initialized                                             
    IR JVC protocol handler initialized                                             
    IR Sony protocol handler initialized                                            
    IR RC5 (streamzap) protocol handler initialized                                 
    IR LIRC bridge handler initialized                                              
    Linux video capture interface: v2.00                                            
    vpbe-osd vpbe-osd: OSD sub device probe success                                 
    vpbe-venc vpbe-venc: VENC sub device probe success                              
    vpbe-v4l2 vpbe-v4l2: vpbe v4l2 device registered                                
    ths7303 1-002c: chip found @ 0x58 (DaVinci I2C adapter)                         
    write byte data failed                                                          
    vpbe-v4l2 vpbe-v4l2: v4l2 sub device ths7303 registered                         
    Setting default output to Composite                                             
    Setting default mode to ntsc                                                    
    vpbe-v4l2 vpbe-v4l2: Trying to register VPBE display device.                    
    vpbe-v4l2 vpbe-v4l2: layer=c2999400,layer->video_dev=c29994f4                   
    vpbe-v4l2 vpbe-v4l2: Trying to register VPBE display device.                    
    vpbe-v4l2 vpbe-v4l2: layer=c2999600,layer->video_dev=c29996f4                   
    watchdog watchdog: heartbeat 60 sec                                             
    davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode                                
    usbcore: registered new interface driver usbhid                                 
    usbhid: USB HID core driver                                                     
    asoc: tlv320aic3x-hifi <-> davinci-mcbsp mapping ok                             
    ALSA device list:                                                               
      #0: DaVinci DM365 EVM                                                         
    TCP cubic registered                                                            
    NET: Registered protocol family 17                                              
    lib80211: common routines for IEEE802.11 drivers                                
    mmc0: new SDHC card at address e624                                             
    mmcblk0: mmc0:e624 SD08G 7.40 GiB                                               
     mmcblk0: p1 p2                                                                 
    net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, id=221613)  
    IP-Config: Complete:                                                            
         device=eth0, addr=192.168.1.253, mask=255.255.255.0, gw=192.168.1.1,       
         host=192.168.1.253, domain=, nis-domain=(none),                            
         bootserver=192.168.1.184, rootserver=192.168.1.184, rootpath=              
    EXT3-fs (mmcblk0p2): error: couldn't mount because of unsupported optional featu
    res (240)                                                                       
    EXT2-fs (mmcblk0p2): error: couldn't mount because of unsupported optional featu
    res (240)                                                                       
    EXT4-fs (mmcblk0p2): warning: mounting fs with errors, running e2fsck is recomme
    nded                                                                            
    EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)    
    VFS: Mounted root (ext4 filesystem) on device 179:2.                            
    Freeing init memory: 148K                                                       
    INIT: version 2.86 booting                                                      
    PHY: 0:01 - Link is Up - 100/Full                                               
    Empty flash at 0x2fba41b4 ends at 0x2fba4800                                    
    Starting mounting local filesystems: mount Creat queue id:0                     
    queue id:0                                                                      
    FileMngThread created                                                           
    Creat queue id:32769                                                            
    queue id:32769                                                                  
    AlramThread created                                                             
    Creat queue id:65538                                                            
    queue id:65538                                                                  
    Creat queue id:98307                                                            
    queue id:98307                                                                  
    Share memory init success                                                       
    IPNC_DM365EVM_5.1.0 (root@ubuntu) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1  
    queue id:65538                                                                  
    queue id:32769                                                                  
    Erase at 0x11520000 failed immediately: errno -5                                
    mount: mounting /dev/root on / failed: No such file or directory                
     failed (1: ).                                                                  
    net_search_gateway:eth0, 1A8C0, 0, 1                                            
    Newly-erased block contained word 0x0 at offset 0x11520b6c                      
                                                                                    
    CPU is DM368                                                                    
    Check_device_version : DEVICE VER = 1 !!                                        
                                                                                    
    *****************************************************************               
                                                                                    
      IPNC BUILD VERSION: DM368 IPNC RDK V5.10.00.04                                
                                                                                    
    *****************************************************************               
                                                                                    
    Error: SemWait: Invalid Semaphore handler                                       
    Error: SemRelease: Invalid Semaphore handler                                    
    ./av_server.out DM368 D1 720 480 H264 1500000 VBR AUTO RTSP MENUOFF &           
    JFFS2: marking eraseblock at 11520b6c                                           
     as bad                                                                         
    nand_bbt: Error while writing bad block table -5                                
    Newly-erased block contained word 0xbfbfbfbf at offset 0x114ed4ac               
    Newly-erased block contained word 0x1010101 at offset 0x114e1e00                
    JFFS2: marking eraseblock at 114e1e00                                           
     as bad                                                                         
    nand_bbt: Error while writing bad block table -5                                
    ApproDrvInit: 7                                                                 
    Creat queue id:131076                                                           
    queue id:131076                                                                 
    Starting internet superserver: inetdNewly-erased block contained word 0xbfbfbfbf
     at offset 0x114a38bc                                                           
    YUV_MOD_INTERLACED is set                                                       
                                                                                    
    Erase at 0x114a0000 failed immediately: errno -5                                
    JFFS2: marking eraseblock at 114a0000                                           
     as bad                                                                         
     DM365MM Init Successful                                                        
    AVSERVNewly-erased block contained word 0xbfbfbfbf at offset 0x113c8a44         
    ER UI: Initializing.                                                            
                                                                                    
     CLK Hz,                                                                        
     ARM   Hz =  432000000                                                          
     DDR   Hz =  340000000                                                          
     VPSS  Hz =  340000000                                                          
     IMCOP Hz =  340000000                                                          
                                                                                    
    Newly-erased block contained word 0xbfbfbfbf at offset 0x113ce160               
    .                                                                               
    JFFS2: marking eraseblock at 113ce160                                           
     as bad [OSA_FILE ] Reading file [/mnt/nand/IMG_Paramset.bin] ... ERROR         
    IMAGE TUNE: Paramset File is not available..... Setting DEFAULT parameter       
                                                                                    
    nand_bbt: Error while writing bad block table -5                                
    insmod: can't read '/opt/ipnc/modules/deflate.ko': No such file or directory    
    insmod: can't read '/opt/ipnc/modules/des_generic.ko': No such file or directory
    insmod: can't read '/opt/ipnc/modules/md5.ko': No such file or directory        
    insmod: can't read '/opt/ipnc/modules/sha1_generic.ko': No such file or director
    y                                                                               
    insmod: can't read '/opt/ipnc/modules/libcrc32c.ko': No such file or directory  
                                                                                    
    Newly-erased block contained word 0xbfbfbfbf at offset 0x11382c00               
     DM365MM Init SuccessfulSYSTEM.MSTPRI0 value changed to 00440011                
                                                                                    
    CONFIGURING AVSERVER FOR DM368 .....                                            
    queue id:65538                                                                  
    Before File Save enable in AV ServerUI                                          
     AVSERVER UI: Starting Streaming Server...                                      
    mmc_core: exports duplicate symbol mmc_card_can_sleep (owned by kernel)         
    insmod: error inserting '/opt/ipnc/modules/mmc_core.ko': -1 Invalid module forma
    t                                                                               
    mmc_block: exports duplicate symbol mmc_cleanup_queue (owned by kernel)         
    insmod: error inserting '/opt/ipnc/modules/mmc_block.ko': -1 Invalid module form
    at                                                                              
    Newly-erased block contained word 0xbfbfbfbf at offset 0x11387814               
    JFFS2: marking eraseblock at 11387814                                           
     as bad                                                                         
    davinci_mmc: module is already loaded                                           
    insmod: error inserting '/opt/ipnc/modules/davinci_mmc.ko': -1 Invalid parameter
    s                                                                               
    nand_bbt: Error while writing bad block table -5                                
    Loading iSCSI transport class v2.0-870.                                         
    Newly-erased block contained word 0xbfbfbfbf at offset 0x1134ae88               
    Newly-erased block contained word 0xbfbfbfbf at offset 0x11353594               
    JFFS2: marking eraseblock at 11353594                                           
     as bad                                                                         
    iscsi: registered transport (tcp)                                               
    Newly-erased block contained word 0xbfbfbfbf at offset 0x112ebb3c               
    musb-hdrc: version 6.0, peripheral, debug=0                                     
    Newly-erased block contained word 0xbfbfbfbf at offset 0x112e645c               
    JFFS2: marking eraseblock at 112e645c                                           
     as bad                                                                         
    nand_bbt: Error while writing bad block table -5                                
    musb-hdrc musb-hdrc: dma type: dma-cppi3                                        
    musb-hdrc musb-hdrc: USB Peripheral mode controller at fec64000 using DMA, IRQ 1
    2                                                                               
    Newly-erased block contained word 0x0 at offset 0x11267e2c                      
    loop: module loaded                                                             
    Newly-erased block contained word 0x1010101 at offset 0x1126b800                
    JFFS2: marking eraseblock at 1126b800                                           
     as bad                                                                         
    tun: Universal TUN/TAP device driver, 1.6                                       
    tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>                          
    Newly-erased block contained word 0x1010101 at offset 0x11080000                
    insmod: can't read '/opt/ipnc/modules/netconsole.ko': No such file or directory 
    PPP generic driver version 2.4.2                                                
    Newly-erased block contained word 0x1010101 at offset 0x10f0b000                
    Newly-erased block contained word 0xbfbfbfbf at offset 0x10f6ca20               
    PPP Deflate Compression module registered                                       
    Newly-erased block contained word 0xbfbfbfbf at offset 0x10f119cc               
    JFFS2: marking eraseblock at 10f119cc                                           
     as bad                                                                         
    Read of newly-erased block at 0x10f65000 failed: -74. Putting on bad_list       
    JFFS2: marking eraseblock at 10f65000                                           
     as bad                                                                         
    nand_bbt: Error while writing bad block table -5                                
    Newly-erased block contained word 0xbfbfbfbf at offset 0x10ee0824               
    Erase at 0x10ee0000 failed immediately: errno -5                                
    JFFS2: marking eraseblock at 10ee0000                                           
     as bad                                                                         
    Newly-erased block contained word 0xbfbfbfbf at offset 0x10e612ec               
    Newly-erased block contained word 0x0 at offset 0x10b44490                      
    Newly-erased block contained word 0xbfbfbfbf at offset 0x10b4dff4               
    JFFS2: marking eraseblock at 10b4dff4                                           
     as bad                                                                         
    Newly-erased block contained word 0x0 at offset 0x106e9700                      
    Newly-erased block contained word 0xbfbfbfbf at offset 0x0f0a6f78               
    Newly-erased block contained word 0xbfbfbfbf at offset 0x0f0ad5c8               
    JFFS2: marking eraseblock at 0f0ad5c8                                           
     as bad                                                                         
    Newly-erased block contained word 0xbfbfbfbf at offset 0x0ed97168               
    Newly-erased block contained word 0xbfbfbfbf at offset 0x0ed81d88               
    JFFS2: marking eraseblock at 0ed81d88                                           
     as bad                                                                         
    Newly-erased block contained word 0xbfbfbfbf at offset 0x0ed69ef4               
    Erase at 0x0e940000 failed immediately: errno -5                                
    Newly-erased block contained word 0xbfbfbfbf at offset 0x0e943fe8               
    JFFS2: marking eraseblock at 0e943fe8                                           
     as bad                                                                         
    Newly-erased block contained word 0x0 at offset 0x0e7617e0                      
    ApproDrvInit: 9                                                                 
    ApproDrvInit: 10                                                                
    ApproDrvInit: 8                                                                 
    queue id:131076                                                                 
    queue id:131076                                                                 
    ApproDrvInit: 6                                                                 
    queue id:131076                                                                 
    ApproDrvInit: 2                                                                 
    queue id:131076                                                                 
    queue id:131076                                                                 
    Newly-erased block contained word 0xbfbfbfbf at offset 0x02da2704               
    Erase at 0x03160000 failed immediately: errno -5                                
    mkdosfs 2.11 (12 Mar 2005)                                                      
    unable to get drive geometry, using default 255/63/dev/ram0 has 255 heads and 63
     sectors per track,                                                             
    logical sector size is 512,                                                     
    using 0xf8 media descriptor, with 65536 sectors;                                
    file system has 2 16-bit FATs and 4 sectors per cluster.                        
    FAT size is 64 sectors, and provides 16343 clusters.                            
    Root directory contains 512 slots.                                              
    Volume ID is 0000000d, no volume label.                                         
    Newly-erased block contained word 0x0 at offset 0x02b281b8                      
    Newly-erased block contained word 0xbfbfbfbf at offset 0x02b26e38               
    JFFS2: marking eraseblock at 02b26e38                                           
     as bad                                                                         
    queue id:0Newly-erased block contained word 0xbfbfbfbf at offset 0x0316db30     
    JFFS2: marking eraseblock at 0316db30                                           
     as bad                                                                         
                                                                                    
    Newly-erased block contained word 0x1010101 at offset 0x1ab36800                
     AVSERVER UI: Starting Streaming Server...DONE                                  
     CAPTURE: Recevied CMD = 0x0300                                                 
     CAPTURE: Create...                                                             
     CAPTURE: Opening capture on imager TVP514X.                                    
    Inside DRV_captureOpen                                                          
     CAPTURE: Opening imager TVP514X.                                               
    Inside DRV_imgsOpen                                                             
    In DRV_imgGetWidthHeight, mode is: 1 gYuvModeWidth : 720 gYuvModeHeight : 480   
    In DRV_imgGetWidthHeight, width is: 736, height is: 480                         
    Inside DRV_imgsOpen after DRV_imgGetWidthHeight, width is: 736, height is: 480  
    Inside DRV_imgsOpen after H & V PAD, DRV_imgGetWidthHeight, width is: 736, heigh
    t is: 480                                                                       
    Inside CalcFrameTimedataW is: 736, dataH is: 480                                
    In DRV_imgsCalcFrameTime, dataW Read of newly-erased block at 0x1ab14000 failed:
     -74. Putting on bad_list                                                       
    is: 736, dataH iNewly-erased block contained word 0xbfbfbfbf at offset 0x11e9e9e
    0                                                                               
    s: 480                                                                          
    After IMGS_W_MAX/dataW & IMGS_H_MAX/dataH                                       
    Before col_start in DRV_imgsCalcFrameTime                                       
    After col_start in DRV_imgsCalcFrameTime                                        
    In between pFrame in DRV_imgsCalcFrameTime                                      
    Inside CalcFrameTime3                                                           
    SENSOR FPS VALUE = 30                                                           
    Inside CalcFrameTime3                                                           
     CAPTURE: Opening ISIF.                                                         
     CAPTURE: Opening H3A.                                                          
     CAPTURE: Opening IPIPE.                                                        
     CAPTURE: Open DONE.                                                            
     CAPTURE: Create...DONE                                                         
                                                                                    
     DM365MM Init Successfulin VIDEO_encodeTskMain                                  
    queue id:131076                                                                 
     DISPLAY: Recevied CMD = 0x0300                                                 
     DISPLAY: Create...                                                             
    IPNC_DM365EVM_5.1.0 (root@ubuntu) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1  
    IPNC AUTO_IRIS = 1                                                              
     DISPLAY: Create...DONE                                                         
    Initializing...                                                                 
    Initializing...                                                                 
    Initializing...                                                                 
    Initializing...                                                                 
    Initializing...                                                                 
    ...done initializing                                                            
    ...done initializing                                                            
    ...done initializing                                                            
    ...done initializing                                                            
    ...done initializing                                                            
    Newly-erased block contained word 0xbfbfbfbf at offset 0x11e9a744               
    JFFS2: marking eraseblock at 11e9a744                                           
     as bad                                                                         
    Newly-erased block contained word 0xbfbfbfbf at offset 0x11a809d8               
    Read of newly-erased block at 0x11a82000 failed: -74. Putting on bad_list       
    Play this stream using the URL:Erase at 0x1ab00000 failed immediately: errno -5 
                                                                                    
            Play this stream using the URL:                                         
            rtsp://192.168.1.168:8557/PSIA/Streaming/channJFFS2: marking eraseblock 
    at 11a82000                                                                     
     as badels/2?videoCodecType=H.264                                               
                                                                                    
    (We use port 8304 for optional RTSP-over-HTTP tunneling.)                       
    Play this stream using the URL:                                                 
            rtsp://192.168.1.168:8553/PSIA/Streaming/channels/1?videoCodecType=MPEG4
                                                                                    
    (We use port 8300 for optional RTSP-over-HTTP tunneling.)                       
    Play this stream using the URL:                                                 
            rtsp://192.168.1.168:8555/PSIA/Streaming/channels/0?videoCodecType=MJPEG
                                                                                    
    (We use port 8302 for optional RTSP-over-HTTP tunneling.)                       
    Play this stream using the URL:                                                 
            rtsp://192.168.1.168:8556/PSIA/Streaming/channels/2?videoCodecType=H.264
                                                                                    
    (We use port 8303 for optional RTSP-over-HTTP tunneling.)                       
    rtsp://192.168.1.168:8554/PSIA/Streaming/channels/1?videoCodecType=MPEG4        
                                                                                    
    (We use port 8301 for optional RTSP-over-HTTP tu                                
    nneling.)                                                                       
    nand_bbt: Error while writing bad block table -5                                
    Erase at 0x11a00000 failed immediately: errno -5                                
    Erase at 0x11a00000 failed immediately: errno -5                                
    JFFS2: marking eraseblock at 11a00000                                           
     as bad                                                                         
    Erase at 0x11980000 failed immediately: errno -5                                
    JFFS2: marking eraseblock at 1ab00000                                           
     as bad                                                                         
    Newly-erased block contained word 0xbfbfbfbf at offset 0x11985934               
    JFFS2: marking eraseblock at 11985934                                           
     as bad                                                                         
     CAPTURE: Start...                                                              
     CAPTURE: Stnand_bbt: Error while writing bad block table -5                    
    arting IPIPE.                                                                   
     CAPTURE: Starting ISIF.                                                        
     CAPTURE: Starting imager.                                                      
    nand_bbt: Error while writing bad block table -5                                
     CAPTURE: Starting H3A.                                                         
     CAPTURE: Start DONE.                                                           
     CAPTURE: Start...DONE                                                          
    Done value in VIDEO_captureTskMain: 0                                           
    Simple mixer control 'PGA',0                                                    
      Capabilities: cvolume cswitch penum                                           
      Capture channels: Front Left - Front Right                                    
      Limits: Capture 0 - 119                                                       
      Front Left: Capture 2 [2%] [1.00dB] [on]                                      
      Front Right: Capture 2 [2%] [1.00dB] [on]                                     
    Simple mixer control 'Mono DAC',0                                               
      Capabilities: pvolume penum                                                   
      Playback channels: Front Left - Front Right                                   
      Limits: Playback 0 - 118                                                      
      Mono:                                                                         
      Front Left: Playback 47 [40%] [-35.50dB]                                      
      Front Right: Playback 47 [40%] [-35.50dB]                                     
    sycOnvif Profile 1                                                              
    SystemInit success                                                              
    Schedule manager init success                                                   
    Dmva Schedule manager init success                                              
    umount: /mnt/mmc: not mounted                                                   
    mount: mounting /dev/mmcblk0 on /mnt/mmc failed: Device or resource busy        
    dns=192.168.1.1                                                                 
    net_search_gateway:eth0, 1A8C0, 0, 1                                            
    net_search_gateway:eth0, 0, FE01A8C0, 3                                         
    dns=192.168.1.1                                                                 
    EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy:726: group 3330788 bloc
    ks in bitmap, 30789 in gd                                                       
    ERROR: Module g_file_storage does not exist in /proc/modules                    
    g_file_storage gadget: No serial-number string provided!                        
    g_file_storage gadget: File-backed Storage Gadget, version: 1 September 2010    
    In VIDEO_capturg_file_storage gadget: Number of LUNs=1                          
    eTskMain in whilg_file_storage gadget-lun0: ro=0, nofua=0, file: /dev/ram0      
    e loop                                                                          
    ApproDrvInit: 3                                                                 
    queue id:131076                                                                 
    queue id:0                                                                      
    queue id:32769                                                                  
    [01/Jan/1970:00:00:19 +0000] boa: server version Boa/0.94.13                    
    [01/Jan/1970:00:00:19 +0000] boa: server built Aug 28 2017 at 05:41:05.         
    [01/Jan/1970:00:00:19 +0000] boa: starting server pid=1268, port 80             
    queue id:0                                                                      
    <UDN>uuid:Upnp-TVEmulator-de:ad:be:af:00:00</UDN>                               
                                                                                    
    Upnp port is 0                                                                  
    UPnP Initialized OK ip=192.168.1.168, port=49152                                
    desc_doc_url = http://192.168.1.168/tvdevicedesc.xml                            
    error code = 0                                                                  
    INIT: Entering runlevel: 5                                                      
    device advertisement succeed.                                                   
    .                                                                               
    done                                                                            
                                                                                   
                                                                                    
     _____                    _____           _         _                           
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_                         
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|                        
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|                          
                  |___|                    |___|                                    
                                                                                    
    Arago Project http://arago-project.org 192.168.1.253 console                    
                                                                                    
    Arago 2009.11 192.168.1.253 console                                             
                                                                                    
                                          
                                             
                                         ApproDrvInit: 9                            
                                                        ApproDrvInit: 10            
                                         ApproDrvInit: 8                            
                                                        queue id:131076             
                                                                       ApproDrvInit:
     2                                                                              
      queue id:131076                                                               
                     ApproDrvInit: 6                                                
                                    queue id:131076                                 
                                                   queue id:131076                  
                                                                  Initializing...   
                                                                                 Ini
    tializing...                                                                    
                                        Initializing...                            
                                                        queue id:131076             
                                                                       Failed to cre
    ate RTSP server: bind() error (port number: 8557): Address already in use       
                                                                             Failed 
    to create RTSP server: bind() error (port number: 8555): Address already in useF
    ailed to create RTSP server: bind() error (port number: 8556): Address already i
    n use                                                                           
         Initializing...                                                            
                        Initializing...                                             
                                                                                    
                                        
                                         Failed to create RTSP server: bind() error 
    (port number: 8553): Address already in use                                     
                                               Failed to create RTSP server: bind() 
    error (port number: 8554): Address already in use                               
                                              
                                                                                    
     _____                    _____           _         _                           
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_                         
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|                        
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|                          
                  |___|                    |___|                                    
                                                                                    
    Arago Project http://arago-project.org 192.168.1.253 console                    
                                                                                    
    Arago 2009.11 192.168.1.253 console                                             
     
     192.168.1.253 login: root                                                                              
                                            
    -sh: can't access tty; job control turned off                                   
       ps 
                                           
      PID USER       VSZ STAT COMMAND                                               
        1 root      1624 S    init [5]                                              
        2 root         0 SW   [kthreadd]                                            
        3 root         0 SW   [ksoftirqd/0]                                         
       4 root         0 SW   [kworker/0:0]                                         
        5 root         0 SW   [kworker/u:0]                                         
        6 root         0 SW<  [khelper]                                             
        7 root         0 SW   [kworker/u:1]                                         
      180 root         0 SW   [sync_supers]                                         
      182 root         0 SW   [bdi-default]                                         
      184 root         0 SW<  [kblockd]                                             
      198 root         0 SW   [khubd]                                               
      201 root         0 SW   [kseriod]                                             
      212 root         0 SW<  [kmmcd]                                               
      223 root         0 SW<  [cfg80211]                                            
      313 root         0 SW<  [rpciod]                                              
      314 root         0 SW   [kworker/0:1]                                         
      323 root         0 SW   [khungtaskd]                                          
      324 root         0 SW   [kswapd0]                                             
      383 root         0 SW   [fsnotify_mark]                                       
      385 root         0 SW<  [aio]                                                 
      399 root         0 SW<  [nfsiod]                                              
      406 root         0 SW<  [crypto]                                              
      952 root         0 SW   [mtdblock0]                                           
      957 root         0 SW   [mtdblock1]                                           
      962 root         0 SW   [mtdblock2]                                           
      967 root         0 SW   [mtdblock3]                                           
      972 root         0 SW   [mtdblock4]                                           
      979 root         0 SW<  [spi_davinci.0]                                       
     1028 root         0 SW   [kworker/u:2]                                         
     1033 root         0 SW<  [usbhid_resumer]                                      
     1054 root         0 SW   [mmcqd/0]                                             
     1059 root         0 SW   [jbd2/mmcblk0p2-]                                     
     1060 root         0 SW<  [ext4-dio-unwrit]                                     
     1068 root         0 SW   [flush-179:0]                                         
     1069 root         0 SWN  [jffs2_gcd_mtd4]                                      
     1070 root      101m S    ./system_server                                       
     1100 root      209m S    ./av_server.out DM368 D1 720 480 H264 1500000 VBR AUT 
     1106 root      2976 S    /usr/sbin/inetd                                       
     1149 root         0 SW<  [iscsi_eh]                                            
     1211 root     24380 S    ./wis-streamer -s -h                                  
     1212 root     24380 S    ./wis-streamer -s -h                                  
     1213 root     24380 S    ./wis-streamer -s -h                                  
     1215 root     24380 S    ./wis-streamer -s -h                                  
     1216 root     24380 S    ./wis-streamer -s -h                                  
     1250 root         0 SW   [flush-1:0]                                           
     1259 root         0 SW   [flush-mtd-unmap]                                     
     1265 root         0 SW   [file-storage-ga]                                     
     1268 root     43308 S    ./boa -c /etc                                         
     1272 root      1764 S    avahi-autoipd: [eth0] bound 169.254.5.55              
     1273 root      1764 S    avahi-autoipd: [eth0] callout dispatcher              
     1279 root      2704 S    avahi-daemon: running [192.local]                     
     1280 root     67624 S    ./upnp-scanip                                         
     1287 root      1940 S    /usr/sbin/avahi-dnsconfd -D                           
     1303 root      2900 S    /usr/sbin/telnetd                                     
     1308 root      2964 S    /sbin/syslogd -n -C64 -m 20                           
     1310 root      2900 S    /sbin/klogd -n                                        
     1312 root      3080 S    -sh                                                   
     1331 root      3080 R    ps                                                    
    

    Regards,

    Amit Soni

  • Hi Amit,
    Thanks For sharing the logs.
    But in these logs i am not able to find which threads are running.
    So please let it run for 5-6 mins then share the logs.
    After enabling the boot_proc you are getting the rtsp streaming and webgui, in webgui are you able to get the streaming and and change something from there?
    Please confirm the above things.

    Please enable the AVSERVER_DEBUG_VIDEO_DISPLAY_THR in /Source/ipnc_rdk/av_capture/application/ipnc/av_server/inc/avserver_debug.h

    Share only 1 log file after enabling the above and please run it for around 5-6 mins.
  • Hi Anuj,

    Here are the updated boot logs without boot proc:

    DM36x initialization passed!                         
    TI UBL Version: 1.50                                 
    Booting Catalog Boot Loader                          
    BootMode = SD/MMC 
    Starting SDMMC Copy...
       DONE
    Jumping to entry point at 0x81080000.
    
    
    U-Boot 2010.12-rc2 (Mar 24 2011 - 16:49:26)
    
    Cores: ARM 432 MHz
    DDR:   340 MHz
    I2C:   ready
    DRAM:  128 MiB                                                                  
    NAND:  2048 MiB                                                                 
    MMC:   davinci: 0, davinci: 1                                                   
    Bad block table found at page 524224, version 0x17                              
    Bad block table found at page 1048512, version 0x01                             
    Bad block table found at page 524160, version 0x17                              
    Bad block table found at page 1048448, version 0x01                             
    nand_read_bbt: Bad block at 0x000003f80000                                      
    nand_read_bbt: Bad block at 0x00000a9a0000                                      
    nand_read_bbt: Bad block at 0x00000c100000                                      
    nand_read_bbt: Bad block at 0x000023f20000                                      
    nand_read_bbt: Bad block at 0x000024560000                                      
    nand_read_bbt: Bad block at 0x00002fd40000                                      
    nand_read_bbt: Bad block at 0x000030180000                                      
    nand_read_bbt: Bad block at 0x0000304a0000                                      
    nand_read_bbt: Bad block at 0x000031f40000                                      
    nand_read_bbt: Bad block at 0x0000322e0000                                      
    nand_read_bbt: Bad block at 0x000032300000                                      
    nand_read_bbt: Bad block at 0x000032360000                                      
    nand_read_bbt: Bad block at 0x000032660000                                      
    nand_read_bbt: Bad block at 0x0000326e0000                                      
    nand_read_bbt: Bad block at 0x000032740000                                      
    nand_read_bbt: Bad block at 0x000032780000                                      
    nand_read_bbt: Bad block at 0x0000327c0000                                      
    nand_read_bbt: Bad block at 0x0000328a0000                                      
    nand_read_bbt: Bad block at 0x0000328e0000                                      
    nand_read_bbt: Bad block at 0x000032920000                                      
    nand_read_bbt: Bad block at 0x000032d80000                                      
    nand_read_bbt: Bad block at 0x000032e00000                                      
    nand_read_bbt: Bad block at 0x000032e80000                                      
    nand_read_bbt: Bad block at 0x000033280000                                      
    nand_read_bbt: Bad block at 0x0000355a0000                                      
    nand_read_bbt: Bad block at 0x00003bf00000                                      
    nand_read_bbt: Bad block at 0x00003d660000                                      
    nand_read_bbt: Bad block at 0x000040400000                                      
    nand_read_bbt: Bad block at 0x000045aa0000                                      
    nand_read_bbt: Bad block at 0x00004cda0000                                      
    nand_read_bbt: Bad block at 0x00004ffe0000                                      
    nand_read_bbt: Bad block at 0x000051e00000                                      
    nand_read_bbt: Bad block at 0x00005bd60000                                      
    nand_read_bbt: Bad block at 0x000064640000                                      
    nand_read_bbt: Bad block at 0x0000668a0000                                      
    nand_read_bbt: Bad block at 0x000066ba0000                                      
    nand_read_bbt: Bad block at 0x000070e60000                                      
    nand_read_bbt: Bad block at 0x0000738c0000                                      
    nand_read_bbt: Bad block at 0x000074a60000                                      
    nand_read_bbt: Bad block at 0x00007dd00000                                      
    Net:   Ethernet PHY: GENERIC @ 0x00                                             
    DaVinci-EMAC                                                                    
    Hit any key to stop autoboot:  0                                                
    reading boot.scr                                                                
                                                                                    
    ** Unable to read "boot.scr" from mmc 0:1 **                                    
    reading uImage                                                                  
                                                                                    
    5150208 bytes read                                                              
    ## Booting kernel from Legacy Image at 80700000 ...                             
       Image Name:   Linux-2.6.37_IPNC_DM365EVM_5.1.0                               
       Created:      2017-04-13   4:08:12 UTC                                       
       Image Type:   ARM Linux Kernel Image (uncompressed)                          
       Data Size:    5150144 Bytes = 4.9 MiB                                        
       Load Address: 80008000                                                       
       Entry Point:  80008000                                                       
       Verifying Checksum ... OK                                                    
       Loading Kernel Image ... OK                                                  
    OK                                                                              
                                                                                    
    Starting kernel ...                                                             
                                                                                    
    Linux version 2.6.37_IPNC_DM365EVM_5.1.0 (root@ubuntu) (gcc version 4.3.3 (Sourc
    ery G++ Lite 2009q1-203) ) #2 PREEMPT Thu Apr 13 09:38:10 IST 2017              
    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177                   
    CPU: VIVT data cache, VIVT instruction cache                                    
    Machine: DaVinci DM36x EVM                                                      
    Memory policy: ECC disabled, Data cache writeback                               
    DaVinci dm36x_rev1.2 variant 0x8                                                
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 12192      
    Kernel command line: mem=48M console=ttyS0,115200n8 noinitrd root=/dev/mmcblk0p2
     rootwait ip=192.168.1.253:192.168.1.184:192.168.1.1:255.255.255.0:::off cmemk.p
    hys_start=0x83000000 cmemk.phys_end=0x88000000 cmemk.phys_start_1=0x00001000 cme
    mk.phys_end_1=0x00008000 cmemk.pools_1=1x28672 cmemk.allowOverlap=1 cmemk.useHea
    pIfPoolUnavailable=1                                                            
    PID hash table entries: 256 (order: -2, 1024 bytes)                             
    Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)                   
    Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)                    
    Memory: 48MB = 48MB total                                                       
    Memory: 43440k/43440k available, 5712k reserved, 0K highmem                     
    Virtual kernel memory layout:                                                   
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)                               
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)                               
        DMA     : 0xff000000 - 0xffe00000   (  14 MB)                               
        vmalloc : 0xc3800000 - 0xfea00000   ( 946 MB)                               
        lowmem  : 0xc0000000 - 0xc3000000   (  48 MB)                               
        modules : 0xbf000000 - 0xc0000000   (  16 MB)                               
          .init : 0xc0008000 - 0xc002d000   ( 148 kB)                               
          .text : 0xc002d000 - 0xc04c0000   (4684 kB)                               
          .data : 0xc04c0000 - 0xc04f15c0   ( 198 kB)                               
    SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1         
    Preemptable hierarchical RCU implementation.                                    
            RCU-based detection of stalled CPUs is disabled.                        
            Verbose stalled-CPUs detection is disabled.                             
    NR_IRQS:245                                                                     
    Console: colour dummy device 80x30                                              
    Calibrating delay loop... 215.44 BogoMIPS (lpj=1077248)                         
    pid_max: default: 32768 minimum: 301                                            
    Mount-cache hash table entries: 512                                             
    CPU: Testing write buffer coherency: ok                                         
    DaVinci: 8 gpio irqs                                                            
    NET: Registered protocol family 16                                              
    EVM: HD imager video input                                                      
    bio: create slab <bio-0> at 0                                                   
    SCSI subsystem initialized                                                      
    usbcore: registered new interface driver usbfs                                  
    usbcore: registered new interface driver hub                                    
    usbcore: registered new device driver usb                                       
    vpss vpss: dm365_vpss vpss probed                                               
    vpss vpss: dm365_vpss vpss probe success                                        
    Advanced Linux Sound Architecture Driver Version 1.0.23.                        
    cfg80211: Calling CRDA to update world regulatory domain                        
    Switching to clocksource timer0_1                                               
    NET: Registered protocol family 2                                               
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)                  
    TCP established hash table entries: 2048 (order: 2, 16384 bytes)                
    TCP bind hash table entries: 2048 (order: 1, 8192 bytes)                        
    TCP: Hash tables configured (established 2048 bind 2048)                        
    TCP reno registered                                                             
    UDP hash table entries: 256 (order: 0, 4096 bytes)                              
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)                         
    NET: Registered protocol family 1                                               
    RPC: Registered udp transport module.                                           
    RPC: Registered tcp transport module.                                           
    RPC: Registered tcp NFSv4.1 backchannel transport module.                       
    Installing knfsd (copyright (C) 1996 okir@monad.swb.de).                        
    JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.                            
    msgmni has been set to 84                                                       
    io scheduler noop registered (default)                                          
    CSL: Module install successful, device major num = 254                          
    CSL: Module version 0.10.00, built on Apr 13 2017 09:21:36                      
    I2C: Module install successful, device major num = 253                          
    DMA: Module install successful, device major num = 252                          
    EVM: switch to tvp5146 SD video input                                           
    DRV: Sensor interface selected on DM365 EVM                                     
    DRV: Module install successful                                                  
    DRV: Module built on Apr 13 2017 09:21:37                                       
    DRV: EDMACC.QUEPRI  = 00002777                                                  
    DRV: SYSTEM.MSTPRI0 = 00440011                                                  
    DRV: SYSTEM.MSTPRI1 = 00000444                                                  
    DRV: ISP.BCR        = 00000002                                                  
    DRV: SYSTEM.MISC    = 00000399                                                  
    EDMAK module: built on Apr 13 2017 at 09:21:19                                  
      Reference Linux version 2.6.37                                                
      File /home/spectross/Projects/IPNC_RDK/Source/dvsdk_ipnctools/linuxutils_2_26_
    02_05/packages/ti/sdo/linuxutils/edma/src/module/edmak.c                        
    IRQK module: built on Apr 13 2017 at 09:21:14                                   
      Reference Linux version 2.6.37                                                
      File /home/spectross/Projects/IPNC_RDK/Source/dvsdk_ipnctools/linuxutils_2_26_
    02_05/packages/ti/sdo/linuxutils/irq/src/module/irqk.c                          
    irqk initialized                                                                
    CMEMK module: built on Apr 13 2017 at 09:21:17                                  
      Reference Linux version 2.6.37                                                
      File /home/spectross/Projects/IPNC_RDK/Source/dvsdk_ipnctools/linuxutils_2_26_
    02_05/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c                        
    allocated heap buffer 0xc4000000 of size 0x5000000                              
    heap fallback enabled - will try heap if pool buffer is not available           
    CMEM Range Overlaps Kernel Physical - allowing overlap                          
    CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83000000)             
    cmemk initialized                                                               
    Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled                        
    serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A                    
    console [ttyS0] enabled                                                         
    serial8250 serial8250.0: unable to register port at index 1 (IO0 MEM1d06000 IRQ4
    1): -22                                                                         
    brd: module loaded                                                              
    at24 1-0050: 32768 byte 24c256 EEPROM (writable)                                
    Read MAC addr from EEPROM: 00:0e:99:03:50:a1                                    
    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron )                     
    2 NAND chips detected                                                           
    Creating 5 MTD partitions on "davinci_nand.0":                                  
    0x000000000000-0x000000f00000 : "bootloader"                                    
    0x000000f00000-0x000001000000 : "params"                                        
    0x000001000000-0x000001400000 : "kernel"                                        
    0x000001400000-0x000021400000 : "filesystem1"                                   
    0x000021400000-0x000080000000 : "filesystem2"                                   
    davinci_nand davinci_nand.0: controller rev. 2.3                                
    spi_davinci spi_davinci.0: Controller at 0xfec66000                             
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.4                          
    davinci_mdio davinci_mdio.0: detected phy mask fffffffc                         
    davinci_mdio.0: probed                                                          
    davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown                
    davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown                
    console [netcon0] enabled                                                       
    netconsole: network logging started                                             
    mice: PS/2 mouse device common for all mice                                     
    input: TSC2004 Touchscreen as /devices/virtual/input/input0                     
    dm365evm_keys: probe of 1-0025 failed with error -16                            
    i2c /dev entries driver                                                         
    Linux media interface: v0.10                                                    
    lirc_dev: IR Remote Control driver registered, major 246                        
    IR NEC protocol handler initialized                                             
    IR RC5(x) protocol handler initialized                                          
    IR RC6 protocol handler initialized                                             
    IR JVC protocol handler initialized                                             
    IR Sony protocol handler initialized                                            
    IR RC5 (streamzap) protocol handler initialized                                 
    IR LIRC bridge handler initialized                                              
    Linux video capture interface: v2.00                                            
    vpbe-osd vpbe-osd: OSD sub device probe success                                 
    vpbe-venc vpbe-venc: VENC sub device probe success                              
    vpbe-v4l2 vpbe-v4l2: vpbe v4l2 device registered                                
    ths7303 1-002c: chip found @ 0x58 (DaVinci I2C adapter)                         
    write byte data failed                                                          
    vpbe-v4l2 vpbe-v4l2: v4l2 sub device ths7303 registered                         
    Setting default output to Composite                                             
    Setting default mode to ntsc                                                    
    vpbe-v4l2 vpbe-v4l2: Trying to register VPBE display device.                    
    vpbe-v4l2 vpbe-v4l2: layer=c29bd400,layer->video_dev=c29bd4f4                   
    vpbe-v4l2 vpbe-v4l2: Trying to register VPBE display device.                    
    vpbe-v4l2 vpbe-v4l2: layer=c29bd600,layer->video_dev=c29bd6f4                   
    watchdog watchdog: heartbeat 60 sec                                             
    davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode                                
    usbcore: registered new interface driver usbhid                                 
    usbhid: USB HID core driver                                                     
    asoc: tlv320aic3x-hifi <-> davinci-mcbsp mapping ok                             
    ALSA device list:                                                               
      #0: DaVinci DM365 EVM                                                         
    TCP cubic registered                                                            
    NET: Registered protocol family 17                                              
    lib80211: common routines for IEEE802.11 drivers                                
    mmc0: new SDHC card at address e624                                             
    mmcblk0: mmc0:e624 SD08G 7.40 GiB                                               
     mmcblk0: p1 p2                                                                 
    net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, id=221613)  
    IP-Config: Complete:                                                            
         device=eth0, addr=192.168.1.253, mask=255.255.255.0, gw=192.168.1.1,       
         host=192.168.1.253, domain=, nis-domain=(none),                            
         bootserver=192.168.1.184, rootserver=192.168.1.184, rootpath=              
    EXT3-fs (mmcblk0p2): error: couldn't mount because of unsupported optional featu
    res (240)                                                                       
    EXT2-fs (mmcblk0p2): error: couldn't mount because of unsupported optional featu
    res (240)                                                                       
    EXT4-fs (mmcblk0p2): warning: mounting fs with errors, running e2fsck is recomme
    nded                                                                            
    EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)    
    VFS: Mounted root (ext4 filesystem) on device 179:2.                            
    Freeing init memory: 148K                                                       
    EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy:726: group 3330786 bloc
    ks in bitmap, 30787 in gd                                                       
    JBD: Spotted dirty metadata buffer (dev = mmcblk0p2, blocknr = 0). There's a ris
    k of filesystem corruption in case of system crash.                             
    INIT: version 2.86 booting                                                      
    Empty flash at 0x2fba41b4 ends at 0x2fba4800                                    
    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                                                       
    queue id:32769                                                                  
    Creat queue id:65538                                                            
    queue id:65538                                                                  
    Creat queue id:98307                                                            
    queue id:98307                                                                  
    IPNC_DM365EVM_5.1.0 (root@ubuntu) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1  
    queue id:65538                                                                  
    mount: mounting /dev/root on / failed: No such file or directory                
     failed (1: ).                                                                  
    Newly-erased block contained word 0xbfbfbfbf at offset 0x03063b38               
    net_search_gateway:eth0, 1A8C0, 0, 1                                            
                                                                                    
    CPU is DM368                                                                    
                                                                                    
    *****************************************************************               
                                                                                    
      IPNC BUILD VERSION: DM368 IPNC RDK V5.10.00.04                                
                                                                                    
    *****************************************************************               
                                                                                    
    Check_device_version : DEVICE VER = 1 !!                                        
    Error: SemWait: Invalid Semaphore handler                                       
    Error: SemRelease: Invalid Semaphore handler                                    
    ./av_server.out DM368 D1 720 480 H264 1500000 VBR AUTO RTSP MENUOFF &           
    Newly-erased block contained word 0xbfbfbfbf at offset 0x03063800               
    JFFS2: marking eraseblock at 03063800                                           
     as bad                                                                         
    Starting internet superserver: inetdApproDrvInit: 7                             
    Creat queue id:131076                                                           
    queue id:131076                                                                 
    YUV_MOD_INTERLACED is set                                                       
                                                                                    
     DM365MM Init Successful                                                        
    AVSERVER UI: Initializing.                                                      
                                                                                    
     CLK Hz,                                                                        
     ARM   Hz =  432000000                                                          
     DDR   Hz =  340000000                                                          
     VPSS  Hz =  340000000                                                          
     IMCOP Hz =  340000000                                                          
                                                                                    
    .                                                                               
     [OSA_FILE ] Reading file [/mnt/nand/IMG_Paramset.bin] ... ERROR                
    IMAGE TUNE: Paramset File is not available..... Setting DEFAULT parameter       
    insmod: can't read '/opt/ipnc/modules/deflate.ko': No such file or directory    
    insmod: can't read '/opt/ipnc/modules/des_generic.ko': No such file or directory
    insmod: can't read '/opt/ipnc/modules/md5.ko': No such file or directory        
    insmod: can't read '/opt/ipnc/modules/sha1_generic.ko': No such file or director
    y                                                                               
    insmod: can't read '/opt/ipnc/modules/libcrc32c.ko': No such file or directory  
                                                                                    
     DM365MM Init SuccessfulSYSTEM.MSTPRI0 value changed to 00440011                
                                                                                    
    CONFIGURING AVSERVER FOR DM368 .....                                            
    queue id:65538                                                                  
    Before File Save enable in AV ServerUI                                          
     AVSERVER UI: Starting Streaming Server...                                      
    mmc_core: exports duplicate symbol mmc_card_can_sleep (owned by kernel)         
    insmod: error inserting '/opt/ipnc/modules/mmc_core.ko': -1 Invalid module forma
    t                                                                               
    mmc_block: exports duplicate symbol mmc_cleanup_queue (owned by kernel)         
    insmod: error inserting '/opt/ipnc/modules/mmc_block.ko': -1 Invalid module form
    at                                                                              
    davinci_mmc: module is already loaded                                           
    insmod: error inserting '/opt/ipnc/modules/davinci_mmc.ko': -1 Invalid parameter
    s                                                                               
    Loading iSCSI transport class v2.0-870.                                         
    iscsi: registered transport (tcp)                                               
    musb-hdrc: version 6.0, peripheral, debug=0                                     
    musb-hdrc musb-hdrc: dma type: dma-cppi3                                        
    musb-hdrc musb-hdrc: USB Peripheral mode controller at fec64000 using DMA, IRQ 1
    2                                                                               
    loop: module loaded                                                             
    tun: Universal TUN/TAP device driver, 1.6                                       
    tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>                          
    insmod: can't read '/opt/ipnc/modules/netconsole.ko': No such file or directory 
    PPP generic driver version 2.4.2                                                
    PPP Deflate Compression module registered                                       
    ApproDrvInit: 9                                                                 
    queue id:131076                                                                 
    ApproDrvInit: 2                                                                 
    ApproDrvInit: 8                                                                 
    ApproDrvInit: 10                                                                
    queue id:131076                                                                 
    queue id:131076                                                                 
    ApproDrvInit: 6                                                                 
    queue id:131076                                                                 
    queue id:131076                                                                 
    mkdosfs 2.11 (12 Mar 2005)                                                      
    unable to get drive geometry, using default 255/63/dev/ram0 has 255 heads and 63
     sectors per track,                                                             
    logical sector size is 512,                                                     
    using 0xf8 media descriptor, with 65536 sectors;                                
    file system has 2 16-bit FATs and 4 sectors per cluster.                        
    FAT size is 64 sectors, and provides 16343 clusters.                            
    Root directory contains 512 slots.                                              
    Volume ID is 0000000d, no volume label.                                         
    ApproDrvInit: 3                                                                 
    queue id:131076                                                                 
    INIT: Entering runlevel: 5                                                      
    Starting telnet daemon.                                                         
    Starting syslogd/klogd: done                                                    
    getty: ioctl() TIOCSPGR AVSERVER UI: Starting Streaming Server...DONE           
                                                                          CAPTURE: R
    ecevied CMD = 0x0300                                                            
                         CAPTURE: Create...                                         
                                            CAPTURE: Opening capture on imager TVP51
    4X.                                                                             
       Inside DRV_captureOpen                                                       
     CAPTURE: Opening imager TVP514X.                                               
                                     Inside DRV_imgsOpen                            
    In DRV_imgGetWidthHeight, mode is: 1 gYuvModeWidth : 720 gYuvModeHeight : 480   
    In DRV_imgGetWidthHeight, width is: 736, height is: 480                         
    Inside DRV_imgsOpen after DRV_imgGetWidthHeight, width is: 736, height is: 480  
    Inside DRV_imgsOpen after H & V PAD, DRV_imgGetWidthHeight, width is: 736, heigh
    t is: 480                                                                       
    Inside CalcFrameTimedataW is: 736, dataH is: 480                                
    In DRV_imgsCalcFrameTime, dataW is: 736, dataH is: 480                          
    After IMGS_W_MAX/dataW & IMGS_H_MAX/dataH                                       
    Before col_start in DRV_imgsCalcFrameTime                                       
    After col_start in DRV_imgsCalcFrameTime                                        
    In between pFrame in DRV_imgsCalcFrameTime                                      
    Inside CalcFrameTime3                                                           
    SENSOR FPS VALUE = 30                                                           
                         Inside CalcFrameTime3                                      
     CAPTURE: Opening ISIF.                                                         
                            CAPTURE: Opening H3A.                                   
                                                  CAPTURE: Opening IPIPE.           
                                                                          CAPTURE: O
    pen DONE.                                                                       
              CAPTURE: Create...DONE                                                
                                                                                    
     DM365MM Init Successfulin VIDEO_encodeTskMain                                  
                                                  queue id:131076                   
     DISPLAY: Recevied CMD = 0x0300                                                 
                                    DISPLAY: Create...                              
                                                      IPNC_DM365EVM_5.1.0 (root@ubun
    tu) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1                                
                                                     IPNC AUTO_IRIS = 1             
                                                                         DISPLAY: Cr
    eate...DONE                                                                     
               Initializing...                                                      
                              Initializing...                                       
                                             Initializing...                        
                                                            Initializing...         
                                                                           Initializ
    ing...                                                                          
          queue id:0                                                                
                    queue id:32769                                                  
                                  ...done initializing                              
                                                      ...done initializing          
                                                                          ...done in
    itializing                                                                      
              ...done initializing                                                  
                                  ...done initializing                              
                                                      Play this stream using the URL
    :                                                                               
            rtsp://192.168.1.168:8557/PSIA/Streaming/channels/2?videoCodecType=H.264
                                                                                    
                                                                                    
    (We use port 8304 for optional RTSP-over-HTTP tunneling.)                       
                                                             Play this stream using 
    the URL:                                                                        
                    rtsp://192.168.1.168:8554/PSIA/Streaming/channels/1?videoCodecTy
    pe=MPEG4                                                                        
                                                                                    
            (We use port 8301 for optional RTSP-over-HTTP tunneling.)               
                                                                     Play this strea
    m using the URL:                                                                
                            rtsp://192.168.1.168:8556/PSIA/Streaming/channels/2?vide
    oCodecType=H.264                                                                
                                                                                    
                    (We use port 8303 for optional RTSP-over-HTTP tunneling.)       
                                                                             Play th
    is stream using the URL:                                                        
                                    rtsp://192.168.1.168:8553/PSIA/Streaming/channel
    s/1?videoCodecType=MPEG4                                                        
                                                                                    
                            (We use port 8300 for optional RTSP-over-HTTP tunneling.
    )                                                                               
     Play this stream using the URL:                                                
                                            rtsp://192.168.1.168:8555/PSIA/Streaming
    /channels/0?videoCodecType=MJPEG                                                
                                                                                    
                                    (We use port 8302 for optional RTSP-over-HTTP tu
    nneling.)                                                                       
                                                                                    
     _____                    _____           _         _                           
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_                         
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|                        
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|                          
                  |___|                    |___|                                    
                                                                                    
    Arago Project http://arago-project.org 192.168.1.253 console                    
                                                                                    
    Arago 2009.11 192.168.1.253 console                                             
                                                                                    
    192.168.1.253 login:  CAPTURE: Start...                                         
                                            CAPTURE: Starting IPIPE.                
                                                                     CAPTURE: Starti
    ng ISIF.                                                                        
             CAPTURE: Starting imager.                                              
                                       CAPTURE: Starting H3A.                       
                                                              CAPTURE: Start DONE.  
                                                                                   C
    APTURE: Start...DONE                                                            
                        Done value in VIDEO_captureTskMain: 0                       
                                                             Simple mixer control 'P
    GA',0                                                                           
           Capabilities: cvolume cswitch penum                                      
                                                Capture channels: Front Left - Front
     Right                                                                          
            Limits: Capture 0 - 119                                                 
                                     Front Left: Capture 2 [2%] [1.00dB] [on]       
                                                                               Front
     Right: Capture 2 [2%] [1.00dB] [on]                                            
                                        Simple mixer control 'Mono DAC',0           
                                                                           Capabilit
    ies: pvolume penum                                                              
                        Playback channels: Front Left - Front Right                 
                                                                     Limits: Playbac
    k 0 - 118                                                                       
               Mono:                                                                
                      Front Left: Playback 47 [40%] [-35.50dB]                      
                                                                Front Right: Playbac
    k 47 [40%] [-35.50dB]                                                           
                         sycOnvif Profile 1                                         
                                           SystemInit success                       
                                                             Schedule manager init s
    uccess                                                                          
          Dmva Schedule manager init success                                        
                                            [01/Jan/1970:00:00:13 +0000] boa: server
     version Boa/0.94.13                                                            
                        [01/Jan/1970:00:00:13 +0000] boa: server built Aug 29 2017 a
    t 04:32:57.                                                                     
               [01/Jan/1970:00:00:13 +0000] boa: starting server pid=1221, port 80  
                                                                                    
     Module   | Avg Time/Frame | Frame-rate | Total time | Total Frames |           
                                                                          CAPTURE  |
              39.94 |      25.04 |      35983 |          901 |                      
                                                               DEI    |          24.
    29 |      41.18 |      21881 |          901 |                                   
                                                  RESIZE   |          13.22 |      7
    5.64 |      11899 |          900 |                                              
                                       ENCODE0  |           9.62 |     103.99 |     
      8655 |          900 |                                                         
                            STREAM   |           0.12 |    8181.82 |        110 |   
           900 |                                                                    
                 OSD0     |           0.30 |    3351.35 |        259 |          868 
    |                                                                               
      AEWB     |           0.01 |   79000.00 |         11 |          869 |          
                                                                                    
                                                                                    
                                                                           Module   
    | Avg Time/Frame | Frame-rate | Total time | Total Frames |                     
                                                                CAPTURE  |          
    39.96 |      25.02 |      36005 |          901 |                                
                                                     DEI      |          24.21 |    
      41.31 |      21813 |          901 |                                           
                                          RESIZE   |          13.21 |      75.70 |  
        11902 |          901 |                                                      
                               ENCODE0  |           9.55 |     104.66 |       8609 |
              901 |                                                                 
                    STREAM   |           0.13 |    7767.24 |        116 |          9
    01 |                                                                            
         OSD0     |           0.29 |    3505.84 |        257 |          901 |       
                                                                              AEWB  
       |           0.02 |   64357.14 |         14 |          901 |                  
                                                                                    
                                                                                    
                                                                   Module   | Avg Ti
    me/Frame | Frame-rate | Total time | Total Frames |                             
                                                        CAPTURE  |          39.98 | 
         25.02 |      36018 |          901 |                                        
                                             DEI      |          24.34 |      41.09 
    |      21928 |          901 |                                                   
                                  RESIZE   |          13.18 |      75.87 |      1187
    6 |          901 |                                                              
                       ENCODE0  |           9.63 |     103.83 |       8678 |        
      901 |                                                                         
            STREAM   |           0.10 |   10011.11 |         90 |          901 |    
                                                                                 OSD
    0     |           0.31 |    3206.41 |        281 |          901 |               
                                                                      AEWB     |    
           0.02 |   56312.50 |         16 |          901 |                          
                                                                                    
                                                                                    
                                                           Module   | Avg Time/Frame
     | Frame-rate | Total time | Total Frames |                                     
                                                CAPTURE  |          39.97 |      25.
    02 |      36016 |          901 |                                                
                                     DEI      |          24.21 |      41.30 |      2
    1816 |          901 |                                                           
                          RESIZE   |          13.17 |      75.94 |      11865 |     
         901 |                                                                      
               ENCODE0  |           9.54 |     104.85 |       8593 |          901 | 
                                                                                    
    STREAM   |           0.13 |    7767.24 |        116 |          901 |            
                                                                         OSD0     | 
              0.30 |    3361.94 |        268 |          901 |                       
                                                              AEWB     |           0
    .02 |   64357.14 |         14 |          901 |                                  
                                                                                    
                                                                                    
                                                   Module   | Avg Time/Frame | Frame
    -rate | Total time | Total Frames |                                             
                                        CAPTURE  |          39.97 |      25.02 |    
      36015 |          901 |                                                        
                             DEI      |          24.23 |      41.27 |      21832 |  
            901 |                                                                   
                  RESIZE   |          13.22 |      75.63 |      11914 |          901
     |                                                                              
       ENCODE0  |           9.56 |     104.55 |       8618 |          901 |         
                                                                            STREAM  
     |           0.08 |   12690.14 |         71 |          901 |                    
                                                                 OSD0     |         
      0.28 |    3533.33 |        255 |          901 |                               
                                                      AEWB     |           0.01 |   
    75083.34 |         12 |          901 |                                          
                                                                                    
    
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_                         
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|                        
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|                          
                  |___|                    |___|                                    
                                                                                    
    Arago Project http://arago-project.org 192.168.1.253 console                    
                                                                                    
    Arago 2009.11 192.168.1.253 console                                             
                                                                                    
    192.168.1.253 login: root                                                       
    -sh: can't access tty; job control turned off                                   
    root@192:~#                                                                     
    root@192:~# ps                                                                  
      PID USER       VSZ STAT COMMAND                                               
        1 root      1624 S    init [5]                                              
        2 root         0 SW   [kthreadd]                                            
        3 root         0 SW   [ksoftirqd/0]                                         
        4 root         0 SW   [kworker/0:0]                                         
        5 root         0 SW   [kworker/u:0]                                         
        6 root         0 SW<  [khelper]                                             
        7 root         0 SW   [kworker/u:1]                                         
      180 root         0 SW   [sync_supers]                                         
      182 root         0 SW   [bdi-default]                                         
      184 root         0 SW<  [kblockd]                                             
      198 root         0 SW   [khubd]                                               
      201 root         0 SW   [kseriod]                                             
      212 root         0 SW<  [kmmcd]                                               
      223 root         0 SW<  [cfg80211]                                            
      313 root         0 SW<  [rpciod]                                              
      314 root         0 SW   [kworker/0:1]                                         
      323 root         0 SW   [khungtaskd]                                          
      324 root         0 SW   [kswapd0]                                             
      383 root         0 SW   [fsnotify_mark]                                       
      385 root         0 SW<  [aio]                                                 
      399 root         0 SW<  [nfsiod]                                              
      406 root         0 SW<  [crypto]                                              
      952 root         0 SW   [mtdblock0]                                           
      957 root         0 SW   [mtdblock1]                                           
      962 root         0 SW   [mtdblock2]                                           
      967 root         0 SW   [mtdblock3]                                           
      972 root         0 SW   [mtdblock4]                                           
      979 root         0 SW<  [spi_davinci.0]                                       
     1028 root         0 SW   [kworker/u:2]                                         
     1033 root         0 SW<  [usbhid_resumer]                                      
     1054 root         0 SW   [mmcqd/0]                                             
     1059 root         0 SW   [jbd2/mmcblk0p2-]                                     
     1060 root         0 SW<  [ext4-dio-unwrit]                                     
     1068 root         0 SW   [flush-179:0]                                         
     1069 root         0 SWN  [jffs2_gcd_mtd4]                                      
     1070 root      101m S    ./system_server                                       
     1100 root      209m S    ./av_server.out DM368 D1 720 480 H264 1500000 VBR AUT 
     1106 root      2976 S    /usr/sbin/inetd                                       
     1149 root         0 SW<  [iscsi_eh]                                            
     1211 root     24380 S    ./wis-streamer -s -h                                  
     1212 root     24380 S    ./wis-streamer -s -h                                  
     1213 root     24380 S    ./wis-streamer -s -h                                  
     1214 root     24380 S    ./wis-streamer -s -h                                  
     1215 root     24380 S    ./wis-streamer -s -h                                  
     1221 root     42404 S    ./boa -c /etc                                         
     1224 root      1764 S    avahi-autoipd: [eth0] bound 169.254.5.55              
     1225 root      1764 S    avahi-autoipd: [eth0] callout dispatcher              
     1229 root      2704 S    avahi-daemon: running [192.local]                     
     1232 root      1940 S    /usr/sbin/avahi-dnsconfd -D                           
     1243 root      2900 S    /usr/sbin/telnetd                                     
     1248 root      2964 S    /sbin/syslogd -n -C64 -m 20                           
     1250 root      2900 S    /sbin/klogd -n                                        
     1253 root      3080 S    -sh                                                   
     1274 root         0 SW   [flush-1:0]                                           
     1349 root      3080 R    ps                                                    
    root@192:~#
    

    Here is the boot logs with boot proc:

    DM36x initialization passed!                                                    
    TI UBL Version: 1.50                                                            
    Booting Catalog Boot Loader                                                     
    BootMode = SD/MMC                                                               
    Starting SDMMC Copy...                                                          
       DONE                                                                         
    Jumping to entry point at 0x81080000.                                           
                                                                                    
                                                                                    
    U-Boot 2010.12-rc2 (Mar 24 2011 - 16:49:26)                                     
                                                                                    
    Cores: ARM 432 MHz                                                              
    DDR:   340 MHz                                                                  
    I2C:   ready                                                                    
    DRAM:  128 MiB                                                                  
    NAND:  2048 MiB                                                                 
    MMC:   davinci: 0, davinci: 1                                                   
    Bad block table found at page 524224, version 0x18                              
    Bad block table found at page 1048512, version 0x01                             
    Bad block table found at page 524160, version 0x18                              
    Bad block table found at page 1048448, version 0x01                             
    nand_read_bbt: Bad block at 0x000003f80000                                      
    nand_read_bbt: Bad block at 0x00000a9a0000                                      
    nand_read_bbt: Bad block at 0x00000c100000                                      
    nand_read_bbt: Bad block at 0x000023f20000                                      
    nand_read_bbt: Bad block at 0x000024460000                                      
    nand_read_bbt: Bad block at 0x000024560000                                      
    nand_read_bbt: Bad block at 0x00002fd40000                                      
    nand_read_bbt: Bad block at 0x000030180000                                      
    nand_read_bbt: Bad block at 0x0000304a0000                                      
    nand_read_bbt: Bad block at 0x000031f40000                                      
    nand_read_bbt: Bad block at 0x0000322e0000                                      
    nand_read_bbt: Bad block at 0x000032300000                                      
    nand_read_bbt: Bad block at 0x000032360000                                      
    nand_read_bbt: Bad block at 0x000032660000                                      
    nand_read_bbt: Bad block at 0x0000326e0000                                      
    nand_read_bbt: Bad block at 0x000032740000                                      
    nand_read_bbt: Bad block at 0x000032780000                                      
    nand_read_bbt: Bad block at 0x0000327c0000                                      
    nand_read_bbt: Bad block at 0x0000328a0000                                      
    nand_read_bbt: Bad block at 0x0000328e0000                                      
    nand_read_bbt: Bad block at 0x000032920000                                      
    nand_read_bbt: Bad block at 0x000032d80000                                      
    nand_read_bbt: Bad block at 0x000032e00000                                      
    nand_read_bbt: Bad block at 0x000032e80000                                      
    nand_read_bbt: Bad block at 0x000033280000                                      
    nand_read_bbt: Bad block at 0x0000355a0000                                      
    nand_read_bbt: Bad block at 0x00003bf00000                                      
    nand_read_bbt: Bad block at 0x00003d660000                                      
    nand_read_bbt: Bad block at 0x000040400000                                      
    nand_read_bbt: Bad block at 0x000045aa0000                                      
    nand_read_bbt: Bad block at 0x00004cda0000                                      
    nand_read_bbt: Bad block at 0x00004ffe0000                                      
    nand_read_bbt: Bad block at 0x000051e00000                                      
    nand_read_bbt: Bad block at 0x00005bd60000                                      
    nand_read_bbt: Bad block at 0x000064640000                                      
    nand_read_bbt: Bad block at 0x0000668a0000                                      
    nand_read_bbt: Bad block at 0x000066ba0000                                      
    nand_read_bbt: Bad block at 0x000070e60000                                      
    nand_read_bbt: Bad block at 0x0000738c0000                                      
    nand_read_bbt: Bad block at 0x000074a60000                                      
    nand_read_bbt: Bad block at 0x00007dd00000                                      
    Net:   Ethernet PHY: GENERIC @ 0x00                                             
    DaVinci-EMAC                                                                    
    Hit any key to stop autoboot:  0                                                
    reading boot.scr                                                                
                                                                                    
    ** Unable to read "boot.scr" from mmc 0:1 **                                    
    reading uImage                                                                  
                                                                                    
    5150208 bytes read                                                              
    ## Booting kernel from Legacy Image at 80700000 ...                             
       Image Name:   Linux-2.6.37_IPNC_DM365EVM_5.1.0                               
       Created:      2017-04-13   4:08:12 UTC                                       
       Image Type:   ARM Linux Kernel Image (uncompressed)                          
       Data Size:    5150144 Bytes = 4.9 MiB                                        
       Load Address: 80008000                                                       
       Entry Point:  80008000                                                       
       Verifying Checksum ... OK                                                    
       Loading Kernel Image ... OK                                                  
    OK                                                                              
                                                                                    
    Starting kernel ...                                                             
                                                                                    
    Linux version 2.6.37_IPNC_DM365EVM_5.1.0 (root@ubuntu) (gcc version 4.3.3 (Sourc
    ery G++ Lite 2009q1-203) ) #2 PREEMPT Thu Apr 13 09:38:10 IST 2017              
    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177                   
    CPU: VIVT data cache, VIVT instruction cache                                    
    Machine: DaVinci DM36x EVM                                                      
    Memory policy: ECC disabled, Data cache writeback                               
    DaVinci dm36x_rev1.2 variant 0x8                                                
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 12192      
    Kernel command line: mem=48M console=ttyS0,115200n8 noinitrd root=/dev/mmcblk0p2
     rootwait ip=192.168.1.253:192.168.1.184:192.168.1.1:255.255.255.0:::off cmemk.p
    hys_start=0x83000000 cmemk.phys_end=0x88000000 cmemk.phys_start_1=0x00001000 cme
    mk.phys_end_1=0x00008000 cmemk.pools_1=1x28672 cmemk.allowOverlap=1 cmemk.useHea
    pIfPoolUnavailable=1                                                            
    PID hash table entries: 256 (order: -2, 1024 bytes)                             
    Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)                   
    Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)                    
    Memory: 48MB = 48MB total                                                       
    Memory: 43440k/43440k available, 5712k reserved, 0K highmem                     
    Virtual kernel memory layout:                                                   
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)                               
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)                               
        DMA     : 0xff000000 - 0xffe00000   (  14 MB)                               
        vmalloc : 0xc3800000 - 0xfea00000   ( 946 MB)                               
        lowmem  : 0xc0000000 - 0xc3000000   (  48 MB)                               
        modules : 0xbf000000 - 0xc0000000   (  16 MB)                               
          .init : 0xc0008000 - 0xc002d000   ( 148 kB)                               
          .text : 0xc002d000 - 0xc04c0000   (4684 kB)                               
          .data : 0xc04c0000 - 0xc04f15c0   ( 198 kB)                               
    SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1         
    Preemptable hierarchical RCU implementation.                                    
            RCU-based detection of stalled CPUs is disabled.                        
            Verbose stalled-CPUs detection is disabled.                             
    NR_IRQS:245                                                                     
    Console: colour dummy device 80x30                                              
    Calibrating delay loop... 215.44 BogoMIPS (lpj=1077248)                         
    pid_max: default: 32768 minimum: 301                                            
    Mount-cache hash table entries: 512                                             
    CPU: Testing write buffer coherency: ok                                         
    DaVinci: 8 gpio irqs                                                            
    NET: Registered protocol family 16                                              
    EVM: HD imager video input                                                      
    bio: create slab <bio-0> at 0                                                   
    SCSI subsystem initialized                                                      
    usbcore: registered new interface driver usbfs                                  
    usbcore: registered new interface driver hub                                    
    usbcore: registered new device driver usb                                       
    vpss vpss: dm365_vpss vpss probed                                               
    vpss vpss: dm365_vpss vpss probe success                                        
    Advanced Linux Sound Architecture Driver Version 1.0.23.                        
    cfg80211: Calling CRDA to update world regulatory domain                        
    Switching to clocksource timer0_1                                               
    NET: Registered protocol family 2                                               
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)                  
    TCP established hash table entries: 2048 (order: 2, 16384 bytes)                
    TCP bind hash table entries: 2048 (order: 1, 8192 bytes)                        
    TCP: Hash tables configured (established 2048 bind 2048)                        
    TCP reno registered                                                             
    UDP hash table entries: 256 (order: 0, 4096 bytes)                              
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)                         
    NET: Registered protocol family 1                                               
    RPC: Registered udp transport module.                                           
    RPC: Registered tcp transport module.                                           
    RPC: Registered tcp NFSv4.1 backchannel transport module.                       
    Installing knfsd (copyright (C) 1996 okir@monad.swb.de).                        
    JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.                            
    msgmni has been set to 84                                                       
    io scheduler noop registered (default)                                          
    CSL: Module install successful, device major num = 254                          
    CSL: Module version 0.10.00, built on Apr 13 2017 09:21:36                      
    I2C: Module install successful, device major num = 253                          
    DMA: Module install successful, device major num = 252                          
    EVM: switch to tvp5146 SD video input                                           
    DRV: Sensor interface selected on DM365 EVM                                     
    DRV: Module install successful                                                  
    DRV: Module built on Apr 13 2017 09:21:37                                       
    DRV: EDMACC.QUEPRI  = 00002777                                                  
    DRV: SYSTEM.MSTPRI0 = 00440011                                                  
    DRV: SYSTEM.MSTPRI1 = 00000444                                                  
    DRV: ISP.BCR        = 00000002                                                  
    DRV: SYSTEM.MISC    = 00000399                                                  
    EDMAK module: built on Apr 13 2017 at 09:21:19                                  
      Reference Linux version 2.6.37                                                
      File /home/spectross/Projects/IPNC_RDK/Source/dvsdk_ipnctools/linuxutils_2_26_
    02_05/packages/ti/sdo/linuxutils/edma/src/module/edmak.c                        
    IRQK module: built on Apr 13 2017 at 09:21:14                                   
      Reference Linux version 2.6.37                                                
      File /home/spectross/Projects/IPNC_RDK/Source/dvsdk_ipnctools/linuxutils_2_26_
    02_05/packages/ti/sdo/linuxutils/irq/src/module/irqk.c                          
    irqk initialized                                                                
    CMEMK module: built on Apr 13 2017 at 09:21:17                                  
      Reference Linux version 2.6.37                                                
      File /home/spectross/Projects/IPNC_RDK/Source/dvsdk_ipnctools/linuxutils_2_26_
    02_05/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c                        
    allocated heap buffer 0xc4000000 of size 0x5000000                              
    heap fallback enabled - will try heap if pool buffer is not available           
    CMEM Range Overlaps Kernel Physical - allowing overlap                          
    CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83000000)             
    cmemk initialized                                                               
    Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled                        
    serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A                    
    console [ttyS0] enabled                                                         
    serial8250 serial8250.0: unable to register port at index 1 (IO0 MEM1d06000 IRQ4
    1): -22                                                                         
    brd: module loaded                                                              
    at24 1-0050: 32768 byte 24c256 EEPROM (writable)                                
    Read MAC addr from EEPROM: 00:0e:99:03:50:a1                                    
    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron )                     
    2 NAND chips detected                                                           
    Creating 5 MTD partitions on "davinci_nand.0":                                  
    0x000000000000-0x000000f00000 : "bootloader"                                    
    0x000000f00000-0x000001000000 : "params"                                        
    0x000001000000-0x000001400000 : "kernel"                                        
    0x000001400000-0x000021400000 : "filesystem1"                                   
    0x000021400000-0x000080000000 : "filesystem2"                                   
    davinci_nand davinci_nand.0: controller rev. 2.3                                
    spi_davinci spi_davinci.0: Controller at 0xfec66000                             
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.4                          
    davinci_mdio davinci_mdio.0: detected phy mask fffffffc                         
    davinci_mdio.0: probed                                                          
    davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown                
    davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown                
    console [netcon0] enabled                                                       
    netconsole: network logging started                                             
    mice: PS/2 mouse device common for all mice                                     
    input: TSC2004 Touchscreen as /devices/virtual/input/input0                     
    dm365evm_keys: probe of 1-0025 failed with error -16                            
    i2c /dev entries driver                                                         
    Linux media interface: v0.10                                                    
    lirc_dev: IR Remote Control driver registered, major 246                        
    IR NEC protocol handler initialized                                             
    IR RC5(x) protocol handler initialized                                          
    IR RC6 protocol handler initialized                                             
    IR JVC protocol handler initialized                                             
    IR Sony protocol handler initialized                                            
    IR RC5 (streamzap) protocol handler initialized                                 
    IR LIRC bridge handler initialized                                              
    Linux video capture interface: v2.00                                            
    vpbe-osd vpbe-osd: OSD sub device probe success                                 
    vpbe-venc vpbe-venc: VENC sub device probe success                              
    vpbe-v4l2 vpbe-v4l2: vpbe v4l2 device registered                                
    ths7303 1-002c: chip found @ 0x58 (DaVinci I2C adapter)                         
    write byte data failed                                                          
    vpbe-v4l2 vpbe-v4l2: v4l2 sub device ths7303 registered                         
    Setting default output to Composite                                             
    Setting default mode to ntsc                                                    
    vpbe-v4l2 vpbe-v4l2: Trying to register VPBE display device.                    
    vpbe-v4l2 vpbe-v4l2: layer=c29b9400,layer->video_dev=c29b94f4                   
    vpbe-v4l2 vpbe-v4l2: Trying to register VPBE display device.                    
    vpbe-v4l2 vpbe-v4l2: layer=c29b9600,layer->video_dev=c29b96f4                   
    watchdog watchdog: heartbeat 60 sec                                             
    davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode                                
    usbcore: registered new interface driver usbhid                                 
    usbhid: USB HID core driver                                                     
    asoc: tlv320aic3x-hifi <-> davinci-mcbsp mapping ok                             
    ALSA device list:                                                               
      #0: DaVinci DM365 EVM                                                         
    TCP cubic registered                                                            
    NET: Registered protocol family 17                                              
    lib80211: common routines for IEEE802.11 drivers                                
    mmc0: new SDHC card at address e624                                             
    mmcblk0: mmc0:e624 SD08G 7.40 GiB                                               
     mmcblk0: p1 p2                                                                 
    net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, id=221613)  
    IP-Config: Complete:                                                            
         device=eth0, addr=192.168.1.253, mask=255.255.255.0, gw=192.168.1.1,       
         host=192.168.1.253, domain=, nis-domain=(none),                            
         bootserver=192.168.1.184, rootserver=192.168.1.184, rootpath=              
    EXT3-fs (mmcblk0p2): error: couldn't mount because of unsupported optional featu
    res (240)                                                                       
    EXT2-fs (mmcblk0p2): error: couldn't mount because of unsupported optional featu
    res (240)                                                                       
    EXT4-fs (mmcblk0p2): warning: mounting fs with errors, running e2fsck is recomme
    nded                                                                            
    EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)    
    VFS: Mounted root (ext4 filesystem) on device 179:2.                            
    Freeing init memory: 148K                                                       
    EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy:726: group 3330786 bloc
    ks in bitmap, 30787 in gd                                                       
    JBD: Spotted dirty metadata buffer (dev = mmcblk0p2, blocknr = 0). There's a ris
    k of filesystem corruption in case of system crash.                             
    INIT: version 2.86 booting                                                      
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x03040200: 0x0101 in
    stead                                                                           
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x03040400: 0x0101 in
    stead                                                                           
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x03040600: 0x0101 in
    stead                                                                           
    Empty flash at 0x2fba41b4 ends at 0x2fba4800                                    
    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                                                       
    queue id:32769                                                                  
    Creat queue id:65538                                                            
    queue id:65538                                                                  
    Creat queue id:98307                                                            
    queue id:98307                                                                  
    IPNC_DM365EVM_5.1.0 (root@ubuntu) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1  
    queue id:65538                                                                  
    mount: mounting /dev/root on / failed: No such file or directory                
     failed (1: ).                                                                  
    Newly-erased block contained word 0xbfbfbfbf at offset 0x0304c7e4               
    net_search_gateway:eth0, 1A8C0, 0, 1                                            
                                                                                    
    CPU is DM368                                                                    
                                                                                    
    *****************************************************************               
                                                                                    
      IPNC BUILD VERSION: DM368 IPNC RDK V5.10.00.04                                
    Check_device_version : DEVICE VER = 1 !!                                        
                                                                                    
    *****************************************************************               
                                                                                    
    Error: SemWait: Invalid Semaphore handler                                       
    Error: SemRelease: Invalid Semaphore handler                                    
    ./av_server.out DM368 D1 720 480 H264 1500000 VBR AUTO RTSP MENUOFF &           
    Newly-erased block contained word 0xbfbfbfbf at offset 0x0304c9b0               
    JFFS2: marking eraseblock at 0304c9b0                                           
     as bad                                                                         
    Starting internet superserver: inetdApproDrvInit: 7                             
    Creat queue id:131076                                                           
    queue id:131076                                                                 
    YUV_MOD_INTERLACED is set                                                       
                                                                                    
     DM365MM Init Successful                                                        
    AVSERVER UI: Initializing.                                                      
                                                                                    
     CLK Hz,                                                                        
     ARM   Hz =  432000000                                                          
     DDR   Hz =  340000000                                                          
     VPSS  Hz =  340000000                                                          
     IMCOP Hz =  340000000                                                          
                                                                                    
    .                                                                               
     [OSA_FILE ] Reading file [/mnt/nand/IMG_Paramset.bin] ... ERROR                
    IMAGE TUNE: Paramset File is not available..... Setting DEFAULT parameter       
    insmod: can't read '/opt/ipnc/modules/deflate.ko': No such file or directory    
    insmod: can't read '/opt/ipnc/modules/des_generic.ko': No such file or directory
    insmod: can't read '/opt/ipnc/modules/md5.ko': No such file or directory        
    insmod: can't read '/opt/ipnc/modules/sha1_generic.ko': No such file or director
    y                                                                               
    insmod: can't read '/opt/ipnc/modules/libcrc32c.ko': No such file or directory  
                                                                                    
     DM365MM Init SuccessfulSYSTEM.MSTPRI0 value changed to 00440011                
                                                                                    
    CONFIGURING AVSERVER FOR DM368 .....                                            
    queue id:65538                                                                  
    Before File Save enable in AV ServerUI                                          
     AVSERVER UI: Starting Streaming Server...                                      
    mmc_core: exports duplicate symbol mmc_card_can_sleep (owned by kernel)         
    insmod: error inserting '/opt/ipnc/modules/mmc_core.ko': -1 Invalid module forma
    t                                                                               
    mmc_block: exports duplicate symbol mmc_cleanup_queue (owned by kernel)         
    insmod: error inserting '/opt/ipnc/modules/mmc_block.ko': -1 Invalid module form
    at                                                                              
    davinci_mmc: module is already loaded                                           
    insmod: error inserting '/opt/ipnc/modules/davinci_mmc.ko': -1 Invalid parameter
    s                                                                               
    Loading iSCSI transport class v2.0-870.                                         
    iscsi: registered transport (tcp)                                               
    musb-hdrc: version 6.0, peripheral, debug=0                                     
    musb-hdrc musb-hdrc: dma type: dma-cppi3                                        
    musb-hdrc musb-hdrc: USB Peripheral mode controller at fec64000 using DMA, IRQ 1
    2                                                                               
    loop: module loaded                                                             
    tun: Universal TUN/TAP device driver, 1.6                                       
    tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>                          
    insmod: can't read '/opt/ipnc/modules/netconsole.ko': No such file or directory 
    PPP generic driver version 2.4.2                                                
    PPP Deflate Compression module registered                                       
    ApproDrvInit: 10                                                                
    ApproDrvInit: 9                                                                 
    queue id:131076                                                                 
    ApproDrvInit: 8                                                                 
    queue id:131076                                                                 
    ApproDrvInit: 6                                                                 
    queue id:131076                                                                 
    ApproDrvInit: 2                                                                 
    queue id:131076                                                                 
    queue id:131076                                                                 
    mkdosfs 2.11 (12 Mar 2005)                                                      
    unable to get drive geometry, using default 255/63/dev/ram0 has 255 heads and 63
     sectors per track,                                                             
    logical sector size is 512,                                                     
    using 0xf8 media descriptor, with 65536 sectors;                                
    file system has 2 16-bit FATs and 4 sectors per cluster.                        
    FAT size is 64 sectors, and provides 16343 clusters.                            
    Root directory contains 512 slots.                                              
    Volume ID is 0000000d, no volume label.                                         
    queue id:0                                                                      
     AVSERVER UI: Starting Streaming Server...DONE                                  
     CAPTURE: Recevied CMD = 0x0300                                                 
     CAPTURE: Create...                                                             
     CAPTURE: Opening capture on imager TVP514X.                                    
    Inside DRV_captureOpen                                                          
     CAPTURE: Opening imager TVP514X.                                               
    Inside DRV_imgsOpen                                                             
    In DRV_imgGetWidthHeight, mode is: 1 gYuvModeWidth : 720 gYuvModeHeight : 480   
    In DRV_imgGetWidthHeight, width is: 736, height is: 480                         
    Inside DRV_imgsOpen after DRV_imgGetWidthHeight, width is: 736, height is: 480  
    Inside DRV_imgsOpen after H & V PAD, DRV_imgGetWidthHeight, width is: 736, heigh
    t is: 480                                                                       
    Inside CalcFrameTimedataW is: 736, dataH is: 480                                
    In DRV_imgsCalcFrameTime, dataW is: 736, dataH is: 480                          
    After IMGS_W_MAX/dataW & IMGS_H_MAX/dataH                                       
    Before col_start in DRV_imgsCalcFrameTime                                       
    After col_start in DRV_imgsCalcFrameTime                                        
    In between pFrame in DRV_imgsCalcFrameTime                                      
    Inside CalcFrameTime3                                                           
    SENSOR FPS VALUE = 30                                                           
    Inside CalcFrameTime3                                                           
     CAPTURE: Opening ISIF.                                                         
     CAPTURE: Opening H3A.                                                          
     CAPTURE: Opening IPIPE.                                                        
     CAPTURE: Open DONE.                                                            
     CAPTURE: Create...DONE                                                         
                                                                                    
     DM365MM Init Successfulin VIDEO_encodeTskMain                                  
    queue id:131076                                                                 
     DISPLAY: Recevied CMD = 0x0300                                                 
     DISPLAY: Create...                                                             
    IPNC_DM365EVM_5.1.0 (root@ubuntu) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1  
    IPNC AUTO_IRIS = 1                                                              
     DISPLAY: Create...DONE                                                         
    Initializing...                                                                 
    Initializing...                                                                 
    Initializing...                                                                 
    Initializing...                                                                 
    Initializing...                                                                 
    ...done initializing                                                            
    ...done initializing                                                            
    ...done initializing                                                            
    ...done initializing                                                            
    ...done initializing                                                            
    Play this stream using the URL:                                                 
            Play this stream using the URL:                                         
            rtsp://192.168.1.168:8554/PSIA/Streaming/channels/1?videoCodecType=MPEG4
                                                                                    
    (We use port Play this stream using the URL:                                    
            rtsp://192.168.1.168:8555/PSIA/Streaming/channels/0?videoCodecType=MJPEG
                                                                                    
    (We use port 8302 for optional RTSP-over-HTTP tunneling.)                       
    Play this stream using the URL:                                                 
            rtsp://192.168.1.168:8556/PSIA/Streaming/channels/2?videoCodecType=H.264
                                                                                    
    (We use port 8303 for optional RTSP-over-HTTP tunneling.)                       
    Play this stream using the URL:                                                 
            rtsp://192.168.1.168:8557/PSIA/Streaming/channels/2?videoCodecType=H.264
                                                                                    
    (We use port 8304 for optional RTSP-over-HTTP tunneling.)                       
    8301 for optional RTSP-over-HTTP tunneling.)                                    
    rtsp://192.168.1.168:8553/PSIA/Streaming/channels/1?videoCodecType=MPEG4        
                                                                                    
    (We use port 8300 for optional RTSP-over-HTTP tunneling.)                       
     CAPTURE: Start...                                                              
     CAPTURE: Starting IPIPE.                                                       
     CAPTURE: Starting ISIF.                                                        
     CAPTURE: Starting imager.                                                      
     CAPTURE: Starting H3A.                                                         
     CAPTURE: Start DONE.                                                           
     CAPTURE: Start...DONE                                                          
    Done value in VIDEO_captureTskMain: 0                                           
    Simple mixer control 'PGA',0                                                    
      Capabilities: cvolume cswitch penum                                           
      Capture channels: Front Left - Front Right                                    
      Limits: Capture 0 - 119                                                       
      Front Left: Capture 2 [2%] [1.00dB] [on]                                      
      Front Right: Capture 2 [2%] [1.00dB] [on]                                     
    Simple mixer control 'Mono DAC',0                                               
      Capabilities: pvolume penum                                                   
      Playback channels: Front Left - Front Right                                   
      Limits: Playback 0 - 118                                                      
      Mono:                                                                         
      Front Left: Playback 47 [40%] [-35.50dB]                                      
      Front Right: Playback 47 [40%] [-35.50dB]                                     
    sycOnvif Profile 1                                                              
    SystemInit success                                                              
    Schedule manager init success                                                   
    Dmva Schedule manager init success                                              
    umount: /mnt/mmc: not mounted                                                   
    mount: mounting /dev/mmcblk0 on /mnt/mmc failed: Device or resource busy        
    dns=192.168.1.1                                                                 
    net_search_gateway:eth0, 1A8C0, 0, 1                                            
    net_search_gateway:eth0, 0, FE01A8C0, 3                                         
    dns=192.168.1.1                                                                 
    ERROR: Module g_file_storage does not exist in /proc/modules                    
    g_file_storage gadget: No serial-number string provided!                        
    g_file_storage gadget: File-backed Storage Gadget, version: 1 September 2010    
    g_file_storage gadget: Number of LUNs=1                                         
    g_file_storage gadget-lun0: ro=0, nofua=0, file: /dev/ram0                      
    ApproDrvInit: 3                                                                 
    queue id:131076                                                                 
    queue id:0                                                                      
    queue id:32769                                                                  
    [01/Jan/1970:00:00:19 +0000] boa: server version Boa/0.94.13                    
    [01/Jan/1970:00:00:19 +0000] boa: server built Aug 29 2017 at 04:32:57.         
    [01/Jan/1970:00:00:19 +0000] boa: starting server pid=1267, port 80             
    queue id:0                                                                      
    <UDN>uuid:Upnp-TVEmulator-de:ad:be:af:00:00</UDN>                               
                                                                                    
    Upnp port is 0                                                                  
    UPnP Initialized OK ip=192.168.1.168, port=49152                                
    desc_doc_url = http://192.168.1.168/tvdevicedesc.xml                            
    error code = 0                                                                  
    INIT: Entering runlevel: 5                                                      
    Starting telnet daemondevice advertisement succeed.                             
    .                                                                               
    Starting syslogd/klogd: done                                                    
    getty: ioctl() TIOCSPGRP call failed: Inappropriate ioctl for device            
                                                                                    
     _____                    _____           _         _                           
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_                         
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|                        
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|                          
                  |___|                    |___|                                    
                                                                                    
    Arago Project http://arago-project.org 192.168.1.253 console                    
                                                                                    
    Arago 2009.11 192.168.1.253 console                                             
                                                                                    
    192.168.1.253 login: ApproDrvInit: 9                                            
                                        ApproDrvInit: 8                             
                                                       ApproDrvInit: 10             
                                                                       queue id:1310
    76                                                                              
      ApproDrvInit: 2                                                               
                     queue id:131076                                                
                                    queue id:131076                                 
                                                   ApproDrvInit: 6                  
                                                                  Initializing...   
                                                                                 Ini
    tializing...                                                                    
                queue id:131076                                                     
                               Initializing...                                      
                                              queue id:131076                       
                                                             Failed to create RTSP s
    erver: bind() error (port number: 8557): Address already in use                 
                                                                   Initializing...  
                                                                                  Fa
    iled to create RTSP server: bind() error (port number: 8556): Address already in
     use                                                                            
        Initializing...                                                             
                       Failed to create RTSP server: bind() error (port number: 8555
    ): Address already in use                                                       
                             Failed to create RTSP server: bind() error (port number
    : 8553): Address already in use                                                 
                                   Failed to create RTSP server: bind() error (port 
    number: 8554): Address already in use                                           
                                                                                    
     Module   | Avg Time/Frame | Frame-rate | Total time | Total Frames |           
                                                                          CAPTURE  |
              40.02 |      24.99 |      36054 |          901 |                      
                                                               DEI    |          24.
    21 |      41.30 |      21814 |          901 |                                   
                                                  RESIZE   |          13.22 |      7
    5.67 |      11894 |          900 |                                              
                                       ENCODE0  |           9.71 |     102.99 |     
      8739 |          900 |                                                         
                            STREAM   |           0.11 |    8737.86 |        103 |   
           900 |                                                                    
                 OSD0     |           0.32 |    3092.53 |        281 |          869 
    |                                                                               
      AEWB     |           0.01 |   66846.16 |         13 |          869 |          
                                                                                    
                                                                                    
                                                                           Module   
    | Avg Time/Frame | Frame-rate | Total time | Total Frames |                     
                                                                CAPTURE  |          
    39.96 |      25.03 |      36000 |          901 |                                
                                                     DEI      |          24.31 |    
      41.13 |      21904 |          901 |                                           
                                          RESIZE   |          13.18 |      75.87 |  
        11876 |          901 |                                                      
                               ENCODE0  |           9.65 |     103.66 |       8692 |
              901 |                                                                 
                    STREAM   |           0.10 |   10123.60 |         89 |          9
    01 |                                                                            
         OSD0     |           0.33 |    3003.33 |        300 |          901 |       
                                                                                    
                                                                                    
     _____                    _____           _         _                           
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_                         
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|                        
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|                          
                  |___|                    |___|                                    
                                                                                    
    Arago Project http://arago-project.org 192.168.1.253 console                    
                                                                                    
    Arago 2009.11 192.168.1.253 console                                             
                                                                                    
    192.168.1.253 login: root                                                       
                              Module   | Avg Time/Frame | Frame-rate | Total time | 
    Total Frames |                                                                  
                   CAPTURE  |          39.96 |      25.02 |      36004 |          90
    1 |                                                                             
        DEI           |          24.18 |      41.35 |      21788 |          901 |   
                                                                                  RE
    SIZE   |          13.18 |      75.90 |      11871 |          901 |              
                                                                       ENCODE0  |   
            9.53 |     104.94 |       8586 |          901 |                         
                                                            STREAM   |           0.1
    1 |    8833.33 |        102 |          901 |                                    
                                                 OSD0     |           0.33 |    3013
    .38 |        299 |          901 |                                               
                                      AEWB     |           0.01 |   75083.34 |      
       24 |         1802 |                                                          
                                                                                    
                                                                                    
    -sh: can't access tty; job control turned off                                   
    root@192:~#                                                                     
    root@192:~#                                                                     
    root@192:~# ps                                                                  
      PID USER       VSZ STAT COMMAND                                               
        1 root      1624 S    init [5]                                              
        2 root         0 SW   [kthreadd]                                            
        3 root         0 SW   [ksoftirqd/0]                                         
        4 root         0 SW   [kworker/0:0]                                         
        5 root         0 SW   [kworker/u:0]                                         
        6 root         0 SW<  [khelper]                                             
        7 root         0 SW   [kworker/u:1]                                         
      180 root         0 SW   [sync_supers]                                         
      182 root         0 SW   [bdi-default]                                         
      184 root         0 SW<  [kblockd]                                             
      198 root         0 SW   [khubd]                                               
      201 root         0 SW   [kseriod]                                             
      212 root         0 SW<  [kmmcd]                                               
      223 root         0 SW<  [cfg80211]                                            
      313 root         0 SW<  [rpciod]                                              
      314 root         0 SW   [kworker/0:1]                                         
      323 root         0 SW   [khungtaskd]                                          
      324 root         0 SW   [kswapd0]                                             
      383 root         0 SW   [fsnotify_mark]                                       
      385 root         0 SW<  [aio]                                                 
      399 root         0 SW<  [nfsiod]                                              
      406 root         0 SW<  [crypto]                                              
      952 root         0 SW   [mtdblock0]                                           
      957 root         0 SW   [mtdblock1]                                           
      962 root         0 SW   [mtdblock2]                                           
      967 root         0 SW   [mtdblock3]                                           
      972 root         0 SW   [mtdblock4]                                           
      979 root         0 SW<  [spi_davinci.0]                                       
     1028 root         0 SW   [kworker/u:2]                                         
     1033 root         0 SW<  [usbhid_resumer]                                      
     1054 root         0 SW   [mmcqd/0]                                             
     1059 root         0 SW   [jbd2/mmcblk0p2-]                                     
     1060 root         0 SW<  [ext4-dio-unwrit]                                     
     1068 root         0 SW   [flush-179:0]                                         
     1069 root         0 SWN  [jffs2_gcd_mtd4]                                      
     1070 root      101m S    ./system_server                                       
     1100 root      209m S    ./av_server.out DM368 D1 720 480 H264 1500000 VBR AUT 
     1106 root      2976 S    /usr/sbin/inetd                                       
     1149 root         0 SW<  [iscsi_eh]                                            
     1211 root     24380 S    ./wis-streamer -s -h                                  
     1212 root     24380 S    ./wis-streamer -s -h                                  
     1213 root     24380 S    ./wis-streamer -s -h                                  
     1214 root     24380 S    ./wis-streamer -s -h                                  
     1215 root     24380 S    ./wis-streamer -s -h                                  
     1244 root         0 SW   [flush-1:0]                                           
     1259 root         0 SW   [flush-mtd-unmap]                                     
     1264 root         0 SW   [file-storage-ga]                                     
     1267 root     43588 S    ./boa -c /etc                                         
     1270 root      1764 S    avahi-autoipd: [eth0] bound 169.254.5.55              
     1271 root      1764 S    avahi-autoipd: [eth0] callout dispatcher              
     1277 root      2704 S    avahi-daemon: running [192.local]                     
     1279 root     67624 S    ./upnp-scanip                                         
     1286 root      1940 S    /usr/sbin/avahi-dnsconfd -D                           
     1302 root      2900 S    /usr/sbin/telnetd                                     
     1307 root      2964 S    /sbin/syslogd -n -C64 -m 20                           
     1309 root      2900 S    /sbin/klogd -n                                        
     1311 root      3080 S    -sh                                                   
     1422 root      3080 R    ps                                                    
    root@192:~#                                                                     
    root@192:~# 
     Module   | Avg Time/Frame | Frame-rate | Total time | Total Frames |           
     CAPTURE  |          39.96 |      25.02 |      36005 |          901 |           
     DEI      |          24.21 |      41.30 |      21815 |          901 |           
     RESIZE   |          13.21 |      75.70 |      11903 |          901 |           
     ENCODE0  |           9.59 |     104.26 |       8642 |          901 |           
     STREAM   |           0.10 |    9793.48 |         92 |          901 |           
     OSD0     |           0.30 |    3387.22 |        266 |          901 |           
     AEWB     |           0.01 |   81909.09 |         11 |          901 |           
                                                                                    
                                                                                    
     Module   | Avg Time/Frame | Frame-rate | Total time | Total Frames |           
     CAPTURE  |          39.96 |      25.03 |      36003 |          901 |           
     DEI      |          24.19 |      41.34 |      21796 |          901 |           
     RESIZE   |          13.19 |      75.82 |      11883 |          901 |           
     ENCODE0  |           9.54 |     104.78 |       8599 |          901 |           
     STREAM   |           0.12 |    8420.56 |        107 |          901 |           
     OSD0     |           0.29 |    3505.84 |        257 |          901 |           
     AEWB     |           0.01 |   69307.70 |         13 |          901 |           
                                                                                    
                                                                                    
     Module   | Avg Time/Frame | Frame-rate | Total time | Total Frames |           
     CAPTURE  |          39.96 |      25.02 |      36008 |          901 |           
     DEI      |          24.28 |      41.19 |      21875 |          901 |           
     RESIZE   |          13.17 |      75.93 |      11866 |          901 |           
     ENCODE0  |           9.62 |     103.90 |       8672 |          901 |           
     STREAM   |           0.09 |   11551.28 |         78 |          901 |           
     OSD0     |           0.31 |    3206.41 |        281 |          901 |           
     AEWB     |           0.02 |   40954.55 |         22 |          901 |           
                                                                                    
     Module   | Avg Time/Frame | Frame-rate | Total time | Total Frames |           
     CAPTURE  |          39.97 |      25.02 |      36014 |          901 |           
     DEI      |          24.20 |      41.32 |      21805 |          901 |           
     RESIZE   |          13.17 |      75.92 |      11867 |          901 |           
     ENCODE0  |           9.52 |     104.99 |       8582 |          901 |           
     STREAM   |           0.12 |    8266.05 |        109 |          901 |           
     OSD0     |           0.33 |    3064.63 |        294 |          901 |           
     AEWB     |           0.01 |   81909.09 |         11 |          901 |        
     
     
    
    

    In these logs, AVSERVER_DEBUG_VIDEO_DISPLAY_THR is already enabled.

    Also, After enabling the boot_proc, I am able to open webGUI. and Streaming is also working fine.

    In both cases, live video freezed because of "./system_server". When I am disabling "./system_server" and running av_server.out in the command line with arguments. Live video is working fine.

    Regards,

    Amit Soni

  • Hi Amit,

    From the logs it clear that display thread is getting created but its not receiving the AVSERVER_CMD_NEW_DATA cmd.
    Basically VIDEO_displayCopyRun sends the cmd to display thread.
    I will suggest you to enable all debug macro in /Source/ipnc_rdk/av_capture/application/ipnc/av_server/inc/avserver_debug.h
    Save 1 log where your live video is working and save where its not working and share both the logs.

    For enabling the boot_proc, don't send the RTSP flag to the av_server from system_server.
  • Hi Anuj,

    Here is the logs of working live video when all debugs are enabled:

    boot_log_working_full_debug.txt

    Here is the debug of non working live video:

    boot_log_non_working_full_debug.txt

    Please share your views.

    Regards,

    Amit Soni

  • Hi Amit,

    I hope now with boot_proc also you are able to get the webGui.

    From your logs i can see that frame buffers are coming to the display thread and display thread is returning those also in both of the logs.

    It might be possible that system server is sending some command to av_server and display stops working or system_server itself setting some display configurations.

    i would like you to try out the below experiment.

    Go to the below file "av_capture/application/ipnc/av_server/src/stream/stream.c"

    Go to line no 1011 and print the value of "value" variable and comment out below line

    stream_feature_setup(STREAM_FEATURE_LOCALDISPLAY, &value);

  • Hi Anuj,

    WebGUI is working with boot_proc also.

    I commented out this line:
    stream_feature_setup(STREAM_FEATURE_LOCALDISPLAY, &value);

    Also I got value of "value" which is "0".

    Still Live video is not working.

    Regards,

    Amit Soni

  • Hi Amit,
    As you are getting a value of 0 that means it will disable the display but if you are commenting the stream_feature_setup api then it will not be able to disable the display.
    Ultimately display configuration has been done in AVSERVER_SetDisplay present in file av_capture/application/ipnc/av_server/src/common/avServerApi.c.
    Just undo your previous changes and print the input argument of AVSERVER_SetDisplay and also check how many times it is getting called.
    The value of input argument should be 1 as you are using NTSC resolution.If the value is coming other than 1 then at the starting of the function force the argument value to be 1.
    Also print the value of "gAVSERVER_config.displayEnable" at the last of the function, this should be 1.

    If it does not work after forcing the value of input argument to 1 then please comment out all the cases except the default case of the switch case present in file "av_capture/application/ipnc/av_server/src/stream/stream.c" at line no 413 and give it a try again.
  • Hi Anuj,

    By commenting this, live video is working. But when webGUI was not opening. Then i again uncommented that line.

    But still webGUI was not working.

    Then I changed in av_server_ctrl.c in system server folder as below:

    sprintf(cmd, "./av_server.out DM368 D1 720 480 H264 1500000 VBR AUTO RTSP MENUOFF &\n");
    // fSetVideoSize(5, 720, 480);
    // fSetStreamConfig(0, 720, 480, codec_tpye[0], H264_1_PORTNUM);
    // fSetPtzSupport(0);

    Now my webGUI is working, But streaming is not working.

    What changes should i make to run streaming?

    Regards,
    Amit Soni
  • Hi Amit,

    I hope now you are getting the webGui and live video but not the rtsp streaming.
    If yes then,as discussed before when running the boot_proc then there is no need of sending the RTSP flag from system_server and in the above command i can see that you are sending it.
  • Hi Anuj,

    Thanks for your guide. Actually that time I had disabled the RTSP flag when boot_proc was also disabled. 

    Thats why streaming was not working. So I enabled the RTSP flag again. 

    Now my live video, streaming and webGUI is working fine. 

    Should I need to check the input arguments for  AVSERVER_SetDisplay function, value for "gAVSERVER_config.displayEnable"? 

    Right now I commented line no. 1014 in "av_capture/application/ipnc/av_server/src/stream/stream.c"

    which is: stream_feature_setup(STREAM_FEATURE_LOCALDISPLAY, &value);

    Please guide me.

    Regards,

    Amit Soni

  • Hi Amit,
    In file "av_capture/application/ipnc/av_server/src/stream/stream.c", you will find a lot of commands in a switch case has been there, these commands are being send by system_server to av_server.
    As you have earlier checked the value of "value" variable is 0 so it will disable the display.But for confirming once again enable that line and check the value of "type" and "gAVSERVER_config.displayEnable" variable at the end of AVSERVER_SetDisplay function. If you get the value as zero then you have to comment out line stream_feature_setup(STREAM_FEATURE_LOCALDISPLAY, &value); in order to ignore the command send from system_server.

    If it works then please consolidate that what all you have done to make it work.It will help other community member in future.
  • Hi Anuj,

    I will test this case and will let you know. 

    I have following doubts regarding streaming and live video:

    1. When running the av_server.out command, bit rate 1500000 is provided. Can I change this bit rate through the webGUI? I tried to change this bit rate. After changing, new bit rate is updated in webGUI but quality is         same. Also after this, I clicked on the "Detailed info" tab. Bit rate shown there is 1500K only. In the overlay bit rate is not changed. Quality is also same. 

        How can we change the bit rate through webGUI? 

    2. Live video quality is very poor. How can we increase the quality? 

    Regards,

    Amit Soni

  • Hi Amit,

    I have told you a few sets of experiments to try out out of which a few works and a few does not. So i don't know exactly what changes you have now. If i know i will be able to comment better.
    I have asked you to change some part of code in file "av_capture/application/ipnc/av_server/src/stream/stream.c". So what are the changes you have done here?
    And i hope in file "av_server_ctrl.c" you are running the av_server by your own command which will override changes made by you in webGui.So there you have to take care of all the switch case properly. You have to send the width and height in all av_server command.
    As bitrate got changes dynamically which does not require resetting of av_server. So Changes made in file "av_server_ctrl.c" will not cause any issue.

    Regarding the live video quality , when the quality become poor?
    Is it after running the system_server or even when you are running av_server from command line?
    Please confirm.
  • Hi Anuj,

    Quality is poor in every case. Is there any quality parameter to increase the quality of the live video?

    About the changes in "av_capture/application/ipnc/av_server/src/stream/stream.c", I just commented the "stream_feature_setup(STREAM_FEATURE_LOCALDISPLAY, &value);" line. Rest all cases, I will test soon and let you know.

    Regards,
    Amit Soni
  • Hi Amit,

    In file "av_capture/application/ipnc/av_server/src/stream/stream.c" , there will be a case for changing the bitrate.
    Can you please check after changing the bitrate from gui whether that value of "value" variable is changing to desired value?
  • Hi Anuj,

    I put debug prints for bit rate. And after updating the bit rate in the webGUI, "input_val" for the bit-rate is changing to the desired one. But there is not that much effect of that change.

    What should I do for this?

    Also any parameter for quality in live video?

    Regards,

    Amit Soni

  • Hi Amit,

    After changing the bitrate where you are observing the change?
    Live video or rtsp streaming?

    I will suggest you to create a new thread for issues like poor image quality to get more attention from other community members also.
  • Hi Anuj,

    I observed the bit-rate on rtsp streaming. I checked debug prints, it is changing.

    Bit rate is also changing in the "Detailed info" option in "Video" in webGUI.

    According to the bit rate changing, quality is not much good. Only a little change in quality.

    Regards,

    Amit Soni

  • Hi Amit,

    Your question was how to get the webGui work and i hope that has been answered.So please close this thread.
    Regarding the bitrate issues i think codec engineers will have a better idea.
  • Hi Amit,
    I am replying to this on codec point of view.
    Can you try setting the below?
    1. ENC_PRESET = user_defined
    2. RC_PRESET = user_defined
    3. EncoderQuality = 2 (HIGH Quality)
    Refer the encoder user guide for more detail on the parameter settings for quality.
  • Hi Anuj,

    Through the webGUI, parameters can be changed. But in/from which file these parameters are stored/accessed? 

    I changed the bit rate through the webGUI. After that I compared the old file system with this file system. I did not get any change in the file system.

    Where these parameters are getting stored?

    Regards,

    Amit Soni

  • Hi Amit,

    Those configuration will be store in a binary file /mnt/nand/sysenv.cfg
    It is present on NAND.
  • Hi Anuj,

    Actually we are not mounting NAND. So after changing in the bit rate also. Not able to get the change. Can we access these files from another location? Or we dont want to use nand for the webGUI. Is it possible?

    Regards,
    Amit Soni
  • Hi Amit,

    Seems like a different issue. So please create a new thread for this.
    Hope so now everything is working for you as asked in this thread.
    If yes then please verify answer and close this thread.
  • Hi Anuj,

    Thanx for your fast replies and also for guiding me. I am closing this thread.

    Regards,
    Amit Soni
  • Hi Amit,

    Thanks for closing the threads.

    If its possible then please can you post the work done to get the webgui and live video on TVOUT in a brief way. That will be helpful for this community member.