This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

IPNC RDK multichannel capture synch issue

Other Parts Discussed in Thread: DM388, DM385

Hi All,

S/W : IPNC RDK V3.8

Platform : DM388

My requirement is to  capture 1080p and to get 4 different resolutions (1920x1088,960x544,480x272,240x136) simultaneously without any time drift between them .

I am using the VIP resizers and two scaler links  to achieve this. See the usecase diagram below

However, I am not able to synch  all channels together, since the output of scalers arrive late . See the log below

[m3video] pFrame->channelNum = 2  time = 8309
 [m3video] pFrame->channelNum = 3  time = 8309
 [m3video] pFrame->channelNum = 0  time = 8314
 [m3video] pFrame->channelNum = 1  time = 8320

 [m3video] pFrame->channelNum = 2  time = 8342
 [m3video] pFrame->channelNum = 3  time = 8342
 [m3video] pFrame->channelNum = 0  time = 8347
 [m3video] pFrame->channelNum = 1  time = 8353

 [m3video] pFrame->channelNum = 2  time = 8375
 [m3video] pFrame->channelNum = 3  time = 8376
 [m3video] pFrame->channelNum = 0  time = 8380
 [m3video] pFrame->channelNum = 1  time = 8386

 [m3video] pFrame->channelNum = 2  time = 8409
 [m3video] pFrame->channelNum = 3  time = 8409
 [m3video] pFrame->channelNum = 0  time = 8416
 [m3video] pFrame->channelNum = 1  time = 8422
JK: In func_get_mem
 [m3video] pFrame->channelNum = 2  time = 8442
 [m3video] pFrame->channelNum = 3  time = 8442
 [m3video] pFrame->channelNum = 0  time = 8447
 [m3video] pFrame->channelNum = 1  time = 8454

 [m3video] pFrame->channelNum = 2  time = 8475
 [m3video] pFrame->channelNum = 3  time = 8476
 [m3video] pFrame->channelNum = 0  time = 8481
 [m3video] pFrame->channelNum = 1  time = 8487

 [m3video] pFrame->channelNum = 2  time = 8509
 [m3video] pFrame->channelNum = 3  time = 8509
 [m3video] pFrame->channelNum = 0  time = 8514
 [m3video] pFrame->channelNum = 1  time = 8520

Because of this problem, I am getting only 15 fps after synching. I am able to achieve 30 fps  with one scaler ( 3 channels).

Is there a way to fix this issue? Are there any other links, which can scale faster  than the scaler link ? I tried DEI link also, but of no use.

Best Regards

JK

  • Attached the usecase  diagram

  • Hi JK,
    All the scalars in the HDVPSS work at the same speed, so even if you change the scalar, it wont help much.
    But each scalar will be able to scalar 1080p stream at 30fps, so it might be delayed, but you should be able to get 30fps output.
    Regards,Brijesh
  • Hi  Brijesh,

    I am getting full 30 fps for all  the 4 channels. That's not the issue. Issue  is the delay between the scaler and VIP resizer.

    When there is only 1 scaler( 3 channel  usecase)  the delay between them is about 6-7 msec. But when there are 2 scalers, the second scaler is delayed  by almost  2 times the previous delay (12-14 msec) , hence I am missing the synch often.

    3 channel(1 scaler)                                                                   4 channel(2 scalers)

    Ch No      time in msec                                                          Ch No                 time in msec

    1                33672                                                                     2                        8309

    2                33672                                                                     3                        8309

    0                33676                                                                     0                        8314

                                                                                                     1                        8320

    1              33705                                                                        2                        8342

    2              33705                                                                        3                        8342

    0              33712                                                                        0                        8347

                                                                                                      1                        8353

    .............................                                                                     .....................................

    Is there any way to reduce  the delay ? By the way, what is the max number of scaler links, that I can use?

    Best Regards

    JK

  • Hello JK,

     

    What matters is, you use different scalars for both the inputs. If you use scalar, second scaling operation will be delayed, There is some parameter in the scalar create time, where you could specify scalar to be used. Please use different scalars here.

     

    Regards,

    Brijesh

  • Hi Brijesh
    What you mean by using different scalars? I am using two instances of sclrLink now. Do you mean, to use sclrLink for one input and another link say deiLink for the other input? I have already tried this.
    What is the create time parameter you mentioned? pathId ?

    Best regards
    JK
  • there are multiple hardware scalar instances, so you should use different hardware scalar instances for each scalar link.
    Can you check if you are using SC5? If it is the case, you could use SC3/4 for the second instances.
    Regards,BRijesh
  • I am using SC3 & SC4
  • When I use SC5 for first instance and SC3 for second instance, scalar creation is  not  successful.

    See  the log  below

    Best Regards

    JK

    DM385_IPNC login: root (automatic login)

    root@DM385_IPNC:~#  [m3vpss ]  I2C: timed out in wait_for_bb: I2C_IRQSTATUS=1000 !!!

    [m3vpss ]  7172: CAMERA: VIP 0: VID DEC 268436750 (0x2d): 8f0fb840:ffff0000:8f0fdcfc, AUD_STATUS -1894779000

    [m3vpss ] Iss_captCreate:1661

    [m3vpss ]  7405: CAMERA: Create Done !!!

    mkdosfs 3.0.12 (29 Oct 2011)

    unable to get drive geometry, using default 255/63

    /dev/sbulla has 255 heads and 63 sectors per track,

    logical sector size is 512,

    using 0xf8 media descriptor, with 1024 sectors;

    file system has 2 12-bit FATs and 4 sectors per cluster.

    FAT size is 1 sector, and provides 247 clusters.

    There is 1 reserved sector.

    Root directory contains 512 slots and uses 32 sectors.

    Volume ID is da3f4139, no volume label.

    [m3vpss ]  7499: CAMERA: Detect video in progress !!!

    [m3vpss ]  7499: CAMERA: Detect video Done !!!

    [m3vpss ] DCC server task running

    [m3vpss ]  7663: DUP   : Create Done !!!

    [m3vpss ]  7671: DUP   : Create Done !!!

    [m3vpss ]  7672: SCLR: Create in progress !!!

    g_file_storage gadget: No serial-number string provided!

    [m3vpss ]  7605: Assertion @ Lig_file_storage gadget: File-backed Storage Gadget, version: 1 September 2010

    ne: 646 in core/g_file_storage gadget: Number of LUNs=1

    src/vpscore_secPg_file_storage gadget-lun0: ro=0, nofua=0, file: /dev/sbulla

    ath.c: (NULL != instObj) : failed !!!

    Simple mixer control 'PGA',0

     Capabilities: cvolume cswitch penum

     Capture channels: Front Left - Front Right

     Limits: Capture 0 - 119

     Front Left: Capture 80 [67%] [40.00dB] [on]

     Front Right: Capture 80 [67%] [40.00dB] [on]

    queue id:0

    ApproDrvInit: 15

    queue id:163845

  • SC3 and SC5 cannot be used at the same time. Use SC4 instead, with SC5.Regards,
    Brijesh
  • SC5 & SC4 causes the below assert

    [m3vpss ] 7443: CAMERA: Create Done !!!
    [m3vpss ] 7535: CAMERA: Detect video in progress !!!
    [m3vpss ] 7536: CAMERA: Detect video Done !!!
    [m3vpss ] DCC server task running
    [m3vpss ] 7738: DUP : Create Done !!!
    [m3vpss ] 7753: DUP : Create Done !!!
    [m3vpss ] 7753: SCLR: Create in progress !!!
    [m3vpss ] 7570: Assertion @ Line: 646 in core/src/vpscore_secPath.c: (NULL != instObj) : failed !!!



    The params are :



    /* Scaler Link Params */
    SclrLink_CreateParams_Init(&sclrPrm[0]);
    sclrPrm[0].inQueParams.prevLinkId = dupId[0];
    sclrPrm[0].inQueParams.prevLinkQueId = 1;
    sclrPrm[0].outQueParams.nextLink = mergeId[CAM_STREAM_MERGE_IDX];
    sclrPrm[0].tilerEnable = FALSE;
    sclrPrm[0].enableLineSkipSc = FALSE;
    sclrPrm[0].inputFrameRate = 30;
    sclrPrm[0].outputFrameRate = 30;
    sclrPrm[0].scaleMode = DEI_SCALE_MODE_ABSOLUTE;
    sclrPrm[0].outScaleFactor.absoluteResolution.outWidth = 240;
    sclrPrm[0].outScaleFactor.absoluteResolution.outHeight = 136;
    sclrPrm[0].outDataFormat = VF_YUV420SP_UV;
    sclrPrm[0].pathId = SCLR_LINK_SC5;//SCLR_LINK_SEC1_SC4;

    SclrLink_CreateParams_Init(&sclrPrm[1]);
    sclrPrm[1].inQueParams.prevLinkId = dupId[1];
    sclrPrm[1].inQueParams.prevLinkQueId = 1;
    sclrPrm[1].outQueParams.nextLink = mergeId[CAM_STREAM_MERGE_IDX];
    sclrPrm[1].tilerEnable = FALSE;
    sclrPrm[1].enableLineSkipSc = FALSE;
    sclrPrm[1].inputFrameRate = 30;
    sclrPrm[1].outputFrameRate = 30;
    sclrPrm[1].scaleMode = DEI_SCALE_MODE_ABSOLUTE;
    sclrPrm[1].outScaleFactor.absoluteResolution.outWidth = 480;
    sclrPrm[1].outScaleFactor.absoluteResolution.outHeight = 272;
    sclrPrm[1].outDataFormat = VF_YUV420SP_UV;
    sclrPrm[1].pathId = SCLR_LINK_SEC1_SC4;



    Regards
    JK
  • Can you see if SC1/2 be used?
  • In sclrLink.h , I can see only 3 cases as below

    #define SCLR_LINK_SC5 0
    #define SCLR_LINK_SEC0_SC3 1
    #define SCLR_LINK_SEC1_SC4 2

    No SC1 or SC2.
  • oh ok, in this case, we have to use one of these scalar only.
    Can you try using SC5 alone for the scalar link and see how the latency look?
    Regards,Brijesh
  • Dear Brijesh,

    I am not able to use SC5. It is stuck at "SCLR:  Create in progress !!!"  step.

    Why is this so?  Attached  the complete log.

    Best Regards

    JK

    
    U-Boot 2010.06 (May 29 2014 - 15:44:09) DM388_IPNC_3.80.00
    
    DM385-GP rev 1.1
    
    ARM clk: 600MHz
    DDR clk: 533MHz
    L3 clk:  200MHz
    IVA clk: 450MHz
    ISS clk: 400MHz
    DSP Default OFF
    DSS Default OFF
    
    DRAM:  1 GiB
    DCACHE:  Off
    NAND:  HW ECC BCH8 Selected
    256 MiB
    Using default environment
    
    The 2nd stage U-Boot will now be auto-loaded
    Please do not interrupt the countdown till DM385_IPNC prompt if 2nd stage is already flashed
    Hit any key to stop autoboot:  0 
    
    NAND read: device 0 offset 0x20000, size 0x40000
     262144 bytes read: OK
    ## Starting application at 0x81000000 ...
    
    
    U-Boot 2010.06 (May 29 2014 - 15:47:28) DM388_IPNC_3.80.00
    
    DM385-GP rev 1.1
    
    ARM clk: 600MHz
    DDR clk: 533MHz
    L3 clk:  200MHz
    IVA clk: 450MHz
    ISS clk: 400MHz
    DSP Default OFF
    DSS Default OFF
    
    I2C:   ready
    DRAM:  1 GiB
    DCACHE:  On
    NAND:  HW ECC BCH8 Selected
    256 MiB
    MMC:   OMAP SD/MMC: 0, ON-BOARD SDIO: 1
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @@                                                               @@
    @@                                                               @@
    @@                                                               @@
    @@                                                               @@
    @@       _______   __       __   ______    ______    ______      @@
    @@      /       \ /  \     /  | /      \  /      \  /      \     @@
    @@      $$$$$$$  |$$  \   /$$ |/$$$$$$  |/$$$$$$  |/$$$$$$  |    @@
    @@      $$ |  $$ |$$$  \ /$$$ |$$ ___$$ |$$ \__$$ |$$ \__$$ |    @@
    @@      $$ |  $$ |$$$$  /$$$$ |  /   $$< $$    $$< $$    $$<     @@
    @@      $$ |  $$ |$$ $$ $$/$$ | _$$$$$  | $$$$$$  | $$$$$$  |    @@
    @@      $$ |__$$ |$$ |$$$/ $$ |/  \__$$ |$$ \__$$ |$$ \__$$ |    @@
    @@      $$    $$/ $$ | $/  $$ |$$    $$/ $$    $$/ $$    $$/     @@
    @@      $$$$$$$/  $$/      $$/  $$$$$$/   $$$$$$/   $$$$$$/      @@
    @@                                                               @@
    @@                                                               @@
    @@                                                               @@
    @@                                                               @@
    @@                                                               @@
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    
    Net:   Ethernet clocking: 0x52
    Detected MACID:0:c:c:a0:ff:fa
    cpsw
    Hit any key to stop autoboot:  3  0 
    DM388_IPNC#
    
    DM388_IPNC#
    
    DM388_IPNC#
    
    DM388_IPNC#
    
    DM388_IPNC#
    
    DM388_IPNC#pri
    
    bootdelay=3
    baudrate=115200
    verify=yes
    bootfile=uImage
    ramdisk_file=ramdisk.gz
    loadaddr=0x81000000
    script_addr=0x80900000
    loadbootscript=fatload mmc 0 ${script_addr} boot.scr
    bootscript= echo Running bootscript from MMC/SD to set the ENV...; source ${script_addr}
    ethact=cpsw
    ethaddr=00:0C:0C:A0:FF:FA
    filesize=3420000
    fileaddr=81000000
    ipaddr=192.168.1.225
    serverip=192.168.1.170
    bootcmd=ipnc_ff_init 1;tftp 0x81000000 uImage_e2e_new_cam; bootm
    bootargs=console=ttyO0,115200n8 root=/dev/nfs rw mem=80M vram=4M notifyk.vpssm3_sva=0xBFD00000 nfsroot=192.168.1.170:/home/jayakrishnan/work/projects/dm388/ipnc_rdk_svc_4Layer/Source/ipnc_rdk/target/filesys,nolock eth=00:0C:0C:A0:FF:FA ip=192.168.1.225 cmemk.phys_start=0x85000000 cmemk.phys_end=0x89000000 cmemk.allowOverlap=1 earlyprintk rootdelay=4
    stdin=serial
    stdout=serial
    stderr=serial
    ver=U-Boot 2010.06 (May 29 2014 - 15:47:28) DM388_IPNC_3.80.00
    
    Environment size: 902/131068 bytes
    DM388_IPNC#setenv bootargs 'console=ttyO0,115200n8 root=/dev/nfs rw mem=80M vram=4M notifyk.vpssm3_sva=0xBFD00000 nfsroot=192.168.1.170:/home/jayakrishnan/work/projects/dm388/ipnc_rdk_svc_3Layer/console=ttyO0,115200n8 root=/dev/nfs rw mem=80M vram=4M notifyk.vpssm3_sva=0xBFD00000 nfsroot=192.168.1.170:/home/jayakrishnan/work/projects/dm388/ipnc_rdk_svc_<INTERRUPT>
    DM388_IPNC#setenv bootargs
    
    DM388_IPNC#pri
    
    bootdelay=3
    baudrate=115200
    verify=yes
    bootfile=uImage
    ramdisk_file=ramdisk.gz
    loadaddr=0x81000000
    script_addr=0x80900000
    loadbootscript=fatload mmc 0 ${script_addr} boot.scr
    bootscript= echo Running bootscript from MMC/SD to set the ENV...; source ${script_addr}
    ethact=cpsw
    ethaddr=00:0C:0C:A0:FF:FA
    filesize=3420000
    fileaddr=81000000
    ipaddr=192.168.1.225
    serverip=192.168.1.170
    bootcmd=ipnc_ff_init 1;tftp 0x81000000 uImage_e2e_new_cam; bootm
    stdin=serial
    stdout=serial
    stderr=serial
    ver=U-Boot 2010.06 (May 29 2014 - 15:47:28) DM388_IPNC_3.80.00
    
    Environment size: 550/131068 bytes
    DM388_IPNC#setenv bootargs 'console=ttyO0,115200n8 root=/dev/nfs rw mem=80M vram=4M notifyk.vpssm3_sva=0xBFD00000 nfsroot=192.168.1.170:/home/jayakrishnan/work/projects/dm388/ipnc_rdk_svc_3Layer/Source/ipnc_rdk/target/filesys,nolock eth=00:0C:0C:A0:FF:FA ip=192.168.1.225 cmemk.phys_start=0x85000000 cmemk.phys_end=0x89000000 cmemk.allowOverlap=1 earlyprintk rootdelay=4'
    
    DM388_IPNC#saveenv
    
    Saving Environment to NAND...
    Erasing Nand...
    
    Erasing at 0x260000 -- 100% complete.
    Writing to Nand... done
    DM388_IPNC#
    
    DM388_IPNC#
    
    DM388_IPNC#pri
    
    bootdelay=3
    baudrate=115200
    verify=yes
    bootfile=uImage
    ramdisk_file=ramdisk.gz
    loadaddr=0x81000000
    script_addr=0x80900000
    loadbootscript=fatload mmc 0 ${script_addr} boot.scr
    bootscript= echo Running bootscript from MMC/SD to set the ENV...; source ${script_addr}
    ethact=cpsw
    ethaddr=00:0C:0C:A0:FF:FA
    filesize=3420000
    fileaddr=81000000
    ipaddr=192.168.1.225
    serverip=192.168.1.170
    bootcmd=ipnc_ff_init 1;tftp 0x81000000 uImage_e2e_new_cam; bootm
    stdin=serial
    stdout=serial
    stderr=serial
    ver=U-Boot 2010.06 (May 29 2014 - 15:47:28) DM388_IPNC_3.80.00
    bootargs=console=ttyO0,115200n8 root=/dev/nfs rw mem=80M vram=4M notifyk.vpssm3_sva=0xBFD00000 nfsroot=192.168.1.170:/home/jayakrishnan/work/projects/dm388/ipnc_rdk_svc_3Layer/Source/ipnc_rdk/target/filesys,nolock eth=00:0C:0C:A0:FF:FA ip=192.168.1.225 cmemk.phys_start=0x85000000 cmemk.phys_end=0x89000000 cmemk.allowOverlap=1 earlyprintk rootdelay=4
    
    Environment size: 902/131068 bytes
    DM388_IPNC#boot
    
    phy info reg 0x1e addr 0 val 2
    phy info reg 0x1e addr 0 val a
    link up on port 0, speed 1000, full duplex
    Using cpsw device
    TFTP from server 192.168.1.170; our IP address is 192.168.1.225
    Filename 'uImage_e2e_new_cam'.
    Load address: 0x81000000
    Loading: *T #################################################################
    	 #################################################################
    	 #################################################################
    	 #################################################################
    	 #################################################################
    	 #################################################################
    	 #################################################################
    	 ##############################
    done
    Bytes transferred = 2482304 (25e080 hex)
    ## Booting kernel from Legacy Image at 81000000 ...
       Image Name:   Linux-2.6.37_DM388_IPNC_3.80.00-
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2482240 Bytes = 2.4 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK
    
    Starting kernel ...
    
    Uncompressing Linux... done, booting the kernel.
    Linux version 2.6.37_DM388_IPNC_3.80.00-00103-g1a13629-dirty (x00kulka@bangvideoapps01) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #1 Thu Jul 17 16:21:44 IST 2014
    
    CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
    
    CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    
    Machine: dm385ipnc
    
    vram size = 4194304 at 0x0
    
    bootconsole [earlycon0] enabled
    
    ti81xx_reserve: ### Reserved DDR region @84f00000
    
    reserved size = 4194304 at 0x0
    
    FB: Reserving 4194304 bytes SDRAM for VRAM
    
    Memory policy: ECC disabled, Data cache writeback
    
    OMAP chip is DM385 1.0
    
    SRAM: Mapped pa 0x402f1000 to va 0xfe400000 size: 0xf000
    
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 19040
    
    Kernel command line: console=ttyO0,115200n8 root=/dev/nfs rw mem=80M vram=4M notifyk.vpssm3_sva=0xBFD00000 nfsroot=192.168.1.170:/home/jayakrishnan/work/projects/dm388/ipnc_rdk_svc_3Layer/Source/ipnc_rdk/target/filesys,nolock eth=00:0C:0C:A0:FF:FA ip=192.168.1.225 cmemk.phys_start=0x85000000 cmemk.phys_end=0x89000000 cmemk.allowOverlap=1 earlyprintk rootdelay=4
    
    cpsw: kernel boot params Ethernet address: 00:0C:0C:A0:FF:FA
    
    PID hash table entries: 512 (order: -1, 2048 bytes)
    
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    
    Memory: 74MB 1MB = 75MB total
    
    Memory: 70676k/70676k available, 11244k reserved, 0K highmem
    
    Virtual kernel memory layout:
    
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    
        DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    
        vmalloc : 0xc5800000 - 0xf8000000   ( 808 MB)
    
        lowmem  : 0xc0000000 - 0xc5000000   (  80 MB)
    
        pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    
        modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    
          .init : 0xc0008000 - 0xc003e000   ( 216 kB)
    
          .text : 0xc003e000 - 0xc04b9000   (4588 kB)
    
          .data : 0xc04ba000 - 0xc04fa980   ( 259 kB)
    
    SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    
    NR_IRQS:375
    
    IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    
    Total of 128 interrupts on 1 active controller
    
    GPMC revision 6.0
    
    Trying to install interrupt handler for IRQ368
    
    Trying to install interrupt handler for IRQ369
    
    Trying to install interrupt handler for IRQ370
    
    Trying to install interrupt handler for IRQ371
    
    Trying to install interrupt handler for IRQ372
    
    Trying to install interrupt handler for IRQ373
    
    Trying to install interrupt handler for IRQ374
    
    Trying to install type control for IRQ375
    
    Trying to set irq flags for IRQ375
    
    OMAP clockevent source: GPTIMER1 at 20000000 Hz
    
    Console: colour dummy device 80x30
    
    Calibrating delay loop... 599.65 BogoMIPS (lpj=2998272)
    
    pid_max: default: 32768 minimum: 301
    
    Security Framework initialized
    
    Mount-cache hash table entries: 512
    
    CPU: Testing write buffer coherency: ok
    
    devtmpfs: initialized
    
    TI81XX: Map 0x84f00000 to 0xfe500000 for dram barrier
    
    TI81XX: Map 0x40300000 to 0xfe600000 for sram barrier
    
    omap_voltage_early_init: voltage driver support not added
    
    regulator: core version 0.5
    
    regulator: dummy: 
    
    NET: Registered protocol family 16
    
    omap_voltage_domain_lookup: Voltage driver init not yet happened.Faulting!
    
    omap_voltage_add_dev: VDD specified does not exist!
    
    OMAP GPIO hardware version 0.1
    
    OMAP GPIO hardware version 0.1
    
    OMAP GPIO hardware version 0.1
    
    OMAP GPIO hardware version 0.1
    
    omap_mux_init: Add partition: #1: core, flags: 4
    
    Cannot clk_get ck_32
    
    Debugfs: Only enabling/disabling deep sleep and wakeup timer is supported now
    
    registered ti81xx_vpss device
    
    registered ti81xx_vidout device
    
    registered ti81xx on-chip HDMI device
    
    registered ti81xx_fb device
    
    PWM0 init success.
    
    PWM1 init success.
    
    bio: create slab <bio-0> at 0
    
    SCSI subsystem initialized
    
    USBSS revision 4ea2080b
    
    registerd cppi-dma Intr @ IRQ 17
    
    Cppi41 Init Done
    
    omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz
    
    tps65910 1-002d: No interrupt support, no core IRQ
    
    Advanced Linux Sound Architecture Driver Version 1.0.23.
    
    Switching to clocksource gp timer
    
    musb-hdrc: version 6.0, peripheral, debug=0
    
    musb-hdrc musb-hdrc.0: dma type: dma-cppi41
    
    MUSB controller-0 revision 4ea20800
    
    usb2phy: computed values rxcalib(15)DACs(25 14 14)
    
    usb2phy: override computed values rxcalib(15)DACs(25 14 14)
    
    usb2phy_config: musb(0) rxcalib done, rxcalib read value 6f6cdd76
    
    musb-hdrc musb-hdrc.0: USB Peripheral mode controller at c581e000 using DMA, IRQ 18
    
    NET: Registered protocol family 2
    
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    
    TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    
    TCP: Hash tables configured (established 4096 bind 4096)
    
    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.
    
    NetWinder Floating Point Emulator V0.97 (double precision)
    
    PMU: registered new PMU device of type 0
    
    omap-iommu omap-iommu.0: ducati registered
    
    omap-iommu omap-iommu.1: sys registered
    
    JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    
    msgmni has been set to 138
    
    io scheduler noop registered
    
    io scheduler deadline registered
    
    io scheduler cfq registered (default)
    
    CMEMK module: built on May 27 2014 at 16:44:00
    
      Reference Linux version 2.6.37
    
      File /data/datalocal1_videoapps01/user/anandyk/DM81xx/IPNetCam/ti_tools/linuxutils_3_23_00_01/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
    
    allocated heap buffer 0xc7000000 of size 0x4000000
    
    cmemk initialized
    
    Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    
    omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0
    
    console [ttyO0] enabled, bootconsole disabled
    console [ttyO0] enabled, bootconsole disabled
    
    omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    brd: module loaded
    loop: module loaded
    omap2-nand driver initializing
    ONFI param page 0 valid
    ONFI flash detected
    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND 256MiB 1,8V 16-bit)
    omap2-nand: detected x16 NAND flash 
    Creating 8 MTD partitions on "omap2-nand.0":
    0x000000000000-0x000000020000 : "U-Boot-min"
    0x000000020000-0x000000260000 : "U-Boot"
    0x000000260000-0x000000280000 : "U-Boot Env"
    0x000000280000-0x0000006c0000 : "Kernel"
    0x0000006c0000-0x000006fc0000 : "File System"
    0x000006fc0000-0x000007bc0000 : "Data"
    0x000007bc0000-0x00000b0c0000 : "File System2"
    0x00000b0c0000-0x000010000000 : "Reserved"
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    davinci_mdio davinci_mdio.0: detected phy mask fffffffe
    davinci_mdio.0: probed
    davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
    mice: PS/2 mouse device common for all mice
    omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
    i2c /dev entries driver
    Linux video capture interface: v2.00
    OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec
    notify_shm_drv: no DSP present (MULTIPROC_INVALIDID)
    notify_init : notify drivercreated  for  remote proc id 1 at physical Address 0xbfd00000
    cm: Module associated with clock hdmi_i2s_fck didn't enable in 100000 tries
    asoc: tlv320aic3x-hifi <-> davinci-mcasp.1 mapping ok
    asoc: HDMI-DAI-CODEC <-> hdmi-dai mapping ok
    ALSA device list:
      #0: TI81XX EVM
    nf_conntrack version 0.5.0 (1104 buckets, 4416 max)
    ip_tables: (C) 2000-2006 Netfilter Core Team
    TCP cubic registered
    NET: Registered protocol family 17
    Bridge firewalling registered
    lib80211: common routines for IEEE802.11 drivers
    Registering the dns_resolver key type
    VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    omap_voltage_late_init: Voltage driver support not added
    Power Management for TI81XX.
    Detected MACID=0:c:c:a0:ff:fa
    omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    
    CPSW phy found : id is : 0x4dd074
    PHY 0:01 not found
    IP-Config: Guessing netmask 255.255.255.0
    IP-Config: Complete:
         device=eth0, addr=192.168.1.225, mask=255.255.255.0, gw=255.255.255.255,
         host=192.168.1.225, domain=, nis-domain=(none),
         bootserver=255.255.255.255, rootserver=192.168.1.170, rootpath=
    Waiting 4sec before mounting root device...
    PHY: 0:00 - Link is Up - 1000/Full
    VFS: Mounted root (nfs filesystem) on device 0:14.
    devtmpfs: mounted
    Freeing init memory: 216K
    
    INIT: version 2.86 booting
    
    Please wait: booting...
    Starting udev
    Root filesystem already rw, not remounting
    Caching udev devnodes
    root: mount: mounting /dev/root on / failed: No such file or directory
    NOT configuring network interfaces: / is an NFS mount
    rm: cannot remove '/tmp': Device or resource busy
    Fri Nov  9 12:59:00 GMT-8 2012
     inside finish.sh 
    UBI: attaching mtd5 to ubi0
    UBI: physical eraseblock size:   131072 bytes (128 KiB)
    UBI: logical eraseblock size:    126976 bytes
    UBI: smallest flash I/O unit:    2048
    UBI: sub-page size:              512
    UBI: VID header offset:          2048 (aligned 2048)
    UBI: data offset:                4096
    UBI: max. sequence number:       809
    UBI: attached mtd5 to ubi0
    UBI: MTD device name:            "Data"
    UBI: MTD device size:            12 MiB
    UBI: number of good PEBs:        96
    UBI: number of bad PEBs:         0
    UBI: number of corrupted PEBs:   0
    UBI: max. allowed volumes:       128
    UBI: wear-leveling threshold:    4096
    UBI: number of internal volumes: 1
    UBI: number of user volumes:     1
    UBI: available PEBs:             0
    UBI: total number of reserved PEBs: 96
    UBI: number of PEBs reserved for bad PEB handling: 2
    UBI: max/mean erase counter: 11/9
    UBI: image sequence number:  70445961
    UBI: background thread "ubi_bgt0d" started, PID 256
    UBI device number 0, total 96 LEBs (12189696 bytes, 11.6 MiB), available 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB)
    UBIFS: recovery needed
    UBIFS: recovery completed
    UBIFS: mounted UBI device 0, volume 0, name "ubifs_volume"
    UBIFS: file system size:   10285056 bytes (10044 KiB, 9 MiB, 81 LEBs)
    UBIFS: journal size:       1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
    UBIFS: media format:       w4/r0 (latest is w4/r0)
    UBIFS: default compressor: lzo
    UBIFS: reserved for root:  485787 bytes (474 KiB)
    UBI: attaching mtd7 to ubi1
    UBI: physical eraseblock size:   131072 bytes (128 KiB)
    UBI: logical eraseblock size:    126976 bytes
    UBI: smallest flash I/O unit:    2048
    UBI: sub-page size:              512
    UBI: VID header offset:          2048 (aligned 2048)
    UBI: data offset:                4096
    UBI: max. sequence number:       139
    UBI: attached mtd7 to ubi1
    UBI: MTD device name:            "Reserved"
    UBI: MTD device size:            79 MiB
    UBI: number of good PEBs:        634
    UBI: number of bad PEBs:         0
    UBI: number of corrupted PEBs:   0
    UBI: max. allowed volumes:       128
    UBI: wear-leveling threshold:    4096
    UBI: number of internal volumes: 1
    UBI: number of user volumes:     1
    UBI: available PEBs:             0
    UBI: total number of reserved PEBs: 634
    UBI: number of PEBs reserved for bad PEB handling: 6
    UBI: max/mean erase counter: 6/4
    UBI: image sequence number:  1553087641
    UBI: background thread "ubi_bgt1d" started, PID 268
    UBI device number 1, total 634 LEBs (80502784 bytes, 76.8 MiB), available 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB)
    UBIFS: recovery needed
    UBIFS: recovery completed
    UBIFS: mounted UBI device 1, volume 0, name "ubifs_volume"
    UBIFS: file system size:   78090240 bytes (76260 KiB, 74 MiB, 615 LEBs)
    UBIFS: journal size:       3936256 bytes (3844 KiB, 3 MiB, 31 LEBs)
    UBIFS: media format:       w4/r0 (latest is w4/r0)
    UBIFS: default compressor: lzo
    UBIFS: reserved for root:  3688395 bytes (3601 KiB)
    numid=1,iface=MIXER,name='PCM Playback Volume'
      ; type=INTEGER,access=rw---R--,values=2,min=0,max=127,step=0
      : values=127,127
      | dBscale-min=-63.50dB,step=0.50dB,mute=0
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
    SysLink version : 2.21.02.10
    SysLink module created on Date:Jan 29 2015 Time:17:22:51
    Trace enabled
    Trace SetFailureReason enabled
    /dev/mem opened.
                 Phy Addr : 0x48181560 Data : 0x00000002
              Unhandled fault: external abort on non-linefetch (0x1018) at 0x402460e4
       Phy Addr : 0x48180f10 Data : 0x00000000
                 Phy Addr : 0x48180508 Data : 0x00000302
                 Phy Addr : 0x48180520 Data : 0x00000002
                 Phy Addr : 0x48180524 Data : 0x00000002
                 Phy Addr : 0x48180528 Data : 0x00000002
                 Phy Addr : 0x4c0000e4 Data : 0x00170209
    Bus error
    
    
     [host]  Setting DMM priority for [HDVICP0 ] to [1] ( 0x4e000634 = 0x00000009 )
    
    
     [host]  Setting DMM priority for [ISS     ] to [0] ( 0x4e000634 = 0x00080000 )
    
    
     [host]  Setting L3 bandwidth regulator for [HDVICP0 ] to [press=[0,0] BW=900, WM Cycles=2500]
    
    
     [host]  Setting L3 bandwidth regulator for [ISS     ] to [press=[3,3] BW=400, WM Cycles=2500]
    Creat queue id:0
    queue id:0
    FileMngThread created
    Creat queue id:32769
    queue id:32769
    AlramThread created
    Share memory init success
    IPNC_3.80.00-00103-g1a13629-dirty (x00kulka@bangvideoapps01) (gcc versio 
    Creat queue id:65538
    queue id:65538
    Creat queue id:98307
    queue id:98307
    queue id:32769
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
    
    
     [host] Attached to slave procId 1.
    
    
     [host] Attached to slave procId 0.
    
    
     [host] Loaded file ./firmware/ipnc_rdk_fw_m3vpss.xem3 on slave procId 1.
    
    
     [host] Started slave procId 1.
    
    
     [host] After Ipc_loadcallback status [0x00000000]
    
    
     [host] Loaded file ./firmware/ipnc_rdk_fw_m3video.xem3 on slave procId 0.
    
    
     [host] Started slave procId 0.
    
    
     [host] After Ipc_loadcallback status [0x00000000]
     [m3video] ***** SYSTEM  : Frequency <ORG> - 200000000, <NEW> - 200000000
     [m3vpss ] ***** SYSTEM  : Frequency <ORG> - 200000000, <NEW> - 200000000
     [m3video]  
     [m3vpss ] notify_attach  rtnVal  0
     [m3video]  *** UTILS: CPU KHz = 400000 Khz ***
     [m3vpss ] initProxyServer  rtnVal  0
     [m3video]  
     [m3vpss ]  
     [m3video]  37: SYSTEM  : System Common Init in progress !!!
     [m3vpss ]  *** UTILS: CPU KHz = 400000 Khz ***
     [m3video]  37: SYSTEM: IPC init in progress !!!
     [m3vpss ]  
     [m3video]  38: SYSTEM: Attaching to [HOST] ... 
     [m3vpss ]  70: SYSTEM  : System Common Init in progress !!!
     [m3video]  87: SYSTEM: Attaching to [HOST] ... 
     [m3vpss ]  70: SYSTEM: IPC init in progress !!!
     [m3video]  90: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
     [m3vpss ]  70: SYSTEM: Attaching to [HOST] ... 
     [m3video]  90: SYSTEM: Attaching to [VPSS-M3] ... 
     [m3vpss ]  120: SYSTEM: Attaching to [HOST] ... 
     [m3vpss ]  122: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
     [m3vpss ]  122: SYSTEM: Attaching to [VIDEO-M3] ... 
    
    
     [host] After Ipc_startcallback status [0x00000000]
     [m3video]  140: SYSTEM: Attaching to [VPSS-M3] ... 
    
    
     [host] After Ipc_startcallback status [0x00000000]
     [m3video]  172: SYSTEM: Attaching to [VPSS-M3] ... SUCCESS !!!
     [m3vpss ]  172: SYSTEM: Attaching to [VIDEO-M3] ... 
     [m3video]  173: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
     [m3vpss ]  172: SYSTEM: Attaching to [VIDEO-M3] ... SUCCESS !!!
     [m3vpss ]  173: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
     [m3vpss ]  173: SYSTEM: Creating MsgQ [VPSS-M3_MSGQ] ...
     [m3vpss ]  174: SYSTEM: Creating MsgQ [VPSS-M3_ACK_MSGQ] ...
     [m3vpss ]  176: SYSTEM: Notify register to [HOST] line 0, event 12 ... 
     [m3vpss ]  176: SYSTEM: Notify register to [VIDEO-M3] line 0, event 12 ... 
     [m3vpss ]  176: SYSTEM: IPC init DONE !!!
     [m3vpss ]  192: MEM: Shared Region 2: Base = 0xb8000000, Length = 0x06900000 (105 MB) 
     [m3vpss ]  192: MEM: Shared Region 1: Base = 0x88600000, Length = 0x04500000 (69 MB) 
     [m3vpss ]  195: SYSTEM  : System Common Init Done !!!
     [m3vpss ] Received character 's'
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
     [m3video]  273: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
     [m3video]  274: SYSTEM: Creating MsgQ [VIDEO-M3_MSGQ] ...
     [m3video]  274: SYSTEM: Creating MsgQ [VIDEO-M3_ACK_MSGQ] ...
     [m3video]  276: SYSTEM: Notify register to [HOST] line 0, event 12 ... 
     [m3video]  276: SYSTEM: Notify register to [VPSS-M3] line 0, event 12 ... 
     [m3video]  277: SYSTEM: IPC init DONE !!!
     [m3video]  292: MEM: Shared Region 2: Base = 0xb8000000, Length = 0x06900000 (105 MB) 
     [m3video]  292: MEM: Shared Region 1: Base = 0x88600000, Length = 0x04500000 (69 MB) 
     [m3video]  295: SYSTEM  : System Common Init Done !!!
     [m3video] Received character 's'
    queue id:65538
    Creat queue id:131076
    queue id:131076
    
    CPU is TI812x
    
    *****************************************************************
    
        IPNC BUILD VERSION: IPNC RDK VERSION 03.80.00.05 (FULL FEATURE)	
    
    *****************************************************************
    
    DEMOCFG Value	: 0
    Videocodecmode	: 8
    Videocodecres 	: 0
    streamtype 		: 2
    
     vsenable : 0
    ./bin/ipnc_rdk_mcfw.out   VNF_QUALITY TRISTREAM TRIPLE_H264 APPRO2A AEWB 1080P_D1 H264 HIGH_SPEED1 H264 HIGH_SPEED2 &
    JK:App_msgHandlerInit
    Creat queue id:163845
    queue id:163845
    queue id:65538
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
     [m3video]  494: SYSTEM  : System Video Init in progress !!!
    ApproDrvInit: 7
    queue id:163845
     [m3vpss ]  495: SYSTEM  : System VPSS Init in progress !!!
     [m3video]  495: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_0] in region 0 ...
     [m3video]  495: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_0] in region 0 ...
     [m3video]  496: SYSTEM: ListElem Shared Addr = 0xbe984180
     [m3video]  498: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_1] in region 0 ...
     [m3video]  499: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_1] in region 0 ...
     [m3video]  499: SYSTEM: ListElem Shared Addr = 0xbe987680
     [m3video]  509: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_29] in region 0 ...
     [m3vpss ] === I2C0/2 Clk is active ===
     [m3video]  509: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_29] in region 0 ...
     [m3vpss ] PLATFORM: UNKNOWN CPU detected, defaulting to VPS_PLATFORM_CPU_REV_1_0
     [m3video]  510: SYSTEM: ListElem Shared Addr = 0xbe98ab80
     [m3vpss ]  PLATFORM: UNKNOWN CPU detected, defaulting to ISS_PLATFORM_CPU_REV_2_1
     [m3video]  512: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_30] in region 0 ...
     [m3vpss ]  514: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_0] in region 0 ...
     [m3video]  513: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_30] in region 0 ...
     [m3vpss ]  515: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_0] in region 0 ...
     [m3video]  513: SYSTEM: ListElem Shared Addr = 0xbe9a4800
     [m3vpss ]  515: SYSTEM: ListElem Shared Addr = 0xbe9be480
     [m3video]  515: HDVICP: Doing PRCM for IVAHD[0] ... 
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
     [m3video]  516: HDVICP: PRCM for IVAHD[0] ... DONE.
     [m3vpss ]  518: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_1] in region 0 ...
     [m3video]  517: SYSTEM  : Initializing Links !!! 
     [m3vpss ]  518: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_1] in region 0 ...
     [m3vpss ]  519: SYSTEM: ListElem Shared Addr = 0xbe9c1980
     [m3video]  517: SYSTEM  : FREE SPACE : System Heap      = 2088976 B, Mbx = 10240 msgs) 
     [m3video]  517: SYSTEM  : FREE SPACE : SR0 Heap         = 15985792 B (15 MB) 
     [m3vpss ]  533: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_24] in region 0 ...
     [m3vpss ]  534: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_24] in region 0 ...
     [m3video]  518: SYSTEM  : FREE SPACE : Frame Buffer     = 110100352 B (104 MB) 
     [m3vpss ]  534: SYSTEM: ListElem Shared Addr = 0xbe9c4e80
     [m3video]  518: SYSTEM  : FREE SPACE : Bitstream Buffer = 72351616 B (68 MB) 
     [m3vpss ]  537: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_25] in region 0 ...
     [m3vpss ]  537: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_25] in region 0 ...
     [m3video]  519: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...
     [m3vpss ]  538: SYSTEM: ListElem Shared Addr = 0xbe9e4880
     [m3video]  520: SYSTEM  : FREE SPACE : Tiler Buffer     = 128 B (0 MB)  - TILER OFF 
     [m3vpss ]  540: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_26] in region 0 ...
     [m3vpss ]  541: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_26] in region 0 ...
     [m3video] Entered the MctnfLink_init() 
     [m3vpss ]  541: SYSTEM: ListElem Shared Addr = 0xbea04280
     [m3video] JKMM:svcEncLink_init.. linkId = 10000028
     [m3video]  
     [m3vpss ]  548: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_29] in region 0 ...
     [m3vpss ]  548: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_29] in region 0 ...
     [m3vpss ]  549: SYSTEM: ListElem Shared Addr = 0xbea23c80
     [m3vpss ]  551: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_30] in region 0 ...
     [m3vpss ]  552: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_30] in region 0 ...
     [m3vpss ]  552: SYSTEM: ListElem Shared Addr = 0xbea3d900
     [m3vpss ]  554: JKMM: SYSTEM : HDVPSS Drivers Version: HDVPSS_01_00_01_37
     [m3vpss ]  555: JKMM :SYSTEM  : FVID2 Init in progress !!!
     [m3video]  575: SYSTEM  : Initializing Links ... DONE !!! 
     [m3video]  576: SYSTEM  : System Video Init Done !!!
     [m3vpss ]  626: SYSTEM  : FVID2 Init in progress DONE !!!
     [m3vpss ]  626: SYSTEM  : Device Init in progress !!!
     [m3vpss ]  Iss_init called !!!!!! 
     [m3vpss ]  CPIS_init DONE !!!!!! 
     [m3vpss ] initPrms.isI2cInitReq = 1
     [m3vpss ] initPrms.isI2cInitReq = 0
     [m3vpss ]  753: SYSTEM  : Device Init in progress DONE !!!
     [m3vpss ] Sensor in 1080p Mode...
     [m3vpss ] XXXXX DRV_imgsSetAgain() Error(1000)
     [m3vpss ] XXXXX DRV_imgsSetAgain() Error(1000)
     [m3vpss ] With IMX136 SETTING_-_-,DRV_imgsSetRegs,598 0 
     [m3vpss ]  936: SYSTEM  : System VPSS Init Done !!!
     [m3vpss ]  937: UTILS: DMA: HWI Create for INT62 !!!
     [m3vpss ]  937: SYSTEM  : Initializing Links !!! 
     [m3vpss ]  937: SYSTEM  : FREE SPACE : System Heap      = 1682704 B, Mbx = 10240 msgs) 
     [m3vpss ]  938: SYSTEM  : FREE SPACE : SR0 Heap         = 15372416 B (14 MB) 
     [m3vpss ]  938: SYSTEM  : FREE SPACE : Frame Buffer     = 105790336 B (100 MB) 
     [m3vpss ]  938: SYSTEM  : FREE SPACE : Bitstream Buffer = 72351616 B (68 MB) 
     [m3vpss ]  939: SYSTEM  : FREE SPACE : Tiler Buffer     = 128 B (0 MB)  - TILER OFF 
     [m3vpss ]  1074: SYSTEM  : Initializing Links ... DONE !!! 
     [m3vpss ] Received character 't'
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
     [m3video] Received character 't'
    DMA: Module install successful, device major num = 248 
    DRV: Module install successful
    DRV: Module built on Jan 29 2015 17:30:22 
    HDMI W1 rev 4.0
    HDMI CEC Spec version 1.2
    I2C No Ack
    
    
    HDMI failed to read E-EDID
    
    
     [host]  
    
    
     [host]  ORG 0x46c00524: 0
    
    
     [host]  NEW 0x46c00524: 2
    
    
     [host]  
     
    
     [host] Application Start Completed
    
    
     [host]  0: SYSTEM: System Common Init in progress !!!
    
    
     [host]  1: SYSTEM: IPC init in progress !!!
    
    
     [host]  12: SYSTEM: CPU [DSP] is NOT available on this platform !!!
    
    
     [host]  12: SYSTEM: CPU [VIDEO-M3] syslink proc ID is [0] !!!
    
    
     [host]  12: SYSTEM: CPU [VPSS-M3] syslink proc ID is [1] !!!
    
    
     [host]  12: SYSTEM: CPU [HOST] syslink proc ID is [2] !!!
    
    
     [host]  12: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
    
    
     [host]  14: SYSTEM: Creating MsgQ [HOST_MSGQ] ...
    
    
     [host]  15: SYSTEM: CreDMA: ChannelID allocated:4
    ating MsgQ [HOSTDMA: ChannelID allocated:5
    _ACK_MSGQ] ...
    
    
     [host]  17: SYSTEM: Opening MsgQ [VIDEO-M3_MSGQ] ...
    
    
     [host]  17: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...
    
    
     [host]  18: SYSTEM: Notify register to [VIDEO-M3] line 0, event 12 ... 
    
    
     [host]  19: SYSTEM: Notify register to [VPSS-M3] line 0, event 12 ... 
    
    
     [host]  20: SYSTEM: IPC init DONE !!!
    
    
     [host]  21: SYSTEM: Creating ListMP [HOST_IPC_OUT_29] in region 0 ...
    
    
     [host]  23: SYSTEM: Creating ListMP [HOST_IPC_IN_29] in region 0 ...
    
    
     [host]  25: SYSTEM: ListElem Shared Addr = 0x40de8580
    
    
     [host]  26: SYSTEM: Creating ListMP [HOST_IPC_OUT_30] in region 0 ...
    
    
     [host]  28: SYSTEM: Creating ListMP [HOST_IPC_IN_30] in region 0 ...
    
    
     [host]  29: SYSTEM: ListElem Shared Addr = 0x40e02200
    
    
     [host]  31: SYSTEM: Creating ListMP [HOST_IPC_OUT_24] in region 0 ...
    
    
     [host]  33: SYSTEM: Creating ListMP [HOST_IPC_IN_24] in region 0 ...
    
    
     [host]  34: SYSTEM: ListElem Shared Addr = 0x40e1be80
    
    
     [host]  35: SYSTEM: Creating ListMP [HOST_IPC_OUT_25] in region 0 ...
    
    
     [host]  38: SYSTEM: Creating ListMP [HOST_IPC_IN_25] in region 0 ...
    
    
     [host]  39: SYSTEM: ListElem Shared Addr = 0x40e3b880
    
    
     [host]  40: SYSTEM: Creating ListMP [HOST_IPC_OUT_26] in region 0 ...
    
    
     [host]  42: SYSTEM: Creating ListMP [HOST_IPC_IN_26] in region 0 ...
    
    
     [host]  44: SYSTEM: ListElem Shared Addr = 0x40e5b280
    
    
     [host]  45: SYSTEM: System Common Init Done !!!
    
    
     [host] Vsys_allocBuf - addr = 0x4d268000,size = 65011712
    ##########pInfo->totalsize 63897600
    
    
     [host] MemMng_memcpy_open:OSA_dmaOpen passed with ch id = 4
    
    
     [host] CacheMng_MemCpy_open:OSA_dmaOpen passed with ch id = 5
    
    
     [host] MCFW_IPCBITS:App_ipcBitsRecvStreamFxn:Entered...
    
     [host] MCFW_IPCFRAMES:App_ipcFramesSendRecvFxn:Entered...
    
     [host] Vsys_allocBuf - addr = 0x5239e000,size = 29127
    
    
     [host] DCC buffer allocated for size 29127
    
    
     [host] DCC Default File Intialization Done
    
    
     [host] ********* Entered SVC 3 Layer Streaming usecase - 1920x1088/960x544/480x272 @30fps ********
    
    
    
     [host]  64: MCFW  : CPU Revision [ES1.0] !!! 
    
    
    
     [host]  64: MCFW  : Detected [4x TVP5158 VS] Board !!! 
    
    
    
     [host]  64: MCFW  : Base Board Revision [REV A] !!! 
    
    
    
     [host]  64: MCFW  : Daughter Card Revision [REV A] !!! 
    
    
    
     [host] JK:gUI_mcfw_config.glbceEnable = 0 
     
    
     [host] JK:encPrm.vsEnable = 0 
     
    
     [host] JK:encPrm.isVaUseCase = 0 
      [m3vpss ]  2206: CAMERA: Create in progress !!!
     [m3vpss ]  Channel Num Stream 0 Ch 0 ChannelNum 0
     [m3vpss ]  Channel Num Stream 1 Ch 0 ChannelNum 1
     [m3vpss ]  2206: CAMERA: VIP0 PortA camera mode is [ 8-bit, Non-mux Embedded Sync] !!! 
    JK: inside autorun 
    
    INIT: Entering runlevel: 5
    
     sbulla: unknown partition table
     sbulla: unknown partition table
    Starting telnet daemon.
    Starting syslogd/klogd: done
    c
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org DM385_IPNC ttyO0
    
    Arago 2011.09 DM385_IPNC ttyO0
    
    DM385_IPNC login: root (automatic login)
    root@DM385_IPNC:~#  [m3vpss ]  I2C: timed out in wait_for_bb: I2C_IRQSTATUS=1000 !!!
     [m3vpss ]  7207: CAMERA: VIP 0: VID DEC 268436750 (0x2d): 8f0fb840:ffff0000:8f0fdcfc, AUD_STATUS -1894779000
     [m3vpss ] Iss_captCreate:1661
    mkdosfs 3.0.12 (29 Oct 2011)
    unable to get drive geometry, using default 255/63
    /dev/sbulla has 255 heads and 63 sectors per track,
    logical sector size is 512,
    using 0xf8 media descriptor, with 1024 sectors;
    file system has 2 12-bit FATs and 4 sectors per cluster.
    FAT size is 1 sector, and provides 247 clusters.
    There is 1 reserved sector.
    Root directory contains 512 slots and uses 32 sectors.
    Volume ID is da40083d, no volume label.
     [m3vpss ]  7431: CAMERA: Create Done !!!
     [m3vpss ]  7520: CAMERA: Detect video in progress !!!
     [m3vpss ]  7520: CAMERA: Detect video Done !!!
     [m3vpss ] DCC server task running 
     [m3vpss ]  7668: DUP   : Create Done !!!
     [m3vpss ]  7669: SCLR: Create in progress !!!
    g_file_storage gadget: No serial-number string provided!
     [m3vpss ]  7610: Assertion @ Lig_file_storage gadget: File-backed Storage Gadget, version: 1 September 2010
    ne: 646 in core/g_file_storage gadget: Number of LUNs=1
    src/vpscore_secPg_file_storage gadget-lun0: ro=0, nofua=0, file: /dev/sbulla
    ath.c: (NULL != instObj) : failed !!!
    Simple mixer control 'PGA',0
      Capabilities: cvolume cswitch penum
      Capture channels: Front Left - Front Right
      Limits: Capture 0 - 119
      Front Left: Capture 80 [67%] [40.00dB] [on]
      Front Right: Capture 80 [67%] [40.00dB] [on]
    queue id:0
    ApproDrvInit: 15
    queue id:163845
    
    

  • Hi Brijesh,
    SC5 create is success , when outDataFormat is VF_YUV422I_YUYV, but fails when outDataFormat is VF_YUV420SP_UV.

    I have to use VF_YUV420SP_UV. Is this NOT supported on SC5 ?
  • Hi JK,

     

    SC5 supports only YUV422 output , does not support YUV420 output. If you want YUV420 output, you need to use either SC3 or SC4.

    Can you tell me which DVR-RDK release that you are using? SC3/SC4 should work as it is. there should not be any assertion.

    Are you using SD Display? SD display can use the path that SC4 is using.. If this is the case, we are left with only one option, sc3.

     

    Regards,

    Brijesh

  • Hi Brijesh,
    I am using IPNC RDK Ver 3.8 on dm388. I am not using SD display. I just wanted to have 4 resolutions (1920x1088/960x544/480x272/240x136) @30fps with max delay of 7 msec. With 1 scalar (3 resolutions) I have no problem. But when add one more scaler, the delay is too much to handle. So I understand all VPSS based resizers will have the same problem (SwMs, Mp scaler,DEI,etc). Am I correct? Is there a way to reduce this delay when multiple scalars are used?
    Regards
    JK
  • Hi JK,
    From the ISS itself, you will be able to get 2 resolutions, now you require two more resolution, If use of two scalars is causing some latency issue, why dont you use just one scalar and get both the remaining resolution. from 1920x1088, it will be difficult to get the remaining resolution in time, so use lower resolution lets say from 960x544, you will be able to get other two resolutions using same scalar (two instances of scalar link).
    Rgds,Brijesh
  • Hi Brijesh

    I have a doubt. By using 1 scalar and two instances, do you  mean  to use  the same pathId ?  Pls check the below code is correct or not.

     /* Scaler Link Params */
        SclrLink_CreateParams_Init(&sclrPrm[0]);
        sclrPrm[0].inQueParams.prevLinkId             = dupId;
        sclrPrm[0].inQueParams.prevLinkQueId          = 1;
        sclrPrm[0].outQueParams.nextLink              = mergeId[CAM_STREAM_MERGE_IDX];
        sclrPrm[0].tilerEnable                        = FALSE;
        sclrPrm[0].enableLineSkipSc                   = FALSE;
        sclrPrm[0].inputFrameRate                     = 30;
        sclrPrm[0].outputFrameRate                    = 30;
        sclrPrm[0].scaleMode                          = DEI_SCALE_MODE_ABSOLUTE;
     sclrPrm[0].outScaleFactor.absoluteResolution.outWidth   = 240;
        sclrPrm[0].outScaleFactor.absoluteResolution.outHeight  = 136;
        sclrPrm[0].outDataFormat = VF_YUV420SP_UV;
        sclrPrm[0].pathId = SCLR_LINK_SEC0_SC3;
     
     SclrLink_CreateParams_Init(&sclrPrm[1]);
        sclrPrm[1].inQueParams.prevLinkId             = dupId;
        sclrPrm[1].inQueParams.prevLinkQueId          = 0;
        sclrPrm[1].outQueParams.nextLink              = mergeId[CAM_STREAM_MERGE_IDX];
        sclrPrm[1].tilerEnable                        = FALSE;
        sclrPrm[1].enableLineSkipSc                   = FALSE;
        sclrPrm[1].inputFrameRate                     = 30;
        sclrPrm[1].outputFrameRate                    = 30;
        sclrPrm[1].scaleMode                          = DEI_SCALE_MODE_ABSOLUTE;
     sclrPrm[1].outScaleFactor.absoluteResolution.outWidth   = 480;
        sclrPrm[1].outScaleFactor.absoluteResolution.outHeight  = 272;
        sclrPrm[1].outDataFormat = VF_YUV420SP_UV;
        sclrPrm[1].pathId = SCLR_LINK_SEC0_SC3;

    Best regards

    JK

  • Yes, Path Id is same, but two instances of scalar link
    Your all resolutions are down scaled by 2 from previous one.
    Can you use below linkISS Capture --> (1920x1088, RSZA)
    --> (960x544, RSZB) -> (Scalar Link1, 480x272) -> (Scalar Link2, 240x136) -> Your Merge Link.
    Regards,Brijesh
  • Hi Brijesh

    There is little  improvement with the suggested usecase. But my core issue remain unsolved. Even after  synching all  4 channels  and  ensuring that yuv frames  arrive  at codecSubmitData()  at 30fps rate, there is  still   OutBuf  Not available  error, and because of this, half  of the frames /second are dropped, effectively making the fps= 15.

    my sync logic  is  as follows.

     do
     {
      svcEncLink_codecQueueFramesToChQue(pObj);
      
     }while(!((pObj->chObj[0].inFrameQueCount > 0) && (pObj->chObj[1].inFrameQueCount > 0)  && (pObj->chObj[2].inFrameQueCount > 0)  && (pObj->chObj[3].inFrameQueCount > 0) ) );

    svcEncLink_codecSubmitData(pObj);

    While, this logic worked well  for 3 channels, don't know  why it causes frame drop with 4 channels.

    Best Regards

    JK

  • Are you allocating enough buffers?Rgds,Brijesh
  • Yes, Brijesh. I guess  buffers  are not the problem. When the delay increases, there are more frame drops  from codecSubmitData(). I verified this by adding extra delay, and observed that there are more "outBuf not available"  and subsequent frame drops.

     do
     {
      svcEncLink_codecQueueFramesToChQue(pObj);
      
     }while(!((pObj->chObj[0].inFrameQueCount > 0) && (pObj->chObj[1].inFrameQueCount > 0)  && (pObj->chObj[2].inFrameQueCount > 0)  && (pObj->chObj[3].inFrameQueCount > 0) ) );

    for (i=0;i<240000;i++) {}; //delay

    svcEncLink_codecSubmitData(pObj);

    There  was  a similar problem (In a different context) discussed  here.

    I too had  the same issue, and got it resolved by using Anand's uImage.

    Back here, I have  ensured  that  the ipcBitsInLink is active  and A8 load  is  below 50%.

    Still  not  able  to correlate all these.

    Best Regards

    JK

  • Hi Brijesh
    The issue is fixed. I changed the sync logic a bit, considering the fact that resizer outputs arrive before the scalar. No frame drops now.
    Thanks for your help & suggestions.
    Best regards
    JK
  • oh ok, glad to hear it is fixed now.