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.

Mistral TI DM8148 DVR RDK Capturing no frames

Other Parts Discussed in Thread: TVP7002, THS7368

Hi All,

I am working on Mistral TI DM8148 EVM with DVR RDK4.1

In MCFW demos changed one of the application to perform single channel capture and display.

As per logs its clear that no frames are being captured.

Please find the attached log file,tvp7002 configuration file and my application files.

./init.sh

./load.sh

./tvp_7002.sh(720p60)

./run.sh

I am using i2cset utility to write to TVP7002 registers.Please suggest me if i am dong anything wrong.

Thanks in advance.

Regards,

Kiran S Patil

6320.logs.txt

U-Boot 2010.06 (Oct 23 2013 - 12:52:42)

TI8148-GP rev 2.1

L3 clk         : 200MHz
IVA clk        : 410MHz
ISS clk        : 480MHz
DSP clk        : 750MHz
DSS clk        : 200MHz
ARM clk        : 720MHz
DDR clk        : 480MHz

------------ PLL Settings --------------
OSC_0_FREQ    : 20MHz

MODENA_N      : 1
MODENA_M      : 72
MODENA_M2     : 1

L3_N          : 19
L3_M          : 800
L3_M2         : 4

DSP_N         : 19
DSP_M         : 750
DSP_M2        : 1

DSS_N         : 19
DSS_M         : 800
DSS_M2        : 4

IVA_N         : 19
IVA_M         : 820
IVA_M2        : 2

ISS_N         : 19
ISS_M         : 960
ISS_M2        : 2

USB_N         : 19
USB_M         : 960
USB_M2        : 5

DCO_HS2_MIN   : 500
DCO_HS2_MAX   : 1000
DCO_HS1_MIN   : 1000
DCO_HS1_MAX   : 2000
SELFREQDCO_HS2   : 2049
SELFREQDCO_HS1   : 4097

--------- DDR PLL ----------
DDR_N             : 0x13
DDR_M             : 0x3C0
DDR_M2            : 0x2

----------EMIF Timings (identical for 0 & 1)-------
DDR3_EMIF_READ_LATENCY : 0x170209
DDR3_EMIF_TIM1         : 0xAAAD4DB
DDR3_EMIF_TIM2         : 0x682F7FDA
DDR3_EMIF_TIM3         : 0x501F82BF
DDR3_EMIF_REF_CTRL     : 0xC30
DDR3_EMIF_SDRAM_CONFIG : 0x61C011B2
DDR3_EMIF_SDRAM_ZQCR   : 0x50074BE1

----------SW LEVEL Info (EMIF 0) -------
DDR3_PHY_RD_DQS_CS0_BYTE0: 0x00000038
DDR3_PHY_RD_DQS_CS0_BYTE1: 0x00000037
DDR3_PHY_RD_DQS_CS0_BYTE2: 0x00000032
DDR3_PHY_RD_DQS_CS0_BYTE3: 0x00000031

DDR3_PHY_WR_DQS_CS0_BYTE0: 0x00000043
DDR3_PHY_WR_DQS_CS0_BYTE1: 0x00000044
DDR3_PHY_WR_DQS_CS0_BYTE2: 0x00000053
DDR3_PHY_WR_DQS_CS0_BYTE3: 0x00000050

DDR3_PHY_RD_DQS_GATE_CS0_BYTE0: 0x000000E4
DDR3_PHY_RD_DQS_GATE_CS0_BYTE1: 0x00000111
DDR3_PHY_RD_DQS_GATE_CS0_BYTE2: 0x00000112
DDR3_PHY_RD_DQS_GATE_CS0_BYTE3: 0x0000013D

DDR3_PHY_WR_DATA_CS0_BYTE0: 0x00000085
DDR3_PHY_WR_DATA_CS0_BYTE1: 0x00000083
DDR3_PHY_WR_DATA_CS0_BYTE2: 0x00000085
DDR3_PHY_WR_DATA_CS0_BYTE3: 0x0000007F

----------SW LEVEL Info (EMIF 1) -------
DDR3_PHY_RD_DQS_CS0_BYTE0: 0x0000003A
DDR3_PHY_RD_DQS_CS0_BYTE1: 0x00000036
DDR3_PHY_RD_DQS_CS0_BYTE2: 0x00000037
DDR3_PHY_RD_DQS_CS0_BYTE3: 0x00000033

DDR3_PHY_WR_DQS_CS0_BYTE0: 0x00000049
DDR3_PHY_WR_DQS_CS0_BYTE1: 0x0000004E
DDR3_PHY_WR_DQS_CS0_BYTE2: 0x00000054
DDR3_PHY_WR_DQS_CS0_BYTE3: 0x00000050

DDR3_PHY_RD_DQS_GATE_CS0_BYTE0: 0x000000D3
DDR3_PHY_RD_DQS_GATE_CS0_BYTE1: 0x000000F7
DDR3_PHY_RD_DQS_GATE_CS0_BYTE2: 0x00000109
DDR3_PHY_RD_DQS_GATE_CS0_BYTE3: 0x00000135

DDR3_PHY_WR_DATA_CS0_BYTE0: 0x0000008A
DDR3_PHY_WR_DATA_CS0_BYTE1: 0x00000080
DDR3_PHY_WR_DATA_CS0_BYTE2: 0x0000007F
DDR3_PHY_WR_DATA_CS0_BYTE3: 0x00000085

DRAM:  1 GiB
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 TI8148_EVM prompt if 2nd stage is already flashed
Hit any key to stop autoboot:  3  2  1  0 

NAND read: device 0 offset 0x20000, size 0x40000
 262144 bytes read: OK
## Starting application at 0x81000000 ...


U-Boot 2010.06 (Oct 23 2013 - 12:56:58)

TI8148-GP rev 2.1

L3 clk         : 200MHz
IVA clk        : 410MHz
ISS clk        : 480MHz
DSP clk        : 750MHz
DSS clk        : 200MHz
ARM clk        : 720MHz
DDR clk        : 480MHz

------------ PLL Settings --------------
OSC_0_FREQ    : 20MHz

MODENA_N      : 1
MODENA_M      : 72
MODENA_M2     : 1

L3_N          : 19
L3_M          : 800
L3_M2         : 4

DSP_N         : 19
DSP_M         : 750
DSP_M2        : 1

DSS_N         : 19
DSS_M         : 800
DSS_M2        : 4

IVA_N         : 19
IVA_M         : 820
IVA_M2        : 2

ISS_N         : 19
ISS_M         : 960
ISS_M2        : 2

USB_N         : 19
USB_M         : 960
USB_M2        : 5

DCO_HS2_MIN   : 500
DCO_HS2_MAX   : 1000
DCO_HS1_MIN   : 1000
DCO_HS1_MAX   : 2000
SELFREQDCO_HS2   : 2049
SELFREQDCO_HS1   : 4097

--------- DDR PLL ----------
DDR_N             : 0x13
DDR_M             : 0x3C0
DDR_M2            : 0x2

----------EMIF Timings (identical for 0 & 1)-------
DDR3_EMIF_READ_LATENCY : 0x170209
DDR3_EMIF_TIM1         : 0xAAAD4DB
DDR3_EMIF_TIM2         : 0x682F7FDA
DDR3_EMIF_TIM3         : 0x501F82BF
DDR3_EMIF_REF_CTRL     : 0xC30
DDR3_EMIF_SDRAM_CONFIG : 0x61C011B2
DDR3_EMIF_SDRAM_ZQCR   : 0x50074BE1

----------SW LEVEL Info (EMIF 0) -------
DDR3_PHY_RD_DQS_CS0_BYTE0: 0x00000038
DDR3_PHY_RD_DQS_CS0_BYTE1: 0x00000037
DDR3_PHY_RD_DQS_CS0_BYTE2: 0x00000032
DDR3_PHY_RD_DQS_CS0_BYTE3: 0x00000031

DDR3_PHY_WR_DQS_CS0_BYTE0: 0x00000043
DDR3_PHY_WR_DQS_CS0_BYTE1: 0x00000044
DDR3_PHY_WR_DQS_CS0_BYTE2: 0x00000053
DDR3_PHY_WR_DQS_CS0_BYTE3: 0x00000050

DDR3_PHY_RD_DQS_GATE_CS0_BYTE0: 0x000000E4
DDR3_PHY_RD_DQS_GATE_CS0_BYTE1: 0x00000111
DDR3_PHY_RD_DQS_GATE_CS0_BYTE2: 0x00000112
DDR3_PHY_RD_DQS_GATE_CS0_BYTE3: 0x0000013D

DDR3_PHY_WR_DATA_CS0_BYTE0: 0x00000085
DDR3_PHY_WR_DATA_CS0_BYTE1: 0x00000083
DDR3_PHY_WR_DATA_CS0_BYTE2: 0x00000085
DDR3_PHY_WR_DATA_CS0_BYTE3: 0x0000007F

----------SW LEVEL Info (EMIF 1) -------
DDR3_PHY_RD_DQS_CS0_BYTE0: 0x0000003A
DDR3_PHY_RD_DQS_CS0_BYTE1: 0x00000036
DDR3_PHY_RD_DQS_CS0_BYTE2: 0x00000037
DDR3_PHY_RD_DQS_CS0_BYTE3: 0x00000033

DDR3_PHY_WR_DQS_CS0_BYTE0: 0x00000049
DDR3_PHY_WR_DQS_CS0_BYTE1: 0x0000004E
DDR3_PHY_WR_DQS_CS0_BYTE2: 0x00000054
DDR3_PHY_WR_DQS_CS0_BYTE3: 0x00000050

DDR3_PHY_RD_DQS_GATE_CS0_BYTE0: 0x000000D3
DDR3_PHY_RD_DQS_GATE_CS0_BYTE1: 0x000000F7
DDR3_PHY_RD_DQS_GATE_CS0_BYTE2: 0x00000109
DDR3_PHY_RD_DQS_GATE_CS0_BYTE3: 0x00000135

DDR3_PHY_WR_DATA_CS0_BYTE0: 0x0000008A
DDR3_PHY_WR_DATA_CS0_BYTE1: 0x00000080
DDR3_PHY_WR_DATA_CS0_BYTE2: 0x0000007F
DDR3_PHY_WR_DATA_CS0_BYTE3: 0x00000085

I2C:   ready
DRAM:  1 GiB
NAND:  HW ECC BCH8 Selected
256 MiB
MMC:   OMAP SD/MMC: 0
                          .:;rrr;;.                   
                    ,5#@@@@#####@@@@@@#2,             
                 ,A@@@hi;;;r5;;;;r;rrSG@@@A,          
               r@@#i;:;s222hG;rrsrrrrrr;ri#@@r        
             :@@hr:r;SG3ssrr2r;rrsrsrsrsrr;rh@@:      
            B@H;;rr;3Hs;rrr;sr;;rrsrsrsrsrsr;;H@B     
           @@s:rrs;5#;;rrrr;r#@H:;;rrsrsrsrsrr:s@@    
          @@;;srs&X#9;r;r;;,2@@@rrr:;;rrsrsrsrr;;@@   
         @@;;rrsrrs@MB#@@@@@###@@@@@@#rsrsrsrsrr;;@@  
        G@r;rrsrsr;#X;SX25Ss#@@#M@#9H9rrsrsrsrsrs;r@G 
        @9:srsrsrs;2@;:;;:.X@@@@@H::;rrsrsrsrsrsrr:3@ 
       X@;rrsrsrsrr;XAi;;:&@@#@Bs:rrsrsrsrsrsrsrsrr;@X
       @#;rsrsrsrsrr;r2ir@@@###::rrsrsrsrsrsrsrsrsr:@@
       @A:rrsrsrsrr;:2@29@@M@@@;:;rrrrsrsrsrsrsrsrs;H@
       @&;rsrsrsrr;A@@@@@@###@@@s::;:;;rrsrsrsrsrsr;G@
       @#:rrsrsrsr;G@5Hr25@@@#@@@#9XG9s:rrrrsrsrsrs:#@
       M@;rsrsrsrs;r@&#;::S@@@@@@@M@@@@Grr:;rsrsrsr;@#
       :@s;rsrsrsrr:M#Msrr;;&#@@@@@@@@@@H@@5;rsrsr;s@,
        @@:rrsrsrsr;S@rrrsr;:;r3MH@@#@M5,S@@irrsrr:@@ 
         @A:rrsrsrsrrrrrsrsrrr;::;@##@r:;rH@h;srr:H@  
         ;@9:rrsrsrsrrrsrsrsrsr;,S@Hi@i:;s;MX;rr:h@;  
          r@B:rrrrsrsrsrsrsrr;;sA@#i,i@h;r;S5;r:H@r   
           ,@@r;rrrsrsrsrsrr;2BM3r:;r:G@:rrr;;r@@,    
             B@Mr;rrrrsrsrsr@@S;;;rrr:5M;rr;rM@H      
              .@@@i;;rrrrsrs2i;rrrrr;r@M:;i@@@.       
                .A@@#5r;;;r;;;rrr;r:r#AsM@@H.         
                   ;&@@@@MhXS5i5SX9B@@@@G;            
                       :ihM#@@@@@##hs,                

Net:   Detected MACID:0:18:32:61:57:18
cpsw
Hit any key to stop autoboot:  3  2  1  0 

NAND read: device 0 offset 0x280000, size 0x300000
 3145728 bytes read: OK
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
Error writing the chip. SII9022A not accessible or not present
VPDMA Firmware Version = 0x4d0001ad

NAND read: device 0 offset 0x580000, size 0x300000
 3145728 bytes read: OK
## Booting kernel from Legacy Image at 81000000 ...
   Image Name:   Linux-2.6.37
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2794332 Bytes = 2.7 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 (a0393400@bangvideoapps01) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #1 Wed Oct 23 13:13:24 IST 2013

CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f

CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache

Machine: ti8148evm

bootconsole [earlycon0] enabled

vram size = 20971520 at 0x0

ti81xx_reserve: ### Reserved DDR region @87f00000

reserved size = 20971520 at 0x0

FB: Reserving 20971520 bytes SDRAM for VRAM

Memory policy: ECC disabled, Data cache writeback

OMAP chip is TI8148 2.1

SRAM: Mapped pa 0x402f1000 to va 0xfe400000 size: 0xf000

Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 27136

Kernel command line: console=ttyO0,115200n8  root=/dev/nfs nfsroot=192.168.1.5:/home/coreel/dvrrdk/DVRRDK_04.01.00.02/target/rfs_814x,nolock rw mem=128M ip=dhcp earlyprintk notifyk.vpssm3_sva=0xBFD00000 ddr_mem=512M vram=20M

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: 106MB 1MB = 107MB total

Memory: 102384k/102384k available, 28688k reserved, 0K highmem

Virtual kernel memory layout:

    vector  : 0xffff0000 - 0xffff1000   (   4 kB)

    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)

    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)

    vmalloc : 0xc8800000 - 0xf8000000   ( 760 MB)

    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)

    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)

    modules : 0xbf000000 - 0xbfe00000   (  14 MB)

      .init : 0xc0008000 - 0xc0042000   ( 232 kB)

      .text : 0xc0042000 - 0xc054c000   (5160 kB)

      .data : 0xc054c000 - 0xc05a2a00   ( 347 kB)

SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1

NR_IRQS:407

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 IRQ400

Trying to install interrupt handler for IRQ401

Trying to install interrupt handler for IRQ402

Trying to install interrupt handler for IRQ403

Trying to install interrupt handler for IRQ404

Trying to install interrupt handler for IRQ405

Trying to install interrupt handler for IRQ406

Trying to install type control for IRQ407

Trying to set irq flags for IRQ407

OMAP clockevent source: GPTIMER1 at 20000000 Hz

Console: colour dummy device 80x30

Calibrating delay loop... 719.25 BogoMIPS (lpj=3596288)

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 0x87f00000 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

NOR: Can't request GPMC CS

clk get on i2c3 fck failed

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

registered ti81xx_vin device

NSS Crypto DMA hardware revision 1.9 @ IRQ 116

ti81xx_pcie: Invoking PCI BIOS...

ti81xx_pcie: Setting up Host Controller...

ti81xx_pcie: Register base mapped @0xc8830000

ti81xx_pcie: forcing link width - x1

ti81xx_pcie: Starting PCI scan...

PCI: bus0: Fast back to back transfers enabled

ti81xx_pcie: PCI scan done.

bio: create slab <bio-0> at 0

vgaarb: loaded

SCSI subsystem initialized

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

USBSS revision 4ea2080b

registerd cppi-dma Intr @ IRQ 17

Cppi41 Init Done

omap_i2c omap_i2c.1: bus 1 rev4.0 at 400 kHz

pcf857x 1-0021: gpios 128..143 on a pcf8575

regulator: VRTC: 1800 mV 

regulator: VIO: 1500 mV 

regulator: VDD1: 600 <--> 1500 mV at 1100 mV 

regulator: VDD2: 600 <--> 1500 mV at 1200 mV 

regulator: VDDCTRL: 600 <--> 1400 mV at 1200 mV 

regulator: LDO1: 1100 <--> 3300 mV at 1800 mV 

regulator: LDO2: 1100 <--> 3300 mV at 1800 mV 

regulator: LDO3: 1100 <--> 3300 mV at 3300 mV 

regulator: LDO4: 1100 <--> 3300 mV at 1800 mV 

regulator: LDO5: 1100 <--> 3300 mV at 3300 mV 

regulator: LDO6: 1100 <--> 3300 mV at 3300 mV 

regulator: LDO7: 1100 <--> 3300 mV at 3300 mV 

regulator: LDO8: 1100 <--> 3300 mV at 1800 mV 

tps65910 1-002d: No interrupt support, no core IRQ

omap_i2c omap_i2c.3: bus 3 rev4.0 at 400 kHz

Advanced Linux Sound Architecture Driver Version 1.0.23.

Switching to clocksource gp timer

musb-hdrc: version 6.0, host, debug=0

musb-hdrc musb-hdrc.0: dma type: dma-cppi41

MUSB controller-0 revision 4ea20800

usb2phy: computed values rxcalib(15)DACs(35 13 16)

usb2phy: override computed values rxcalib(15)DACs(35 13 16)

usb2phy_config: musb(0) rxcalib done, rxcalib read value 6f71db86

musb-hdrc musb-hdrc.0: MUSB HDRC host driver

musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1

usb usb1: New USB device found, idVendor=1d6b, idProduct=0002

usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

usb usb1: Product: MUSB HDRC host driver

usb usb1: Manufacturer: Linux 2.6.37 musb-hcd

usb usb1: SerialNumber: musb-hdrc.0

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 1 port detected

musb-hdrc musb-hdrc.0: USB Host mode controller at c881e000 using DMA, IRQ 18

musb-hdrc musb-hdrc.1: dma type: dma-cppi41

MUSB controller-1 revision 4ea20800

usb2phy: computed values rxcalib(15)DACs(31 14 13)

usb2phy: override computed values rxcalib(15)DACs(31 14 13)

usb2phy_config: musb(1) rxcalib done, rxcalib read value 6f6fdd6e

musb-hdrc musb-hdrc.1: MUSB HDRC host driver

musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2

usb usb2: New USB device found, idVendor=1d6b, idProduct=0002

usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1

usb usb2: Product: MUSB HDRC host driver

usb usb2: Manufacturer: Linux 2.6.37 musb-hcd

usb usb2: SerialNumber: musb-hdrc.1

hub 2-0:1.0: USB hub found

hub 2-0:1.0: 1 port detected

musb-hdrc musb-hdrc.1: USB Host mode controller at c882a800 using DMA, IRQ 19

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 199

alg: No test for stdrng (krng)

io scheduler noop registered

io scheduler deadline registered

io scheduler cfq registered (default)

nss_rng nss_rng: NSS Random Number Generator ver. 2.0

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
omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
brd: module loaded
loop: module loaded
ahci probe: devid name is ahci
ahci CAP register dump =0x6726ff80
Modified ahci CAP register dump =0x6f26ff80
ahci ahci.0: forcing PORTS_IMPL to 0x1
ahci: SSS flag set, parallel bus scan disabled
ahci ahci.0: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
ahci ahci.0: flags: ncq sntf stag pm led clo only pmp pio slum part ccc apst 
scsi0 : ahci_platform
ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x100 irq 16
omap2-nand driver initializing
ONFI param page 0 valid
ONFI flash detected
NAND device: Maf ID: 0x2c, Chip ID: 0xca (Micron, NAND 256MiB 3,3V 16-bit)
 erasesize: 0x20000, writesize: 2048, oobsize: 64
omap2-nand: detected x16 NAND flash 
Creating 7 MTD partitions on "omap2-nand.0":
0x000000000000-0x000000020000 : "U-Boot-min"
0x000000020000-0x000000260000 : "U-Boot"
0x000000260000-0x000000280000 : "U-Boot Env"
0x000000280000-0x000000580000 : "U-Boot Logo"
0x000000580000-0x0000009c0000 : "Kernel"
0x0000009c0000-0x00000d1e0000 : "File System"
0x00000d1e0000-0x000010000000 : "Reserved"
davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
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
CAN device driver interface
CAN bus driver for Bosch D_CAN controller 1.0
d_can d_can: d_can device registered (irq=52, irq_obj=53)
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver dm9601
usbcore: registered new interface driver cdc_acm
cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
ata1: SATA link down (SStatus 0 SControl 300)
qt602240_ts 1-004a: Family ID: 128 Variant ID: 1 Version: 22 Build: 171
qt602240_ts 1-004a: Matrix X Size: 18 Matrix Y Size: 12 Object Num: 17
input: AT42QT602240/ATMXT224 Touchscreen as /devices/platform/omap/omap_i2c.1/i2c-1/1-004a/input/input0
omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
i2c /dev entries driver
Linux video capture interface: v2.00
usbcore: registered new interface driver uvcvideo
USB Video Class driver (v1.0.0)
OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec
nss_aes_mod_init: loading NSS AES driver
nss-aes nss-aes: NSS AES hw accel rev: 3.2 (context 0 @0x41140000)
nss-aes nss-aes: NSS AES hw accel rev: 3.2 (context 1 @0x41141000)
nss-aes nss-aes: NSS AES hw accel rev: 3.2 (context 2 @0x411a0000)
nss-aes nss-aes: NSS AES hw accel rev: 3.2 (context 3 @0x411a1000)
nss_aes_probe: probe() done
nss_des_mod_init: loading NSS DES driver
nss-des nss-des: NSS DES hw accel rev: 2.2 (context 0 @0x41160000)
nss-des nss-des: NSS DES hw accel rev: 2.2 (context 1 @0x41161000)
nss_des_probe: probe() done
nss_sham_mod_init: loading NSS SHA/MD5 driver
nss-sham nss-sham: NSS SHA/MD5 hw accel rev: 4.03 (context 0 @0x41100000)
nss-sham nss-sham: NSS SHA/MD5 hw accel rev: 4.03 (context 1 @0x41101000)
nss-sham nss-sham: NSS SHA/MD5 hw accel rev: 4.03 (context 2 @0x411c0000)
nss-sham nss-sham: NSS SHA/MD5 hw accel rev: 4.03 (context 3 @0x411c1000)
nss_sham_probe: probe() done
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
notify_init : notify drivercreated  for  remote proc id 2 at physical Address 0xbfd00000
usbcore: registered new interface driver snd-usb-audio
Registered tvp5158 audio codec
*** Forcing SW CTS!
asoc: tvp5158-hifi <-> davinci-mcasp.0 mapping ok
asoc: tlv320aic3x-hifi <-> davinci-mcasp.2 mapping ok
asoc: HDMI-DAI-CODEC <-> hdmi-dai mapping ok
ALSA device list:
  #0: TI81XX SOUND0
  #1: TI81XX SOUND1
TCP cubic registered
NET: Registered protocol family 17
can: controller area network core (rev 20090105 abi 8)
NET: Registered protocol family 29
can: raw protocol (rev 20090105)
can: broadcast manager protocol (rev 20090105 t)
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:18:32:61:57:18
omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
mmc0: host does not support reading read-only switch. assuming write-enable.
mmc0: new high speed SDHC card at address e624
mmcblk0: mmc0:e624 SD08G 7.40 GiB 
 mmcblk0: p1 p2

CPSW phy found : id is : 0x4dd074

CPSW phy found : id is : 0x4dd074
Sending DHCP requests .
PHY: 0:01 - Link is Up - 0/Half
PHY: 0:01 - Link is Down
.
PHY: 0:00 - Link is Up - 1000/Full
., OK
IP-Config: Got DHCP answer from 192.168.1.5, my address is 192.168.1.235
IP-Config: Complete:
     device=eth0, addr=192.168.1.235, mask=255.255.255.0, gw=192.168.1.1,
     host=192.168.1.235, domain=, nis-domain=(none),
     bootserver=192.168.1.5, rootserver=192.168.1.5, rootpath=
VFS: Mounted root (nfs filesystem) on device 0:15.
devtmpfs: mounted
Freeing init memory: 232K

INIT: version 2.88 booting

 Mounting /dev/shm              :  Mounting /dev/pts          :  Mounting other filesystems :  Mounting /dev/sda1              : mount: mounting /dev/sda1 on /media/sda1 failed: No such file or directory
Sync command ...Error opening /dev/fb0: No such file or directory
Starting udev
udev[114]: starting version 164
EXT3-fs: barriers not enabled
kjournald starting.  Commit interval 5 seconds
EXT3-fs (mmcblk0p2): using internal journal
EXT3-fs (mmcblk0p2): recovery complete
EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode
Starting Bootlog daemon: bootlogd.
Applying sync command

 _____                    _____           _         _   
|  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
|     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
|__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
              |___|                    |___|            

Arago Project http://arago-project.org dm814x ttyO0

Arago 2012.10 dm814x ttyO0

dm814x login: root
root@dm814x:~# cd /opt/dvr_rdk/ti814x/
root@dm814x:/opt/dvr_rdk/ti814x# ./init.sh 
*** Bootargs Validated for mem param ***
*** Bootargs Validated for notifyk.vpssm3 params ***
Kernel bootargs validated
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 @ 0xbff10820
 [m3vpss ] Remote Debug Shared Memory @ 0xbff21040
SysLink version : 2.20.02.20
SysLink module created on Date:Aug 24 2014 Time:15:29:46
Trace enabled
Trace SetFailureReason enabled
 Setting DMM priority for [DUCATI  ] to [0] ( 0x4e000624 = 0x08000000 )
 Setting DMM priority for [HDVICP0 ] to [2] ( 0x4e000634 = 0x0000000a )
 
 *** TVP5158 probe : START ***
 
 TI VS EVM : TVP5158 device address : 0x58, 0x5a, 0x5c, 0x5e
 TI DVR    : TVP5158 device address : 0x58, 0x59, 0x5a, 0x5b
 
 Device found     : I2C (0xXX): 0x08 = 0x51
                    I2C (0xXX): 0x09 = 0x58
 
 Device NOT found : I2C (0xXX): Read ERROR !!! (reg[0x08], count = 2)
 
 I2C (0x58): Read ERROR !!! (reg[0x08], count = 2)
 I2C (0x5a): Read ERROR !!! (reg[0x08], count = 2)
 I2C (0x5c): 0x08 = 0x02 
 I2C (0x5c): 0x09 = 0x80 
 I2C (0x5e): Read ERROR !!! (reg[0x08], count = 2)
 I2C (0x59): Read ERROR !!! (reg[0x08], count = 2)
 I2C (0x5b): Read ERROR !!! (reg[0x08], count = 2)
 
 *** TVP5158 probe : END ***
 
/opt/dvr_rdk/ti814x
root@dm814x:/opt/dvr_rdk/ti814x# ./load.sh 
Attached to slave procId 2.
Loaded file ../firmware/dvr_rdk_fw_m3vpss_512M_128M.xem3 on slave procId 2.
Started slave procId 2.
After Ipc_loadcallback status [0x00000000]
 [m3vpss ] 	ISS Freq  : 480 MHz
After Ipc_startcallback status [0x00000000]
 [m3vpss ] ***** VPSS Firmware build time 18:42:02 Sep 16 2014  EDG gcc 3.0 mode
 [m3vpss ] ***** SYSTEM  : Frequency <ORG> - 200000000, <NEW> - 240000000
 [m3vpss ] notify_attach  rtnVal  0
 [m3vpss ] initProxyServer  rtnVal  0
 [m3vpss ]  
 [m3vpss ]  *** UTILS: CPU KHz = 480000 Khz ***
 [m3vpss ]  
 [m3vpss ]  43: SYSTEM  : System Common Init in progress !!!
 [m3vpss ]  44: SYSTEM: IPC init in progress !!!
 [m3vpss ]  44: SYSTEM: Attaching to [HOST] ... 
 [m3vpss ]  46: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
Attached to slave procId 1.
Loaded file ../firmware/dvr_rdk_fw_m3video_512M_128M.xem3 on slave procId 1.
Started slave procId 1.
After Ipc_loadcallback status [0x00000000]
After Ipc_startcallback status [0x00000000]
 [m3video] 	ISS Freq  : 480 MHz
 [m3video] ***** VIDEO Firmware build time 18:43:39 Sep 16 2014  EDG gcc 3.0 mode
 [m3video] ***** SYSTEM  : Frequency <ORG> - 200000000, <NEW> - 240000000
 [m3video]  
 [m3video]  *** UTILS: CPU KHz = 480000 Khz ***
 [m3video]  
 [m3video]  175: SYSTEM  : System Common Init in progress !!!
 [m3video]  175: SYSTEM: IPC init in progress !!!
 [m3video]  175: SYSTEM: Attaching to [HOST] ... 
 [m3video]  179: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
Attached to slave procId 0.
Loaded file ../firmware/dvr_rdk_fw_c6xdsp_512M_128M.xe674 on slave procId 0.
Started slave procId 0.
After Ipc_loadcallback status [0x00000000]
After Ipc_startcallback status [0x00000000]
 [c6xdsp ] 	DSP Freq  : 750 MHz
 [m3video]  278: SYSTEM: Attaching to [DSP] ... SUCCESS !!!
 [m3vpss ]  280: SYSTEM: Attaching to [DSP] ... SUCCESS !!!
 [m3video]  282: SYSTEM: Attaching to [VPSS-M3] ... SUCCESS !!!
 [m3vpss ]  282: SYSTEM: Attaching to [VIDEO-M3] ... SUCCESS !!!
 [c6xdsp ] ***** VIDEO Firmware build time 18:39:54 Sep 16 2014  EDG gcc 3.0 mode
 [m3video]  282: SYSTEM: Creating MsgQ Heap [IPDMA: Module install successful, device major num = 251 
C_MSGQ_MSG_HEAP_DRV: Module install successful
1] ...
 [m3vpssDRV: Module built on Aug 24 2014 15:30:27 
 ]  282: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_2] ...
 [c6xdsp ] ***** SYSTEM  : Frequency <ORG> - 500000000, <NEW> - 750000000
 [m3video]  282: SYSTEM: Creating MsgQ [VIDEO-M3_MSGQ] ...
 [m3vpss ]  282: SYSTEM: Creating MsgQ [VPSS-M3_MSGQ] ...
 [c6xdsp ]  
 [m3video]  283: SYSTEM: Creating MsgQ [VIDEO-M3_ACK_MSGQ] ...
 [m3vpss ]  282: SYSTEM: Creating MsgQ [VPSS-M3_ACK_MSGQ] ...
 [c6xdsp ]  *** UTILS: CPU KHz = 750000 Khz ***
 [m3video]  284: SYSTEM: Notify register to [HOST] line 0, event 15 ... 
 [m3vpss ]  284: SYSTEM: Notify register to [HOST] line 0, event 15 ... 
 [c6xdsp ]  
 [m3video]  285: SYSTEM: Notify register to [DSP] line 0, event 15 ... 
 [m3vpss ]  285: SYSTEM: Notify register to [DSP] line 0, event 15 ... 
 [c6xdsp ]  1: SYSTEM  : System Common Init in progress !!!
 [m3video]  285: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ... 
 [m3vpss ]  285: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ... 
 [c6xdsp ]  1: SYSTEM: IPC init in progress !!!
 [m3video]  285: SYSTEM: IPC init DONE !!!
 [m3vpss ]  285: SYSTEM: IPC init DONE !!!
 [c6xdsp ]  1: SYSTEM: Attaching to [HOST] ... 
 [c6xdsp ]  4: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
 [c6xdsp ]  5: SYSTEM: Attaching to [VIDEO-M3] ... SUCCESS !!!
 [c6xdsp ]  7: SYSTEM: Attaching to [VPSS-M3] ... SUCCESS !!!
 [c6xdsp ]  7: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_0] ...
 [c6xdsp ]  8: SYSTEM: Creating MsgQ [DSP_MSGQ] ...
 [c6xdsp ]  8: SYSTEM: Creating MsgQ [DSP_ACK_MSGQ] ...
 [c6xdsp ]  8: SYSTEM: Notify register to [HOST] line 0, event 15 ... 
 [c6xdsp ]  8: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ... 
 [c6xdsp ]  8: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ... 
 [c6xdsp ]  8: SYSTEM: IPC init DONE !!!
 [c6xdsp ]  10: MEM: Shared Region 2: Base = 0xb8000000, Length = 0x07000000 (112 MB) 
 [c6xdsp ]  10: MEM: ERROR: SharedRegion_setEntry (2, 0x8fcef2dc) FAILED !!!  (status=-1) 
 [m3video]  292: MEM: Shared Region 2: Base = 0xb8000000, Length = 0x07000000 (112 MB) 
 [m3vpss ]  292: MEM: Shared Region 2: Base = 0xb8000000, Length = 0x07000000 (112 MB) 
 [m3video]  293: MEM: Shared Region 1: Base = 0x88000000, Length = 0x04f00000 (79 MB) 
 [m3vpss ]  292: MEM: Shared Region 1: Base = 0x88000000, Length = 0x04f00000 (79 MB) 
 [m3video]  295: SYSTEM  : System Common Init Done !!!
 [m3vpss ]  295: SYSTEM  : System Common Init Done !!!
 [m3video]  295: SYSTEM  : System Video Init in progress !!!
 [m3vpss ]  295: SYSTEM  : System VPSS Init in progress !!!
 [m3video]  295: SYSTEM  : System Video Init Done !!!
 [m3vpss ]  295: SYSTEM: All VPDMA Free !!! 
 [m3video]  296: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_0] in region 0 ...
 [m3video]  296: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_0] in region 0 ...
 [m3video]  296: SYSTEM: ListElem Shared Addr = 0xbf173e00
 [m3video]  299: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_1] in region 0 ...
 [m3video]  299: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_1] in region 0 ...
 [m3video]  299: SYSTEM: ListElem Shared Addr = 0xbf177300
 [m3video]  306: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_19] in region 0 ...
 [m3video]  306: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_19] in region 0 ...
 [m3video]  307: SYSTEM: ListElem Shared Addr = 0xbf17a800
 [m3video]  310: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_20] in region 0 ...
 [m3video]  310: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_20] in region 0 ...
 [m3video]  310: SYSTEM: ListElem Shared Addr = 0xbf1a0000
 [m3video]  313: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_21] in region 0 ...
 [m3vpss ] === I2C0/2 Clk is active ===
 [m3video]  313: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_21] in region 0 ...
 [m3vpss ]  318: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_0] in region 0 ...
 [m3video]  313: SYSTEM: ListElem Shared Addr = 0xbf1c5800
 [m3vpss ]  319: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_0] in region 0 ...
 [m3video]  330: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_24] in region 0 ...
 [m3vpss ]  319: SYSTEM: ListElem Shared Addr = 0xbf1eb000
 [m3video]  330: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_24] in region 0 ...
 [m3vpss ]  321: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_1] in region 0 ...
 [m3video]  331: SYSTEM: ListElem Shared Addr = 0xbf1f1a00
 [m3vpss ]  322: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_1] in region 0 ...
 [m3video]  333: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_25] in region 0 ...
 [m3vpss ]  322: SYSTEM: ListElem Shared Addr = 0xbf1ee500
 [m3video]  334: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_25] in region 0 ...
 [m3vpss ]  340: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_19] in region 0 ...
 [m3video]  334: SYSTEM: ListElem Shared Addr = 0xbf210480
 [m3vpss ]  340: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_19] in region 0 ...
 [m3video]  336: HDVICP: Doing PRCM for IVAHD[0] ... 
 [m3vpss ]  340: SYSTEM: ListElem Shared Addr = 0xbf22ef00
 [m3video]  336: HDVICP: PRCM for IVAHD[0] ... DONE.
 [m3vpss ]  343: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_20] in region 0 ...
 [m3video]  338: UTILS: DMA: HWI Create for INT62 !!!
 [m3vpss ]  343: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_20] in region 0 ...
 [m3video]  338: SYSTEM  : ISS Init in progress !!!
 [m3vpss ]  343: SYSTEM: ListElem Shared Addr = 0xbf254700
 [m3video]  338: SYSTEM  : ISS Power-ON in progress !!!
 [m3vpss ]  346: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_21] in region 0 ...
 [m3video]  348: SYSTEM  : ISS Power-ON in progress DONE !!!
 [m3vpss ]  347: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_21] in region 0 ...
 [m3video]  349: SYSTEM  : ISS Init in progress DONE !!!
 [m3vpss ]  347: SYSTEM: ListElem Shared Addr = 0xbf279f00
 [m3video]  349: VCOP BOOST BIT is Set
 [m3vpss ]  349: SYSTEM : HDVPSS Drivers Version: HDVPSS_01_00_01_37
 [m3video]  349: SYSTEM  : VCOP Init in progress !!!
 [m3vpss ]  349: SYSTEM  : FVID2 Init in progress !!!
 [m3video]  349: SYSTEM  : VCOP needs 172 B of memory !!!
 [m3video]  351: SYSTEM  : VCOP Init in progress DONE !!!
 [m3video]  351: SYSTEM  : Initializing Links !!! 
 [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
 [m3video] Remote Debug Shared Memory @ 0xbff10820
 [m3vpss ] Remote Debug Shared Memory @ 0xbff21040
 [m3video]  351: SYSTEM  : FREE SPACE : System Heap      = 6263296 B, Mbx = 10240 msgs) 
 [m3vpss ] TILER_STATS: CNT :8BIT
 [m3video]  351: SYSTEM  : FREE SPACE : SR0 Heap         = 6426368 B (6 MB) 
 [m3vpss ] TILER_STATS: CNT RESOLUTION:    16384 x 5440
 [m3video]  351: SYSTEM  : FREE SPACE : Frame Buffer     = 117440384 B (111 MB) 
 [m3vpss ] TILER_STATS: BUCKET RESOLUTION: 16384 x 5436
 [m3video]  351: SYSTEM  : FREE SPACE : Bitstream Buffer = 82837376 B (78 MB) 
 [m3vpss ] TILER_STATS: NUM FREE BUCKETS:  1
 [m3video]  351: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...
 [m3vpss ] TILER_STATS: NUM USED BUCKETS:  0
 [m3video]  353: SYSTEM  : FREE SPACE : Tiler 8-bit      = 89063424 B (84 MB)  - TILER ON 
 [m3vpss ] TILER_STATS: TOTAL FREE AREA:   89063424 (99 %)
 [m3video]  354: SYSTEM  : FREE SPACE : Tiler 16-bit     = 44040192 B (42 MB)  - TILER ON 
 [m3vpss ] TILER_STATS: TOTAL USED AREA:   0 (0 %)
 [m3video]  413: SYSTEM  : Initializing Links ... DONE !!! 
 [m3vpss ] Received character 's'
 [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
 [m3video] Remote Debug Shared Memory @ 0xbff10820
 [m3vpss ] Remote Debug Shared Memory @ 0xbff21040
 [m3video] Received character 's'
 [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
 [m3video] Remote Debug Shared Memory @ 0xbff10820
 [m3vpss ] Remote Debug Shared Memory @ 0xbff21040
 [m3vpss ] TILER_STATS: CNT :16BIT
 [m3vpss ] TILER_STATS: CNT RESOLUTION:    32768 x 1344
 [m3vpss ] TILER_STATS: BUCKET RESOLUTION: 32768 x 1344
 [m3vpss ] TILER_STATS: NUM FREE BUCKETS:  1
 [m3vpss ] TILER_STATS: NUM USED BUCKETS:  0
 [m3vpss ] TILER_STATS: TOTAL FREE AREA:   44040192 (100 %)
 [m3vpss ] TILER_STATS: TOTAL USED AREA:   0 (0 %)
 [m3vpss ]  429: SYSTEM  : FVID2 Init in progress DONE !!!
 [m3vpss ]  429: SYSTEM  : Device Init in progress !!!
 [m3vpss ]  517: SYSTEM  : Device Init in progress DONE !!!
 [m3vpss ] 	HDVPSS Freq  : 220 MHz
 [m3vpss ]  563: SYSTEM  : System VPSS Init Done !!!
 [m3vpss ]  564: UTILS: DMA: HWI Create for INT63 !!!
 [m3vpss ]  564: SYSTEM  : Initializing Links !!! 
 [m3vpss ]  565: SYSTEM  : FREE SPACE : System Heap      = 250280 B, Mbx = 10240 msgs) 
 [m3vpss ]  565: SYSTEM  : FREE SPACE : SR0 Heap         = 6426368 B (6 MB) 
 [m3vpss ]  565: SYSTEM  : FREE SPACE : Frame Buffer     = 113130368 B (107 MB) 
 [m3vpss ]  565: SYSTEM  : FREE SPACE : Bitstream Buffer = 82837376 B (78 MB) 
 [m3vpss ] TILER_STATS: CNT :8BIT
 [m3vpss ] TILER_STATS: CNT RESOLUTION:    16384 x 5440
 [m3vpss ] TILER_STATS: BUCKET RESOLUTION: 16384 x 5436
 [m3vpss ] TILER_STATS: NUM FREE BUCKETS:  1
 [m3vpss ] TILER_STATS: NUM USED BUCKETS:  0
 [m3vpss ] TILER_STATS: TOTAL FREE AREA:   89063424 (99 %)
 [m3vpss ] TILER_STATS: TOTAL USED AREA:   0 (0 %)
 [m3vpss ] TILER_STATS: CNT :16BIT
 [m3vpss ] TILER_STATS: CNT RESOLUTION:    32768 x 1344
 [m3vpss ] TILER_STATS: BUCKET RESOLUTION: 32768 x 1344
 [m3vpss ] TILER_STATS: NUM FREE BUCKETS:  1
 [m3vpss ] TILER_STATS: NUM USED BUCKETS:  0
 [m3vpss ] TILER_STATS: TOTAL FREE AREA:   44040192 (100 %)
 [m3vpss ] TILER_STATS: TOTAL USED AREA:   0 (0 %)
 [m3vpss ]  566: SYSTEM  : FREE SPACE : Tiler 8-bit      = 89063424 B (84 MB)  - TILER ON 
 [m3vpss ]  567: SYSTEM  : FREE SPACE : Tiler 16-bit     = 44040192 B (42 MB)  - TILER ON 
 [m3vpss ]  716: SYSTEM  : Initializing Links ... DONE !!! 
 [m3vpss ]  716: SYSTEM  : Set Static L3 pressure for HDVPSS as High
 [c6xdsp ]  1011: MEM: Shared Region 1: Base = 0x88000000, Length = 0x04f00000 (79 MB) 
 [c6xdsp ]  1011: SYSTEM  : System Common Init Done !!!
 [c6xdsp ]  1010: SYSTEM  : System DSP Init in progress !!!
 [c6xdsp ]  1010: SYSTEM  : RpeServer_init() done... Ret Val 0!!!
 [c6xdsp ]  1015: SYSTEM: Creating ListMP [DSP_IPC_OUT_19] in region 0 ...
 [c6xdsp ]  1015: SYSTEM: Creating ListMP [DSP_IPC_IN_19] in region 0 ...
 [c6xdsp ]  1015: SYSTEM: ListElem Shared Addr = 0xbf29f700
 [c6xdsp ]  1016: SYSTEM: Creating ListMP [DSP_IPC_OUT_20] in region 0 ...
 [c6xdsp ]  1016: SYSTEM: Creating ListMP [DSP_IPC_IN_20] in region 0 ...
 [c6xdsp ]  1016: SYSTEM: ListElem Shared Addr = 0xbf2c4f00
 [c6xd[module] vpss probe done.
sp ]  1017: SYSTEM: Creating ListMP [DSP_IPC_OUT_21] in region 0 ...
 [c6xdsp ]  1017: SYSTEM: Creating ListMP [DSP_IPC_IN_21] in region 0 ...
 [c6xdsp ]  1017: SYSTEM: ListElem Shared Addr = 0xbf2ea700
 [c6xdsp ]  1018: SYSTEM: Creating ListMP [DSP_IPC[module] ti81xxfb probe done.
_OUT_24] in region 0 ...
 [c6xdsp ]  1018: SYSTEM: Creating ListMP [DSP_IPC_IN_24] in region 0 ...
 [c6xdsp ]  1018: SYSTEM: ListElem Shared Addr = 0xbf30ff00
 [c6xdsp ]  1019: SYSTEM: Creating ListMP [DSP_IPC_OUT_25] in region 0 ...
 [c6xdsp ]  1019: SYSTEM: Creating ListMP [DSP_IPCHDMI W1 rev 4.0
_IN_25] in regioHDMI CEC Spec version 1.2
n 0 ...
 [c6xdsp ]  1019: SYSTEM: ListElem Shared Addr = 0xbf32e980
 [c6xdsp ] !!WARNING.Resource already registered:2
 [c6xdsp ]  1019: SYSTEM  : Initializing Links !!! 
 [c6xdsp ]  1020: SYSTEM  : FREE SPACE : System Heap      = 6393472 B, Mbx = 10240 msgs) 
 [c6xdsp ] Received character 's'
