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/TDA2PXEVM: How to enable IPUMM with IPUMM and VSDK-Linux on IPU-2

Part Number: TDA2PXEVM
Other Parts Discussed in Thread: TDA2

Tool/software: Linux

Hi,

I manage to enable GST encode/decode based on IPUMM for VSDK 3.05. According to <<Vision SDK Linux User Guide>>, there are two options to enable IPUMM.

1. IPUMM on VSDK-Linux and IPU-1 as primary IPU for Vision-SDK

Per the instructions in the guide, It works fine for me.

2. IPUMM and VSDK-Linux on IPU-2

But for the option 2, I still cannot figure it out.  I follow section 2.4.2.2 to prepare ipumm, Codec Engine and Framework components. IVAHD is  set to no in the corresponding cfg.mk.  Whether or not to enbable IPUMM in the same file, I always encounter assert failure with the resultant apps.out launch. Please help if something is missing. Thanks!

Regards,

Simon

[HOST] [HOST ] 3151.468401 s: SELECT_1 : Init done - linkid-0x0
[HOST] [HOST ] 3151.468492 s: GATE_0 : Init done - linkid-0x0
[HOST] [HOST ] 3151.468614 s: GATE_1 : Init done - linkid-0x0
[HOST] [HOST ] 3151.468706 s: GATE_2 : Init done - linkid-0x0
[HOST] [HOST ] 3151.468797 s: GATE_3 : Init done - linkid-0x0
[HOST] [HOST ] 3151.468889 s: SGXFRMCPY_0 : Init done - linkid-0x2000046
[HOST] [HOST ] 3151.468980 s: ZMCAMERA_0 : Init done - linkid-0x2000066
[HOST] [HOST ] 3151.469072 s: ZMOutput_0 : Init done - linkid-0x2000067
[HOST] [HOST ] 3151.469102 s: SYSTEM: Initializing A15 Links ... DONE !!!
[HOST] [HOST ] 3151.469163 s: SYSTEM: IPC: [IPU1-0] Notify send failed (Socket operation on non-socket, 88) !!!
[HOST] [HOST ] 3151.469163 s: SYSTEM: MSGQ: [IPU1-0] MsgQ send failed !!!
[HOST] [HOST ] 3151.469163 s: SYSTEM: System A15 Init Done !!!
[HOST] [HOST ] 3151.469316 s: SYSTEM: IPC: [IPU1-0] Notify send failed (Socket operation on non-socket, 88) !!!
[HOST] [HOST ] 3151.469316 s: SYSTEM: MSGQ: [IPU1-0] MsgQ send failed !!!
[HOST] [HOST ] 3151.469316 s: NETWORK_CTRL: Starting Server (port=5000) !!!
[HOST] [HOST ] 3151.469377 s: NETWORK_CTRL: Starting Server ... DONE (port=5000) !!!
ASSERT (chains_common.c|ChainsCommon_appCtrlCommonInit|296)

  • Hi,

    Have you revert the changes done in dts file in step1?

    And also share your complete log for running apps.out.

    Regards,
    Anuj

  • Hi Anuj,

    Thanks for your support.

    Yes, I have reverted the dts change.  I will double check it.

    And log for running apps.out is attached for your reference.

    Regards,

    Simon

    =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2019.03.01 13:38:51 =~=~=~=~=~=~=~=~=~=~=~=
    
    root@dra7xx-evm:/opt/vision_sdk# ls  ls
    FragShader.fsh                apps.out                      enableImx290.sh               load_ocl_kos.sh               ov106x3Config.sh              vision_sdk_load.sh
    FragShader3Dsfm.fsh           bin                           enableIpu2CCSConectivity.sh   memcache_load.sh              pvrscope                      vision_sdk_ov490_pinmux.sh
    VertShader.vsh                car.pod                       gpufifo                       memcache_unload.sh            setupUltrasonicPinMux.sh      vision_sdk_unload.sh
    VertShader3Dsfm.vsh           cmemk.ko                      hdmiReceiverConfig.sh         models                        tda2exEnableAVB.sh
    VipClockInversion.sh          disableDssInterruptsOnA15.sh  jeep2.bmp                     opencl_env.sh                 ub964Init.sh
    root@dra7xx-evm:/opt/vision_sdk# ./vision_sdk_load.sh [   87.304820] random: nonblocking pool is initialized
    
    [   87.346757] DMA: Module install successful, device major num = 241 
    [   87.353059] DRV: Module install successful
    insmod: ERROR: could not load module ./bin/cmemk.ko: No such file or directory
    Error: I2C Read failed
    Error: I2C Read failed
    Error: I2C Read failed
    ./disableDssInterruptsOnA15.sh: line 11: COMMANDS: command not found
    ./disableDssInterruptsOnA15.sh: line 12: COMMANDS: command not found
    ./disableDssInterruptsOnA15.sh: line 13: COMMANDS: command not found
    ./disableDssInterruptsOnA15.sh: line 14: COMMANDS: command not found
    ./disableDssInterruptsOnA15.sh: line 15: COMMANDS: command not found
    ./disableDssInterruptsOnA15.sh: line 16: COMMANDS: command not found
    ./disableDssInterruptsOnA15.sh: line 17: COMMANDS: command not found
    ./disableDssInterruptsOnA15.sh: line 18: COMMANDS: command not found
    ./disableDssInterruptsOnA15.sh: line 19: COMMANDS: command not found
    updated  value is 
    
    
    COMMANDS
    
    ### WARNING ###: use the following [read | write | set bit | clear bit | dump] commands at your own risk!
    No address check done, may generate:
      - bus error (invalid or not accessible <physical address>,
      - platform crash/hang (bad <value>).
    
        Read any OMAP memory address (register), given its <physical address> or <name> as listed in TRM.
    
        Write <value> at any OMAP memory address (register), given its <physical address> or <name> as listed in TRM.
    
        Set bit at <position> into any OMAP memory address (register), given its <physical address> or <name> as listed in TRM.
    
        Clear bit at <position> into any OMAP memory address (register), given its <physical address> or <name> as listed in TRM.
    
        Dump a range of OMAP memory addresses, from <start address> to <end address>.
        Note all addresses within given range must be valid and accessible.
    
    ### WARNING ###: use the following I2C [read | write] commands at your own risk!
    No address check done, may generate:
      - I2C bus error (invalid or not accessible <physical address>,
      - platform crash/hang (bad <value>).
    
        Read I2C register at address <addr> from I2C chip at <chip-addr> on I2C <bus>.
    
        Write <value> in I2C register at address <addr> from I2C chip at <chip-addr> on I2C <bus>.
    root@dra7xx-evm:/opt/vision_sdk# ls  ./vision_sdk_             ./apps.out 
     [HOST]  OSA: MEM: 0: Mapped 0xa0100000 to 0xb6988000 of size 0x00100000 
     [HOST]  OSA: MEM: 1: Mapped 0x84203000 to 0xa3d88000 of size 0x12c00000 
     [HOST]  OSA: MEM: 2: Mapped 0xa0200000 to 0xa3cc8000 of size 0x00040000 
     [HOST]  OSA: MEM: 3: Mapped 0xa02c0000 to 0xa3d08000 of size 0x00080000 
     [HOST]  OSA: MEM: 4: Mapped 0x00000000 to 0x00000000 of size 0x00000000 
     [HOST]  OSA: HOST Remote Log Shared Memory @ 0xa024f140
     [HOST]  OSA: DSP1 Remote Log Shared Memory @ 0xa02769e0
     [HOST]  OSA: DSP2 Remote Log Shared Memory @ 0xa029e280
     [HOST]  OSA: EVE1 Remote Log Shared Memory @ 0xa02c5b20
     [HOST]  OSA: EVE2 Remote Log Shared Memory @ 0xa02ed3c0
     [HOST]  OSA: IPU2 Remote Log Shared Memory @ 0xa0363da0
     [HOST] [HOST  ]    103.668425 s:  SYSTEM: System A15 Init in progress !!!
    
     [HOST] [HOST  ]    103.668517 s:  SYSTEM: IPC: Init in progress !!!
    
     [HOST] [HOST  ]    103.668547 s:  SYSTEM: IPC: Notify init in progress !!!
    
     [HOST] [HOST  ]    103.671536 s:  SYSTEM: IPC: [IPU2] socket bind success !!! (dst vproc = 1, endpt = 81)
    
     [HOST] [HOST  ]    103.671567 s:  SYSTEM: IPC: [IPU2] socket info (family = 41, dst proc id = -1, endpt = 81) !!!
    
     [HOST] [HOST  ]    103.671597 s:  SYSTEM: IPC: [IPU2] socket connect success !!! (dst vproc = 1, endpt = 80)
    
     [HOST] [HOST  ]    103.671597 s:  SYSTEM: IPC: [IPU2] socket info (family = 41, dst proc id = -1, endpt = 1026) !!!
    
     [HOST] [HOST  ]    103.674220 s:  SYSTEM: IPC: [DSP1] socket bind success !!! (dst vproc = 2, endpt = 81)
    
     [HOST] [HOST  ]    103.674220 s:  SYSTEM: IPC: [DSP1] socket info (family = 41, dst proc id = -1, endpt = 81) !!!
    
     [HOST] [HOST  ]    103.674251 s:  SYSTEM: IPC: [DSP1] socket connect success !!! (dst vproc = 2, endpt = 80)
    
     [HOST] [HOST  ]    103.674251 s:  SYSTEM: IPC: [DSP1] socket info (family = 41, dst proc id = -1, endpt = 1024) !!!
    
     [HOST] [HOST  ]    103.676874 s:  SYSTEM: IPC: [DSP2] socket bind success !!! (dst vproc = 3, endpt = 81)
    
     [HOST] [HOST  ]    103.676904 s:  SYSTEM: IPC: [DSP2] socket info (family = 41, dst proc id = -1, endpt = 81) !!!
    
     [HOST] [HOST  ]    103.676935 s:  SYSTEM: IPC: [DSP2] socket connect success !!! (dst vproc = 3, endpt = 80)
    
     [HOST] [HOST  ]    103.676935 s:  SYSTEM: IPC: [DSP2] socket info (family = 41, dst proc id = -1, endpt = 1024) !!!
    
     [HOST] [HOST  ]    103.677118 s:  SYSTEM: IPC: Notify init DONE !!!
    
     [HOST] [HOST  ]    103.677118 s:  SYSTEM: MSGQ: MsgQ init in progress !!!
    
     [HOST] [HOST  ]    103.677240 s:  SYSTEM: MSGQ: MsgQ init DONE !!!
    
     [HOST] [HOST  ]    103.677240 s:  SYSTEM: IPC: Init DONE !!!
    
     [HOST] [HOST  ]    103.677240 s:  SYSTEM: Initializing A15 Links !!! 
    
     [HOST] [HOST  ]    103.677362 s:  IPC_OUT_0 : Init done - linkid-0x2000000
    
     [HOST] [HOST  ]    103.677484 s:  IPC_OUT_1 : Init done - linkid-0x2000001
    
     [HOST] [HOST  ]    103.677606 s:  IPC_OUT_2 : Init done - linkid-0x2000002
    
     [HOST] [HOST  ]    103.677728 s:  IPC_OUT_3 : Init done - linkid-0x2000003
    
     [HOST] [HOST  ]    103.677819 s:  IPC_OUT_4 : Init done - linkid-0x2000004
    
     [HOST] [HOST  ]    103.677941 s:  IPC_IN_0 : Init done - linkid-0x200000a
    
     [HOST] [HOST  ]    103.678094 s:  IPC_IN_1 : Init done - linkid-0x200000b
    
     [HOST] [HOST  ]    103.678216 s:  IPC_IN_2 : Init done - linkid-0x200000c
    
     [HOST] [HOST  ]    103.678307 s:  IPC_IN_3 : Init done - linkid-0x200000d
    
     [HOST] [HOST  ]    103.678429 s:  IPC_IN_4 : Init done - linkid-0x200000e
    
     [HOST] [DSP1  ] _;o~{Ol{uo-;]/}{OoL>~_~[s_wsvOp{ypFouo[6wu|5|q;Sko*w?]{~_fVz3?a{~{Ow.{g{_]k~}oOs?3[}uy/i~=}?}_=={y}ukv~o?z5^_;^O
    
     [HOST] [DSP1  ] _O_?r?Bw_\w[~?_vzj_>|wt^g~=/^~jz?zc~}k}?\vynO{7~{]]yw_o}zU?n?zw{;;mk}on?]~v+O}|__o?}{_~?_Zon{8G�?r{)o>>{?s7GwM_oww~t}ggo~
    
     [HOST] [DSP1  ] ~7
    
     [HOST] [DSP2  ] K?gw~?~_~{?~?ys}~}{_+_w~7~}{^zwo_}/w{_wxs_?wu~~_?wwk?w~{{_~??[_k=w}vlwW?>=2~W2}oy|}{<{_y{_O}}o__?u=w{}o]s?>?}
    
     [HOST] [DSP2  ] ~[?o
    
     [HOST] [DSP2  ] [m}n~>}oJ?K;}{on{K{o_yww{iww}{f~6>][wL_wWw~W}~76W{yK&wsu?w??k_N^g;?y=^9{
    
     [HOST] [EVE1  ] 5^?_jOoy~~{_wwnsws!?[ox7~o{Z~W{kyOs~wo:{~?;zsk}{}{?_?G}nV?}/go/}o}?\wym^}{~\5_?wwim_ww{w]?ooknQ}w~>Ovlogyg}m?[gr}
    
     [HOST] [EVE1  ] _WmO?t~{}_;~}oY{guw}{~^.n?{{|y}{>}w_r~\mwNRoUVN|?{n_K=?_w?__i?{}my{?#}?Owv_w~~}~Oo=v
    
     [HOST] [EVE2  ] _}#o_m{o{/u7{f{?:.}sQ6vW/-km}_};w=w}>[ywwyuw{?~__yJovx~w_j<~>o9o<=}w=_w;}{voW{r_zy_q75]?M}o.}_z?9w#^s{}?Y]_~_o}T3__o=w~
    
     [HOST] [EVE2  ] ?_Vw}zm~vs?{/oW?|/87wwjo6{>_V>vf?in?~~_|?]_
    
     [HOST] [EVE2  ] ~g[nOw{+{^~.w_9v|:O_ioowv{w}w}^o~^>]~>->+~7/}
    
     [HOST] [IPU2  ]     20.087293 s: 
    
     [HOST] [IPU2  ] WARNING: Device Id Does not Match
    
     [HOST] [IPU2  ]     20.108094 s: 
    
     [HOST] [IPU2  ]  EVE1 Image Load Completed 
    
     [HOST] [IPU2  ]     20.128652 s: 
    
     [HOST] [IPU2  ]  EVE2 Image Load Completed 
    
     [HOST] [IPU2  ]     20.128774 s: 
    
     [HOST] [IPU2  ]  EVE MMU configuration completed 
    
     [HOST] [IPU2  ]     20.128835 s: 
    
     [HOST] [IPU2  ]  EVE MMU configuration completed 
    
     [HOST] [IPU2  ]     20.130482 s:  ***** IPU2 Firmware build time 13:34:20 Feb 28 2019
    
     [HOST] [IPU2  ]     20.130696 s:  *** SYSTEM: CPU Frequency <ORG = 212800000 Hz>, <NEW = 212800000 Hz>
    
     [HOST] [IPU2  ]     20.133471 s:  SYSTEM: System Common Init in progress !!!
    
     [HOST] [IPU2  ]     20.143994 s:  UTILS: CIO: Init Done !!!
    
     [HOST] [IPU2  ]     20.144085 s:  SYSTEM: IPC init in progress !!!
    
     [HOST] [IPU2  ]     20.144146 s:  SYSTEM: Attaching to [DSP1] ... 
    
     [HOST] [IPU2  ]     20.146495 s:  SYSTEM: Attaching to [DSP1] ... SUCCESS !!!
    
     [HOST] [IPU2  ]     20.149484 s:  SYSTEM: Attaching to [DSP2] ... SUCCESS !!!
    
     [HOST] [IPU2  ]     20.156865 s:  SYSTEM: Attaching to [EVE1] ... SUCCESS !!!
    
     [HOST] [IPU2  ]     20.176935 s:  SYSTEM: Attaching to [EVE2] ... SUCCESS !!!
    
     [HOST] [IPU2  ]     20.177026 s:  SYSTEM: Notify register to [DSP1] line 0, event 15... 
    
     [HOST] [IPU2  ]     20.177148 s:  SYSTEM: Notify register to [DSP2] line 0, event 15... 
    
     [HOST] [IPU2  ]     20.177270 s:  SYSTEM: Notify register to [EVE1] line 0, event 15... 
    
     [HOST] [IPU2  ]     20.177362 s:  SYSTEM: Notify register to [EVE2] line 0, event 15... 
    
     [HOST] [IPU2  ]     20.177484 s:  SYSTEM: Notify init done !!!
    
     [HOST] [IPU2  ]     20.179161 s:  SYSTEM: MsgQ init done !!!
    
     [HOST] [IPU2  ]     20.180076 s: RpmsgInit in progress...
    
     [HOST] [IPU2  ]     20.180168 s: Connection established with HLOS, calling rpmsgInit
    
     [HOST] [IPU2  ]     20.180473 s:  SYSTEM: IPC init DONE !!!
    
     [HOST] [IPU2  ]     20.185384 s:  SYSTEM: System Common Init Done !!!
    
     [HOST] [IPU2  ]     20.185475 s:  SYSTEM: System Init in progress !!!
    
     [HOST] [IPU2  ]     20.185536 s:  SYSTEM: BSP Common Init in progress !!!
    
     [HOST] [IPU2  ]     20.185597 s:  SYSTEM: BSP Common Init Done !!!
    
     [HOST] [IPU2  ]     20.185689 s:  SYSTEM: BSP Platform Init in progress !!!
    
     [HOST] [IPU2  ]     20.185841 s:  SYSTEM: BSP Platform Init Done !!!
    
     [HOST] [IPU2  ]     20.185933 s:  SYSTEM: FVID2 Init in progress !!!
    
     [HOST] [IPU2  ]     20.186055 s:  SYSTEM: FVID2 Init Done !!!
    
     [HOST] [IPU2  ]     20.186116 s:  SYSTEM: VPS Init in progress !!!
    
     [HOST] [IPU2  ]     20.186177 s:  SYSTEM: VPDMA Descriptor Memory Address translation ENABLED [0x80000000 -> 0x80000000]
    
     [HOST] [IPU2  ]     20.189105 s: *** VPDMA Firmware Loading... ***
    
     [HOST] [IPU2  ]     20.189227 s: VPDMA Firmware Address = 0xa035b5c0
    
     [HOST] [IPU2  ]     20.189318 s: VPDMA Load Address     = 0x4897d004
    
     [HOST] [IPU2  ]     20.189440 s: VPDMA Firmware Version = 0x4d0001b8
    
     [HOST] [IPU2  ]     20.189501 s: VPDMA List Busy Status = 0x00000000
    
     [HOST] [IPU2  ]     20.189593 s: *** VPDMA Firmware Load Success ***
    
     [HOST] [IPU2  ]     20.189928 s: *** VPDMA Firmware Loading... ***
    
     [HOST] [IPU2  ]     20.190020 s: VPDMA Firmware Address = 0xa035b5c0
    
     [HOST] [IPU2  ]     20.190111 s: VPDMA Load Address     = 0x4899d004
    
     [HOST] [IPU2  ]     20.190203 s: VPDMA Firmware Version = 0x4d0001b8
    
     [HOST] [IPU2  ]     20.190294 s: VPDMA List Busy Status = 0x00000000
    
     [HOST] [IPU2  ]     20.190386 s: *** VPDMA Firmware Load Success ***
    
     [HOST] [IPU2  ]     20.190691 s: *** VPDMA Firmware Loading... ***
    
     [HOST] [IPU2  ]     20.190782 s: VPDMA Firmware Address = 0xa035b5c0
    
     [HOST] [IPU2  ]     20.190904 s: VPDMA Load Address     = 0x489dd004
    
     [HOST] [IPU2  ]     20.190996 s: VPDMA Firmware Version = 0x4d0001b8
    
     [HOST] [IPU2  ]     20.191087 s: VPDMA List Busy Status = 0x00000000
    
     [HOST] [IPU2  ]     20.191148 s: *** VPDMA Firmware Load Success ***
    
     [HOST] [IPU2  ]     20.264716 s:  SYSTEM: VPS Init Done !!!
    
     [HOST] [IPU2  ]     20.265601 s:  UTILS: DMA: HWI Create for INT25 !!!
    
     [HOST] [IPU2  ]     20.265906 s:  SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1024 
    
     [HOST] [IPU2  ]     20.265997 s:  SYSTEM: Heap = LOCAL_DDR            @ 0x00000000, Total size = 41943040 B (40960 KB), Free size = 41876096 B (40894 KB)
    
     [HOST] [IPU2  ]     20.266150 s:  SYSTEM: Heap = SR_OCMC              @ 0x00000000, Total size = 0 B (0 KB), Free size = 0 B (0 KB)
    
     [HOST] [IPU2  ]     20.266302 s:  SYSTEM: Heap = SR_DDR_CACHED        @ 0x84203000, Total size = 314572800 B (300 MB), Free size = 314572800 B (300 MB)
    
     [HOST] [IPU2  ]     20.266485 s:  SYSTEM: Heap = SR_DDR_NON_CACHED    @ 0xa0100000, Total size = 1046656 B (0 MB), Free size = 954496 B (0 MB)
    
     [HOST] [IPU2  ]     20.266638 s:  SYSTEM: Initializing Links !!! 
    
     [HOST] [IPU2  ]     20.474165 s:  SYSTEM: Initializing Links ... DONE !!! 
    
     [HOST] [IPU2  ]     20.515494 s:  CHAINS: Application Started !!!
    
     [HOST] [IPU2  ]     20.528304 s:  BOARD: Board Init in progress !!!
    
     [HOST] [IPU2  ]     20.577838 s:  BOARD: Board Init Done !!!
    
     [HOST] [IPU2  ]     20.587567 s:  
    
     ASSERT (chains_common.c|ChainsCommon_appCtrlCommonInit|296)
    
     [HOST] [HOST  ]    103.682394 s:  IPC_IN_5 : Init done - linkid-0x200000f
    
     [HOST] [HOST  ]    103.682638 s:  IPC_IN_6 : Init done - linkid-0x2000010
    
     [HOST] [HOST  ]    103.682791 s:  NULL_0 : Init done - linkid-0x2000014
    
     [HOST] [HOST  ]    103.682913 s:  NULL_1 : Init done - linkid-0x2000015
    
     [HOST] [HOST  ]    103.683096 s:  NULL_SRC_0 : Init done - linkid-0x2000039
    
     [HOST] [HOST  ]    103.683309 s:  DISP_DIST_SRC_0 : Init done - linkid-0x200005e
    
     [HOST] [HOST  ]    103.683462 s:  DISP_DIST_SRC_1 : Init done - linkid-0x200005f
    
     [HOST] [HOST  ]    103.683584 s:  DISP_DIST_SRC_2 : Init done - linkid-0x2000060
    
     [HOST] [HOST  ]    103.683706 s:  DISP_DIST_SRC_3 : Init done - linkid-0x2000061
    
     [HOST] [HOST  ]    103.683828 s:  DISP_DIST_SRC_4 : Init done - linkid-0x2000062
    
     [HOST] [HOST  ]    103.683950 s:  DISP_DIST_SRC_5 : Init done - linkid-0x2000063
    
     [HOST] [HOST  ]    103.684072 s:  DISP_DIST_SRC_6 : Init done - linkid-0x2000064
    
     [HOST] [HOST  ]    103.684163 s:  DISP_DIST_SRC_7 : Init done - linkid-0x2000065
    
     [HOST] [HOST  ]    103.684316 s:  SGX3DSRV_0 : Init done - linkid-0x2000047
    
     [HOST] [HOST  ]    103.684468 s:  ALGORITHM_0 : Init done - linkid-0x2000031
    
     [HOST] [HOST  ]    103.684590 s:  ALGORITHM_1 : Init done - linkid-0x2000032
    
     [HOST] [HOST  ]    103.684712 s:  ALGORITHM_2 : Init done - linkid-0x2000033
    
     [HOST] [HOST  ]    103.684804 s:  ALGORITHM_3 : Init done - linkid-0x2000034
    
     [HOST] [HOST  ]    103.684926 s:  ALGORITHM_4 : Init done - linkid-0x2000035
    
     [HOST] [HOST  ]    103.685048 s:  ALGORITHM_5 : Init done - linkid-0x2000036
    
     [HOST] [HOST  ]    103.685170 s:  ALGORITHM_6 : Init done - linkid-0x2000037
    
     [HOST] [HOST  ]    103.685262 s:  ALGORITHM_7 : Init done - linkid-0x2000038
    
     [HOST] [HOST  ]    103.685445 s:  DUP0 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    103.685628 s:  DUP1 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    103.685811 s:  DUP2 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    103.685994 s:  DUP3 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    103.686238 s:  DUP4 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    103.686360 s:  SYNC_0 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    103.686482 s:  SYNC_1 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    103.686604 s:  SYNC_2 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    103.686756 s:  SYNC_3 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    103.686878 s:  MERGE_0 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    103.687031 s:  MERGE_1 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    103.687153 s:  MERGE_2 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    103.687275 s:  MERGE_3 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    103.687397 s:  MERGE_4 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    103.687519 s:  SELECT_0 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    103.687641 s:  SELECT_1 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    103.687763 s:  GATE_0 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    103.687854 s:  GATE_1 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    103.687976 s:  GATE_2 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    103.688068 s:  GATE_3 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    103.688190 s:  SGXFRMCPY_0 : Init done - linkid-0x2000046
    
     [HOST] [HOST  ]    103.688281 s:  ZMCAMERA_0 : Init done - linkid-0x2000066
    
     [HOST] [HOST  ]    103.688373 s:  ZMOutput_0 : Init done - linkid-0x2000067
    
     [HOST] [HOST  ]    103.688373 s:  SYSTEM: Initializing A15 Links ... DONE !!! 
    
     [HOST] [HOST  ]    103.688464 s:  SYSTEM: IPC: [IPU1-0] Notify send failed (Socket operation on non-socket, 88) !!!
    
     [HOST] [HOST  ]    103.688464 s:  SYSTEM: MSGQ: [IPU1-0] MsgQ send failed !!!
    
     [HOST] [HOST  ]    103.688464 s:  SYSTEM: System A15 Init Done !!!
    
     [HOST] [HOST  ]    103.688617 s:  NETWORK_CTRL: Starting Server (port=5000) !!!
    
     [HOST] [HOST  ]    103.688678 s:  NETWORK_CTRL: Starting Server ... DONE (port=5000) !!!
    
     [HOST] [HOST  ]    103.688708 s:  SYSTEM: IPC: [IPU1-0] Notify send failed (Socket operation on non-socket, 88) !!!
    
     [HOST] [HOST  ]    103.688739 s:  SYSTEM: MSGQ: [IPU1-0] MsgQ send failed !!!
    
    
    ^C
    root@dra7xx-evm:/opt/vision_sdk# s ./apps.out 
     [HOST]  OSA: MEM: 0: Mapped 0xa0100000 to 0xb697a000 of size 0x00100000 
     [HOST]  OSA: MEM: 1: Mapped 0x84203000 to 0xa3d7a000 of size 0x12c00000 
     [HOST]  OSA: MEM: 2: Mapped 0xa0200000 to 0xa3cba000 of size 0x00040000 
     [HOST]  OSA: MEM: 3: Mapped 0xa02c0000 to 0xa3cfa000 of size 0x00080000 
     [HOST]  OSA: MEM: 4: Mapped 0x00000000 to 0x00000000 of size 0x00000000 
     [HOST]  OSA: HOST Remote Log Shared Memory @ 0xa024f140
     [HOST]  OSA: DSP1 Remote Log Shared Memory @ 0xa02769e0
     [HOST]  OSA: DSP2 Remote Log Shared Memory @ 0xa029e280
     [HOST]  OSA: EVE1 Remote Log Shared Memory @ 0xa02c5b20
     [HOST]  OSA: EVE2 Remote Log Shared Memory @ 0xa02ed3c0
     [HOST]  OSA: IPU2 Remote Log Shared Memory @ 0xa0363da0
     [HOST] [HOST  ]    158.092173 s:  SYSTEM: System A15 Init in progress !!!
    
     [HOST] [HOST  ]    158.092264 s:  SYSTEM: IPC: Init in progress !!!
    
     [HOST] [HOST  ]    158.092264 s:  SYSTEM: IPC: Notify init in progress !!!
    
     [HOST] [HOST  ]    158.094339 s:  SYSTEM: IPC: [IPU2] socket bind success !!! (dst vproc = 1, endpt = 81)
    
     [HOST] [HOST  ]    158.094369 s:  SYSTEM: IPC: [IPU2] socket info (family = 41, dst proc id = -1, endpt = 81) !!!
    
     [HOST] [HOST  ]    158.094430 s:  SYSTEM: IPC: [IPU2] socket connect success !!! (dst vproc = 1, endpt = 80)
    
     [HOST] [HOST  ]    158.094430 s:  SYSTEM: IPC: [IPU2] socket info (family = 41, dst proc id = -1, endpt = 1026) !!!
    
     [HOST] [HOST  ]    158.096047 s:  SYSTEM: IPC: [DSP1] socket bind success !!! (dst vproc = 2, endpt = 81)
    
     [HOST] [HOST  ]    158.096077 s:  SYSTEM: IPC: [DSP1] socket info (family = 41, dst proc id = -1, endpt = 81) !!!
    
     [HOST] [HOST  ]    158.096108 s:  SYSTEM: IPC: [DSP1] socket connect success !!! (dst vproc = 2, endpt = 80)
    
     [HOST] [HOST  ]    158.096108 s:  SYSTEM: IPC: [DSP1] socket info (family = 41, dst proc id = -1, endpt = 1024) !!!
    
     [HOST] [HOST  ]    158.097755 s:  SYSTEM: IPC: [DSP2] socket bind success !!! (dst vproc = 3, endpt = 81)
    
     [HOST] [HOST  ]    158.097785 s:  SYSTEM: IPC: [DSP2] socket info (family = 41, dst proc id = -1, endpt = 81) !!!
    
     [HOST] [HOST  ]    158.097785 s:  SYSTEM: IPC: [DSP2] socket connect success !!! (dst vproc = 3, endpt = 80)
    
     [HOST] [HOST  ]    158.097816 s:  SYSTEM: IPC: [DSP2] socket info (family = 41, dst proc id = -1, endpt = 1024) !!!
    
     [HOST] [HOST  ]    158.098029 s:  SYSTEM: IPC: Notify init DONE !!!
    
     [HOST] [HOST  ]    158.098029 s:  SYSTEM: MSGQ: MsgQ init in progress !!!
    
     [HOST] [HOST  ]    158.098151 s:  SYSTEM: MSGQ: MsgQ init DONE !!!
    
     [HOST] [HOST  ]    158.098182 s:  SYSTEM: IPC: Init DONE !!!
    
     [HOST] [HOST  ]    158.098182 s:  SYSTEM: Initializing A15 Links !!! 
    
     [HOST] [HOST  ]    158.098304 s:  IPC_OUT_0 : Init done - linkid-0x2000000
    
     [HOST] [HOST  ]    158.098426 s:  IPC_OUT_1 : Init done - linkid-0x2000001
    
     [HOST] [HOST  ]    158.098578 s:  IPC_OUT_2 : Init done - linkid-0x2000002
    
     [HOST] [HOST  ]    158.098670 s:  IPC_OUT_3 : Init done - linkid-0x2000003
    
     [HOST] [HOST  ]    158.098792 s:  IPC_OUT_4 : Init done - linkid-0x2000004
    
     [HOST] [HOST  ]    158.098944 s:  IPC_IN_0 : Init done - linkid-0x200000a
    
     [HOST] [HOST  ]    158.099097 s:  IPC_IN_1 : Init done - linkid-0x200000b
    
     [HOST] [HOST  ]    158.099188 s:  IPC_IN_2 : Init done - linkid-0x200000c
    
     [HOST] [HOST  ]    158.099341 s:  IPC_IN_3 : Init done - linkid-0x200000d
    
     [HOST] [HOST  ]    158.099463 s:  IPC_IN_4 : Init done - linkid-0x200000e
    
     [HOST] [HOST  ]    158.099554 s:  IPC_IN_5 : Init done - linkid-0x200000f
    
     [HOST] [HOST  ]    158.099676 s:  IPC_IN_6 : Init done - linkid-0x2000010
    
     [HOST] [HOST  ]    158.099798 s:  NULL_0 : Init done - linkid-0x2000014
    
     [HOST] [HOST  ]    158.099890 s:  NULL_1 : Init done - linkid-0x2000015
    
     [HOST] [HOST  ]    158.100073 s:  NULL_SRC_0 : Init done - linkid-0x2000039
    
     [HOST] [HOST  ]    158.100256 s:  DISP_DIST_SRC_0 : Init done - linkid-0x200005e
    
     [HOST] [HOST  ]    158.100378 s:  DISP_DIST_SRC_1 : Init done - linkid-0x200005f
    
     [HOST] [HOST  ]    158.100469 s:  DISP_DIST_SRC_2 : Init done - linkid-0x2000060
    
     [HOST] [HOST  ]    158.100591 s:  DISP_DIST_SRC_3 : Init done - linkid-0x2000061
    
     ASSERT (chains_common.c|ChainsCommon_appCtrlCommonInit|296)
    
     [HOST] [HOST  ]    158.100683 s:  DISP_DIST_SRC_4 : Init done - linkid-0x2000062
    
     [HOST] [HOST  ]    158.100805 s:  DISP_DIST_SRC_5 : Init done - linkid-0x2000063
    
     [HOST] [HOST  ]    158.100896 s:  DISP_DIST_SRC_6 : Init done - linkid-0x2000064
    
     [HOST] [HOST  ]    158.100988 s:  DISP_DIST_SRC_7 : Init done - linkid-0x2000065
    
     [HOST] [HOST  ]    158.101140 s:  SGX3DSRV_0 : Init done - linkid-0x2000047
    
     [HOST] [HOST  ]    158.101262 s:  ALGORITHM_0 : Init done - linkid-0x2000031
    
     [HOST] [HOST  ]    158.101415 s:  ALGORITHM_1 : Init done - linkid-0x2000032
    
     [HOST] [HOST  ]    158.101567 s:  ALGORITHM_2 : Init done - linkid-0x2000033
    
     [HOST] [HOST  ]    158.101689 s:  ALGORITHM_3 : Init done - linkid-0x2000034
    
     [HOST] [HOST  ]    158.101811 s:  ALGORITHM_4 : Init done - linkid-0x2000035
    
     [HOST] [HOST  ]    158.101933 s:  ALGORITHM_5 : Init done - linkid-0x2000036
    
     [HOST] [HOST  ]    158.102055 s:  ALGORITHM_6 : Init done - linkid-0x2000037
    
     [HOST] [HOST  ]    158.102177 s:  ALGORITHM_7 : Init done - linkid-0x2000038
    
     [HOST] [HOST  ]    158.105532 s:  DUP0 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    158.105746 s:  DUP1 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    158.105929 s:  DUP2 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    158.106112 s:  DUP3 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    158.106264 s:  DUP4 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    158.106386 s:  SYNC_0 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    158.106508 s:  SYNC_1 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    158.106630 s:  SYNC_2 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    158.106783 s:  SYNC_3 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    158.106905 s:  MERGE_0 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    158.107027 s:  MERGE_1 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    158.107179 s:  MERGE_2 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    158.107301 s:  MERGE_3 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    158.107423 s:  MERGE_4 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    158.107576 s:  SELECT_0 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    158.107728 s:  SELECT_1 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    158.107820 s:  GATE_0 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    158.107942 s:  GATE_1 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    158.108033 s:  GATE_2 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    158.108186 s:  GATE_3 : Init done - linkid-0x0
    
     [HOST] [HOST  ]    158.108338 s:  SGXFRMCPY_0 : Init done - linkid-0x2000046
    
     [HOST] [HOST  ]    158.108491 s:  ZMCAMERA_0 : Init done - linkid-0x2000066
    
     [HOST] [HOST  ]    158.108643 s:  ZMOutput_0 : Init done - linkid-0x2000067
    
     [HOST] [HOST  ]    158.108643 s:  SYSTEM: Initializing A15 Links ... DONE !!! 
    
     [HOST] [HOST  ]    158.108704 s:  SYSTEM: IPC: [IPU1-0] Notify send failed (Socket operation on non-socket, 88) !!!
    
     [HOST] [HOST  ]    158.108735 s:  SYSTEM: MSGQ: [IPU1-0] MsgQ send failed !!!
    
     [HOST] [HOST  ]    158.108735 s:  SYSTEM: System A15 Init Done !!!
    
     [HOST] [HOST  ]    158.111877 s:  NETWORK_CTRL: Starting Server (port=5000) !!!
    
     [HOST] [HOST  ]    158.111968 s:  NETWORK_CTRL: Starting Server ... DONE (port=5000) !!!
    
     [HOST] [HOST  ]    158.111999 s:  SYSTEM: IPC: [IPU1-0] Notify send failed (Socket operation on non-socket, 88) !!!
    
     [HOST] [HOST  ]    158.111999 s:  SYSTEM: MSGQ: [IPU1-0] MsgQ send failed !!!
    
    
    ^C
    

  • Hi Anuj,

    After a clean build, the issue doesn't take place .

    But for the option 2,

    1. without enabling IPUMM in the corresponding cfg.mk, seems /dev/rpmsg-dce is not available in the system image,

    root@dra7xx-evm:~# ./decode_ipumm.sh

    Setting pipeline to PAUSED ...

    Pipeline is PREROLLING ...

    MmRpc_create: Error: open failed, name=/dev/rpmsg-dce

    ../git/libdce.c:416:    dce_ipc_init    ERROR: Failed eError == DCE_EOK error val -4../git/libdce.c:479:        Engine_open     ERROR: Failed dce_ipc_init(coreIdx) == DCE_EOK error val -4MmRpc_create: Error: open failed, name=/dev/rpmsg-dce

    ../git/libdce.c:416:    dce_ipc_init    ERROR: Failed eError == DCE_EOK error val -4../git/libdce.c:479:        Engine_open     ERROR: Failed dce_ipc_init(coreIdx) == DCE_EOK error val -4Redistribute latency...

    Caught SIGSEGV

    Pipeline is PREROLLED ...

    2.  enabling IPUMM in the corresponding cfg.mk, I encounter the following build error.

    # Compiling generated MAIN_APP_ipu2_pem4.oem4
    # Linking into /home/arch/work/tda2p/vision_sdk/binaries/apps/tda2px_evm_linux_all/vision_sdk/bin/tda2px-evm/vision_sdk_ipu2_release.xem4...
    #
    "/home/arch/work/tda2p/vision_sdk/binaries/apps/tda2px_evm_linux_all/obj/vision_sdk/tda2px-evm/ipu2/release/vision_sdk_configuro/linker_mod.cmd", line 422: error:
    program will not fit into available memory. run placement with alignment
    fails for section ".systemHeap" size 0x2800000 . Available memory ranges:
    IPU2_DATA_MEM size: 0x1400000 unused: 0x716961 max hole: 0x716948
    error: errors encountered during linking;
    "/home/arch/work/tda2p/tda2x_linux_zadas.video/vision_sdk/binaries/apps/tda2
    px_evm_linux_all/vision_sdk/bin/tda2px-evm/vision_sdk_ipu2_release.xem4" not
    built

    Please help suggest whether or not IPUMM should be enabled (besides IVAHA is disabled.) and how to solve the build error.

    Thanks!

    Regards,

    Simon

  • Hi Simon,

    You need to enable IPUMM in your cfg file.
    To solve issue 2. raised in your previous post, can you make the following change, and let us know if it works?

    --- a/apps/build/tda2px/mem_segment_definition_linux.xs
    +++ b/apps/build/tda2px/mem_segment_definition_linux.xs
    @@ -72,7 +72,7 @@ var ipummSupport = java.lang.System.getenv("IPUMM_INCLUDE");
    /* Keep both IPU1 & IPU2 with same code & data sizes,
    * this allows to select any IPU subsystem as primary IPU core */
    IPU2_START_ADDR = 0x99000000;
    -IPU2_CODE_SIZE = 10*MB;
    +IPU2_CODE_SIZE = 16*MB;
    if (ipummSupport == "yes") {
    IPU2_DATA_SIZE = 60*MB;
    }


    Regards
    Shravan
  • Hi Shravan,

    Even i was facing the same problem.

    By doing changes mentioned by you, I'm able to resolve 

    "/home/arch/work/tda2p/vision_sdk/binaries/apps/tda2px_evm_linux_all/obj/vision_sdk/tda2px-evm/ipu2/release/vision_sdk_configuro/linker_mod.cmd", line 422: error:
    program will not fit into available memory. run placement with alignment
    fails for section ".systemHeap" size 0x2800000 . Available memory ranges:
    IPU2_DATA_MEM size: 0x1400000 unused: 0x716961 max hole: 0x716948

     

    However, I am still getting below mentioned error

    g_HDVICP_logTbl /home/PROCESSOR_SDK_VISION_03_05_00_00/ti_components/codecs/framework_components_3_40_02_07/packages/ti/sdo/fc/ires/hdvicp/lib/debug/hdvicp2.aem4<iresman_hdvicp2.oem4>

    error: unresolved symbols remain
    error: errors encountered during linking;
    "/home/PROCESSOR_SDK_VISION_03_05_00_00/vision_sdk/binaries/apps/tda2p
    x_evm_linux_all/vision_sdk/bin/tda2px-evm/vision_sdk_ipu2_debug.xem4" not
    built

    Kindly let me know if this can be resolved?

    Thanks and regards,

    Sunil

  • Hi Sunil,

    Please build your system in a release configuration and not debug (set the apps/configs/<soc_id and config>/cfg.mk set PROFILE=release).

    We don't support IPUMM in VSDK in debug config. 


    Regards

    Shravan

  • Hi Shravan,

    Thank you for the reply.

    Even after changing the PROFILE to release mode, I am stilling getting below mentioned error.

    # Linking into /home/PROCESSOR_SDK_VISION_03_05_00_00/vision_sdk/binaries/apps/tda2px_evm_linux_all/vision_sdk/bin/tda2px-evm/vision_sdk_ipu2_release.xem4...
    #

    undefined first referenced
    symbol in file
    --------- ----------------
    g_HDVICP_logTbl /home/PROCESSOR_SDK_VISION_03_05_00_00/ti_components/codecs/framework_components_3_40_02_07/packages/ti/sdo/fc/ires/hdvicp/lib/debug/hdvicp2.aem4<iresman_hdvicp2.oem4>

    error: unresolved symbols remain
    error: errors encountered during linking;
    "/home/PROCESSOR_SDK_VISION_03_05_00_00/vision_sdk/binaries/apps/tda2p
    x_evm_linux_all/vision_sdk/bin/tda2px-evm/vision_sdk_ipu2_release.xem4" not
    built

    Kindly let me know if anything else has to be modified.

    Regards,
    Sunil
  • Hi Sunil.

    Please ensure you have all changes made for including IPUMM. Also please perform a clean build.

    Regards
    Shravan
  • Hi Shravan,

    The issue was because of framework components.

    I installed the framework components required for the IPUMM freshly into a new location and modified the fc_PATH in apps/configs/<soc_id and config>/cfg.mk to the latest path and the error was resolved.

    Thank you for the support.

    Regards,
    Sunil