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.

Linux: DRA75: Late Attach for IPU1 with timer9 is failing when it is loading with IPU2

Other Parts Discussed in Thread: SYSBIOS

Tool/software: Linux

Hi All,

We are using J6 and Vision SDK 3.04, Verifying Early boot and late attach feature.

Verified late attach for IPU1, It is working with timer3 for IPU1, We have issue, when we are changing timer attribute to timer9 for IPU1, It is observed when we load both IPU1 and IPU2, we are unable to display in this case(it is working when we load IPU1 alone with timer9). Below the currently assigned timer attributes in dts for IPUs


&ipu2 {
status = "okay";
memory-region = <&ipu2_cma_pool>;
mboxes = <&mailbox6 &mbox_ipu2_ipc3x>;
timers = <&timer3>;
/* watchdog-timers = <&timer4>, <&timer9>; */
};

&ipu1 {
status = "okay";
memory-region = <&ipu1_cma_pool>;
mboxes = <&mailbox5 &mbox_ipu1_ipc3x>;
timers = <&timer9>, <&timer11>;
/* watchdog-timers = <&timer7>, <&timer8>; 
};

Suspect, there could be some conflict between IPU1 and IPU2, when timer9 is used for IPU1. even though timer 9 is not mentioned for IPU2 in dts.
How we can confirm that IPU2 will not be using timer9 ?, How we can change timer attribute and rebuild the IPU2 firmware ?

IPU1 is loading from the bootloader and IPU2 is loading after linux boots up, so the late attach is enabled only for IPU1 and its attributes.

How to modify IPU2 firwmare to use different timer ? Can you please share the steps or indicates file where we need to change this to rebuild the IPU2 firmware ?

Thanks and Regards,

Sreeju

  • Hi Sreeju,

    Is the IPU2 firmware being loaded standalone IPUMM? Or is it Vision-SDK based firmware (if yes, does it include IPUMM)?

    Regards
    Shravan
  • Hi Shravan,

    Yes It IPU2 fw is standalone IPUMM

    Sreeju
  • Hi Sreeju,

    Couple of issues I noticed in the DTB provided.

    1. You've added the late-attach attribute for IPU-2 (IPUMM) when you're not actually late-attaching the core (my understanding is you're late-attaching only IPU-1, IPU-2 is loaded from Linux).
    2. Similarly you're late-attaching the IPU-MMU as well, which isn't needed.

    Please remove the late-attach attributes for IPU2 and IPU2-MMU and rerun your test.

    Regards
    Shravan
  • Hi Shravan,

    DTB shared initially was wrong, Sorry about that. Please find the correct one. Shared the same over the mail again.https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/6523.dtb.7z

    Regards,

    Sreeju

  • Hi Sreeju,

    As a quick check can you please keep the watchdog timer property for IPU2 only? I.e in the below snippet

    &ipu2 {
    status = "okay";
    memory-region = <&ipu2_cma_pool>;
    mboxes = <&mailbox6 &mbox_ipu2_ipc3x>;
    timers = <&timer3>;
    /* watchdog-timers = <&timer4>, <&timer9>; */ // Uncomment this line;
    };

    Can you try this and let us know if it works?

    Regards
    Shravan
  • Hi Shravan,

    We have uncommented this and now IPU2 fw loading failed.

    1.088263] remoteproc0: powering up 58820000.ipu
    [ 1.088283] remoteproc0: Booting fw image dra7-ipu1-fw.xem4, size 5556
    [ 1.089943] remoteproc0: remote processor 58820000.ipu is now up
    [ 1.090216] remoteproc0: registered virtio0 (type 7)
    [ 1.169856] remoteproc1: powering up 55020000.ipu
    [ 1.169875] remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 3743104
    [ 1.339875] remoteproc1: can't start rproc 55020000.ipu: -16
    [ 1.393489] remoteproc1: rproc_boot() failed -16
    [ 1.393573] remoteproc1: registered virtio1 (type 7)

    Now timer 9 is used for IPU1 and used for IPU2 as watchdog, this will not create any conflict ?

    Regards,
    Sreeju
  • Hi Shravan,

    We also tried one thing, that keep only timer4 as watchdog for ipu2. this time ipu2 is booting fine,
    but unable to display in this case as well.

    Thanks,
    Sreeju
  • Hi Shravan,

    One more observation is that, when IPU2 is loading (with late attach IPU1 + timer9), then graphics is not enabled.

    # omapconf read 0x580010a0
    4E0000A0

    Thanks,
    Sreeju
  • [HOST]  OSA: MEM: 0: Mapped 0xa0100000 to 0xb68cc000 of size 0x00100000
     [HOST]  OSA: MEM: 1: Mapped 0x84203000 to 0xb28cc000 of size 0x04000000
     [HOST]  OSA: MEM: 2: Mapped 0xa0200000 to 0xb280c000 of size 0x00040000
     [HOST]  OSA: MEM: 3: Mapped 0xa02c0000 to 0xb284c000 of size 0x00080000
     [HOST]  OSA: MEM: 4: Mapped 0x00000000 to 0x00000000 of size 0x00000000
     [HOST]  OSA: IPU1-0 Remote Log Shared Memory @ 0xa0200000
     [HOST]  OSA: HOST Remote Log Shared Memory @ 0xa024f140
     [HOST] [IPU1-0]      0.276306 s:  ***** IPU1_0 Firmware build time 08:13:45 Mar  5 2019
     [HOST] [IPU1-0]      0.276489 s:  *** SYSTEM: CPU Frequency <ORG = 212800000 Hz>, <NEW = 221666666 Hz>
     [HOST] [IPU1-0]      0.279235 s:  SYSTEM: System Common Init in progress !!!
     [HOST] [IPU1-0]      0.287927 s:  SYSTEM: IPC init in progress !!!
     [HOST] [IPU1-0]      0.288049 s:  SYSTEM: Notify init done !!!
     [HOST] [IPU1-0]      0.289696 s:  SYSTEM: MsgQ init done !!!
     [HOST] [IPU1-0]      0.290550 s: RpmsgInit in progress...
     [HOST] [IPU1-0]      0.290672 s:  SYSTEM: IPC init DONE !!!
     [HOST] [IPU1-0]      0.296834 s:  SYSTEM: System Common Init Done !!!
     [HOST] [IPU1-0]      0.296925 s:  SYSTEM: System Init in progress !!!
     [HOST] [IPU1-0]      0.296986 s:  SYSTEM: BSP Common Init in progress !!!
     [HOST] [IPU1-0]      0.297047 s:  SYSTEM: BSP Common Init Done !!!
     [HOST] [IPU1-0]      0.297108 s:  SYSTEM: BSP Platform Init in progress !!!
     [HOST] [IPU1-0]      0.297200 s:  SYSTEM: BSP Platform Init Done !!!
     [HOST] [IPU1-0]      0.297261 s:  SYSTEM: FVID2 Init in progress !!!
     [HOST] [IPU1-0]      0.297383 s:  SYSTEM: FVID2 Init Done !!!
     [HOST] [IPU1-0]      0.297444 s:  SYSTEM: VPS Init in progress !!!
     [HOST] [IPU1-0]      0.297505 s:  SYSTEM: VPDMA Descriptor Memory Address translation ENABLED [0x80000000 -> 0x80000000]
     [HOST] [IPU1-0]      0.300189 s: *** VPDMA Firmware Loading... ***
     [HOST] [IPU1-0]      0.300311 s: VPDMA Firmware Address = 0xa034a500
     [HOST] [IPU1-0]      0.300402 s: VPDMA Load Address     = 0x4897d004
     [HOST] [IPU1-0]      0.300494 s: VPDMA Firmware Version = 0x4d0001b8
     [HOST] [IPU1-0]      0.300555 s: VPDMA List Busy Status = 0x00000000
     [HOST] [IPU1-0]      0.300738 s: *** VPDMA Firmware Load Success ***
     [HOST] [IPU1-0]      0.301043 s: *** VPDMA Firmware Loading... ***
     [HOST] [IPU1-0]      0.301104 s: VPDMA Firmware Address = 0xa034a500
     [HOST] [IPU1-0]      0.301195 s: VPDMA Load Address     = 0x4899d004
     [HOST] [IPU1-0]      0.301287 s: VPDMA Firmware Version = 0x4d0001b8
     [HOST] [IPU1-0]      0.301378 s: VPDMA List Busy Status = 0x00000000
     [HOST] [IPU1-0]      0.301439 s: *** VPDMA Firmware Load Success ***
     [HOST] [IPU1-0]      0.301775 s: *** VPDMA Firmware Loading... ***
     [HOST] [IPU1-0]      0.301836 s: VPDMA Firmware Address = 0xa034a500
     [HOST] [IPU1-0]      0.301927 s: VPDMA Load Address     = 0x489bd004
     [HOST] [IPU1-0]      0.302019 s: VPDMA Firmware Version = 0x4d0001b8
     [HOST] [IPU1-0]      0.302080 s: VPDMA List Busy Status = 0x00000000
     [HOST] [IPU1-0]      0.302171 s: *** VPDMA Firmware Load Success ***
     [HOST] [IPU1-0]      0.353108 s:  SYSTEM: VPS Init Done !!!
     [HOST] [IPU1-0]      0.353901 s:  UTILS: DMA: HWI Create for INT34 !!!
     [HOST] [IPU1-0]      0.354145 s:  SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1024
     [HOST] [IPU1-0]      0.354236 s:  SYSTEM: Heap = LOCAL_DDR            @ 0x00000000, Total size = 262144 B (256 KB), Free size = 260992 B (254 KB)
     [HOST] [IPU1-0]      0.354389 s:  SYSTEM: Heap = SR_OCMC              @ 0x00000000, Total size = 0 B (0 KB), Free size = 0 B (0 KB)
     [HOST] [IPU1-0]      0.354541 s:  SYSTEM: Heap = SR_DDR_CACHED        @ 0x84203000, Total size = 67108864 B (64 MB), Free size = 67108864 B (64 MB)
     [HOST] [IPU1-0]      0.354755 s:  SYSTEM: Heap = SR_DDR_NON_CACHED    @ 0xa0100000, Total size = 1047168 B (0 MB), Free size = 1047168 B (0 MB)
     [HOST] [IPU1-0]      0.354907 s:  SYSTEM: Initializing Links !!!
     [HOST] [IPU1-0]      0.593973 s:  SYSTEM: Initializing Links ... DONE !!!
     [HOST] [IPU1-0]      0.594674 s:  CHAINS: Application Started !!!
     [HOST] [IPU1-0]      0.604678 s:  BOARD: Board Init in progress !!!
     [HOST] [IPU1-0]      0.605075 s:  BOARD: Board Init Done !!!
     [HOST] [IPU1-0]      0.612853 s:
    root@mmt2020-a880:~#  [HOST] [IPU1-0]      0.613005 s: Display width 800, Display height 480
     [HOST] [IPU1-0]      0.613066 s:  CHAINS: Sensor create in progress
     [HOST] [IPU1-0]      0.613127 s:  VIDEO_DECODER: ********** CREATE **********
     [HOST] [IPU1-0]      0.744647 s:  CHAINS: Sensor create ... DONE !!!
     [HOST] [IPU1-0]      0.747331 s:  CAPTURE: Create in progress !!!
     [HOST] [IPU1-0]      0.747544 s:  CAPTURE: VIP2 Slice0 PortA capture mode is [ 8-bit] !!!
     [HOST] [IPU1-0]      0.842707 s:  CAPTURE: Create Done !!!
     [HOST] [IPU1-0]      0.842920 s:  DISPLAY: Create in progress !!!
     [HOST] [IPU1-0]      0.843500 s:  DISPLAY: Create Done !!!
     [HOST] [IPU1-0]      0.843683 s:  DISPLAY: Start in progress !!!
     [HOST] [IPU1-0]      0.843744 s:  DISPLAY: Start Done !!!
     [HOST] [IPU1-0]      0.843866 s:  CAPTURE: Start in progress !!!
     [HOST] [IPU1-0]      0.845879 s:  CAPTURE: Start Done !!!
     [HOST] [IPU1-0]     18.573140 s: Connection established with HLOS, calling rpmsgInit
     [HOST] [IPU1-0]     47.747727 s:  IPC_IN_0   : Create in progress !!!
     [HOST] [IPU1-0]     47.748795 s:  IPC_IN_0   : Create Done !!!
     [HOST] [IPU1-0]     47.749039 s:  DISPLAY: Create in progress !!!
     [HOST] [IPU1-0]     47.749527 s:  DISPLAY: Create Done !!!
     [HOST] [IPU1-0]     47.749710 s:  DISPLAY: Start in progress !!!
     [HOST] [IPU1-0]     47.749771 s:  DISPLAY: Start Done !!!
     [HOST] [HOST  ]     47.718782 s:  SYSTEM: System A15 Init in progress !!!
     [HOST] [HOST  ]     47.718904 s:  SYSTEM: IPC: Init in progress !!!
     [HOST] [HOST  ]     47.718904 s:  SYSTEM: IPC: Notify init in progress !!!
     [HOST] [HOST  ]     47.720429 s:  SYSTEM: IPC: [IPU1-0] socket bind success !!! (dst vproc = 0, endpt = 81)
     [HOST] [HOST  ]     47.720459 s:  SYSTEM: IPC: [IPU1-0] socket info (family = 41, dst proc id = -1, endpt = 81) !!!
     [HOST] [HOST  ]     47.720490 s:  SYSTEM: IPC: [IPU1-0] socket connect success !!! (dst vproc = 0, endpt = 80)
     [HOST] [HOST  ]     47.720490 s:  SYSTEM: IPC: [IPU1-0] socket info (family = 41, dst proc id = -1, endpt = 1024) !!!
     [HOST] [HOST  ]     47.720642 s:  SYSTEM: IPC: Notify init DONE !!!
     [HOST] [HOST  ]     47.720673 s:  SYSTEM: MSGQ: MsgQ init in progress !!!
     [HOST] [HOST  ]     47.720764 s:  SYSTEM: MSGQ: MsgQ init DONE !!!
     [HOST] [HOST  ]     47.720795 s:  SYSTEM: IPC: Init DONE !!!
     [HOST] [HOST  ]     47.720795 s:  SYSTEM: Initializing A15 Links !!!
     [HOST] [HOST  ]     47.720917 s:  IPC_OUT_0 : Init done - linkid-0x2000000
     [HOST] [HOST  ]     47.721039 s:  IPC_OUT_1 : Init done - linkid-0x2000001
     [HOST] [HOST  ]     47.721161 s:  IPC_OUT_2 : Init done - linkid-0x2000002
     [HOST] [HOST  ]     47.721252 s:  IPC_OUT_3 : Init done - linkid-0x2000003
     [HOST] [HOST  ]     47.721466 s:  IPC_OUT_4 : Init done - linkid-0x2000004
     [HOST] [HOST  ]     47.721588 s:  IPC_IN_0 : Init done - linkid-0x200000a
     [HOST] [HOST  ]     47.721710 s:  IPC_IN_1 : Init done - linkid-0x200000b
     [HOST] [HOST  ]     47.721862 s:  IPC_IN_2 : Init done - linkid-0x200000c
     [HOST] [HOST  ]     47.721984 s:  IPC_IN_3 : Init done - linkid-0x200000d
     [HOST] [HOST  ]     47.722106 s:  IPC_IN_4 : Init done - linkid-0x200000e
     [HOST] [HOST  ]     47.722198 s:  IPC_IN_5 : Init done - linkid-0x200000f
     [HOST] [HOST  ]     47.722320 s:  IPC_IN_6 : Init done - linkid-0x2000010
     [HOST] [HOST  ]     47.722442 s:  NULL_0 : Init done - linkid-0x2000014
     [HOST] [HOST  ]     47.722534 s:  NULL_1 : Init done - linkid-0x2000015
     [HOST] [HOST  ]     47.722686 s:  NULL_SRC_0 : Init done - linkid-0x2000039
     [HOST] [HOST  ]     47.723052 s:  DISP_DIST_SRC_0 : Init done - linkid-0x200005c
     [HOST] [HOST  ]     47.723144 s:  DISP_DIST_SRC_1 : Init done - linkid-0x200005d
     [HOST] [HOST  ]     47.723266 s:  DISP_DIST_SRC_2 : Init done - linkid-0x200005e
     [HOST] [HOST  ]     47.723357 s:  DISP_DIST_SRC_3 : Init done - linkid-0x200005f
     [HOST] [HOST  ]     47.723449 s:  DISP_DIST_SRC_4 : Init done - linkid-0x2000060
     [HOST] [HOST  ]     47.723540 s:  DISP_DIST_SRC_5 : Init done - linkid-0x2000061
     [HOST] [HOST  ]     47.723632 s:  DISP_DIST_SRC_6 : Init done - linkid-0x2000062
     [HOST] [HOST  ]     47.723754 s:  DISP_DIST_SRC_7 : Init done - linkid-0x2000063
     [HOST] [HOST  ]     47.723906 s:  ALGORITHM_0 : Init done - linkid-0x2000031
     [HOST] [HOST  ]     47.724028 s:  ALGORITHM_1 : Init done - linkid-0x2000032
     [HOST] [HOST  ]     47.724150 s:  ALGORITHM_2 : Init done - linkid-0x2000033
     [HOST] [HOST  ]     47.724272 s:  ALGORITHM_3 : Init done - linkid-0x2000034
     [HOST] [HOST  ]     47.724394 s:  ALGORITHM_4 : Init done - linkid-0x2000035
     [HOST] [HOST  ]     47.724486 s:  ALGORITHM_5 : Init done - linkid-0x2000036
     [HOST] [HOST  ]     47.724608 s:  ALGORITHM_6 : Init done - linkid-0x2000037
     [HOST] [HOST  ]     47.724730 s:  ALGORITHM_7 : Init done - linkid-0x2000038
     [HOST] [HOST  ]     47.724882 s:  DUP0 : Init done - linkid-0x0
     [HOST] [HOST  ]     47.725065 s:  DUP1 : Init done - linkid-0x0
     [HOST] [HOST  ]     47.725218 s:  DUP2 : Init done - linkid-0x0
     [HOST] [HOST  ]     47.725401 s:  DUP3 : Init done - linkid-0x0
     [HOST] [HOST  ]     47.725553 s:  DUP4 : Init done - linkid-0x0
     [HOST] [HOST  ]     47.725675 s:  SYNC_0 : Init done - linkid-0x0
     [HOST] [HOST  ]     47.725797 s:  SYNC_1 : Init done - linkid-0x0
     [HOST] [HOST  ]     47.725950 s:  SYNC_2 : Init done - linkid-0x0
     [HOST] [HOST  ]     47.726041 s:  SYNC_3 : Init done - linkid-0x0
     [HOST] [HOST  ]     47.726163 s:  MERGE_0 : Init done - linkid-0x0
     [HOST] [HOST  ]     47.726316 s:  MERGE_1 : Init done - linkid-0x0
     [HOST] [HOST  ]     47.726438 s:  MERGE_2 : Init done - linkid-0x0
     [HOST] [HOST  ]     47.726560 s:  MERGE_3 : Init done - linkid-0x0
     [HOST] [HOST  ]     47.726682 s:  MERGE_4 : Init done - linkid-0x0
     [HOST] [HOST  ]     47.726804 s:  SELECT_0 : Init done - linkid-0x0
     [HOST] [HOST  ]     47.726956 s:  SELECT_1 : Init done - linkid-0x0
     [HOST] [HOST  ]     47.727048 s:  GATE_0 : Init done - linkid-0x0
     [HOST] [HOST  ]     47.727170 s:  GATE_1 : Init done - linkid-0x0
     [HOST] [HOST  ]     47.727261 s:  GATE_2 : Init done - linkid-0x0
     [HOST] [HOST  ]     47.727353 s:  GATE_3 : Init done - linkid-0x0
     [HOST] [HOST  ]     47.727475 s:  SGXFRMCPY_0 : Init done - linkid-0x2000044
     [HOST] [HOST  ]     47.727475 s:  SYSTEM: Initializing A15 Links ... DONE !!!
     [HOST] [HOST  ]     47.727841 s:  OSA: Adjusting global time, timeH by 0 units!!!
     [HOST] [HOST  ]     47.727871 s:  SYSTEM: System A15 Init Done !!!
     [HOST] [HOST  ]     47.727993 s:  NETWORK_CTRL: Starting Server (port=5000) !!!
     [HOST] [HOST  ]     47.728085 s:  NETWORK_CTRL: Starting Server ... DONE (port=5000) !!!
     [HOST] [HOST  ]     47.747483 s:  IPC_OUT_0   : Create in progress !!!
     [HOST] [HOST  ]     47.747575 s:  IPC_OUT_0   : Create Done !!!
    
    Hi Shravan,

    We have checked with camera, preview is still on after linux boots up, this means ipu1 is not crashed, still running.

    Attaching the vsdkapps log.

    Regards,

    Sreeju

  • Hi Shravan,

    Is the apps log is fine, Do you have any inputs on this ?

    Regards,
    Sreeju
  • Hi Sreeju,

    The apps.out log seems to indicate that things are working fine.
    Are you sure you have the use-case running correctly? From your logs I notice that the display link starts without any issues.
    Have you programmed the display ctrl settings correctly? Was the application working before the timer change?

    Regards
    Shravan
  • Yes, we have used the same use case, but with timer3 for IPU1.
    We were able to display with timer3, when we changed to timer9, the issue comes up

    Regards,
    Sreeju
  • Hi Sreeju,

    Can you add the below snippet to platform/ti/configs/vayu/Ipu2Smp.cfg present in IPUMM?

    var WD = xdc.useModule(‘ti.deh.Watchdog’);
    WD.timerIds.length = 2;
    WD.timerSettings.length = 2;
    WD.timerIds[0] = “GPTimer7”; // update this to whatever timer you want to use
    WD.timerSettings[0].intNum = 60;
    WD.timerSettings[0].eventId = -1;
    WD.timerIds[1] = “GPTimer8”; // update this to whatever timer you want to use
    WD.timerSettings[1].intNum = 61;
    WD.timerSettings[1].eventId = -1;

    var Xbar = xdc.useModule(‘ti.sysbios.family.shared.vayu.IntXbar’);
    Xbar.connectIRQMeta(60, 38); // set the crossbar mapping for to receive interrupts from the timer
    Xbar.connectIRQMeta(61, 39); // set the crossbar mapping for to receive interrupts from the timer

    Based on the timers entered above, you need to update the DTB as well.

    Regards
    Shravan
  • oot@mmt2020-a880:~# export GST_DEBUG=3
    root@mmt2020-a880:~# export XDG_RUNTIME_DIR=/var/run/root/1000
    root@mmt2020-a880:~# layer-add-surfaces 1000 1 &
    [1] 1460
    layerid=1000 is already used.
    CreateWithDimension: layer ID (1000), Width (800), Height (480)
    SetVisibility      : layer ID (1000), ILM_TRUE
    layer: 1000 created
    surface                : 10 created
    SetDestinationRectangle: surface ID (10), Width (800), Height (480)
    SetSourceRectangle     : surface ID (10), Width (800), Height (480)
    SetVisibility          : surface ID (10), ILM_TRUE
    layerAddSurface        : surface ID (10) is added to layer ID (1000)
    line1.0_1280_720.MP4 video-sink=waylandsink uri=file:///tmp/USB1-1-sda1/B01_Base
    0:00:00.123041392  1463    0x7c280 WARN                 default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x120000: 'AVR (Audio Visual Research)' is not mapped
    0:00:00.123659695  1463    0x7c280 WARN                 default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x180000: 'CAF (Apple Core Audio File)' is not mapped
    0:00:00.123706122  1463    0x7c280 WARN                 default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x100000: 'HTK (HMM Tool Kit)' is not mapped
    0:00:00.123749670  1463    0x7c280 WARN                 default gstsf.c:98:gst_sf_create_audio_template_caps: format 0xc0000: 'MAT4 (GNU Octave 2.0 / Matlab 4.2)' is not mapped
    0:00:00.123785592  1463    0x7c280 WARN                 default gstsf.c:98:gst_sf_create_audio_template_caps: format 0xd0000: 'MAT5 (GNU Octave 2.1 / Matlab 5.0)' is not mapped
    0:00:00.123820497  1463    0x7c280 WARN                 default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x210000: 'MPC (Akai MPC 2k)' is not mapped
    0:00:00.123857945  1463    0x7c280 WARN                 default gstsf.c:98:gst_sf_create_audio_template_caps: format 0xe0000: 'PVF (Portable Voice Format)' is not mapped
    0:00:00.123897933  1463    0x7c280 WARN                 default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x160000: 'SD2 (Sound Designer II)' is not mapped
    0:00:00.123958764  1463    0x7c280 WARN                 default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x190000: 'WVE (Psion Series 3)' is not mapped
    0:00:01.159309277  1462   0x15bd40 WARN            GST_REGISTRY gstregistry.c:1830:gst_update_registry: registry update failed: Error writing registry cache to /home/root/.cache/gstreamer-1.0/registry.arm.bin: No such file or directory
    Setting pipeline to PAUSED ...
    0:00:01.176618703  1462   0x15bd40 WARN                 basesrc gstbasesrc.c:3481:gst_base_src_start_complete:<source> pad not activated yet
    0:00:01.178417356  1462   0x15bd40 WARN                 basesrc gstbasesrc.c:3481:gst_base_src_start_complete:<source> pad not activated yet
    Pipeline is PREROLLING ...
    0:00:01.282678883  1462   0x19c3b0 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:01.282752252  1462   0x19c3b0 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:01.282906616  1462   0x19c3b0 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:01.282942369  1462   0x19c3b0 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:01.283298711  1462   0x19c3b0 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:01.283348527  1462   0x19c3b0 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:01.283483574  1462   0x19c3b0 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:01.283516447  1462   0x19c3b0 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:01.391299029  1462 0xb532df20 WARN                 qtdemux qtdemux_types.c:221:qtdemux_type_get: unknown QuickTime node type iods
    0:00:01.391407135  1462 0xb532df20 WARN                 qtdemux qtdemux_types.c:221:qtdemux_type_get: unknown QuickTime node type sync
    0:00:01.391464068  1462 0xb532df20 WARN                 qtdemux qtdemux_types.c:221:qtdemux_type_get: unknown QuickTime node type sync
    0:00:01.391512699  1462 0xb532df20 WARN                 qtdemux qtdemux_types.c:221:qtdemux_type_get: unknown QuickTime node type sync
    0:00:01.391551501  1462 0xb532df20 WARN                 qtdemux qtdemux_types.c:221:qtdemux_type_get: unknown QuickTime node type mpod
    0:00:01.391604029  1462 0xb532df20 WARN                 qtdemux qtdemux_types.c:221:qtdemux_type_get: unknown QuickTime node type nmhd
    0:00:01.391649440  1462 0xb532df20 WARN                 qtdemux qtdemux_types.c:221:qtdemux_type_get: unknown QuickTime node type nmhd
    0:00:01.392244868  1462 0xb532df20 WARN                 qtdemux qtdemux.c:8583:qtdemux_parse_trak:<qtdemux0> Track shorter than 20% (600/600 vs. 37757/600) of the stream found, assuming preview image or something; skipping track
    0:00:01.392316543  1462 0xb532df20 WARN                 qtdemux qtdemux.c:8583:qtdemux_parse_trak:<qtdemux0> Track shorter than 20% (600/600 vs. 37757/600) of the stream found, assuming preview image or something; skipping track
    0:00:01.392453793  1462 0xb532df20 WARN                 basesrc gstbasesrc.c:2391:gst_base_src_update_length:<source> processing at or past EOS
    0:00:01.393601609  1462 0xb532df20 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:01.393644479  1462 0xb532df20 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:01.393790371  1462 0xb532df20 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:01.393824768  1462 0xb532df20 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:01.401296250  1462 0xb532df20 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:01.401344542  1462 0xb532df20 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:01.401497381  1462 0xb532df20 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:01.401532286  1462 0xb532df20 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:01.406780997  1462   0x200090 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:01.406853011  1462   0x200090 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:01.407896280  1462   0x200090 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:01.407939997  1462   0x200090 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:01.409030033  1462   0x200090 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:01.741264971  1462   0x200090 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:01.741473726  1462   0x200090 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:01.741511682  1462   0x200090 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:01.747698945  1462   0x200090 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:01.747750117  1462   0x200090 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:01.748007673  1462   0x1ff0c0 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:01.748079517  1462   0x1ff0c0 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:01.748279631  1462   0x1ff0c0 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:01.748316231  1462   0x1ff0c0 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:01.761155035  1462   0x200090 ERROR                 ducati gstducatividdec.c:138:engine_open:<decoder> dce_init() failed
    0:00:01.761211799  1462   0x200090 ERROR                 ducati gstducatividdec.c:1639:gst_ducati_viddec_change_state:<decoder> could not open
    0:00:01.761530355  1462   0x200090 WARN               decodebin gstdecodebin2.c:2337:connect_pad:<decodebin0> Couldn't set ducatih264decvpe0 to READY
    0:00:01.766528288  1462   0x1ff0c0 WARN                    alsa confmisc.c:768:parse_card: alsalib error: cannot find card '0'
    0:00:01.766590304  1462   0x1ff0c0 WARN                    alsa conf.c:4260:_snd_config_evaluate: alsalib error: function snd_func_card_driver returned error: No such file or directory
    0:00:01.766636393  1462   0x1ff0c0 WARN                    alsa confmisc.c:392:snd_func_concat: alsalib error: error evaluating strings
    0:00:01.766680110  1462   0x1ff0c0 WARN                    alsa conf.c:4260:_snd_config_evaluate: alsalib error: function snd_func_concat returned error: No such file or directory
    0:00:01.766721624  1462   0x1ff0c0 WARN                    alsa confmisc.c:1251:snd_func_refer: alsalib error: error evaluating name
    0:00:01.766762799  1462   0x1ff0c0 WARN                    alsa conf.c:4260:_snd_config_evaluate: alsalib error: function snd_func_refer returned error: No such file or directory
    0:00:01.766824646  1462   0x1ff0c0 WARN                    alsa conf.c:4739:snd_config_expand: alsalib error: Evaluate error: No such file or directory
    0:00:01.766881918  1462   0x1ff0c0 WARN                    alsa pcm.c:2267:snd_pcm_open_noupdate: alsalib error: Unknown PCM default
    0:00:01.766922754  1462   0x1ff0c0 WARN                    alsa gstalsasink.c:846:gst_alsasink_open:<alsasink0> Error -2 (No such file or directory) calling snd_pcm_open (&alsa->handle, alsa->device, SND_PCM_STREAM_PLAYBACK, SND_PCM_NONBLOCK)
    0:00:01.766980365  1462   0x1ff0c0 WARN                    alsa gstalsasink.c:863:gst_alsasink_open:<alsasink0> error: Could not open audio device for playback.
    0:00:02.099017901  1462   0x1ff0c0 WARN                    alsa gstalsasink.c:863:gst_alsasink_open:<alsasink0> error: Playback open error on device 'default': No such file or directory
    0:00:02.099403556  1462   0x1ff0c0 WARN                 playbin gstplaybin2.c:4643:autoplug_select_cb:<playbin0> Could not activate sink alsasink
    0:00:02.100746742  1462   0x1ff0c0 WARN                     oss gstosssink.c:399:gst_oss_sink_open:<osssink0> error: Could not open audio device for playback.
    0:00:02.100794695  1462   0x1ff0c0 WARN                     oss gstosssink.c:399:gst_oss_sink_open:<osssink0> error: system error: No such file or directory
    0:00:02.101029714  1462   0x1ff0c0 WARN                 playbin gstplaybin2.c:4643:autoplug_select_cb:<playbin0> Could not activate sink osssink
    0:00:02.101217798  1462   0x200090 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.101265242  1462   0x200090 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.102929864  1462   0x200090 ERROR                 ducati gstducatividdec.c:147:engine_open:<ducatih264dec0> could not create engine
    0:00:02.103009164  1462   0x200090 ERROR                 ducati gstducatividdec.c:1639:gst_ducati_viddec_change_state:<ducatih264dec0> could not open
    0:00:02.103071520  1462   0x200090 WARN               decodebin gstdecodebin2.c:2337:connect_pad:<decodebin0> Couldn't set ducatih264dec0 to READY
    0:00:02.103796233  1462   0x200090 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.103850456  1462   0x200090 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.140759179  1462   0x1ff0c0 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.140835429  1462   0x1ff0c0 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.141120774  1462   0x1ff0c0 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.141159238  1462   0x1ff0c0 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    /data/work/Jenkins/TI-BASE-MMT2020-SDK1/elina-distro/build-mmt2020-a880/tmp/work/cortexa15hf-vfp-neon-elina-linux-gnueabi/libdce/3.00.12.00-r4/git/libdce_linux.c:70:   dce_init        ERROR: Failed OmapDrm_FD > 0 error val -7/data/work/Jenkins/TI-BASE-MMT2020-SDK1/elina-distro/build-mmt2020-a880/tmp/work/cortexa15hf-vfp-neon-elina-linux-gnueabi/libdce/3.00.12.00-r4/git/libdce.c:485:    Engine_open     ERROR: Failed engine_open_msg != NULL error val -2Redistribute latency...
    0:00:02.259472452  1462   0x200090 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.259526674  1462   0x200090 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.273775595  1462   0x200090 WARN                    alsa confmisc.c:768:parse_card: alsalib error: cannot find card '0'
    0:00:02.273863537  1462   0x200090 WARN                    alsa conf.c:4260:_snd_config_evaluate: alsalib error: function snd_func_card_driver returned error: No such file or directory
    0:00:02.273912337  1462   0x200090 WARN                    alsa confmisc.c:392:snd_func_concat: alsalib error: error evaluating strings
    0:00:02.273955545  1462   0x200090 WARN                    alsa conf.c:4260:_snd_config_evaluate: alsalib error: function snd_func_concat returned error: No such file or directory
    0:00:02.273997059  1462   0x200090 WARN                    alsa confmisc.c:1251:snd_func_refer: alsalib error: error evaluating name
    0:00:02.274096692  1462   0x200090 WARN                    alsa conf.c:4260:_snd_config_evaluate: alsalib error: function snd_func_refer returned error: No such file or directory
    0:00:02.274264951  1462   0x200090 WARN                    alsa conf.c:4739:snd_config_expand: alsalib error: Evaluate error: No such file or directory
    0:00:02.274330017  1462   0x200090 WARN                    alsa pcm.c:2267:snd_pcm_open_noupdate: alsalib error: Unknown PCM default
    0:00:02.274372378  1462   0x200090 WARN                    alsa gstalsasink.c:846:gst_alsasink_open:<audiosink-actual-sink-alsa> Error -2 (No such file or directory) calling snd_pcm_open (&alsa->handle, alsa->device, SND_PCM_STREAM_PLAYBACK, SND_PCM_NONBLOCK)
    0:00:02.274429990  1462   0x200090 WARN                    alsa gstalsasink.c:863:gst_alsasink_open:<audiosink-actual-sink-alsa> error: Could not open audio device for playback.
    0:00:02.607765978  1462   0x200090 WARN                    alsa gstalsasink.c:863:gst_alsasink_open:<audiosink-actual-sink-alsa> error: Playback open error on device 'default': No such file or directory
    0:00:02.608240422  1462   0x200090 WARN                     oss gstosssink.c:399:gst_oss_sink_open:<audiosink-actual-sink-oss> error: Could not open audio device for playback.
    0:00:02.608286511  1462   0x200090 WARN                     oss gstosssink.c:399:gst_oss_sink_open:<audiosink-actual-sink-oss> error: system error: No such file or directory
    0:00:02.624009259  1462   0x200090 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.624065176  1462   0x200090 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.640001593  1462   0x200090 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.640070557  1462   0x200090 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.644203646  1462   0x200090 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.644247023  1462   0x200090 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.649768031  1462   0x200090 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.649820728  1462   0x200090 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.650081673  1462   0x200090 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.650226378  1462   0x200090 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.650448351  1462   0x200090 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.650529176  1462   0x200090 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.650785714  1462   0x1fe920 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.650858067  1462   0x1fe920 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.661634733  1462   0x1fe920 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.661680483  1462   0x1fe920 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.700620676  1462   0x1fe920 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.700666087  1462   0x1fe920 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.703183184  1462   0x1fe920 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.703221139  1462   0x1fe920 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.704548567  1462   0x1fe920 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.704583981  1462   0x1fe920 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:02.704965231  1462   0x1fe920 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:03.038240049  1462   0x1fe920 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:03.038524546  1462   0x1fe920 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:03.038563857  1462   0x1fe920 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:03.040133591  1462   0x200090 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:03.040181543  1462   0x200090 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:03.053062709  1462   0x200090 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    0:00:03.053106425  1462   0x200090 WARN             waylandsink wlvideoformat.c:102:gst_wl_shm_format_to_video_format: gst video format not found
    Pipeline is PREROLLED ...
    [destroyed object]: error 0: invalid format 0x32315559
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    ^Chandling interrupt.
    Interrupt: Stopping pipeline ...
    Execution ended after 0:00:15.358829243
    Setting pipeline to PAUSED ...
    Setting pipeline to READY ...
    Setting pipeline to NULL ...
    Freeing pipeline ...
    [1]+  Done                    layer-add-surfaces 1000 1
    root@mmt2020-a880:~# cd /tmp/USB1-1-sda
    
    Hi Shravan,

    We have modified the Ipu2Smp.cfg for timer4 as watchdog:

    var WD = xdc.useModule(‘ti.deh.Watchdog’);

    WD.timerIds.length = 1;

    WD.timerSettings.length = 1;

    WD.timerIds[0] = “GPTimer4”; // update this to whatever timer you want to use

    WD.timerSettings[0].intNum = 60;

    WD.timerSettings[0].eventId = -1;

    var Xbar = xdc.useModule(‘ti.sysbios.family.shared.vayu.IntXbar’);

    Xbar.connectIRQMeta(60, 38);

    EGL test app is working, but video playback is failing

    Below the error:

    /data/work/Jenkins/TI-BASE-MMT2020-SDK1/elina-distro/build-mmt2020-a880/tmp/work/cortexa15hf-vfp-neon-elina-linux-gnueabi/libdce/3.00.12.00-r4/git/libdce_linux.c:70:   dce_init        ERROR: Failed OmapDrm_FD > 0 error val -7/data/work/Jenkins/TI-BASE-MMT2020-SDK1/elina-distro/build-mmt2020-a880/tmp/work/cortexa15hf-vfp-neon-elina-linux-gnueabi/libdce/3.00.12.00-r4/git/libdce.c:485:    Engine_open     ERROR: Failed engine_open_msg != NULL error val -2Redistribute latency...

    Attaching complete log.

    Without late attaching - by loading both IPU1 and IPU2 from linux, we are able to play the video successfully.

    Regards,

    Sreeju

  • Hi Sreeju,

    Please check if you can see the node /dev/rpmsg-dce after boot and check ipumm logs with

    cat /sys/kernel/debug/remoteproc/remoteproc1/trace0 

    dce_init() is the first call made in ducati and this is failing to get drm-fd with omapdrm

  • Hi Ramprasad,

    Yes there is rpmsg-dce node exist.



    root@mmt2020-a880:~# ls -l /dev/rpmsg-dce
    crw------- 1 root root 247, 1 Jan 1 00:00 /dev/rpmsg-dce
    root@mmt2020-a880:~#
    root@mmt2020-a880:~#


    trace is not reporting any error

    root@mmt2020-a880:~# cat /sys/kernel/debug/remoteproc/remoteproc1/trace0
    [0][ 0.000] 17 Resource entries at 0x3000
    [0][ 0.000] Watchdog enabled: TimerBase = 0x68036000 SMP-Core = 0 Freq = 20000000
    [0][ 0.000] Watchdog enabled: TimerBase = 0x68036000 SMP-Core = 1 Freq = 20000000
    [0][ 0.000] Watchdog_restore registered as a resume callback
    [0][ 0.000] IPU2 starting..
    [0][ 0.000]
    [0][ 0.000]
    [0][ 0.000] **** IPUMM VERSION INFO ****
    [0][ 0.000]
    [0][ 0.000] Compile DATE Apr 11 2019 TIME 01:35:30
    [0][ 0.000] GIT IPUMM
    [0][ 0.000] BRANCH : master
    [0][ 0.000] TAG : MMIP 3.00.13.00 IPC 3_45_00_00
    [0][ 0.000] COMMIT-ID : fd44144
    [0][ 0.000] CODEC-VER BEGIN:
    [0][ 0.000] H264D-02.00.21.01
    [0][ 0.000] MPEG4D-01.00.15.01
    [0][ 0.000] MPEG2D-01.00.17.01
    [0][ 0.000] VC1D-01.00.02.05
    [0][ 0.000] MJPEGD-01.00.16.01
    [0][ 0.000]
    [0][ 0.000] H264E-02.00.09.01
    [0][ 0.000] MPEG4E-01.00.02.01
    [0][ 0.000] MJPEGE-01.00.17.01
    [0][ 0.000] CODEC-VER END:
    [0][ 0.000]
    [0][ 0.000] ** IPUMM VERSION INFO END **
    [0][ 0.000] Trace level PA 0x95f532ec Trace Level 0
    [0][ 0.000] Trace Usage: level:[0-4: 0-no trace, 1-err, 2-debug, 3-info, 4-CE,FC,IPC traces]
    [0][ 0.000]
    [0][ 0.000] Trace Buffer PA 0x98a00000 kpi_control (PA 0x95f4f784 value 0x0)
    [1][ 0.000] OMAPRPC: registered channel: dce-callback
    [1][ 0.000] OMAPRPC: Returning Object @80209340
    [1][ 0.000] loadTask: started
    [1][ 0.000] SLEEP_TICKS: 1000
    [1][ 0.000] Load_hwiEnabled: 0
    [1][ 0.000] Load_swiEnabled: 0
    [1][ 0.000] Load_taskEnabled: 1
    [1][ 0.000] Load_updateInIdle: 1
    [1][ 0.000] Load_windowInMs: 11
    [1][ 0.000] OMAPRPC: connecting from local endpoint 101 to port 101
    [1][ 0.001] registering rpmsg-rpc:dce-callback service on 101 with HOST
    [1][ 0.001] OMAPRPC: started channel dce-callback on port: 101
    [0][ 0.001] OMAPRPC: registered channel: rpmsg-dce
    [0][ 0.001] OMAPRPC: Returning Object @8020c3e0
    [1][ 0.001] OMAPRPC: connecting from local endpoint 102 to port 102
    [1][ 0.002] registering rpmsg-rpc:rpmsg-dce service on 102 with HOST
    [1][ 0.002] OMAPRPC: started channel rpmsg-dce on port: 102
    [0][ 0.002] OMAPRPC: received msg type: 0 len: 8 from addr: 1024
    [0][ 0.002] OMAPRPC: channel info query - name dce-callback fxns 4
    [0][ 0.002] OMAPRPC: Replying with msg type: 1 to addr: 1024 from: 101 len: 12
    [0][ 0.003] OMAPRPC: received msg type: 0 len: 8 from addr: 1025
    [1][ 0.003] OMAPRPC: received msg type: 2 len: 216 from addr: 1024
    [0][ 0.003] OMAPRPC: channel info query - name rpmsg-dce fxns 9
    [1][ 0.003] OMAPRPC: function query of type 1
    [0][ 0.003] OMAPRPC: Replying with msg type: 1 to addr: 1025 from: 102 len: 12
    [1][ 0.003] OMAPRPC: Replying with msg type: 3 to addr: 1024 from: 101 len: 216
    [0][ 0.003] OMAPRPC: received msg type: 2 len: 216 from addr: 1025
    [1][ 0.003] OMAPRPC: received msg type: 2 len: 216 from addr: 1024
    [0][ 0.003] OMAPRPC: function query of type 1
    [1][ 0.003] OMAPRPC: function query of type 1
    [0][ 0.003] OMAPRPC: Replying with msg type: 3 to addr: 1025 from: 102 len: 216
    [1][ 0.003] OMAPRPC: Replying with msg type: 3 to addr: 1024 from: 101 len: 216
    [0][ 0.005] OMAPRPC: received msg type: 2 len: 216 from addr: 1025
    [1][ 0.005] OMAPRPC: received msg type: 2 len: 216 from addr: 1024
    [0][ 0.005] OMAPRPC: function query of type 1
    [1][ 0.005] OMAPRPC: function query of type 1
    [0][ 0.005] OMAPRPC: Replying with msg type: 3 to addr: 1025 from: 102 len: 216
    [1][ 0.005] OMAPRPC: Replying with msg type: 3 to addr: 1024 from: 101 len: 216
    [0][ 0.009] OMAPRPC: received msg type: 2 len: 216 from addr: 1025
    [1][ 0.009] OMAPRPC: received msg type: 2 len: 216 from addr: 1024
    [0][ 0.009] OMAPRPC: function query of type 1
    [1][ 0.009] OMAPRPC: function query of type 1
    [0][ 0.009] OMAPRPC: Replying with msg type: 3 to addr: 1025 from: 102 len: 216
    [1][ 0.009] OMAPRPC: Replying with msg type: 3 to addr: 1024 from: 101 len: 216
    [0][ 0.009] OMAPRPC: received msg type: 2 len: 216 from addr: 1025
    [0][ 0.009] OMAPRPC: function query of type 1
    [0][ 0.009] OMAPRPC: Replying with msg type: 3 to addr: 1025 from: 102 len: 216
    [0][ 0.009] OMAPRPC: received msg type: 2 len: 216 from addr: 1025
    [0][ 0.010] OMAPRPC: function query of type 1
    [0][ 0.010] OMAPRPC: Replying with msg type: 3 to addr: 1025 from: 102 len: 216
    [0][ 0.010] OMAPRPC: received msg type: 2 len: 216 from addr: 1025
    [0][ 0.010] OMAPRPC: function query of type 1
    [0][ 0.010] OMAPRPC: Replying with msg type: 3 to addr: 1025 from: 102 len: 216
    [0][ 0.010] OMAPRPC: received msg type: 2 len: 216 from addr: 1025
    [0][ 0.010] OMAPRPC: function query of type 1
    [0][ 0.010] OMAPRPC: Replying with msg type: 3 to addr: 1025 from: 102 len: 216
    [0][ 0.011] OMAPRPC: received msg type: 2 len: 216 from addr: 1025
    [0][ 0.011] OMAPRPC: function query of type 1
    [0][ 0.011] OMAPRPC: Replying with msg type: 3 to addr: 1025 from: 102 len: 216
    [0][ 0.011] OMAPRPC: received msg type: 2 len: 216 from addr: 1025
    [0][ 0.011] OMAPRPC: function query of type 1
    [0][ 0.011] OMAPRPC: Replying with msg type: 3 to addr: 1025 from: 102 len: 216
    [0][ 40.382] OMAPRPC: received msg type: 6 len: 56 from addr: 1026
    [0][ 40.383] createService: new OMX Service at endpoint: 103
    [0][ 40.383] OMAPRPC: created service instance named: rpmsg-dce (status=0) addr: 103
    [0][ 40.383] OMAPRPC: Replying with msg type: 8 to addr: 1026 from: 102 len: 16
    [0][ 41.000] loadTask: cpu load = 8%
    [0][ 42.000] loadTask: cpu load = 0%
    root@mmt2020-a880:~#

    Regards,
    Sreeju
  • Hi Shravan / Ramaprasad,

    Tried with adding one more watchdog for IPU2, there is no difference. video play back is failing..

    Thanks,
    Sreeju
  • Hi Sreeju,
    With our discussion with Ikshwaku, it is clear that in non-working case omapdrm is not getting probed and this is causing video playback to fail as drmOpen for omapdrm module fails.

    In working case dmesg shows
    [ 0.678335] [drm] Initialized omapdrm 1.0.0 20110917 on minor
    and the node /sys/bus/platform/devices/omapdrm.0 is available.

    I recommend you to put some prints in omapdrm driver probe and few init functions to find out why it is not getting probed.
    Path for omapdrm driver is drivers/gpu/drm/omapdrm/omapdrm_drv.c
    You can add few prints in probe and platform_init functions

    Thanks
    Ramprasad
  • Hi Ramprasad, Shravan,


    Found the code change which causes the ompdrm failure. We had reverted the below patch to fix a frame buffer related issue: /dev/fb0 node missing

    -----
    commit a0735426f874209214170dc04e7f156c444aa0e3
    Author: Shravan Karthik <shravan.karthik@ti.com>
    Date: Wed Sep 12 15:32:11 2018 +0530

    divers: omapdrm: Remove DSS dependencies in omapdrm probe

    Signed-off-by: Shravan Karthik <shravan.karthik@ti.com>

    -------

    Re applied this patch, ompadrm node is available now and video playback is fine, but still fb0 is missing with this change, we are looking at it.

    We will give it for complete system testing will update the result.

    Thanks for your inputs.


    Regards,
    Sreeju