/opt/dvr_rdk/ti814x
 [c6xdsp ]  1032: SYSTEM  : Initializing Links ... DONE !!! 
 [c6xdsp ]  1032: SYSTEM  : System DSP Init Done !!!
 
 ORG 0x46c00524: 0
 NEW 0x46c00524: 2
 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x21 0x0f 0xCB


i2cset -y 3 0x5d 0x0B 0x80

i2cset -y 3 0x5d 0x0C 0x90

i2cset -y 3 0x5d 0x0D 0x80

i2cset -y 3 0x5d 0x0E 0x3F

i2cset -y 3 0x5d 0x0F 0x2E

i2cset -y 3 0x5d 0x10 0x5D

i2cset -y 3 0x5d 0x11 0x50

i2cset -y 3 0x5d 0x12 0x00

i2cset -y 3 0x5d 0x13 0x00

i2cset -y 3 0x5d 0x15 0x47

i2cset -y 3 0x5d 0x16 0x01

i2cset -y 3 0x5d 0x17 0x00

i2cset -y 3 0x5d 0x18 0x01

i2cset -y 3 0x5d 0x19 0x00

i2cset -y 3 0x5d 0x1A 0x8F

i2cset -y 3 0x5d 0x40 0x47

i2cset -y 3 0x5d 0x41 0x01

i2cset -y 3 0x5d 0x42 0x4B

i2cset -y 3 0x5d 0x43 0x06

i2cset -y 3 0x5d 0x44 0x05

i2cset -y 3 0x5d 0x45 0x00

i2cset -y 3 0x5d 0x46 0x1E

i2cset -y 3 0x5d 0x47 0x00

i2cset -y 3 0x5d 0x48 0x00

i2cset -y 3 0x5d 0x49 0x00

i2cset -y 3 0x5d 0x34 0x12

i2cset -y 3 0x5d 0x3F 0x0F

i2cset -y 3 0x5d 0x31 0x5aroot@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x01 0x67
root@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x02 0x20
root@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x03 0xa0
root@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x04 0x16
root@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x05 0x32
root@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x06 0x20
root@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x07 0x2C
root@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x0B 0x80
root@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x0C 0x90
root@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x0D 0x80
root@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x0E 0x3F
root@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x0F 0x2E
root@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x10 0x5D
root@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x11 0x50
root@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x12 0x00
root@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x13 0x00
root@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x15 0x47
root@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x16 0x01
root@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x17 0x00
root@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x18 0x01
root@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x19 0x00
root@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x1A 0x8F
root@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x40 0x47
root@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x41 0x01
root@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x42 0x4B
root@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x43 0x06
root@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x44 0x05
root@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x45 0x00
root@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x46 0x1E
root@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x47 0x00
root@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x48 0x00
root@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x49 0x00
root@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x34 0x12
root@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x3F 0x0F
root@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x31 0x5a
root@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x21 0x0f 0xCB
root@dm814x:/opt/dvr_rdk/ti814x# 
root@dm814x:/opt/dvr_rdk/ti814x# ./init.sh         run.sh 


 =========

 Main Menu

 =========



 1: 4CH VCAP + VENC + VDEC + VDIS  - Progressive SD Encode + Decode

 2: 8CH <D1+CIF> VCAP + VENC + VDEC + VDIS  - Progressive SD Encode + Decode

 3: 16CH RT VCAP + VENC + VDEC + VDIS  - Progressive SD Encode + Decode

 4: 16CH NRT <D1+CIF> VCAP + VENC + VDEC + VDIS  - Progressive SD Encode + Decode

 5:               VDEC + VDIS  - SD/HD Decode ONLY




 e: Exit



 Enter Choice: 1
--------------- CHANNEL DETAILS-------------
Capture Channels => 1
Disp Channels => 1
-------------------------------------------
 0: SYSTEM: System Common Init in progress !!!
 0: SYSTEM: IPC init in progress !!!
 11: SYSTEM: CPU [DSP] syslink proc ID is [0] !!!
 11: SYSTEM: CPU [VIDEO-M3] syslink proc ID is [1] !!!
 11: SYSTEM: CPU [VPSS-M3] syslink proc ID is [2] !!!
 11: SYSTEM: CPU [HOST] syslink proc ID is [3] !!!
 11: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_3] ...
 13: SYSTEM: Creating MsgQ [HOST_MSGQ] ...
 15: SYSTEM: Creating MsgQ [HOST_ACK_MSGQ] ...
 16: SYSTEM: Opening MsgQ [DSP_MSGQ] ...
 17: SYSTEM: Opening MsgQ [VIDEO-M3_MSGQ] ...
 17: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...
 18: SYSTEM: Notify register to [DSP] line 0, event 15 ... 
 19: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ... 
 19: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ... 
 20: SYSTEM: IPC init DONE !!!
 21: SYSTEM: Creating ListMP [HOST_IPC_OUT_24] in region 0 ...
 22: SYSTEM: Creating ListMP [HOST_IPC_IN_24] in region 0 ...
 24: SYSTEM: ListElem Shared Addr = 0x40783680
 25: SYSTEM: Creating ListMP [HOST_IPC_OUT_25] in region 0 ...
 26: SYSTEM: Creating ListMP [HOST_IPC_IN_25] in region 0 ...
 28: SYSTEM: ListElem Shared Addr = 0x407ba480
 29: SYSTEM: Creating ListMP [HOST_IPC_OUT_19] in region 0 ...
 31: SYSTEM: Creating ListMP [HOST_IPC_IN_19] in region 0 ...
 32: SYSTEM: ListElem Shared Addr = 0x407f1280
 33: SYSTEM: Creating ListMP [HOST_IPC_OUT_20] in region 0 ...
 35: SYSTEM: Creating ListMP [HOST_IPC_IN_20] in region 0 ...
 36: SYSTEM: ListElem Shared Addr = 0x40834580
 37: SYSTEM: Creating ListMP [HOST_IPC_OUT_21] in region 0 ...
 39: SYSTEM: Creating ListMP [HOST_IPC_IN_21] in region 0 ...
 40: SYSTEM: ListElem Shared Addr = 0x40877880
 58: SYSTEM: System Common Init Done !!!
 [host] HDMI Ctrl :Initializing
