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.

[FAQ] TDA4VM: IPC_Test on PSDK QNX 7.2 / PSDK QNX 7.3

Guru** 110081 points
Part Number: TDA4VM

Is ipc_test supported on PSDK QNX 7.2 and PSDK QNX 7.3?

  • Yes the ipc_test test utility is supported on PSDK QNX 7.2 as well as PSDK QNX 7.3.   

    Note: For MCU1_0/1 to function as part of this IPC test, code modifications are required. TI is working on instructions on how this can be achieved. 

    For build and install the required binaries and firmware images on an SPL (uboot), SD boot environment, the below steps can be followed:

    1) Install  PSDK QNX 7.2 or PSDK QNX 7.3 following  documentation at Processor SDK QNX — Processor SDK QNX (ti.com).

    2) As per installation build documentation run all the steps, for PSDK QNX up to and including "make sdk", which will build everything for the vision_apps demos, A72 / R5 / C7x / C66x etc.   

    3) When building from the Vision Apps folder in PSDK 7.3 only , due to system memory map changes a VRING_BASE_ADDRESS 0xB0000000U will be used.    All Vision Apps firmware binaries, will expect this address, as will all QNX binaries (ie tiipc-rmgr).

    If ipc_test (ipc_echo_test) is to desired to be run, then the A72 QNX binaries must be rebuilt from the psdkqa/qnx directory as below.  This will ensure that a  VRING_BASE_ADDRESS 0xAA000000U is used QNX binaries (ie tiipc-rmgr):

    cd <PSDK_RELEASE>/psdkqa/qnx
    make all VISION_APPS_BUILD_FLAGS_MAK=0
     

    4) In the <PSDK_RELEASE>/vision_apps folder run,  "make qnx_fs_install_sd".  

    5) Build and copy to the SD card, the IPC test remote core images using commands in text file below.

    Build and Copy commands for PSDK QNX 7.2 and PSDK QNX7.3

    7382.ipc_test.txt
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    ###############################################################################
    # PSDK QNX 7.2
    ###############################################################################
    export SDK_INSTALL_PATH=/home/${USERNAME}/ti-processor-sdk-rtos-j721e-evm-07_01_00_11
    export TOOLS_INSTALL_PATH=${SDK_INSTALL_PATH}
    export PDK_INSTALL_PATH=${SDK_INSTALL_PATH}/pdk_jacinto_07_01_05_14/packages
    export PDK_INSTALL_DIR=${SDK_INSTALL_PATH}/pdk_jacinto_07_01_05_14/packages
    # Build remote cores
    cd ${PDK_INSTALL_PATH}/ti/build
    make BUILD_PROFILE=release BOARD=j721e_evm TREAT_WARNINGS_AS_ERROR=no DISABLE_RECURSE_DEPS=no CORE=mcu1_1 ex02_bios_multicore_echo_test
    make BUILD_PROFILE=release BOARD=j721e_evm TREAT_WARNINGS_AS_ERROR=no DISABLE_RECURSE_DEPS=no CORE=mcu2_0 ex02_bios_multicore_echo_test
    make BUILD_PROFILE=release BOARD=j721e_evm TREAT_WARNINGS_AS_ERROR=no DISABLE_RECURSE_DEPS=no CORE=mcu2_1 ex02_bios_multicore_echo_test
    make BUILD_PROFILE=release BOARD=j721e_evm TREAT_WARNINGS_AS_ERROR=no DISABLE_RECURSE_DEPS=no CORE=mcu3_0 ex02_bios_multicore_echo_test
    make BUILD_PROFILE=release BOARD=j721e_evm TREAT_WARNINGS_AS_ERROR=no DISABLE_RECURSE_DEPS=no CORE=mcu3_1 ex02_bios_multicore_echo_test
    make BUILD_PROFILE=release BOARD=j721e_evm TREAT_WARNINGS_AS_ERROR=no CORE=c66xdsp_1 ex02_bios_multicore_echo_test
    make BUILD_PROFILE=release BOARD=j721e_evm TREAT_WARNINGS_AS_ERROR=no CORE=c66xdsp_2 ex02_bios_multicore_echo_test
    make BUILD_PROFILE=release BOARD=j721e_evm TREAT_WARNINGS_AS_ERROR=no CORE=c7x_1 ex02_bios_multicore_echo_test
    make BUILD_PROFILE=release BOARD=j721e_evm TREAT_WARNINGS_AS_ERROR=no DISABLE_RECURSE_DEPS=no CORE=mcu1_0 ex02_bios_multicore_echo_testb
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Boot Log and IPC Test Log PSDK QNX 7.2

    psdk_qnx_72_boot_log_ipc_test .txt
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    U-Boot SPL 2020.01-g3c9ebdb87d (Jan 25 2021 - 04:06:36 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0014 '20.8.5--v2020.08b (Terrific Lla')
    Trying to boot from MMC2
    Loading Environment from MMC... *** Warning - No MMC card found, using default environment
    Starting ATF on ARM64 core...
    NOTICE: BL31: v2.3():07.01.00.006-dirty
    NOTICE: BL31: Built : 03:49:38, Jan 25 2021
    U-Boot SPL 2020.01-g3c9ebdb87d (Jan 25 2021 - 04:02:01 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0014 '20.8.5--v2020.08b (Terrific Lla')
    Detected: J7X-BASE-CPB rev E3
    Detected: J7X-VSC8514-ETH rev E2
    Trying to boot from MMC2
    U-Boot 2020.01-g3c9ebdb87d (Jan 25 2021 - 04:02:01 +0000)
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Boot Log and IPC Test  Log PSDK QNX 7.3

    psdk_qnx_73_boot_log_ipc_test.txt
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    U-Boot SPL 2020.01-g2781231a33 (Apr 10 2021 - 01:08:23 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
    Trying to boot from MMC2
    Loading Environment from MMC... *** Warning - No MMC card found, using default environment
    Starting ATF on ARM64 core...
    NOTICE: BL31: v2.4(release):07.03.00.005-dirty
    NOTICE: BL31: Built : 00:15:40, Apr 10 2021
    U-Boot SPL 2020.01-g2781231a33 (Apr 10 2021 - 00:17:14 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
    Detected: J7X-BASE-CPB rev E3
    Detected: J7X-VSC8514-ETH rev E2
    Trying to boot from MMC2
    U-Boot 2020.01-g2781231a33 (Apr 10 2021 - 00:17:14 +0000)
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX