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.

RTOS/PROCESSOR-SDK-DRA7X: Startup KPI for Logo

Part Number: PROCESSOR-SDK-DRA7X

Tool/software: TI-RTOS

Hello TI Team/Shravan,

The Startup KPI for client logo is under 3 seconds, 

In M4 IPL boot we are starting Capture early (usecase below) and GFX pipeline which uses VDRM will be started when linux comes up.

since as per our understanding this is due to dependencies with Western. Is there any way we can remove this dependency and make GFX and VID3 come up early ?

UseCase: weston_dualcamera_dsswb


Capture -> Display_Video   //Started from IPL boot
Capture_1 -> Display_Video1  //Started from IPL boot
DispDistSrc_gfx -> Display_gfx  // Starts after Linux starts since dependeces for western
DispDistSrc_vid3 -> Display_vid3 // Starts after Linux starts since dependeces for western
Capture_dsswb -> Alg_SwCrc

Regards,

Raghu

  • Hi Raghu,

    Is the KPI only for a display of the logo?

    If yes, I recollect sharing a sample use-case where a logo is displayed using a display link, and this can be started from M4 without waiting for kernel boot (which will guarantee display <3s, since there is no dependency on kernel).


    Regards

    Shravan 

  • Hi Shravan,

    We can have a logo or animation based on coding.

    Also in case of animation, it needs to be in sync with A15 services loading.

    So we did not explore on M4 based logo approach.

    From A15 , weston, apps.out and our logo are up by 2.6 secs, but we see display up only about 4.2 secs.

    Tried with EGL sample app as well, still timing is same.

    Raghu said if GFX link is started early, then m4 is crashing. Can you help us on this.

    Raghu shall share the logs for this soon

    thanks.

  • As discussed on the call with Harman last week, Harman will explore the sample app with M4 chain configuration supported in VSDK and make necessary changes.

  • Hello TI team,

    USECASE:

    Capture -> Display_Video   //Started from IPL boot
    DispDistSrc_gfx -> Display_gfx  // Starts after Linux starts since dependeces for western
    DispDistSrc_vid3 -> Display_vid3 // Starts after Linux starts since dependeces for western
    Capture_dsswb -> Alg_SwCrc


    We have tried the following.

    1. Start Capture as per the sample app where in we start the Capture early and  start the gfx after the VSDK App sends the command to M4 which will start GFX

        This way we are achieving around 3.6 seconds. BUT KPI is Under 3 seconds.

    2. Starting the Capture and GFX without waiting cor VSDKAPP signaling results in crash (File: ADV_MID_EC_GFX_STAERT_EARLY.txt)

    3. In the chain "DispDistSrc_gfx -> Display_gfx "

    root@mmt2020-a880:~# cat /sys/kernel/debug/remoteproc/remoteproc0/trace0
    [0][      0.000] 18 Resource entries at 0x3000
    [0][      0.000]      0.333740 s:  SYSTEM: System Common Init in progress !!!
    [0][      0.010]      0.343073 s:  SYSTEM: IPC init in progress !!!
    [0][      0.010]      0.343317 s:  SYSTEM: Notify init done !!!
    [0][      0.012]      0.345086 s:  SYSTEM: MsgQ init done !!!
    [0][      0.013]      0.346092 s: RpmsgInit in progress...
    [0][      0.013]      0.346336 s:  SYSTEM: IPC init DONE !!!
    [0][      0.019]      0.352559 s:  SYSTEM: System Common Init Done !!!
    [0][      0.019]      0.352803 s:  SYSTEM: System Init in progress !!!
    [0][      0.020]      0.352955 s:  SYSTEM: BSP Common Init in progress !!!
    [0][      0.020]      0.353169 s:  SYSTEM: BSP Common Init Done !!!
    [0][      0.020]      0.353352 s:  SYSTEM: BSP Platform Init in progress !!!
    [0][      0.020]      0.353565 s:  SYSTEM: BSP Platform Init Done !!!
    [0][      0.020]      0.353718 s:  SYSTEM: FVID2 Init in progress !!!
    [0][      0.020]      0.353962 s:  SYSTEM: FVID2 Init Done !!!
    [0][      0.021]      0.354145 s:  SYSTEM: VPS Init in progress !!!
    [0][      0.021]      0.354328 s:  SYSTEM: VPDMA Descriptor Memory Address translation ENABLED [0x80000000 -> 0x80000000]
    [0][      0.024]      0.357347 s: *** VPDMA Firmware Loading... ***
    [0][      0.024]      0.357591 s: VPDMA Firmware Address = 0xa034a500
    [0][      0.024]      0.357774 s: VPDMA Load Address     = 0x4897d004
    [0][      0.025]      0.357988 s: VPDMA Firmware Version = 0x4d0001b8
    [0][      0.025]      0.358201 s: VPDMA List Busy Status = 0x00000000
    [0][      0.025]      0.358384 s: *** VPDMA Firmware Load Success ***
    [0][      0.025]
    [0][      0.025]      0.358842 s: *** VPDMA Firmware Loading... ***
    [0][      0.026]      0.359025 s: VPDMA Firmware Address = 0xa034a500
    [0][      0.026]      0.359238 s: VPDMA Load Address     = 0x4899d004
    [0][      0.026]      0.359452 s: VPDMA Firmware Version = 0x4d0001b8
    [0][      0.026]      0.359635 s: VPDMA List Busy Status = 0x00000000
    [0][      0.026]      0.359818 s: *** VPDMA Firmware Load Success ***
    [0][      0.026]
    [0][      0.027]      0.360275 s: *** VPDMA Firmware Loading... ***
    [0][      0.027]      0.360489 s: VPDMA Firmware Address = 0xa034a500
    [0][      0.027]      0.360672 s: VPDMA Load Address     = 0x489bd004
    [0][      0.027]      0.360855 s: VPDMA Firmware Version = 0x4d0001b8
    [0][      0.028]      0.361068 s: VPDMA List Busy Status = 0x00000000
    [0][      0.028]      0.361251 s: *** VPDMA Firmware Load Success ***
    [0][      0.028]
    [0][      0.085]      0.418044 s:  SYSTEM: VPS Init Done !!!
    [0][      0.085]      0.418989 s:  UTILS: DMA: HWI Create for INT34 !!!
    [0][      0.086]      0.419416 s:  SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1024
    [0][      0.086]      0.419660 s:  SYSTEM: Heap = LOCAL_DDR            @ 0x00000000, Total size = 262144 B (256 KB), Free size = 260992 B (254 KB)
    [0][      0.087]      0.420057 s:  SYSTEM: Heap = SR_OCMC              @ 0x00000000, Total size = 0 B (0 KB), Free size = 0 B (0 KB)
    [0][      0.087]      0.420423 s:  SYSTEM: Heap = SR_DDR_CACHED        @ 0x86203000, Total size = 67108864 B (64 MB), Free size = 67108864 B (64 MB)
    [0][      0.088]      0.420850 s:  SYSTEM: Heap = SR_DDR_NON_CACHED    @ 0xa0100000, Total size = 1047168 B (0 MB), Free size = 1047168 B (0 MB)
    [0][      0.088]      0.421277 s:  SYSTEM: Initializing Links !!!
    [0][      0.336]      0.669249 s: CameraControllerMid_tsk: Task started
    [0][      0.339]      0.672665 s:  SYSTEM: Initializing Links ... DONE !!!
    [0][      0.350]      0.673183 s:  CHAINS: Application Started !!!     0.683675 s:  BOARD: Board Init in progress !!!
    [0][      0.351]      0.684285 s:  BOARD: Board Init Done !!!
    [0][      0.359]      0.692399 s:
    [0][      0.359]      0.692551 s: EarlyCam Check: Cam1:0 Cam2:0
    [0][      0.359]      0.692856 s: Display width 800, Display height 480
    [0][      0.360]      0.693039 s:  CHAINS: Sensor create in progress
    [0][      0.360]      0.693253 s:  VIDEO_DECODER: ********** CREATE **********
    [0][      0.371]      0.704660 s: I2C write Passed
    [0][      0.421]      0.754285 s: I2C write Passed
    [0][      0.422]      0.755291 s: I2C write Passed
    [0][      0.423]      0.756328 s: I2C write Passed
    [0][      0.439]      0.772738 s: I2C1: Passed for address 0xc !!!
    [0][      0.489]      0.822607 s: I2C1: Passed for address 0x35 !!!
    [0][      0.579]      0.912432 s: EarlyCameraMonitor_init: Init
    [0][      0.581]      0.914201 s:  CHAINS: Sensor create ... DONE !!!
    [0][      0.584]      0.917220 s:  CAPTURE: Create in progress !!!
    [0][      0.584]      0.917556 s:  CAPTURE: VIP2 Slice0 PortA capture mode is [ 8-bit] !!!
    [0][      0.742]      1.074971 s:  CAPTURE: Create Done !!!
    [0][      0.742]      1.075428 s:  DISPLAY: Create in progress !!!
    [0][      0.743]      1.076099 s:  DISPLAY: Create Done !!!
    [0][      0.743]      1.076435 s:  DISPLAY: Create in progress !!!
    [0][      0.743]      1.076648 s:  Assertion @ Line: 445 in displayLink_drv.c: pPrm->inQueParams.prevLinkQueId < pObj->inTskInfo.numQue : failed !!!
    [0][      0.744]  Assertion @ Line: 445 in displayLink_drv.c: pPrm->inQueParams.prevLinkQueId < pObj->inTskInfo.numQue : failed !!!
    [0][      0.902]      2.322515 s: Connection established with HLOS, calling rpmsgInit
    [0][      0.902] registering rpmsg-proto:rpmsg-proto service on 80 with HOST
    [0][      1.538]      2.958732 s:  ** LINUX INIT COMPLETE
    [0][      1.635]      3.055725 s:  SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1022
    [0][      1.635]      3.055999 s:  SYSTEM: Heap = LOCAL_DDR            @ 0x00000000, Total size = 262144 B (256 KB), Free size = 255296 B (249 KB)
    [0][      1.636]      3.056396 s:  SYSTEM: Heap = SR_OCMC              @ 0x00000000, Total size = 0 B (0 KB), Free size = 0 B (0 KB)
    [0][      1.636]      3.056823 s:  SYSTEM: Heap = SR_DDR_CACHED        @ 0x86203000, Total size = 67108864 B (64 MB), Free size = 56049664 B (53 MB)
    [0][      1.637]      3.057250 s:  SYSTEM: Heap = SR_DDR_NON_CACHED    @ 0xa0100000, Total size = 1047168 B (0 MB), Free size = 1047168 B (0 MB)
    [0][      1.642]      3.062953 s:
    [0][      1.642]      3.063106 s:  #### EVE CLK =   20.0      Mhz
    [0][      1.643]      3.063350 s:  #### DSP CLK =  625.0      Mhz
    [0][      1.643]      3.063655 s:  #### IPU CLK =  221.666666 Mhz
    [0][      1.643]      3.063899 s:  #### A15 CLK = 1041.666666 Mhz
    [0][      1.643]      3.064082 s:
    [0][      9.317]     10.737814 s: EarlyCameraMonitor_tsk exited
    root@mmt2020-a880:~# cat /sys/kernel/debug/remoteproc/remoteproc0/trace0
    [0][      0.000] 18 Resource entries at 0x3000
    [0][      0.000]      0.308393 s:  SYSTEM: System Common Init in progress !!!
    [0][      0.010]      0.317910 s:  SYSTEM: IPC init in progress !!!
    [0][      0.010]      0.318154 s:  SYSTEM: Notify init done !!!
    [0][      0.012]      0.319953 s:  SYSTEM: MsgQ init done !!!
    [0][      0.013]      0.320960 s: RpmsgInit in progress...
    [0][      0.013]      0.321173 s:  SYSTEM: IPC init DONE !!!
    [0][      0.019]      0.327456 s:  SYSTEM: System Common Init Done !!!
    [0][      0.020]      0.327670 s:  SYSTEM: System Init in progress !!!
    [0][      0.020]      0.327914 s:  SYSTEM: BSP Common Init in progress !!!
    [0][      0.020]      0.328097 s:  SYSTEM: BSP Common Init Done !!!
    [0][      0.020]      0.328249 s:  SYSTEM: BSP Platform Init in progress !!!
    [0][      0.020]      0.328463 s:  SYSTEM: BSP Platform Init Done !!!
    [0][      0.021]      0.328615 s:  SYSTEM: FVID2 Init in progress !!!
    [0][      0.021]      0.328890 s:  SYSTEM: FVID2 Init Done !!!
    [0][      0.021]      0.329042 s:  SYSTEM: VPS Init in progress !!!
    [0][      0.021]      0.329225 s:  SYSTEM: VPDMA Descriptor Memory Address translation ENABLED [0x80000000 -> 0x80000000]
    [0][      0.024]      0.332275 s: *** VPDMA Firmware Loading... ***
    [0][      0.024]      0.332519 s: VPDMA Firmware Address = 0xa034a500
    [0][      0.025]      0.332702 s: VPDMA Load Address     = 0x4897d004
    [0][      0.025]      0.332946 s: VPDMA Firmware Version = 0x4d0001b8
    [0][      0.025]      0.333160 s: VPDMA List Busy Status = 0x00000000
    [0][      0.025]      0.333343 s: *** VPDMA Firmware Load Success ***
    [0][      0.025]
    [0][      0.026]      0.333801 s: *** VPDMA Firmware Loading... ***
    [0][      0.026]      0.334014 s: VPDMA Firmware Address = 0xa034a500
    [0][      0.026]      0.334197 s: VPDMA Load Address     = 0x4899d004
    [0][      0.026]      0.334411 s: VPDMA Firmware Version = 0x4d0001b8
    [0][      0.026]      0.334594 s: VPDMA List Busy Status = 0x00000000
    [0][      0.027]      0.334807 s: *** VPDMA Firmware Load Success ***
    [0][      0.027]
    [0][      0.027]      0.335234 s: *** VPDMA Firmware Loading... ***
    [0][      0.027]      0.335448 s: VPDMA Firmware Address = 0xa034a500
    [0][      0.028]      0.335631 s: VPDMA Load Address     = 0x489bd004
    [0][      0.028]      0.335875 s: VPDMA Firmware Version = 0x4d0001b8
    [0][      0.028]      0.336058 s: VPDMA List Busy Status = 0x00000000
    [0][      0.028]      0.336241 s: *** VPDMA Firmware Load Success ***
    [0][      0.028]
    [0][      0.085]      0.392728 s:  SYSTEM: VPS Init Done !!!
    [0][      0.085]      0.393674 s:  UTILS: DMA: HWI Create for INT34 !!!
    [0][      0.086]      0.394101 s:  SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1024
    [0][      0.086]      0.394375 s:  SYSTEM: Heap = LOCAL_DDR            @ 0x00000000, Total size = 262144 B (256 KB), Free size = 260992 B (254 KB)
    [0][      0.087]      0.394772 s:  SYSTEM: Heap = SR_OCMC              @ 0x00000000, Total size = 0 B (0 KB), Free size = 0 B (0 KB)
    [0][      0.087]      0.395138 s:  SYSTEM: Heap = SR_DDR_CACHED        @ 0x86203000, Total size = 67108864 B (64 MB), Free size = 67108864 B (64 MB)
    [0][      0.088]      0.395565 s:  SYSTEM: Heap = SR_DDR_NON_CACHED    @ 0xa0100000, Total size = 1047168 B (0 MB), Free size = 1047168 B (0 MB)
    [0][      0.088]      0.395992 s:  SYSTEM: Initializing Links !!!
    [0][      0.339]      0.646617 s: CameraControllerMid_tsk: Task started
    [0][      0.342]      0.650094 s:  SYSTEM: Initializing Links ... DONE !!!
    [0][      0.353]      0.650826 s:  CHAINS: Application Started !!!     0.661257 s:  BOARD: Board Init in progress !!!
    [0][      0.354]      0.661867 s:  BOARD: Board Init Done !!!
    [0][      0.362]      0.670042 s:
    [0][      0.362]      0.670194 s: EarlyCam Check: Cam1:0 Cam2:0
    [0][      0.362]      0.670499 s: Display width 800, Display height 480
    [0][      0.363]      0.670682 s:  CHAINS: Sensor create in progress
    [0][      0.363]      0.670957 s:  VIDEO_DECODER: ********** CREATE **********
    [0][      0.374]      0.682303 s: I2C write Passed
    [0][      0.424]      0.731897 s: I2C write Passed
    [0][      0.425]      0.732904 s: I2C write Passed
    [0][      0.426]      0.733910 s: I2C write Passed
    [0][      0.442]      0.750381 s: I2C1: Passed for address 0xc !!!
    [0][      0.492]      0.800250 s: I2C1: Passed for address 0x35 !!!
    [0][      0.582]      0.890136 s: EarlyCameraMonitor_init: Init
    [0][      0.584]      0.891996 s:  CHAINS: Sensor create ... DONE !!!
    [0][      0.587]      0.895046 s:  CAPTURE: Create in progress !!!
    [0][      0.587]      0.895412 s:  CAPTURE: VIP2 Slice0 PortA capture mode is [ 8-bit] !!!
    [0][      0.743]      1.051424 s:  CAPTURE: Create Done !!!
    [0][      0.744]      1.051881 s:  DISPLAY: Create in progress !!!
    [0][      0.744]      1.052552 s:  DISPLAY: Create Done !!!
    [0][      0.745]      1.052888 s:  DISPLAY: Start in progress !!!
    [0][      0.745]      1.053071 s:  DISPLAY: Start Done !!!
    [0][      0.745]      1.053284 s:  CAPTURE: Start in progress !!!
    [0][      0.747]      1.055023 s:  CAPTURE: Start Done !!!
    [0][      0.757] "/home/workspace/3dot4/ti_components/os_tools/ipc_3_45_00_00/packages/ti/ipc/rpmsg/RPMessage.c", line 562: "/home/workspace/3dot4/ti_components/os_tools/ipc_3_45_00_00/packages/ti/ipc/rpmsg/RPMessage.c", line 562: assertion failure
    [0][      0.757] xdc.runtime.Error.raise: terminating execution

      we have tried to initialise only the Display_gfx part which runs on M4 early and "DispDistSrc_gfx:" which is running on A15 after VSDKAPP signals M4 to start. This is also crashing (FILE: ADV_MID_START_GFX_M4_link_EARLY).

    Regards,

    Raghu

  • Hello TI team,

    USECASE:

    Capture -> Display_Video   //Started from IPL boot
    DispDistSrc_gfx -> Display_gfx  // Starts after Linux starts since dependeces for western
    DispDistSrc_vid3 -> Display_vid3 // Starts after Linux starts since dependeces for western
    Capture_dsswb -> Alg_SwCrc


    We have tried the following.

    1. Start Capture as per the sample app where in we start the Capture early and  start the gfx after the VSDK App sends the command to M4 which will start GFX

        This way we are achieving around 3.6 seconds. BUT KPI is Under 3 seconds.

    2. Starting the Capture and GFX without waiting cor VSDKAPP signaling results in crash (File: ADV_MID_EC_GFX_STAERT_EARLY.txt)

    3. In the chain "DispDistSrc_gfx -> Display_gfx "

    root@mmt2020-a880:~# cat /sys/kernel/debug/remoteproc/remoteproc0/trace0
    [0][      0.000] 18 Resource entries at 0x3000
    [0][      0.000]      0.333740 s:  SYSTEM: System Common Init in progress !!!
    [0][      0.010]      0.343073 s:  SYSTEM: IPC init in progress !!!
    [0][      0.010]      0.343317 s:  SYSTEM: Notify init done !!!
    [0][      0.012]      0.345086 s:  SYSTEM: MsgQ init done !!!
    [0][      0.013]      0.346092 s: RpmsgInit in progress...
    [0][      0.013]      0.346336 s:  SYSTEM: IPC init DONE !!!
    [0][      0.019]      0.352559 s:  SYSTEM: System Common Init Done !!!
    [0][      0.019]      0.352803 s:  SYSTEM: System Init in progress !!!
    [0][      0.020]      0.352955 s:  SYSTEM: BSP Common Init in progress !!!
    [0][      0.020]      0.353169 s:  SYSTEM: BSP Common Init Done !!!
    [0][      0.020]      0.353352 s:  SYSTEM: BSP Platform Init in progress !!!
    [0][      0.020]      0.353565 s:  SYSTEM: BSP Platform Init Done !!!
    [0][      0.020]      0.353718 s:  SYSTEM: FVID2 Init in progress !!!
    [0][      0.020]      0.353962 s:  SYSTEM: FVID2 Init Done !!!
    [0][      0.021]      0.354145 s:  SYSTEM: VPS Init in progress !!!
    [0][      0.021]      0.354328 s:  SYSTEM: VPDMA Descriptor Memory Address translation ENABLED [0x80000000 -> 0x80000000]
    [0][      0.024]      0.357347 s: *** VPDMA Firmware Loading... ***
    [0][      0.024]      0.357591 s: VPDMA Firmware Address = 0xa034a500
    [0][      0.024]      0.357774 s: VPDMA Load Address     = 0x4897d004
    [0][      0.025]      0.357988 s: VPDMA Firmware Version = 0x4d0001b8
    [0][      0.025]      0.358201 s: VPDMA List Busy Status = 0x00000000
    [0][      0.025]      0.358384 s: *** VPDMA Firmware Load Success ***
    [0][      0.025]
    [0][      0.025]      0.358842 s: *** VPDMA Firmware Loading... ***
    [0][      0.026]      0.359025 s: VPDMA Firmware Address = 0xa034a500
    [0][      0.026]      0.359238 s: VPDMA Load Address     = 0x4899d004
    [0][      0.026]      0.359452 s: VPDMA Firmware Version = 0x4d0001b8
    [0][      0.026]      0.359635 s: VPDMA List Busy Status = 0x00000000
    [0][      0.026]      0.359818 s: *** VPDMA Firmware Load Success ***
    [0][      0.026]
    [0][      0.027]      0.360275 s: *** VPDMA Firmware Loading... ***
    [0][      0.027]      0.360489 s: VPDMA Firmware Address = 0xa034a500
    [0][      0.027]      0.360672 s: VPDMA Load Address     = 0x489bd004
    [0][      0.027]      0.360855 s: VPDMA Firmware Version = 0x4d0001b8
    [0][      0.028]      0.361068 s: VPDMA List Busy Status = 0x00000000
    [0][      0.028]      0.361251 s: *** VPDMA Firmware Load Success ***
    [0][      0.028]
    [0][      0.085]      0.418044 s:  SYSTEM: VPS Init Done !!!
    [0][      0.085]      0.418989 s:  UTILS: DMA: HWI Create for INT34 !!!
    [0][      0.086]      0.419416 s:  SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1024
    [0][      0.086]      0.419660 s:  SYSTEM: Heap = LOCAL_DDR            @ 0x00000000, Total size = 262144 B (256 KB), Free size = 260992 B (254 KB)
    [0][      0.087]      0.420057 s:  SYSTEM: Heap = SR_OCMC              @ 0x00000000, Total size = 0 B (0 KB), Free size = 0 B (0 KB)
    [0][      0.087]      0.420423 s:  SYSTEM: Heap = SR_DDR_CACHED        @ 0x86203000, Total size = 67108864 B (64 MB), Free size = 67108864 B (64 MB)
    [0][      0.088]      0.420850 s:  SYSTEM: Heap = SR_DDR_NON_CACHED    @ 0xa0100000, Total size = 1047168 B (0 MB), Free size = 1047168 B (0 MB)
    [0][      0.088]      0.421277 s:  SYSTEM: Initializing Links !!!
    [0][      0.336]      0.669249 s: CameraControllerMid_tsk: Task started
    [0][      0.339]      0.672665 s:  SYSTEM: Initializing Links ... DONE !!!
    [0][      0.350]      0.673183 s:  CHAINS: Application Started !!!     0.683675 s:  BOARD: Board Init in progress !!!
    [0][      0.351]      0.684285 s:  BOARD: Board Init Done !!!
    [0][      0.359]      0.692399 s:
    [0][      0.359]      0.692551 s: EarlyCam Check: Cam1:0 Cam2:0
    [0][      0.359]      0.692856 s: Display width 800, Display height 480
    [0][      0.360]      0.693039 s:  CHAINS: Sensor create in progress
    [0][      0.360]      0.693253 s:  VIDEO_DECODER: ********** CREATE **********
    [0][      0.371]      0.704660 s: I2C write Passed
    [0][      0.421]      0.754285 s: I2C write Passed
    [0][      0.422]      0.755291 s: I2C write Passed
    [0][      0.423]      0.756328 s: I2C write Passed
    [0][      0.439]      0.772738 s: I2C1: Passed for address 0xc !!!
    [0][      0.489]      0.822607 s: I2C1: Passed for address 0x35 !!!
    [0][      0.579]      0.912432 s: EarlyCameraMonitor_init: Init
    [0][      0.581]      0.914201 s:  CHAINS: Sensor create ... DONE !!!
    [0][      0.584]      0.917220 s:  CAPTURE: Create in progress !!!
    [0][      0.584]      0.917556 s:  CAPTURE: VIP2 Slice0 PortA capture mode is [ 8-bit] !!!
    [0][      0.742]      1.074971 s:  CAPTURE: Create Done !!!
    [0][      0.742]      1.075428 s:  DISPLAY: Create in progress !!!
    [0][      0.743]      1.076099 s:  DISPLAY: Create Done !!!
    [0][      0.743]      1.076435 s:  DISPLAY: Create in progress !!!
    [0][      0.743]      1.076648 s:  Assertion @ Line: 445 in displayLink_drv.c: pPrm->inQueParams.prevLinkQueId < pObj->inTskInfo.numQue : failed !!!
    [0][      0.744]  Assertion @ Line: 445 in displayLink_drv.c: pPrm->inQueParams.prevLinkQueId < pObj->inTskInfo.numQue : failed !!!
    [0][      0.902]      2.322515 s: Connection established with HLOS, calling rpmsgInit
    [0][      0.902] registering rpmsg-proto:rpmsg-proto service on 80 with HOST
    [0][      1.538]      2.958732 s:  ** LINUX INIT COMPLETE
    [0][      1.635]      3.055725 s:  SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1022
    [0][      1.635]      3.055999 s:  SYSTEM: Heap = LOCAL_DDR            @ 0x00000000, Total size = 262144 B (256 KB), Free size = 255296 B (249 KB)
    [0][      1.636]      3.056396 s:  SYSTEM: Heap = SR_OCMC              @ 0x00000000, Total size = 0 B (0 KB), Free size = 0 B (0 KB)
    [0][      1.636]      3.056823 s:  SYSTEM: Heap = SR_DDR_CACHED        @ 0x86203000, Total size = 67108864 B (64 MB), Free size = 56049664 B (53 MB)
    [0][      1.637]      3.057250 s:  SYSTEM: Heap = SR_DDR_NON_CACHED    @ 0xa0100000, Total size = 1047168 B (0 MB), Free size = 1047168 B (0 MB)
    [0][      1.642]      3.062953 s:
    [0][      1.642]      3.063106 s:  #### EVE CLK =   20.0      Mhz
    [0][      1.643]      3.063350 s:  #### DSP CLK =  625.0      Mhz
    [0][      1.643]      3.063655 s:  #### IPU CLK =  221.666666 Mhz
    [0][      1.643]      3.063899 s:  #### A15 CLK = 1041.666666 Mhz
    [0][      1.643]      3.064082 s:
    [0][      9.317]     10.737814 s: EarlyCameraMonitor_tsk exited
    root@mmt2020-a880:~# cat /sys/kernel/debug/remoteproc/remoteproc0/trace0
    [0][      0.000] 18 Resource entries at 0x3000
    [0][      0.000]      0.308393 s:  SYSTEM: System Common Init in progress !!!
    [0][      0.010]      0.317910 s:  SYSTEM: IPC init in progress !!!
    [0][      0.010]      0.318154 s:  SYSTEM: Notify init done !!!
    [0][      0.012]      0.319953 s:  SYSTEM: MsgQ init done !!!
    [0][      0.013]      0.320960 s: RpmsgInit in progress...
    [0][      0.013]      0.321173 s:  SYSTEM: IPC init DONE !!!
    [0][      0.019]      0.327456 s:  SYSTEM: System Common Init Done !!!
    [0][      0.020]      0.327670 s:  SYSTEM: System Init in progress !!!
    [0][      0.020]      0.327914 s:  SYSTEM: BSP Common Init in progress !!!
    [0][      0.020]      0.328097 s:  SYSTEM: BSP Common Init Done !!!
    [0][      0.020]      0.328249 s:  SYSTEM: BSP Platform Init in progress !!!
    [0][      0.020]      0.328463 s:  SYSTEM: BSP Platform Init Done !!!
    [0][      0.021]      0.328615 s:  SYSTEM: FVID2 Init in progress !!!
    [0][      0.021]      0.328890 s:  SYSTEM: FVID2 Init Done !!!
    [0][      0.021]      0.329042 s:  SYSTEM: VPS Init in progress !!!
    [0][      0.021]      0.329225 s:  SYSTEM: VPDMA Descriptor Memory Address translation ENABLED [0x80000000 -> 0x80000000]
    [0][      0.024]      0.332275 s: *** VPDMA Firmware Loading... ***
    [0][      0.024]      0.332519 s: VPDMA Firmware Address = 0xa034a500
    [0][      0.025]      0.332702 s: VPDMA Load Address     = 0x4897d004
    [0][      0.025]      0.332946 s: VPDMA Firmware Version = 0x4d0001b8
    [0][      0.025]      0.333160 s: VPDMA List Busy Status = 0x00000000
    [0][      0.025]      0.333343 s: *** VPDMA Firmware Load Success ***
    [0][      0.025]
    [0][      0.026]      0.333801 s: *** VPDMA Firmware Loading... ***
    [0][      0.026]      0.334014 s: VPDMA Firmware Address = 0xa034a500
    [0][      0.026]      0.334197 s: VPDMA Load Address     = 0x4899d004
    [0][      0.026]      0.334411 s: VPDMA Firmware Version = 0x4d0001b8
    [0][      0.026]      0.334594 s: VPDMA List Busy Status = 0x00000000
    [0][      0.027]      0.334807 s: *** VPDMA Firmware Load Success ***
    [0][      0.027]
    [0][      0.027]      0.335234 s: *** VPDMA Firmware Loading... ***
    [0][      0.027]      0.335448 s: VPDMA Firmware Address = 0xa034a500
    [0][      0.028]      0.335631 s: VPDMA Load Address     = 0x489bd004
    [0][      0.028]      0.335875 s: VPDMA Firmware Version = 0x4d0001b8
    [0][      0.028]      0.336058 s: VPDMA List Busy Status = 0x00000000
    [0][      0.028]      0.336241 s: *** VPDMA Firmware Load Success ***
    [0][      0.028]
    [0][      0.085]      0.392728 s:  SYSTEM: VPS Init Done !!!
    [0][      0.085]      0.393674 s:  UTILS: DMA: HWI Create for INT34 !!!
    [0][      0.086]      0.394101 s:  SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1024
    [0][      0.086]      0.394375 s:  SYSTEM: Heap = LOCAL_DDR            @ 0x00000000, Total size = 262144 B (256 KB), Free size = 260992 B (254 KB)
    [0][      0.087]      0.394772 s:  SYSTEM: Heap = SR_OCMC              @ 0x00000000, Total size = 0 B (0 KB), Free size = 0 B (0 KB)
    [0][      0.087]      0.395138 s:  SYSTEM: Heap = SR_DDR_CACHED        @ 0x86203000, Total size = 67108864 B (64 MB), Free size = 67108864 B (64 MB)
    [0][      0.088]      0.395565 s:  SYSTEM: Heap = SR_DDR_NON_CACHED    @ 0xa0100000, Total size = 1047168 B (0 MB), Free size = 1047168 B (0 MB)
    [0][      0.088]      0.395992 s:  SYSTEM: Initializing Links !!!
    [0][      0.339]      0.646617 s: CameraControllerMid_tsk: Task started
    [0][      0.342]      0.650094 s:  SYSTEM: Initializing Links ... DONE !!!
    [0][      0.353]      0.650826 s:  CHAINS: Application Started !!!     0.661257 s:  BOARD: Board Init in progress !!!
    [0][      0.354]      0.661867 s:  BOARD: Board Init Done !!!
    [0][      0.362]      0.670042 s:
    [0][      0.362]      0.670194 s: EarlyCam Check: Cam1:0 Cam2:0
    [0][      0.362]      0.670499 s: Display width 800, Display height 480
    [0][      0.363]      0.670682 s:  CHAINS: Sensor create in progress
    [0][      0.363]      0.670957 s:  VIDEO_DECODER: ********** CREATE **********
    [0][      0.374]      0.682303 s: I2C write Passed
    [0][      0.424]      0.731897 s: I2C write Passed
    [0][      0.425]      0.732904 s: I2C write Passed
    [0][      0.426]      0.733910 s: I2C write Passed
    [0][      0.442]      0.750381 s: I2C1: Passed for address 0xc !!!
    [0][      0.492]      0.800250 s: I2C1: Passed for address 0x35 !!!
    [0][      0.582]      0.890136 s: EarlyCameraMonitor_init: Init
    [0][      0.584]      0.891996 s:  CHAINS: Sensor create ... DONE !!!
    [0][      0.587]      0.895046 s:  CAPTURE: Create in progress !!!
    [0][      0.587]      0.895412 s:  CAPTURE: VIP2 Slice0 PortA capture mode is [ 8-bit] !!!
    [0][      0.743]      1.051424 s:  CAPTURE: Create Done !!!
    [0][      0.744]      1.051881 s:  DISPLAY: Create in progress !!!
    [0][      0.744]      1.052552 s:  DISPLAY: Create Done !!!
    [0][      0.745]      1.052888 s:  DISPLAY: Start in progress !!!
    [0][      0.745]      1.053071 s:  DISPLAY: Start Done !!!
    [0][      0.745]      1.053284 s:  CAPTURE: Start in progress !!!
    [0][      0.747]      1.055023 s:  CAPTURE: Start Done !!!
    [0][      0.757] "/home/workspace/3dot4/ti_components/os_tools/ipc_3_45_00_00/packages/ti/ipc/rpmsg/RPMessage.c", line 562: "/home/workspace/3dot4/ti_components/os_tools/ipc_3_45_00_00/packages/ti/ipc/rpmsg/RPMessage.c", line 562: assertion failure
    [0][      0.757] xdc.runtime.Error.raise: terminating execution

      we have tried to initialise only the Display_gfx part which runs on M4 early and "DispDistSrc_gfx:" which is running on A15 after VSDKAPP signals M4 to start. This is also crashing (FILE: ADV_MID_START_GFX_M4_link_EARLY).

    Regards,

    Raghu

  • Hi Raghu,

    DSS experts are looking at this and will reply here soon.

    Regards,

    Yordan

  • Hi Raghu,

    In third case, when you don't wait for the signal, there is no crash, it is just assertion, which says the previous queue id of the previous link is more than the number of queues supported in the display link.  It is easier to fix. can you please share your usecase for this case? May be even priv.c/h files.

    May be DispDistSrc_Gfx link is not initialized, so causing assertion.. 

    In second case, all links seem to be configured and enabled correctly, and assertion is coming from ipc link. When i look into the IPC source file, this message could come if RPMessage_init is not called, which means somewhere IPC links/IPC framework is not initialized.. 

    Can you please make sure that all required components are properly initialized? 

    Regards,

    Brijesh

  • Hello Brijesh,

    I have sent you usecase over the mail for Second Case where in we start all initialization without waiting for LINUX_INIT_COMPLETE.

    Regards,

    Raghu

  • Hi Raghu,

    As discussed over the call,

    You could find gate link usecase in vision_sdk\apps\src\rtos\usecases\fast_boot_iss_capture_isp_simcop_pd_display and null source usecase in vision_sdk\apps\src\rtos\usecases\null_src_display.

    Rgds,

    Brijesh