[HOST] 
ThreadName:Vdis_hdmiControlThread_0,ThreadID:779
 [host] HDMI Ctrl :Initialized
 [host] HDMI Ctrl :Sink Connected
 [FBDEV] 
 [FBDEV] FB: Starting !!!
 [FBDEV] FB: Opened device [/dev/fb0] (fd=21) !!!
 [FBDEV] 
 [FBDEV] Fix Screen Info
 [FBDEV] ---------------
 [FBDEV] Line Length - 1600
 [FBDEV] Physical Address = 86a00000
 [FBDEV] Buffer Length = 2097152
 [FBDEV] 
 [FBDEV] 
 [FBDEV] Var Screen Info
 [FBDEV] ---------------
 [FBDEV] Xres - 800
 [FBDEV] Yres - 600
 [FBDEV] Xres Virtual - 800
 [FBDEV] Yres Virtual - 600
 [FBDEV] Bits Per Pixel - 16
 [FBDEV] Pixel Clk - 6734
 [FBDEV] Rotation - 0
 [FBDEV] 
 [FBDEV] 
 [FBDEV] Reg Params Info
 [FBDEV] ---------------
 [FBDEV] region 0, postion 0 x 0, prioirty 1
 [FBDEV] first 1, last 1
 [FBDEV] sc en 1, sten en 0
 [FBDEV] tran en 1, type 0, key 16777215
 [FBDEV] blend 0, alpha 0
 [FBDEV] bb en 0, alpha 0
 [FBDEV] 
 [FBDEV] 
 [FBDEV] ### BUF SIZE = 960000 Bytes !!! 
 [FBDEV] 
 [FBDEV] 
 [FBDEV] Fix Screen Info
 [FBDEV] ---------------
 [FBDEV] Line Length - 1600
 [FBDEV] Physical Address = 86a00000
 [FBDEV] Buffer Length = 2097152
 [FBDEV] 
 [FBDEV] 
 [FBDEV] Var Screen Info
 [FBDEV] ---------------
 [FBDEV] Xres - 800
 [FBDEV] Yres - 600
 [FBDEV] Xres Virtual - 800
 [FBDEV] Yres Virtual - 600
 [FBDEV] Bits Per Pixel - 16
 [FBDEV] Pixel Clk - 6734
 [FBDEV] Rotation - 0
 [FBDEV] 
 [FBDEV] 
 [FBDEV] Reg Params Info
 [FBDEV] ---------------
 [FBDEV] region 0, postion 0 x 0, prioirty 1
 [FBDEV] first 1, last 1
 [FBDEV] sc en 1, sten en 0
 [FBDEV] tran en 1, type 0, key 16777215
 [FBDEV] blend 0, alpha 0
 [FBDEV] bb en 0, alpha 0
 [FBDEV] 
 [FBDEV] 
 [FBDEV] ### BUF SIZE = 960000 Bytes !!! 
 [FBDEV] 
 [FBDEV] grpx_fb_draw ... 
 [FBDEV] grpx_fb_draw ... Done !!! 
 [FBDEV] FB: Start DONE !!!
 [FBDEV] 
I came inside
 [m3vpss ]  88353: CAPTURE: Create in progress !!!
 [m3vpss ]  88385: CAPTURE: VIP0 PortA capture mode is [16-bit, Non-mux Embedded Sync] !!! 
 [m3vpss ]  UTILS: DMA: Allocated CH (TCC) = 58 (58)
 [m3vpss ]  UTILS: DMA: 0 of 4: Allocated PaRAM = 58 (0x49004740)
 [m3vpss ]  UTILS: DMA: 1 of 4: Allocated PaRAM = 64 (0x49004800)
 [m3vpss ]  UTILS: DMA: 2 of 4: Allocated PaRAM = 65 (0x49004820)
 [m3vpss ]  UTILS: DMA: 3 of 4: Allocated PaRAM = 66 (0x49004840)
 [m3vpss ] CAPTURE::HEAPID:0	USED:328
 [m3vpss ] CAPTURE::HEAPID:4	USED:22579200
 [m3vpss ]  88485: CAPTURE: Create Done !!!
 [m3vpss ]  88485: DISPLAY: Create in progress !!!
 [m3vpss ]  88486: DISPLAY: Create Done !!!
 [m3vpss ]  88487: DISPLAY: Start in progress !!!
 [m3vpss ]  88526: DISPLAY: Start Done !!!
 [m3vpss ]  88526: DISPLAY: HDDAC(BP0) : 51 fps, Latency (Min / Max) = ( 255 / 0 ), Callback Interval (Min / Max) = ( 255 / 0 ) DropCount:0 DispLatency (Min / Max) = ( 8947 / 0 ) !!! 
 [m3vpss ]  88526: DISPLAY DRV: HDDAC(BP0) : Q:[2] Display:[2], Repeat:[1], DQ:[0]
 [m3vpss ]  88526: DISPLAY: UNDERFLOW COUNT: HDMI(BP0) 1, HDDAC(BP0) 0, DVO2(BP1) 1, SDDAC(SEC1) 1 
 [m3vpss ]  88526: SYSTEM  : FREE SPACE : System Heap      = 244256 B, Mbx = 10238 msgs) 
 [m3vpss ]  88526: SYSTEM  : FREE SPACE : SR0 Heap         = 2129920 B (2 MB) 
 [m3vpss ]  88527: SYSTEM  : FREE SPACE : Frame Buffer     = 90551168 B (86 MB) 
 [m3vpss ]  88527: SYSTEM  : FREE SPACE : Bitstream Buffer = 82837376 B (78 MB) 
 [m3vpss ] TILER_STATS: CNT :8BIT
 [m3vpss ] TILER_STATS: CNT RESOLUTION:    16384 x 5440
 [m3vpss ] TILER_STATS: BUCKET RESOLUTION: 16384 x 5436
 [m3vpss ] TILER_STATS: NUM FREE BUCKETS:  1
 [m3vpss ] TILER_STATS: NUM USED BUCKETS:  0
 [m3vpss ] TILER_STATS: TOTAL FREE AREA:   89063424 (99 %)
 [m3vpss ] TILER_STATS: TOTAL USED AREA:   0 (0 %)
 [m3vpss ] TILER_STATS: CNT :16BIT
 [m3vpss ] TILER_STATS: CNT RESOLUTION:    32768 x 1344
 [m3vpss ] TILER_STATS: BUCKET RESOLUTION: 32768 x 1344
 [m3vpss ] TILER_STATS: NUM FREE BUCKETS:  1
 [m3vpss ] TILER_STATS: NUM USED BUCKETS:  0
 [m3vpss ] TILER_STATS: TOTAL FREE AREA:   44040192 (100 %)
 [m3vpss ] TILER_STATS: TOTAL USED AREA:   0 (0 %)
 [m3vpss ]  88528: SYSTEM  : FREE SPACE : Tiler 8-bit      = 89063424 B (84 MB)  - TILER ON 
 [m3vpss ]  88529: SYSTEM  : FREE SPACE : Tiler 16-bit     = 44040192 B (42 MB)  - TILER ON 
 [m3vpss ]  89202: CAPTURE: Start in progress !!!
 [m3vpss ]  89301: CAPTURE: Enabled Time Stamping !!!
 [m3vpss ]  89309: CAPTURE: Start Done !!!
 [m3vpss ]  
 [m3vpss ]  *** Capture Driver Advanced Statistics *** 
 [m3vpss ]  
 [m3vpss ]  VIP Parser Reset Count : 0
 [m3vpss ]  
 [m3vpss ]      |   Total    Even     Odd  Total  Even   Odd  Min /  Max  Min /  Max Dropped Fid Repeat Frame Error Y/C
 [m3vpss ]  CH  |  Fields  Fields  Fields    FPS   FPS   FPS       Width      Height  Fields      Count (Desc Error Y/C)
 [m3vpss ]  ------------------------------------------------------------------------------------------------------------
 [m3vpss ]  
 [m3vpss ]  VIP Capture Port 0 | DescMissMatch1 = 0, DescMissMatch2 = 0 , DescMissMatch3 = 0 
 [m3vpss ]  
 [m3vpss ]  *** Capture List Manager Advanced Statistics *** 
 [m3vpss ]  
 [m3vpss ]  List Post Count        : 1 
 [m3vpss ]  List Stall Count       : 0 
 [m3vpss ]  List Post Time (ms)    : Max = 0, Min = 0, Avg = 0, Total = 0 
 [m3vpss ]  INTC Timeout Count     : (0, 0) (Min timeout value = 994, 1000) 
 [m3vpss ]  Descriptor miss found count : 0 
 [m3vpss ]  
 [m3vpss ]  
 [m3vpss ]  VIP and VPDMA registers, 
 [m3vpss ]  VIP0 : FIQ_STATUS  : 0x4810551c = 0x00000000
 [m3vpss ]  VIP1 : FIQ_STATUS  : 0x48105a1c = 0x00000000
 [m3vpss ]  VPDMA: LIST_BUSY   : 0x4810d00c = 0x00020000
 [m3vpss ]  
 [m3vpss ]  
 [m3vpss ]  89312: CAPTURE: Fields = 0 (fps = 0, CPU Load = 0)
 [m3vpss ]  89312: CAPTURE: Num Resets = 0 (Avg 0 ms per reset)
 [m3vpss ]  89312: SYSTEM  : FREE SPACE : System Heap      = 244256 B, Mbx = 10239 msgs) 
 [m3vpss ]  89312: SYSTEM  : FREE SPACE : SR0 Heap         = 2129920 B (2 MB) 
 [m3vpss ]  89312: SYSTEM  : FREE SPACE : Frame Buffer     = 90551168 B (86 MB) 
 [m3vpss ]  89312: SYSTEM  : FREE SPACE : Bitstream Buffer = 82837376 B (78 MB) 
 [m3vpss ] TILER_STATS: CNT :8BIT
 [m3vpss ] TILER_STATS: CNT RESOLUTION:    16384 x 5440
 [m3vpss ] TILER_STATS: BUCKET RESOLUTION: 16384 x 5436
 [m3vpss ] TILER_STATS: NUM FREE BUCKETS:  1
 [m3vpss ] TILER_STATS: NUM USED BUCKETS:  0
 [m3vpss ] TILER_STATS: TOTAL FREE AREA:   89063424 (99 %)
 [m3vpss ] TILER_STATS: TOTAL USED AREA:   0 (0 %)
 [m3vpss ] TILER_STATS: CNT :16BIT
 [m3vpss ] TILER_STATS: CNT RESOLUTION:    32768 x 1344
 [m3vpss ] TILER_STATS: BUCKET RESOLUTION: 32768 x 1344
 [m3vpss ] TILER_STATS: NUM FREE BUCKETS:  1
 [m3vpss ] TILER_STATS: NUM USED BUCKETS:  0
 [m3vpss ] TILER_STATS: TOTAL FREE AREA:   44040192 (100 %)
 [m3vpss ] TILER_STATS: TOTAL USED AREA:   0 (0 %)
 [m3vpss ]  89314: SYSTEM  : FREE SPACE : Tiler 8-bit      = 89063424 B (84 MB)  - TILER ON 
 [m3vpss ]  89314: SYSTEM  : FREE SPACE : Tiler 16-bit     = 44040192 B (42 MB)  - TILER ON 
 [m3vpss ]  89314: DISPLAY: HDDAC(BP0) : 59 fps, Latency (Min / Max) = ( 255 / 0 ), Callback Interval (Min / Max) = ( 16 / 17 ) DropCount:0 DispLatency (Min / Max) = ( 8947 / 0 ) !!! 
 [m3vpss ]  89314: DISPLAY DRV: HDDAC(BP0) : Q:[2] Display:[49], Repeat:[48], DQ:[1]
 [m3vpss ]  89314: DISPLAY: UNDERFLOW COUNT: HDMI(BP0) 47, HDDAC(BP0) 0, DVO2(BP1) 47, SDDAC(SEC1) 50 
 [m3vpss ]  89315: SYSTEM  : FREE SPACE : System Heap      = 244256 B, Mbx = 10239 msgs) 
 [m3vpss ]  89315: SYSTEM  : FREE SPACE : SR0 Heap         = 2129920 B (2 MB) 
 [m3vpss ]  89315: SYSTEM  : FREE SPACE : Frame Buffer     = 90551168 B (86 MB) 
 [m3vpss ]  89315: SYSTEM  : FREE SPACE : Bitstream Buffer = 82837376 B (78 MB) 
 [m3vpss ] TILER_STATS: CNT :8BIT
 [m3vpss ] TILER_STATS: CNT RESOLUTION:    16384 x 5440
 [m3vpss ] TILER_STATS: BUCKET RESOLUTION: 16384 x 5436
 [m3vpss ] TILER_STATS: NUM FREE BUCKETS:  1
 [m3vpss ] TILER_STATS: NUM USED BUCKETS:  0
 [m3vpss ] TILER_STATS: TOTAL FREE AREA:   89063424 (99 %)
 [m3vpss ] TILER_STATS: TOTAL USED AREA:   0 (0 %)
 [m3vpss ] TILER_STATS: CNT :16BIT
 [m3vpss ] TILER_STATS: CNT RESOLUTION:    32768 x 1344
 [m3vpss ] TILER_STATS: BUCKET RESOLUTION: 32768 x 1344
 [m3vpss ] TILER_STATS: NUM FREE BUCKETS:  1
 [m3vpss ] TILER_STATS: NUM USED BUCKETS:  0
 [m3vpss ] TILER_STATS: TOTAL FREE AREA:   44040192 (100 %)
 [m3vpss ] TILER_STATS: TOTAL USED AREA:   0 (0 %)
 [m3vpss ]  89316: SYSTEM  : FREE SPACE : Tiler 8-bit      = 89063424 B (84 MB)  - TILER ON 
 [m3vpss ]  89317: SYSTEM  : FREE SPACE : Tiler 16-bit     = 44040192 B (42 MB)  - TILER ON 
 [m3vpss ]  
 [m3vpss ]  98318: LOAD: CPU: 100.0% HWI: 0.0%, SWI:0.0% 
 [m3vpss ]  
 [m3vpss ]  98318: LOAD: TSK: MISC                : 100.0% 
 [m3vpss ]  
 [m3video]  
 [m3video]  98819: LOAD: CPU: 100.0% HWI: 0.0%, SWI:0.0% 
 [m3video]  
 [m3video]  98819: LOAD: TSK: MISC                : 100.0% 
 [m3video]  
 [c6xdsp ]  
 [c6xdsp ]  99047: LOAD: CPU: 100.0% HWI: 0.0%, SWI:0.0% 
 [c6xdsp ]  
 [c6xdsp ]  99047: LOAD: TSK: MISC                : 100.0% 
 [c6xdsp ]  
[HOST] 
ThreadName:Demo_run,ThreadID:766


 =============

 Run-Time Menu

 =============



 1: Capture Settings

 2: Encode  Settings

 3: Decode  Settings

 4: Display Settings

 5: Audio Capture <TVP5158> & Encode <AAC-LC, G711> demo

 6: Change Playback Channel <valid only if capture/playback is active>

 7: Audio encode demo <File In/Out>

 8: Audio decode demo <File In/Out>



 c: Change 8CH modes (8CH usecase ONLY!!!!)

 d: Change 16CH modes (16CH usecase ONLY!!!!)



 i: Print detailed system information

 s: Core Status: Active/In-active



 e: Stop Demo



 Enter Choice: [HOST] 
ThreadName:SystemLink_tskMain_3000003f,ThreadID:778
 DEMO: HDMI TV/Monitor connected !!!
 DEMO: TV Detected - HDMI interface !!!
 DEMO: INFO : Resolution set to 1080P60 !!!

6765.demo_vcap_venc_vdec_vdis.c
Void VcapVencVdecVdis_start( Bool doProgressiveVenc, Bool enableSecondaryOut, int demoId)
{
    VSYS_PARAMS_S vsysParams;
    VCAP_PARAMS_S vcapParams;
    VDIS_PARAMS_S vdisParams;

    gDemo_info.maxVcapChannels = 1;
    gDemo_info.maxVdisChannels = 1;
    gDemo_info.maxVencChannels = 0;
    gDemo_info.maxVdecChannels = 0;

    vcapParams.numChn = 1;
    vdisParams.numChannels = 1;

    Vsys_params_init(&vsysParams);
    vsysParams.systemUseCase = VSYS_USECASE_MULTICHN_PROGRESSIVE_VCAP_VDIS_VENC_VDEC;
    vsysParams.enableCapture = TRUE;
    vsysParams.enableNsf     = FALSE;
    vsysParams.enableNullSrc = FALSE;
    vsysParams.numDeis       = 0;
    vsysParams.numSwMs       = 0;
    vsysParams.numDisplays   = 1;

    printf ("--------------- CHANNEL DETAILS-------------\n");
    printf ("Capture Channels => %d\n", vcapParams.numChn);
    printf ("Disp Channels => %d\n", vdisParams.numChannels);
    printf ("-------------------------------------------\n");

    /* Override the context here as needed */
    Vsys_init(&vsysParams);

    Vcap_params_init(&vcapParams);

    /* Override the context here as needed */
    Vcap_init(&vcapParams);

    Vdis_params_init(&vdisParams);

    /* Override the context here as needed */
    vdisParams.deviceParams[VDIS_DEV_HDMI].resolution   = DEMO_HD_DISPLAY_DEFAULT_STD;
    /* Since HDCOMP and DVO2 are tied together they must have same resolution */
    vdisParams.deviceParams[VDIS_DEV_HDCOMP].resolution = DEMO_HD_DISPLAY_DEFAULT_STD;
    vdisParams.deviceParams[VDIS_DEV_DVO2].resolution   =
                              vdisParams.deviceParams[VDIS_DEV_HDMI].resolution;
    vdisParams.deviceParams[VDIS_DEV_SD].resolution     = VSYS_STD_NTSC;

	Vdis_tiedVencInit(VDIS_DEV_HDCOMP, VDIS_DEV_DVO2, &vdisParams);
   
	Vdis_init(&vdisParams);

 	/* Configure display in order to start grpx before video */
 	Vsys_configureDisplay();

#if USE_FBDEV
    grpx_init(GRPX_FORMAT_RGB565);
#endif

    /* Create Link instances and connects compoent blocks */
    Vsys_create();

    /* Start components in reverse order */
    Vdis_start();
    Vcap_start();
	
	Vsys_printDetailedStatistics();
}

4403.multich_progressive_4d1_vcap_venc_vdec_vdis.c
/*******************************************************************************
 *                                                                             *
 * Copyright (c) 2009 Texas Instruments Incorporated - http://www.ti.com/      *
 *                        ALL RIGHTS RESERVED                                  *
 *                                                                             *
 ******************************************************************************/

/* This usecase assumes that all 3 outputs - D1 <h.264> + CIF <h.264> + D1 <MJPEG> are enabled */
/*------------------------------ D1 <h.264> + CIF <h.264> + D1 <MJPEG> -------------------------------------


                  Capture (YUV422I) 4CH D1 60fps
                              |
                              |
                              |
                              |
                              DEI
                              |+------------------------------------------------------------------------
                              |                                            |                           |
                       (DEI-SC YUV422I)                              (VIP-SC YUV420 )            (VIP-SC1 YUV420 )
                              D1                                        D1 |                        CIF|
                              |                                            |                           |
                              |                                            |                           |
                              |                                            |                           |
                        -----------------                                  |                           |
                         D1_DUP_LINK_IDX                                   |                           |
                        -----------------                                  |                           |
                              |     |                                      |                           |
                              |     |                                      |                           |
                              |     |                                      |                           |
                              |    NSF                                     |                           |
                              |  (YUV420)                                  |                           |
                              |     |                                      |                           |
                              |     |                                      |          |-----------------
                              |     |-----------------------------         |          |
                              |                                  |         |          |
                              |                      <D1-MJPEG> 2|         |0         | 1
                              |                                  |         |<D1-H.264>| <CIF-H.264>
                              |                                  |         |          |
                              |                                  |         |          |
                              |                            ---------------------------------
                              |                                   D1_CIF_MERGE_LINK_IDX
                              |                            ---------------------------------
                              |                                            |
                              |                                            |
                              |                                            |
                              |                                     FRAMESOUT(VPSS)---------------<<<processLink>>>----FramesInDSP--------ALG_LINK <OSD, SCD Algs>
                              |                                            |
                              |                                            |
                              |                                            |
                              |                                            |
                              |                                       IPCM3OUT(VPSS)------IPCM3IN(VID)----ENC-----IPCBITS_RTOSOUT(VID)-----IPCBITS_HLOSIN(HOST)-----FILEOUT
                              |                                                                                                                                  |
                              |                                                                                                                                  |
                              |                                                                                                                                  |
                              |                                                                                                                                  |
                              |+--------------------------IPCM3IN(VPSS)---------IPCM3OUT(VID)---------DEC---------------IPCBITS_RTOSIN(VID)-----------IPCBITS_HLOSOUT(HOST)
                              |
                              |
                      LIVE_DECODE_MERGE_LINK_IDX
                              |
                              |
                              |
                        LIVE_DECODE_DUP_LINK_IDX
                             |||
                             |||
                             |||
             +---------------+|+----------------+
             |                                  |
             |                                  |
          SW Mosaic 1                       SW Mosaic 0
         (SC2 YUV422I)                     (SC5 YUV422I)
             |                                  |
             |                                  |
             |                                  |
             |                                  |
             |                                  |
             |                                  |
       -------------                       -------------
          DISPLAY 1                           DISPLAY 0
       -------------                       -------------   <tied>
          <SDTV>                          <On-Chip HDMI> --------- <Off-Chip HDMI>
         PAL/NTSC                            1080p60                 1080p60


*/


#include "mcfw/src_linux/mcfw_api/usecases/multich_common.h"
#include "mcfw/src_linux/mcfw_api/usecases/multich_ipcbits.h"

// Keeping TILER disabled for 4D1 usecase
#define TILER_ENABLE    FALSE



/* =============================================================================
 * Use case code
 * =============================================================================
 */
#if 0
static SystemVideo_Ivahd2ChMap_Tbl systemVid_encDecIvaChMapTbl =
{
    .isPopulated = 1,
    .ivaMap[0] =
    {
        .EncNumCh  = 16,
        .EncChList = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13 , 14, 15},
        .DecNumCh  = 16,
        .DecChList = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13 , 14, 15},
    },

};
#endif
// #define     ADD_NSF_AFTER_CAPTURE

#define     NUM_MERGE_LINK                          2
#define     D1_CIF_MERGE_LINK_IDX                  0
#define     LIVE_DECODE_MERGE_LINK_IDX             1

