Hello TI' teams.
I would be very grateful if you could help me solve the problem as is following.
I works with dvr-rdk 3.5 from udworks and custom board with DM8148 and my use-case should perform next:
1) Capture video from VIP
2) Send frames by IPC link to DSP sub-core
3) Perform algorithm by DSP and modify captured data (non-uniform correction, image improvement, etc...)
4) Send frames by IPC back to HDVPSS module
5) Display video (on chip HDMI)
I use next links:
SYSTEM_LINK_ID_CAPTURE -> SYSTEM_VPSS_LINK_ID_IPC_FRAMES_OUT_0 -> SYSTEM_DSP_LINK_ID_IPC_FRAMES_IN_0 -> SYSTEM_LINK_ID_OPGAL_ALG_0 ->
-> SYSTEM_DSP_LINK_ID_IPC_FRAMES_OUT_0 -> SYSTEM_VPSS_LINK_ID_IPC_FRAMES_IN_0 -> SYSTEM_LINK_ID_SW_MS_MULTI_INST_0 -> SYSTEM_LINK_ID_DISPLAY_0
SYSTEM_LINK_ID_OPGAL_ALG_0 - this is DSP processing link created by me, recieves frames from input queue, process and put processed frames to output queue.
Links parameters are as following (or please see attached use-case file):
===========================================================================================
const UInt32 captureLinkId = SYSTEM_LINK_ID_CAPTURE;
const UInt32 vpssIpcVideoOutLinkId = SYSTEM_VPSS_LINK_ID_IPC_FRAMES_OUT_0;
const UInt32 dspIpcVideoInLinkId = SYSTEM_DSP_LINK_ID_IPC_FRAMES_IN_0;
const UInt32 algLinkId = SYSTEM_LINK_ID_OPGAL_ALG_0;
const UInt32 dspIpcVideoOutLinkId = SYSTEM_DSP_LINK_ID_IPC_FRAMES_OUT_0;
const UInt32 vpssIpcVideoInLinkId = SYSTEM_VPSS_LINK_ID_IPC_FRAMES_IN_0;
const UInt32 swMosaicLinkId = SYSTEM_LINK_ID_SW_MS_MULTI_INST_0;
const UInt32 displayLinkId = SYSTEM_LINK_ID_DISPLAY_0;
...
// CAPTURE
CaptureLink_CreateParams_Init(&capturePrm);
capturePrm.numVipInst = 1;
capturePrm.outQueParams[0].nextLink = vpssIpcVideoOutLinkId;
capturePrm.tilerEnable = FALSE;
capturePrm.enableSdCrop = FALSE;
capturePrm.fakeHdMode = FALSE;
capturePrm.doCropInCapture = FALSE;
pCaptureInstPrm = &capturePrm.vipInst[0];
pCaptureInstPrm->vipInstId = SYSTEM_CAPTURE_INST_VIP1_PORTA;
pCaptureInstPrm->videoDecoderId = 0u;
pCaptureInstPrm->inDataFormat = SYSTEM_DF_YUV422P;
pCaptureInstPrm->enableTimestampInInterrupt = TRUE;
pCaptureInstPrm->standard = captureStandard;
pCaptureInstPrm->numOutput = 1;
pCaptureInstPrm->numChPerOutput = 1;
pCaptureOutPrm = &pCaptureInstPrm->outParams[0];
pCaptureOutPrm->dataFormat = SYSTEM_DF_YUV422I_YUYV;
pCaptureOutPrm->scEnable = FALSE;
pCaptureOutPrm->scOutWidth = 0;
pCaptureOutPrm->scOutHeight = 0;
pCaptureOutPrm->outQueId = 0;
if (pCaptureInstPrm->vipInstId >= SYSTEM_CAPTURE_INST_VIP0_PORTA && pCaptureInstPrm->vipInstId <= SYSTEM_CAPTURE_INST_VIP1_PORTB) {
printf ("\nPerform capture from FPGA via %s\n", capturePortName[pCaptureInstPrm->vipInstId]);
}
// VPSS IPC frame OUT
IpcFramesOutLinkRTOS_CreateParams_Init(&vpssIpcFrameOut);
vpssIpcFrameOut.baseCreateParams.numOutQue = 1;
vpssIpcFrameOut.baseCreateParams.inQueParams.prevLinkId = gVcapModuleContext.captureId;
vpssIpcFrameOut.baseCreateParams.inQueParams.prevLinkQueId = 0u;
vpssIpcFrameOut.baseCreateParams.numChPerOutQue[0] = 1;
vpssIpcFrameOut.baseCreateParams.outQueParams[0].nextLink = dspIpcVideoInLinkId;
// DSP IPC frame IN
IpcFramesInLinkRTOS_CreateParams_Init(&dspIpcFrameIn);
dspIpcFrameIn.baseCreateParams.inQueParams.prevLinkId = vpssIpcVideoOutLinkId;
dspIpcFrameIn.baseCreateParams.inQueParams.prevLinkQueId = 0u;
dspIpcFrameIn.baseCreateParams.numChPerOutQue[0] = 1;
dspIpcFrameIn.baseCreateParams.numOutQue = 1;
dspIpcFrameIn.baseCreateParams.outQueParams[0].nextLink = algLinkId;
// DSP ALG
AlgOpgalLink_CreateParams_Init(&algorithmPrm);
algorithmPrm.strSize = sizeof(algorithmPrm);
algorithmPrm.imgSizeX = 320;
algorithmPrm.imgPitchX = algorithmPrm.imgSizeX;
algorithmPrm.imgSizeY = 240;
algorithmPrm.globalActive = 0u;
algorithmPrm.maxChannels = 1;
algorithmPrm.numOutQueues = 1;
algorithmPrm.notifyNextLink = TRUE;
algorithmPrm.inQueParams.prevLinkId = dspIpcVideoInLinkId;
algorithmPrm.inQueParams.prevLinkQueId = 0u;
algorithmPrm.outQueParams.nextLink = dspIpcVideoOutLinkId;
// DSP IPC frame OUT
IpcFramesOutLinkRTOS_CreateParams_Init(&dspIpcFrameOut);
dspIpcFrameOut.baseCreateParams.inQueParams.prevLinkId = algLinkId;
dspIpcFrameOut.baseCreateParams.inQueParams.prevLinkQueId = 0u;
dspIpcFrameOut.baseCreateParams.numOutQue = 1;
dspIpcFrameOut.baseCreateParams.numChPerOutQue[0] = 1;
dspIpcFrameOut.baseCreateParams.outQueParams[0].nextLink = vpssIpcVideoInLinkId;
// VPSS IPC frame IN
IpcFramesInLinkRTOS_CreateParams_Init(&vpssIpcFrameIn);
vpssIpcFrameIn.baseCreateParams.inQueParams.prevLinkId = dspIpcVideoOutLinkId;
vpssIpcFrameIn.baseCreateParams.inQueParams.prevLinkQueId = 0u;
vpssIpcFrameIn.baseCreateParams.numChPerOutQue[0] = 1;
vpssIpcFrameIn.baseCreateParams.numOutQue = 1;
vpssIpcFrameIn.baseCreateParams.outQueParams[0].nextLink = swMosaicLinkId;
swMsPrm.numSwMsInst = 1;
swMsPrm.swMsInstId[0] = SYSTEM_SW_MS_SC_INST_SC5;
swMsPrm.swMsInstStartWin[0] = 0;
swMsPrm.inQueParams.prevLinkId = vpssIpcVideoInLinkId;
swMsPrm.inQueParams.prevLinkQueId = 0;
swMsPrm.outQueParams.nextLink = displayLinkId;
swMsPrm.maxInputQueLen = SYSTEM_SW_MS_DEFAULT_INPUT_QUE_LEN;
swMsPrm.maxOutRes = VSYS_STD_1080P_60;
swMsPrm.initOutRes = VSYS_STD_1080P_60;
swMsPrm.lineSkipMode = TRUE;
swMsPrm.enableLayoutGridDraw = FALSE;
MultiCh_swMsGetDefaultLayoutPrm(0, &swMsPrm, FALSE); /* Since only live preview is there, show it on both displays */
displayPrm.inQueParams[0].prevLinkId = swMosaicLinkId;
displayPrm.inQueParams[0].prevLinkQueId = 0;
displayPrm.displayRes = swMsPrm.initOutRes;
...
==========================================================================================
Unfortunatelly this use-case always hangs and last string printed on terminal after run:
[m3vpss ] SWMS: instance 0, sc id 5, start win 0 end win 17
After some time (~ 2..3 minutes) on terminal printed next errors:
[m3vpss ] AVSYNC:WallTime IGNORE Unexpected Discontinuity.PrevTs[18885]/CurTs[207908]
[m3vpss ] AVSYNC:WallTime IGNORE Unexpected Discontinuity.PrevTs[207908]/CurTs[399264]
[m3vpss ] 399265: Assertion @ Line: 2504 in links_m3vpss/swMs/swMsLink_drv.c: pDrvObj->fvidHandle != NULL : failed !!!
and its all.
I don't clearly understood reason for this assertion. Why mosaic links have error in this code:
pDrvObj->fvidHandle = FVID2_create(FVID2_VPS_M2M_SC_DRV,
pDrvObj->drvInstId,
&pDrvObj->cfg.sc.scCreateParams,
&pDrvObj->cfg.sc.scCreateStatus, &cbParams);
What is problem to create scalar back memory-to-memory driver in my use-case?
In additional, please pay attention on next:
- if DSP excluded from use-case (Capture->SwMs->Display only) this use-case and capture works fine, I saw captured data on display
- if DSP ALG instead of put processed data to ALG output queue, return back it to previous link as "empty buffer, this case works fine too
- DSP algorithm link tested in stand-alone application and works without any problems
I hope problem exist in "back pass" and connectivity between "DSP Frame Ipc Out", and "HDVPSS Frame Ipc In".
Please help me resolve it and please let me know if exist any limitation from pass frames (just frames, !not bits buffers!) between DSP and HDVPSS?
For more details please see attached LOG.
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2014.10.13 15:10:53 =~=~=~=~=~=~=~=~=~=~=~= U-Boot 2010.06-svn365 (Sep 14 2014 - 05:54:11) TI8148-GP rev 3.0 L3 clk : 220MHz IVA clk : 306MHz ISS clk : 400MHz DSP clk : 600MHz DSS clk : 200MHz ARM clk : 720MHz DDR clk : 400MHz ------------ PLL Settings -------------- OSC_0_FREQ : 20MHz MODENA_N : 1 MODENA_M : 72 MODENA_M2 : 1 L3_N : 19 L3_M : 880 L3_M2 : 4 DSP_N : 19 DSP_M : 600 DSP_M2 : 1 DSS_N : 19 DSS_M : 800 DSS_M2 : 4 IVA_N : 19 IVA_M : 612 IVA_M2 : 2 ISS_N : 19 ISS_M : 800 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 : 0x320 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 512 MiB Using default environment The 2nd stage U-Boot will now be auto-loaded Please do not interrupt the countdown till Opgal_SCP# prompt if 2nd stage is already flashed Hit any key to stop autoboot: 1 0 NAND read: device 0 offset 0x20000, size 0x40000 262144 bytes read: OK ## Starting application at 0x81000000 ... U-Boot 2010.06-svn365 (Sep 14 2014 - 05:54:56) TI8148-GP rev 3.0 L3 clk : 220MHz IVA clk : 306MHz ISS clk : 400MHz DSP clk : 600MHz DSS clk : 200MHz ARM clk : 720MHz DDR clk : 400MHz ------------ PLL Settings -------------- OSC_0_FREQ : 20MHz MODENA_N : 1 MODENA_M : 72 MODENA_M2 : 1 L3_N : 19 L3_M : 880 L3_M2 : 4 DSP_N : 19 DSP_M : 600 DSP_M2 : 1 DSS_N : 19 DSS_M : 800 DSS_M2 : 4 IVA_N : 19 IVA_M : 612 IVA_M2 : 2 ISS_N : 19 ISS_M : 800 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 : 0x320 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 512 MiB MMC: OMAP SD/MMC: 0 _ _ \'-.__.-'/ / (o)(o) \ \ \/ / /'------'\ /, .. , \ /// .::::. \\\ ///\ :::::: /\\\ '' ).''''.( `` + ======(((====)))=========+ | Opgal SmartCore Platform | + =========================+ Net: Detected MACID:7c:66:9d:36:b3:96 cpsw Hit any key to stop autoboot: 3 2 1 0 NAND read: device 0 offset 0x280000, size 0x2c0000 2883584 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: 2844632 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+ (marat@marat-ubuntu) (gcc version 4.4.1 (Sourcery G++ Lite 2009q3-67) ) #1 Mon Jul 28 15:51:33 IDT 2014 CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache Machine: ti8148evm vram size = 25165824 at 0x0 ti81xx_reserve: ### Reserved DDR region @87f00000 reserved size = 25165824 at 0x0 FB: Reserving 25165824 bytes SDRAM for VRAM Memory policy: ECC disabled, Data cache writeback OMAP chip is TI8148 3.0 SRAM: Mapped pa 0x402f1000 to va 0xfe400000 size: 0xf000 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 26112 Kernel command line: mem=128M ddr_mem=512M console=ttyO0,115200n8 root=/dev/nfs rw nfsroot=10.0.0.131:/home/marat/workdir/SmartCore/trunk/target/rfs_814x ip=dhcp rootdelay=5 vram=24M notifyk.vpssm3_sva=0xbfd00000 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: 102MB 1MB = 103MB total Memory: 98248k/98248k available, 32824k 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 - 0xc0556000 (5200 kB) .data : 0xc0556000 - 0xc05acb00 ( 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 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 I2C: Read failed at pcf8575_cir_enable 274 with error code: -121 I2C: Transfer failed at pcf8575_cir_enable 281 with error code: -121 pcf857x: probe of 1-0021 failed with error -121 regulator: VRTC: 1800 mV regulator: VIO: 1500 mV regulator: VDD1: 600 <--> 1500 mV at 1200 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(29 11 14) usb2phy: override computed values rxcalib(15)DACs(29 11 14) usb2phy_config: musb(0) rxcalib done, rxcalib read value 6f6ed776 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(22 15 15) usb2phy: override computed values rxcalib(15)DACs(22 15 15) usb2phy_config: musb(1) rxcalib done, rxcalib read value 6f6b5f7e 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 191 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 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: 0xbc (Micron, NAND 512MiB 1,8V 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-0x000020000000 : "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 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) hub 2-0:1.0: over-current change on port 1 qt602240_ts 1-004a: __qt602240_read_reg: i2c transfer failed qt602240_ts: probe of 1-004a failed with error -5 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=7c:66:9d:36:b3:96 omap_rtc omap_rtc: setting system clock to 2014-07-01 00:00:00 UTC (1404172800) mmc0: new high speed MMC card at address 0001 mmcblk0: mmc0:0001 MMC32G 29.5 GiB mmcblk0: unknown partition table CPSW phy found : id is : 0x1410dd1 PHY 0:01 not found Sending DHCP requests . PHY: 0:00 - Link is Up - 1000/Full ., OK IP-Config: Got DHCP answer from 0.0.0.0, my address is 10.0.0.181 IP-Config: Complete: device=eth0, addr=10.0.0.181, mask=255.255.254.0, gw=10.0.0.254, host=10.0.0.181, domain=opgal.com, nis-domain=(none), bootserver=0.0.0.0, rootserver=10.0.0.131, rootpath= Waiting 5sec before mounting root device... VFS: Mounted root (nfs filesystem) on device 0:15. devtmpfs: mounted Freeing init memory: 232K INIT: version 2.86 bootingError opening /dev/fb0: No such file or directory Please wait: booting... Starting udev udevd (119): /proc/119/oom_adj is deprecated, please use /proc/119/oom_score_adj instead. udev: starting version 141 udevd[119]: unable to move watches dir '/dev/.udev/watch', old watches will not be restored: Directory not emptyudevd-event[128]: error changing netif name eth0 to eth1: Device or resource busy Root filesystem already rw, not remounting Caching udev devnodes Populating dev cacheFAT: bogus number of reserved sectors VFS: Can't find a valid FAT filesystem on dev mmcblk0. EXT3-fs (mmcblk0): error: can't find ext3 filesystem on dev mmcblk0. EXT2-fs (mmcblk0): error: can't find an ext2 filesystem on dev mmcblk0. FAT: bogus number of reserved sectors VFS: Can't find a valid FAT filesystem on dev mmcblk0. ISOFS: Unable to identify CD-ROM format. ALSA: Restoring mixer settings... NOT configuring network interfaces: / is an NFS mount Fri Aug 17 21:11:00 UTC 2012 INIT: Entering runlevel: 5Starting system message bus: dbus. Starting telnet daemon. Starting syslogd/klogd: done Starting thttpd. __________ / ___ ___ \ / / @ \/ @ \ \ \ \___/\___/ /\ \____\/____/|| / /\\\\\// | |\\\\\\ \ \\\\\\ \______/\\\\ _||_||_ +-----------------------+ | http://www.opgal.com | +-----------------------+ OPGAL SmartCore Board (2014.07) root@scp:~# cd /opt root@scp:~# cd /opt/dvr root@scp:~# cd /opt/dvr_rdk/ti814 root@scp:~# cd /opt/dvr_rdk/ti814x/ root@scp:/opt/dvr_rdk/ti814x# ./demo_ru root@scp:/opt/dvr_rdk/ti814x# ./demo_run.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 @ 0xbff05020 [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040 SysLink version : 2.20.02.20 SysLink module created on Date:Oct 13 2014 Time:14:03:16 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 *** I2C (0x5c): 0x08 = 0x51 I2C (0x5c): 0x09 = 0x58 *** TVP5158 probe : END *** /opt/dvr_rdk/ti814x ENV_DDR_MEM = 512M ENV_LINUX_MEM = 128M ENV_NOTIFYK_VPSSM3_SVA_ADDR = 0xbfd00000 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 : 400 MHz [m3vpss ] ***** SYSTEM : Frequency <ORG> - 200000000, <NEW> - 200000000 [m3vpss ] notify_attach rtnVal 0 [m3vpss ] initProxyServer rtnVal 0 [m3vpss ] [m3vpss ] *** UTILS: CPU KHz = 400000 Khz *** [m3vpss ] [m3vpss ] 51: SYSTEM : System Common Init in progress !!! [m3vpss ] 52: SYSTEM: IPC init in progress !!! [m3vpss ] 52: SYSTEM: Attaching to [HOST] ... [m3vpss ] 1051: SYSTEM: Attaching to [HOST] ... [m3vpss ] 1053: SYSTEM: Attaching to [HOST] ... SUCCESS !!! After Ipc_startcallback status [0x00000000] [m3vpss ] 1054: SYSTEM: Attaching to [DSP] ... 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] [m3video] ISS Freq : 400 MHz [m3video] ***** SYSTEM : Frequency <ORG> - 200000000, <NEW> - 200000000 [m3video] [m3video] *** UTILS: CPU KHz = 400000 Khz *** [m3video] [m3video] 1206: SYSTEM : System Common Init in progress !!! [m3video] 1207: SYSTEM: IPC init in progress !!! [m3video] 1207: SYSTEM: Attaching to [HOST] ... [m3vpss ] 2053: SYSTEM: Attaching to [DSP] ... [m3video] 2206: SYSTEM: Attaching to [HOST] ... After Ipc_startcallback status [0x00000000] [m3video] 2213: SYSTEM: Attaching to [HOST] ... SUCCESS !!! [m3video] 2213: SYSTEM: Attaching to [DSP] ... 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] [c6xdsp ] DSP Freq : 600 MHz [c6xdsp ] ***** SYSTEM : Frequency <ORG> - 500000000, <NEW> - 600000000 [c6xdsp ] [c6xdsp ] *** UTILS: CPU KHz = 600000 Khz *** [c6xdsp ] [c6xdsp ] 1: SYSTEM : System Common Init in progress !!! [c6xdsp ] 1: SYSTEM: IPC init in progress !!! [c6xdsp ] 1: SYSTEM: Attaching to [HOST] ... [m3vpss ] 3053: SYSTEM: Attaching to [DSP] ... [m3video] 3213: SYSTEM: Attaching to [DSP] ... After Ipc_startcallback status [0x00000000] [c6xdsp ] 1001: SYSTEM: Attaching to [HOST] ... [c6xdsp ] 1003: SYSTEM: Attaching to [HOST] ... SUCCESS !!! [c6xdsp ] 1003: SYSTEM: Attaching to [VIDEO-M3] ... DMA: Module install successful, device major num = 251 DRV: Module install successful DRV: Module built on Oct 13 2014 14:03:51 [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000 [m3video] Remote Debug Shared Memory @ 0xbff05020 [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040 [m3vpss ] 4053: SYSTEM: Attaching to [DSP] ... [m3video] 4213: SYSTEM: Attaching to [DSP] ... [c6xdsp ] 2003: SYSTEM: Attaching to [VIDEO-M3] ... [m3vpss ] 5053: SYSTEM: Attaching to [DSP] ... [c6xdsp ] 2820: SYSTEM: Attaching to [VIDEO-M3] ... SUCCESS !!! [m3video] 5213: SYSTEM: Attaching to [DSP] ... [c6xdsp ] 2820: SYSTEM: Attaching to [VPSS-M3] ... [m3video] 5214: SYSTEM: Attaching to [DSP] ... SUCCESS !!! [m3video] 5214: SYSTEM: Attaching to [VPSS-M3] ... [m3vpss ] 6053: SYSTEM: Attaching to [DSP] ... [c6xdsp ] 3820: SYSTEM: Attaching to [VPSS-M3] ... [m3video] 6213: SYSTEM: Attaching to [VPSS-M3] ... [c6xdsp ] 4660: SYSTEM: Attaching to [VPSS-M3] ... SUCCESS !!! [m3vpss ] 7053: SYSTEM: Attaching to [DSP] ... [c6xdsp ] 4660: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_0] ... [m3vpss ] 7054: SYSTEM: Attaching to [DSP] ... SUCCESS !!! [c6xdsp ] 4661: SYSTEM: Creating MsgQ [DSP_MSGQ] ... [m3vpss ] 7054: SYSTEM: Attaching to [VIDEO-M3] ... [c6xdsp ] 4661: SYSTEM: Creating MsgQ [DSP_ACK_MSGQ] ... [c6xdsp ] 4661: SYSTEM: Notify register to [HOST] line 0, event 15 ... [c6xdsp ] 4661: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ... [c6xdsp ] 4662: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ... [c6xdsp ] 4662: SYSTEM: IPC init DONE !!! [c6xdsp ] 4664: MEM: Shared Region 2: Base = 0xb8000000, Length = 0x07000000 (112 MB) [c6xdsp ] 4664: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 4674: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 4684: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 4694: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 4704: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 4714: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 4724: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 4734: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 4744: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 4754: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 4764: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 4774: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 4784: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 4794: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 4804: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 4814: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [m3video] 7213: SYSTEM: Attaching to [VPSS-M3] ... [c6xdsp ] 4824: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 4834: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 4844: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 4854: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 4864: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 4874: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 4884: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 4894: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 4904: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 4914: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 4924: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 4934: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 4944: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 4954: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 4964: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 4974: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 4984: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 4994: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5004: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5014: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5024: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5034: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5044: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5054: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5064: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5074: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5084: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5094: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5104: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5114: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5124: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5134: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5144: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5154: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5164: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5174: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5184: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5194: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5204: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5214: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5224: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5234: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5244: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5254: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5264: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5274: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5284: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5294: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5304: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5314: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5324: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5334: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5344: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5354: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5364: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5374: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5384: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5394: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5404: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5414: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5424: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5434: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5444: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5454: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5464: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5474: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5484: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5494: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5504: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5514: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5524: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5534: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5544: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5554: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5564: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5574: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5584: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5594: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5604: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5614: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5624: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5634: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5644: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [c6xdsp ] 5654: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [m3video] 8054: SYSTEM: Attaching to [VPSS-M3] ... SUCCESS !!! [m3vpss ] 8053: SYSTEM: Attaching to [VIDEO-M3] ... [m3video] 8054: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_1] ... [m3vpss ] 8054: SYSTEM: Attaching to [VIDEO-M3] ... SUCCESS !!! [m3vpss ] 8054: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_2] ... [c6xdsp ] 5664: MEM: ERROR: SharedRegion_setEntry (2, 0x8f5c583c) FAILED !!! (status=-1) [m3video] 8055: SYSTEM: Creating MsgQ [VIDEO-M3_MSGQ] ... [m3vpss ] 8054: SYSTEM: Creating MsgQ [VPSS-M3_MSGQ] ... [m3video] 8055: SYSTEM: Creating MsgQ [VIDEO-M3_ACK_MSGQ] ... [m3vpss ] 8055: SYSTEM: Creating MsgQ [VPSS-M3_ACK_MSGQ] ... [m3video] 8057: SYSTEM: Notify register to [HOST] line 0, event 15 ... [m3vpss ] 8057: SYSTEM: Notify register to [HOST] line 0, event 15 ... [m3video] 8057: SYSTEM: Notify register to [DSP] line 0, event 15 ... [m3vpss ] 8057: SYSTEM: Notify register to [DSP] line 0, event 15 ... [m3video] 8058: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ... [m3vpss ] 8057: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ... [m3video] 8058: SYSTEM: IPC init DONE !!! [m3vpss ] 8058: SYSTEM: IPC init DONE !!! [c6xdsp ] 5674: MEM: Shared Region 1: Base = 0x88000000, Length = 0x04000000 (64 MB) [m3video] 8067: MEM: Shared Region 2: Base = 0xb8000000, Length = 0x07000000 (112 MB) [m3vpss ] 8066: MEM: Shared Region 2: Base = 0xb8000000, Length = 0x07000000 (112 MB) [c6xdsp ] 5674: SYSTEM : System Common Init Done !!! [m3video] 8067: MEM: Shared Region 1: Base = 0x88000000, Length = 0x04000000 (64 MB) [m3vpss ] 8067: MEM: Shared Region 1: Base = 0x88000000, Length = 0x04000000 (64 MB) [c6xdsp ] 5673: SYSTEM : System DSP Init in progress !!! [m3video] 8069: SYSTEM : System Common Init Done !!! [m3vpss ] 8069: SYSTEM : System Common Init Done !!! [c6xdsp ] 5674: SYSTEM : RpeServer_init() done... Ret Val 0!!! [m3video] 8070: SYSTEM : System Video Init in progress !!! [m3vpss ] 8069: SYSTEM : System VPSS Init in progress !!! [c6xdsp ] 5679: SYSTEM: Creating ListMP [DSP_IPC_OUT_19] in region 0 ... [m3video] 8070: SYSTEM : System Video Init Done !!! [c6xdsp ] 5679: SYSTEM: Creating ListMP [DSP_IPC_IN_19] in region 0 ... [m3video] 8071: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_0] in region 0 ... [c6xdsp ] 5679: SYSTEM: ListElem Shared Addr = 0xbf177300 [m3video] 8071: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_0] in region 0 ... [c6xdsp ] 5680: SYSTEM: Creating ListMP [DSP_IPC_OUT_20] in region 0 ... [m3video] 8071: SYSTEM: ListElem Shared Addr = 0xbf173e00 [c6xdsp ] 5680: SYSTEM: Creating ListMP [DSP_IPC_IN_20] in region 0 ... [m3video] 8074: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_1] in region 0 ... [c6xdsp ] 5680: SYSTEM: ListElem Shared Addr = 0xbf19cb00 [m3video] 8074: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_1] in region 0 ... [c6xdsp ] 5681: SYSTEM: Creating ListMP [DSP_IPC_OUT_21] in region 0 ... [m3video] 8075: SYSTEM: ListElem Shared Addr = 0xbf1c2300 [c6xdsp ] 5682: SYSTEM: Creating ListMP [DSP_IPC_IN_21] in region 0 ... [c6xdsp ] 5682: SYSTEM: ListElem Shared Addr = 0xbf1c5800 [c6xdsp ] 5683: SYSTEM: Creating ListMP [DSP_IPC_OUT_24] in region 0 ... [m3video] 8083: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_19] in region 0 ... [c6xdsp ] 5683: SYSTEM: Creating ListMP [DSP_IPC_IN_24] in region 0 ... [m3video] 8083: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_19] in region 0 ... [c6xdsp ] 5683: SYSTEM: ListElem Shared Addr = 0xbf1eb000 [m3video] 8084: SYSTEM: ListElem Shared Addr = 0xbf226600 [c6xdsp ] 5684: SYSTEM: Creating ListMP [DSP_IPC_OUT_25] in region 0 ... [c6xdsp ] 5684: SYSTEM: Creating ListMP [DSP_IPC_IN_25] in region 0 ... [c6xdsp ] 5684: SYSTEM: ListElem Shared Addr = 0xbf208b00 [c6xdsp ] !!WARNING.Resource already registered:2 [c6xdsp ] 5684: SYSTEM : Initializing Links !!! [c6xdsp ] 5685: SYSTEM : FREE SPACE : System Heap = 6393472 B, Mbx = 10240 msgs) [m3video] 8087: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_20] in region 0 ... [m3vpss ] === I2C0/2 Clk is active === [m3video] 8088: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_20] in region 0 ... [m3vpss ] 8088: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_0] in region 0 ... [c6xdsp ] 5684: ALGORITHM OPGAL : Init [0 | 69112] [m3video] 8088: SYSTEM: ListElem Shared Addr = 0xbf24be00 [m3vpss ] 8089: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_0] in region 0 ... [c6xdsp ] 5684: ALGORITHM OPGAL : CPU Frequency = 600000 kHz [m3video] 8092: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_21] in region 0 ... [m3vpss ] 8089: SYSTEM: ListElem Shared Addr = 0xbf271600 [c6xdsp ] 5688: ALGORITHM OPGAL : link 35 initialization completed with status 0 [69112] [m3video] 8092: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_21] in region 0 ... [m3vpss ] 8092: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_1] in region 0 ... [c6xdsp ] 5688: ALGORITHM OPGAL : Init [0 | 69112] completed SUCCESSFULLY. [m3video] 8092: SYSTEM: ListElem Shared Addr = 0xbf275080 [m3vpss ] 8092: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_1] in region 0 ... [c6xdsp ] 5697: SYSTEM : Initializing Links ... DONE !!! [m3video] 8112: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_24] in region 0 ... [m3vpss ] 8093: SYSTEM: ListElem Shared Addr = 0xbf29a300 [m3video] 8113: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_24] in region 0 ... [m3vpss ] 8113: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_19] in region 0 ... [c6xdsp ] 5697: SYSTEM : System DSP Init Done !!! [m3video] 8113: SYSTEM: ListElem Shared Addr = 0xbf29d800 [m3vpss ] 8114: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_19] in region 0 ... [m3video] 8116: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_25] in region 0 ... [m3vpss ] 8114: SYSTEM: ListElem Shared Addr = 0xbf2bb300 [m3video] 8117: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_25] in region 0 ... [m3vpss ] 8117: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_20] in region 0 ... [m3video] 8117: SYSTEM: ListElem Shared Addr = 0xbf2e0b00 [m3vpss ] 8118: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_20] in region 0 ... [m3video] 8119: HDVICP: Doing PRCM for IVAHD[0] ... [m3vpss ] 8118: SYSTEM: ListElem Shared Addr = 0xbf2fe600 [m3video] 8120: HDVICP: PRCM for IVAHD[0] ... DONE. [m3vpss ] 8122: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_21] in region 0 ... [m3video] 8121: UTILS: DMA: HWI Create for INT62 !!! [m3vpss ] 8122: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_21] in region 0 ... [m3video] 8122: SYSTEM : ISS Init in progress !!! [m3vpss ] 8122: SYSTEM: ListElem Shared Addr = 0xbf323e00 [m3video] 8122: SYSTEM : ISS Power-ON in progress !!! [m3vpss ] 8125: SYSTEM : HDVPSS Drivers Version: HDVPSS_01_00_01_37 [m3video] 8132: SYSTEM : ISS Power-ON in progress DONE !!! [m3vpss ] 8125: SYSTEM : FVID2 Init in progress !!! [m3video] 8133: SYSTEM : ISS Init in progress DONE !!! [m3vpss ] 8214: SYSTEM : FVID2 Init in progress DONE !!! [m3video] 8133: VCOP BOOST BIT is Set [m3vpss ] 8214: SYSTEM : Device Init in progress !!! [m3video] 8133: SYSTEM : VCOP Init in progress !!! [m3video] 8133: SYSTEM : VCOP needs 172 B of memory !!! [m3vpss ] initPrms.isI2cInitReq = 0 [m3video] 8135: SYSTEM : VCOP Init in progress DONE !!! [m3video] 8135: SYSTEM : Initializing Links !!! [m3vpss ] initPrms.isI2cInitReq = 0 [m3vpss ] 8315: SYSTEM : Device Init in progress DONE !!! [m3video] 8135: SYSTEM : FREE SPACE : System Heap = 6263296 B, Mbx = 10240 msgs) [m3vpss ] HDVPSS Freq : 220 MHz [m3video] 8135: SYSTEM : FREE SPACE : SR0 Heap = 5730304 B (5 MB) [m3vpss ] 8371: SYSTEM : System VPSS Init Done !!! [m3video] 8135: SYSTEM : FREE SPACE : Frame Buffer = 117440384 B (111 MB) [m3vpss ] 8372: UTILS: DMA: HWI Create for INT63 !!! [m3vpss ] 8373: SYSTEM : Initializing Links !!! [m3video] 8136: SYSTEM : FREE SPACE : Bitstream Buffer = 67108736 B (63 MB) [m3vpss ] 8373: SYSTEM : FREE SPACE : System Heap = 250280 B, Mbx = 10240 msgs) [m3video] 8136: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ... [m3video] 8137: SYSTEM : FREE SPACE : Tiler 8-bit = 89128960 B (85 MB) - TILER ON [m3vpss ] 8373: SYSTEM : FREE SPACE : SR0 Heap = 5730304 B (5 MB) [m3video] 8137: SYSTEM : FREE SPACE : Tiler 16-bit = 44040192 B (42 MB) - TILER ON [m3vpss ] 8373: SYSTEM : FREE SPACE : Frame Buffer = 113130368 B (107 MB) [m3vpss ] Received character 's' [m3video] 8206: SYSTEM : Initializing Links ... DONE !!! [m3vpss ] 8373: SYSTEM : FREE SPACE : Bitstream Buffer = 67108736 B (63 MB) [m3vpss ] 8374: SYSTEM : FREE SPACE : Tiler 8-bit = 89128960 B (85 MB) - TILER ON [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000 [m3video] Remote Debug Shared Memory @ 0xbff05020 [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040 [m3video] Received character 's' [m3vpss ] 8374: SYSTEM : FREE SPACE : Tiler 16-bit = 44040192 B (42 MB) - TILER ON [m3vpss ] 8550: SYSTEM : Initializing Links ... DONE !!! [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000 [m3video] Remote Debug Shared Memory @ 0xbff05020 [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040 [c6xdsp ] Received character 's' /opt/dvr_rdk/ti814x [m3vpss ] 8550: SYSTEM : Set Static L3 pressur[module] vpss probe done. e for HDVPSS as High [module] ti81xxfb probe done. HDMI W1 rev 4.0 HDMI CEC Spec version 1.2 ORG 0x46c00524: 0 NEW 0x46c00524: 2 ========= 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 o: OPGAL CAPTURE AND DISPALY f: OPGAL_FPGA_CAPTURE_AND_DISPLAY r: OPGAL ALGORITHM OFFLINE DEMO usecase e: Exit Enter Choice: f Selected DEMO - DEMO_OPGAL_FPGA_USECASE [demo.c.390]opgal_fpga_demo.c::OPGAL_fpga_capture_display_start: Initializing vsys ... 0: SYSTEM: System Common Init in progress !!! 0: SYSTEM: IPC init in progress !!! 10: SYSTEM: CPU [DSP] syslink proc ID is [0] !!! 10: SYSTEM: CPU [VIDEO-M3] syslink proc ID is [1] !!! 10: SYSTEM: CPU [VPSS-M3] syslink proc ID is [2] !!! 10: SYSTEM: CPU [HOST] syslink proc ID is [3] !!! 10: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_3] ... 13: SYSTEM: Creating MsgQ [HOST_MSGQ] ... 14: SYSTEM: Creating MsgQ [HOST_ACK_MSGQ] ... 15: SYSTEM: Opening MsgQ [DSP_MSGQ] ... 16: SYSTEM: Opening MsgQ [VIDEO-M3_MSGQ] ... 16: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ... 17: SYSTEM: Notify register to [DSP] line 0, event 15 ... 18: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ... 18: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ... 19: SYSTEM: IPC init DONE !!! 20: SYSTEM: Creating ListMP [HOST_IPC_OUT_24] in region 0 ... 22: SYSTEM: Creating ListMP [HOST_IPC_IN_24] in region 0 ... 23: SYSTEM: ListElem Shared Addr = 0x40760880 24: SYSTEM: Creating ListMP [HOST_IPC_OUT_25] in region 0 ... 26: SYSTEM: Creating ListMP [HOST_IPC_IN_25] in region 0 ... 27: SYSTEM: ListElem Shared Addr = 0x4077e380 28: SYSTEM: Creating ListMP [HOST_IPC_OUT_19] in region 0 ... 30: SYSTEM: Creating ListMP [HOST_IPC_IN_19] in region 0 ... 31: SYSTEM: ListElem Shared Addr = 0x4079be80 32: SYSTEM: Creating ListMP [HOST_IPC_OUT_20] in region 0 ... 34: SYSTEM: Creating ListMP [HOST_IPC_IN_20] in region 0 ... 35: SYSTEM: ListElem Shared Addr = 0x407c1680 36: SYSTEM: Creating ListMP [HOST_IPC_OUT_21] in region 0 ... 38: SYSTEM: Creating ListMP [HOST_IPC_IN_21] in region 0 ... 39: SYSTEM: ListElem Shared Addr = 0x407e6e80 61: SYSTEM: System Common Init Done !!! done opgal_fpga_demo.c::OPGAL_fpga_capture_display_start: Initializing vcap ... done Tied result HDMI -> DVO2 : 0 [host] HDMI Ctrl :Initializing [host] HDMI Ctrl :Initialized [host] HDMI Ctrl :Sink Connected [ti_vsys.c.246] gVsysModuleContext.vsysConfig.systemUseCase = 19 Lets check platform defined ... Will be selected usecase for TI_814X_BUILD [ti_vsys.c.330] call to Opgal_fpga_camera_usecase_create() 129: MCFW : CPU Revision [ES3.0] !!! 129: MCFW : Detected [UNKNOWN] Board !!! 129: MCFW : Base Board Revision [REV A] !!! Perform capture from FPGA via VIP1_PORTA [m3vpss ] 18662: CAPTURE: Create in progress !!! [m3vpss ] 18699: CAPTURE: VIP1 PortA frame size 320 x 240 pixels, PROGRESSIVE [m3vpss ] 18699: CAPTURE: VIP1 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) [c6xdsp ] 16324: IPC_FRAMES_IN_016h : Create in progress !!! [c6xdsp ] 16324: SYSTEM: Opening ListMP [VPSS-M3_IPC_OUT_19] ... [m3vpss ] CAPTURE::HEAPID:0USED:328 [c6xdsp ] 16324: SYSTEM: Opening ListMP [VPSS-M3_IPC_IN_19] ... [m3vpss ] CAPTURE::HEAPID:4USED:5990400 [c6xdsp ] 16325: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ... [m3vpss ] 18713: CAPTURE: Create Done !!! [m3vpss ] 18714: IPC_FRAMES_OUT_020000013h : Create in progress !!! [c6xdsp ] IPC_FRAMES_IN:HEAPID:0USED:304 [c6xdsp ] 16327: IPC_FRAMES_IN_016h : Create Done !!! [m3vpss ] 18717: IPC_FRAMES_OUT_020000013h : Create Done !!! [c6xdsp ] 16326: ALGORITHM OPGAL : Task started [link 35/0] [c6xdsp ] 16369: ALGORITHM OPGAL : OPGAL codec created for channel 00. [8e406120] [c6xdsp ] 16369: ALGORITHM OPGAL : Fill channel info for queueId = 0. [1] [c6xdsp ] 16370: ALGORITHM OPGAL : OPGAL codec instances created successfully [link = 35/0]. Service channels = 1 [m3vpss ] 18766: IPC_FRAMES_IN_020000016h : Create in progress !!! [c6xdsp ] ALGORITHM OPGAL::HEAPID:0USED:2384 [m3vpss ] 18766: SYSTEM: Opening ListMP [DSP_IPC_OUT_19] ... [c6xdsp ] ALGORITHM OPGAL::HEAPID:1USED:32896 [m3vpss ] 18766: SYSTEM: Opening ListMP [DSP_IPC_IN_19] ... [c6xdsp ] 16369: ALGORITHM OPGAL : Task AlgOpgalLink_drvCreate() completed [m3vpss ] 18768: SYSTEM: Opening MsgQ [DSP_MSGQ] ... [c6xdsp ] 16370: IPC_FRAMES_OUT_013h : Create in progress !!! [m3vpss ] IPC_FRAMES_IN:HEAPID:0USED:304 [c6xdsp ] 16372: IPC_FRAMES_OUT_013h : Create Done !!! [m3vpss ] 18770: IPC_FRAMES_IN_020000016h : Create Done !!! [c6xdsp ] 16371: ALGORITHM OPGAL : Link 35/0 start main loop... [m3vpss ] 18771: SWMS: Create in progress !!! [m3vpss ] UTILS: DMA: Allocated CH (TCC) = 59 (59) [m3vpss ] UTILS: DMA: 0 of 1: Allocated PaRAM = 59 (0x49004760) [m3vpss ] SWMS: instance 0, sc id 5, start win 0 end win 17 [m3vpss ] AVSYNC:WallTime IGNORE Unexpected Discontinuity.PrevTs[18885]/CurTs[207908] [m3vpss ] AVSYNC:WallTime IGNORE Unexpected Discontinuity.PrevTs[207908]/CurTs[399264] [m3vpss ] 399265: Assertion @ Line: 2504 in links_m3vpss/swMs/swMsLink_drv.c: pDrvObj->fvidHandle != NULL : failed !!!
/******************************************************************************* * * * ALL RIGHTS RESERVED * * * ******************************************************************************/ #include "mcfw/src_linux/mcfw_api/usecases/multich_common.h" #include "mcfw/src_linux/mcfw_api/usecases/multich_ipcbits.h" /* ============================================================================= * Externs * ============================================================================= */ #define NUM_CAPTURE_DEVICES (1) const char capturePortName[][16] = {"VIP0_PORTA", "VIP0_PORTB", "VIP1_PORTA", "VIP1_PORTB"}; // Used Links' ID const UInt32 captureLinkId = SYSTEM_LINK_ID_CAPTURE; const UInt32 vpssIpcVideoOutLinkId = SYSTEM_VPSS_LINK_ID_IPC_FRAMES_OUT_0; const UInt32 dspIpcVideoInLinkId = SYSTEM_DSP_LINK_ID_IPC_FRAMES_IN_0; const UInt32 algLinkId = SYSTEM_LINK_ID_OPGAL_ALG_0; const UInt32 dspIpcVideoOutLinkId = SYSTEM_DSP_LINK_ID_IPC_FRAMES_OUT_0; const UInt32 vpssIpcVideoInLinkId = SYSTEM_VPSS_LINK_ID_IPC_FRAMES_IN_0; const UInt32 swMosaicLinkId = SYSTEM_LINK_ID_SW_MS_MULTI_INST_0; const UInt32 displayLinkId = SYSTEM_LINK_ID_DISPLAY_0; // Void Opgal_fpga_print_capture_statistics (void) { int err = 0; if (SYSTEM_LINK_ID_INVALID != gVcapModuleContext.captureId) { printf("\nMCFW: print statistics for capture link id 0x%Xh\n", gVcapModuleContext.captureId); err |= System_linkControl (gVcapModuleContext.captureId, CAPTURE_LINK_CMD_PRINT_ADV_STATISTICS, NULL, 0, TRUE); err |= System_linkControl (gVcapModuleContext.captureId, CAPTURE_LINK_CMD_PRINT_BUFFER_STATISTICS, NULL, 0, TRUE); printf("\n\n"); }else{ printf("Captute link invalid id\n"); } if (0 != err) { printf("Capture link error = %d\n", err); }else{ OSA_waitMsecs(1000); // allow for print to complete } return; } Int32 dsp_alg_start (void) { Int32 err = 0; err |= System_linkStart (vpssIpcVideoInLinkId); err |= System_linkStart (dspIpcVideoOutLinkId); err |= System_linkStart (algLinkId); err |= System_linkStart (dspIpcVideoInLinkId); return err; } /* ============================================================================= * Use case code * ============================================================================= */ Void Opgal_fpga_camera_usecase_create () { CaptureLink_CreateParams capturePrm; SwMsLink_CreateParams swMsPrm; DisplayLink_CreateParams displayPrm; VDIS_MOSAIC_S vDisMosaic; VCAP_DEVICE_CREATE_PARAM_S vidDecVideoModeArgs; IpcFramesOutLinkRTOS_CreateParams vpssIpcFrameOut; IpcFramesInLinkRTOS_CreateParams dspIpcFrameIn; AlgOpgalLink_CreateParams algorithmPrm; IpcFramesOutLinkRTOS_CreateParams dspIpcFrameOut; IpcFramesInLinkRTOS_CreateParams vpssIpcFrameIn; CaptureLink_VipInstParams* pCaptureInstPrm = NULL; CaptureLink_OutParams* pCaptureOutPrm = NULL; const UInt32 captureStandard = SYSTEM_OPGAL_QVGA_PROGRESSIVE_60; UInt32 vipInstId = 0u; UInt32 i = 0u; MULTICH_INIT_STRUCT(DisplayLink_CreateParams, displayPrm); MULTICH_INIT_STRUCT(SwMsLink_CreateParams, swMsPrm); MULTICH_INIT_STRUCT(AlgOpgalLink_CreateParams, algorithmPrm); MultiCh_detectBoard(); // reset VPSS System_linkControl( SYSTEM_LINK_ID_M3VPSS, SYSTEM_M3VPSS_CMD_RESET_VIDEO_DEVICES, NULL, 0, TRUE ); // ==== capture module context gVcapModuleContext.captureId = captureLinkId; gVcapModuleContext.ipcFramesOutVpssId[0] = vpssIpcVideoOutLinkId; gVcapModuleContext.ipcFramesInDspId[0] = dspIpcVideoInLinkId; gVcapModuleContext.dspAlgId[0] = algLinkId; // ==== display module context gVdisModuleContext.swMsId[0] = swMosaicLinkId; gVdisModuleContext.displayId[0] = displayLinkId; /* ON CHIP HDMI */ // CAPTURE CaptureLink_CreateParams_Init(&capturePrm); capturePrm.numVipInst = 1; capturePrm.outQueParams[0].nextLink = vpssIpcVideoOutLinkId; capturePrm.tilerEnable = FALSE; capturePrm.enableSdCrop = FALSE; capturePrm.fakeHdMode = FALSE; capturePrm.doCropInCapture = FALSE; pCaptureInstPrm = &capturePrm.vipInst[0]; pCaptureInstPrm->vipInstId = SYSTEM_CAPTURE_INST_VIP1_PORTA; pCaptureInstPrm->videoDecoderId = 0u; pCaptureInstPrm->inDataFormat = SYSTEM_DF_YUV422P; // pCaptureInstPrm->enableTimestampInInterrupt = TRUE; pCaptureInstPrm->standard = captureStandard; pCaptureInstPrm->standard |= SYSTEM_STD_OPGAL_VIDEO_MODE_16_BITS; pCaptureInstPrm->numOutput = 1; pCaptureInstPrm->numChPerOutput = 1; pCaptureOutPrm = &pCaptureInstPrm->outParams[0]; pCaptureOutPrm->dataFormat = SYSTEM_DF_YUV422I_YUYV; pCaptureOutPrm->scEnable = FALSE; pCaptureOutPrm->scOutWidth = 0; pCaptureOutPrm->scOutHeight = 0; pCaptureOutPrm->outQueId = 0; if (pCaptureInstPrm->vipInstId >= SYSTEM_CAPTURE_INST_VIP0_PORTA && pCaptureInstPrm->vipInstId <= SYSTEM_CAPTURE_INST_VIP1_PORTB) { printf ("\nPerform capture from FPGA via %s\n", capturePortName[pCaptureInstPrm->vipInstId]); } // VPSS IPC frame OUT IpcFramesOutLinkRTOS_CreateParams_Init(&vpssIpcFrameOut); vpssIpcFrameOut.baseCreateParams.numOutQue = 1; vpssIpcFrameOut.baseCreateParams.inQueParams.prevLinkId = gVcapModuleContext.captureId; vpssIpcFrameOut.baseCreateParams.inQueParams.prevLinkQueId = 0u; vpssIpcFrameOut.baseCreateParams.numChPerOutQue[0] = 1; vpssIpcFrameOut.baseCreateParams.outQueParams[0].nextLink = dspIpcVideoInLinkId; // DSP IPC frame IN IpcFramesInLinkRTOS_CreateParams_Init(&dspIpcFrameIn); dspIpcFrameIn.baseCreateParams.inQueParams.prevLinkId = vpssIpcVideoOutLinkId; dspIpcFrameIn.baseCreateParams.inQueParams.prevLinkQueId = 0u; dspIpcFrameIn.baseCreateParams.numChPerOutQue[0] = 1; dspIpcFrameIn.baseCreateParams.numOutQue = 1; dspIpcFrameIn.baseCreateParams.outQueParams[0].nextLink = algLinkId; // DSP ALG AlgOpgalLink_CreateParams_Init(&algorithmPrm); algorithmPrm.strSize = sizeof(algorithmPrm); algorithmPrm.imgSizeX = 320; algorithmPrm.imgPitchX = algorithmPrm.imgSizeX; algorithmPrm.imgSizeY = 240; algorithmPrm.globalActive = 0u; algorithmPrm.maxChannels = 1; algorithmPrm.numOutQueues = 1; algorithmPrm.notifyNextLink = TRUE; algorithmPrm.inQueParams.prevLinkId = dspIpcVideoInLinkId; algorithmPrm.inQueParams.prevLinkQueId = 0u; algorithmPrm.outQueParams.nextLink = dspIpcVideoOutLinkId; // DSP IPC frame OUT IpcFramesOutLinkRTOS_CreateParams_Init(&dspIpcFrameOut); dspIpcFrameOut.baseCreateParams.inQueParams.prevLinkId = algLinkId; dspIpcFrameOut.baseCreateParams.inQueParams.prevLinkQueId = 0u; dspIpcFrameOut.baseCreateParams.numOutQue = 1; dspIpcFrameOut.baseCreateParams.numChPerOutQue[0] = 1; dspIpcFrameOut.baseCreateParams.outQueParams[0].nextLink = vpssIpcVideoInLinkId; // VPSS IPC frame IN IpcFramesInLinkRTOS_CreateParams_Init(&vpssIpcFrameIn); vpssIpcFrameIn.baseCreateParams.inQueParams.prevLinkId = dspIpcVideoOutLinkId; vpssIpcFrameIn.baseCreateParams.inQueParams.prevLinkQueId = 0u; vpssIpcFrameIn.baseCreateParams.numChPerOutQue[0] = 1; vpssIpcFrameIn.baseCreateParams.numOutQue = 1; vpssIpcFrameIn.baseCreateParams.outQueParams[0].nextLink = swMosaicLinkId; swMsPrm.numSwMsInst = 1; swMsPrm.swMsInstId[0] = SYSTEM_SW_MS_SC_INST_SC5; swMsPrm.swMsInstStartWin[0] = 0; swMsPrm.inQueParams.prevLinkId = vpssIpcVideoInLinkId; swMsPrm.inQueParams.prevLinkQueId = 0; swMsPrm.outQueParams.nextLink = displayLinkId; swMsPrm.maxInputQueLen = SYSTEM_SW_MS_DEFAULT_INPUT_QUE_LEN; swMsPrm.maxOutRes = VSYS_STD_1080P_60; swMsPrm.initOutRes = VSYS_STD_1080P_60; swMsPrm.lineSkipMode = TRUE; swMsPrm.enableLayoutGridDraw = FALSE; MultiCh_swMsGetDefaultLayoutPrm(0, &swMsPrm, FALSE); /* Since only live preview is there, show it on both displays */ displayPrm.inQueParams[0].prevLinkId = swMosaicLinkId; displayPrm.inQueParams[0].prevLinkQueId = 0; displayPrm.displayRes = swMsPrm.initOutRes; // VPSS: CAPTURE -> IPC_OUT System_linkCreate (captureLinkId, &capturePrm, sizeof(capturePrm)); System_linkCreate (vpssIpcVideoOutLinkId, &vpssIpcFrameOut, sizeof(vpssIpcFrameOut)); // IPC_IN -> ALG -> IPC_OUT System_linkCreate (dspIpcVideoInLinkId, &dspIpcFrameIn, sizeof(dspIpcFrameIn)); System_linkCreate (algLinkId, &algorithmPrm, sizeof(algorithmPrm)); System_linkCreate (dspIpcVideoOutLinkId, &dspIpcFrameOut, sizeof(dspIpcFrameOut)); // VPSS: IPC_IN -> SW_MS -> DISPLAY System_linkCreate (vpssIpcVideoInLinkId, &vpssIpcFrameIn, sizeof(vpssIpcFrameIn)); System_linkCreate (swMosaicLinkId, &swMsPrm, sizeof(swMsPrm)); System_linkCreate (displayLinkId, &displayPrm, sizeof(displayPrm)); // get default mosaic parameters Vdis_getMosaicParams (VDIS_DEV_HDMI, &vDisMosaic); vDisMosaic.displayWindow.start_X = 0u; vDisMosaic.displayWindow.start_Y = 0u; vDisMosaic.displayWindow.width = 1920u; vDisMosaic.displayWindow.height = 1080u; vDisMosaic.onlyCh2WinMapChanged = FALSE; vDisMosaic.chnMap [0] = 0u; vDisMosaic.winList[0].start_X = 0u; vDisMosaic.winList[0].start_Y = 0u; vDisMosaic.winList[0].width = 320; vDisMosaic.winList[0].height = 240; // update mosaic parameters Vdis_setMosaicParams(VDIS_DEV_HDMI, &vDisMosaic); printf ("[%s|%s]: Update mosaic: %u x %u\n", __FILE__, __FUNCTION__, vDisMosaic.winList[0].width, vDisMosaic.winList[0].height); MultiCh_memPrintHeapStatus(); return; } Void Opgal_fpga_camera_usecase_delete () { UInt32 i; const UInt32 numSubChains = 1u; UInt32 enableSdtv = FALSE; System_linkDelete (gVcapModuleContext.captureId); // System_linkDelete (dupId); for (i = 0; i < numSubChains; i++) System_linkDelete (gVdisModuleContext.swMsId[i] ); for (i = 0; i < numSubChains; i++) System_linkDelete(gVdisModuleContext.displayId[i]); if (enableSdtv) { System_linkDelete(gVdisModuleContext.displayId[2]); } /* Print the HWI, SWI and all tasks load */ /* Reset the accumulated timer ticks */ MultiCh_prfLoadCalcEnable(FALSE, TRUE, FALSE); return; }