#define     NUM_DUP_LINK                            2
#define     D1_DUP_LINK_IDX                         0
#define     LIVE_DECODE_DUP_LINK_IDX                1

#if(defined(TI_814X_BUILD) || defined(DDR_MEM_256M))
#define     NUM_CAPTURE_BUFFERS          8
#define     NUM_NSF_BUFFERS              4
#define     NUM_ENCODE_D1_BUFFERS       4
#define     NUM_ENCODE_CIF_BUFFERS       4
#define     NUM_DECODE_BUFFERS           4
#define     NUM_SWMS_MAX_BUFFERS         8
#define     BIT_BUF_LENGTH_LIMIT_FACTOR_SD    4
#else
#define     NUM_CAPTURE_BUFFERS          8
#define     NUM_NSF_BUFFERS              6
#define     NUM_ENCODE_D1_BUFFERS       6
#define     NUM_ENCODE_CIF_BUFFERS       6
#define     NUM_DECODE_BUFFERS           6
#define     NUM_SWMS_MAX_BUFFERS         8
#define     BIT_BUF_LENGTH_LIMIT_FACTOR_SD    6
#endif

#define     MAX_BUFFERING_QUEUE_LEN_PER_CH    (50)


#define     NUM_CAPTURE_DEVICES          1

/* This usecase assumes CIF <secondary out>, MJPEG are enabled */
Void MultiCh_createProgressive4D1VcapVencVdecVdis()
{

printf("I came inside\n");
    CaptureLink_CreateParams    capturePrm;
    DisplayLink_CreateParams    displayPrm[VDIS_DEV_MAX];
    CaptureLink_VipInstParams *pCaptureInstPrm;
    CaptureLink_OutParams     *pCaptureOutPrm;


    UInt32 vipInstId;
    UInt32 i;

    for (i = 0; i < VDIS_DEV_MAX; i++)
    {
        MULTICH_INIT_STRUCT(DisplayLink_CreateParams,displayPrm[i]);
    }


    System_linkControl(
        SYSTEM_LINK_ID_M3VPSS,
        SYSTEM_M3VPSS_CMD_RESET_VIDEO_DEVICES,
        NULL,
        0,
        TRUE
        );

    gVcapModuleContext.captureId    = SYSTEM_LINK_ID_CAPTURE;
    gVdisModuleContext.displayId[0] = SYSTEM_LINK_ID_DISPLAY_0; // ON CHIP HDMI
    gVdisModuleContext.displayId[1] = SYSTEM_LINK_ID_DISPLAY_1; // OFF CHIP HDMI
    gVdisModuleContext.displayId[2] = SYSTEM_LINK_ID_DISPLAY_2; // OFF CHIP HDMI

#if 0    /* Enabling graphics only for ON CHIP HDMI an OFF CHIP HDMI*/
    grpxId[2]                       = SYSTEM_LINK_ID_GRPX_2;
#endif

    CaptureLink_CreateParams_Init(&capturePrm);

    capturePrm.numVipInst    = 1;
    capturePrm.outQueParams[0].nextLink = gVcapModuleContext.nsfId[0];

    capturePrm.tilerEnable              = FALSE;
    capturePrm.enableSdCrop             = FALSE;

    for(vipInstId=0; vipInstId<capturePrm.numVipInst; vipInstId++)
    {
        pCaptureInstPrm                     = &capturePrm.vipInst[vipInstId];
	pCaptureInstPrm->inScanFormat       = SYSTEM_SF_PROGRESSIVE;
	pCaptureInstPrm->videoIfMode         = SYSTEM_CAPT_VIDEO_IF_MODE_16BIT;
	pCaptureInstPrm->videoCaptureMode = SYSTEM_CAPT_VIDEO_CAPTURE_MODE_SINGLE_CH_NON_MUX_EMBEDDED_SYNC;
        pCaptureInstPrm->vipInstId          = (SYSTEM_CAPTURE_INST_VIP0_PORTA+vipInstId)%SYSTEM_CAPTURE_INST_MAX;
        pCaptureInstPrm->videoDecoderId     = 10;//other than SYSTEM_DEVICE_VID_DEC_TVP5158_DRV
        pCaptureInstPrm->inDataFormat       = SYSTEM_DF_YUV422P;
        pCaptureInstPrm->standard           = SYSTEM_STD_720P_60;
        pCaptureInstPrm->numOutput          = 1;

        pCaptureOutPrm                      = &pCaptureInstPrm->outParams[0];
        pCaptureOutPrm->dataFormat          = SYSTEM_DF_YUV422I_YUYV;
        pCaptureOutPrm->scEnable            = FALSE;
        pCaptureOutPrm->scOutWidth          = 0;
        pCaptureOutPrm->scOutHeight         = 0;
        pCaptureOutPrm->outQueId            = 0;
    }

    displayPrm[0].inQueParams[0].prevLinkId    = gVcapModuleContext.captureId;
    displayPrm[0].inQueParams[0].prevLinkQueId = 0;
    displayPrm[0].displayRes                = VSYS_STD_720P_60;


    System_linkCreate (gVcapModuleContext.captureId, &capturePrm, sizeof(capturePrm));
    System_linkCreate(gVdisModuleContext.displayId[0], &displayPrm[0], sizeof(displayPrm[0]));

}

Void MultiCh_deleteProgressive4D1VcapVencVdecVdis()
{
    UInt32 i;
    Bool enableAlgLink = gVsysModuleContext.vsysConfig.enableOsd;

    UInt32 mergeId[NUM_MERGE_LINK];
    UInt32 dupId[NUM_DUP_LINK];
    UInt32 ipcOutVpssId, ipcInVpssId;
    UInt32 ipcOutVideoId, ipcInVideoId;

    mergeId[LIVE_DECODE_MERGE_LINK_IDX]     = SYSTEM_VPSS_LINK_ID_MERGE_0;
    mergeId[D1_CIF_MERGE_LINK_IDX]          = SYSTEM_VPSS_LINK_ID_MERGE_1;

    dupId[D1_DUP_LINK_IDX]              = SYSTEM_VPSS_LINK_ID_DUP_0;
    dupId[LIVE_DECODE_DUP_LINK_IDX]     = SYSTEM_VPSS_LINK_ID_DUP_1;

    ipcOutVpssId = SYSTEM_VPSS_LINK_ID_IPC_OUT_M3_0;
    ipcInVideoId = SYSTEM_VIDEO_LINK_ID_IPC_IN_M3_0;
    ipcOutVideoId= SYSTEM_VIDEO_LINK_ID_IPC_OUT_M3_0;
    ipcInVpssId  = SYSTEM_VPSS_LINK_ID_IPC_IN_M3_0;

    gVdecModuleContext.ipcBitsOutHLOSId = SYSTEM_HOST_LINK_ID_IPC_BITS_OUT_0;
    gVdecModuleContext.ipcBitsInRTOSId = SYSTEM_VIDEO_LINK_ID_IPC_BITS_IN_0;

    System_linkDelete(gVcapModuleContext.captureId);
#ifdef     ADD_NSF_AFTER_CAPTURE
    System_linkDelete(gVcapModuleContext.nsfId[1]);
#endif
    System_linkDelete(gVcapModuleContext.deiId[0]);
    System_linkDelete(gVcapModuleContext.nsfId[0]);

    System_linkDelete(ipcOutVpssId );
    System_linkDelete(ipcInVideoId );

    if(enableAlgLink)
    {
        System_linkDelete(gVcapModuleContext.dspAlgId[0]);
    }

    System_linkDelete(gVencModuleContext.encId);
    System_linkDelete(gVencModuleContext.ipcBitsOutRTOSId);
    System_linkDelete(gVencModuleContext.ipcBitsInHLOSId);
    System_linkDelete(gVdecModuleContext.ipcBitsOutHLOSId);
    System_linkDelete(gVdecModuleContext.ipcBitsInRTOSId);
    System_linkDelete(gVdecModuleContext.decId);

    System_linkDelete(ipcOutVideoId);
    System_linkDelete(ipcInVpssId  );

    for(i=0; i<2; i++)
        System_linkDelete(gVdisModuleContext.swMsId[i] );

    for(i=0; i<2; i++)
        System_linkDelete(gVdisModuleContext.displayId[i]);

    for(i=0; i<NUM_DUP_LINK; i++)
        System_linkDelete(dupId[i]);

    for(i=0; i<NUM_MERGE_LINK; i++)
    {
        if (mergeId[i] != SYSTEM_LINK_ID_INVALID )
           System_linkDelete(mergeId[i]);
    }

    /* Print the HWI, SWI and all tasks load */
    /* Reset the accumulated timer ticks */
    MultiCh_prfLoadCalcEnable(FALSE, TRUE, FALSE);

}




1641.tvp_7002.sh.txt
i2cset -y 3 0x21 0x0f 0xCB
i2cset -y 3 0x5d 0x01 0x67
i2cset -y 3 0x5d 0x02 0x20
i2cset -y 3 0x5d 0x03 0xa0
i2cset -y 3 0x5d 0x04 0x16
i2cset -y 3 0x5d 0x05 0x32
i2cset -y 3 0x5d 0x06 0x20
i2cset -y 3 0x5d 0x07 0x2C
i2cset -y 3 0x5d 0x0B 0x80
i2cset -y 3 0x5d 0x0C 0x90
i2cset -y 3 0x5d 0x0D 0x80
i2cset -y 3 0x5d 0x0E 0x3F
i2cset -y 3 0x5d 0x0F 0x2E
i2cset -y 3 0x5d 0x10 0x5D
i2cset -y 3 0x5d 0x11 0x50
i2cset -y 3 0x5d 0x12 0x00
i2cset -y 3 0x5d 0x13 0x00
i2cset -y 3 0x5d 0x15 0x47
i2cset -y 3 0x5d 0x16 0x01
i2cset -y 3 0x5d 0x17 0x00
i2cset -y 3 0x5d 0x18 0x01
i2cset -y 3 0x5d 0x19 0x00
i2cset -y 3 0x5d 0x1A 0x8F
i2cset -y 3 0x5d 0x40 0x47
i2cset -y 3 0x5d 0x41 0x01
i2cset -y 3 0x5d 0x42 0x4B
i2cset -y 3 0x5d 0x43 0x06
i2cset -y 3 0x5d 0x44 0x05
i2cset -y 3 0x5d 0x45 0x00
i2cset -y 3 0x5d 0x46 0x1E
i2cset -y 3 0x5d 0x47 0x00
i2cset -y 3 0x5d 0x48 0x00
i2cset -y 3 0x5d 0x49 0x00
i2cset -y 3 0x5d 0x34 0x12
i2cset -y 3 0x5d 0x3F 0x0F
i2cset -y 3 0x5d 0x31 0x5a