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.

DRA821U: Building Platform SDK 09-01

Part Number: DRA821U


Tool/software:

Hello I am in the process of installing the processor SDK for QNX.

One substep is to install the matching RTOS SDK 09-01.

Please guide me to the detailed installation instructions.

The following fails:

export SOC=j7200

export TISDK_IMAGE=default

I try to execute the script PLATTFORM_SDK/sdk_build/scripts/setup_psdk_rtos.sh (I already installed the deb packages, so no need to run it with sudo).

Output:

SOC env variable set as j7200
TISDK_IMAGE env variable set as default

Skipping apt-get install, ensure all required packages are installed on the machine by sudo user

[psdk linux tisdk-default-image-j7200-evm.tar.xz] Checking ...

ERROR: Missing /home/moj5lr/TI_SDK/ti-processor-sdk-rtos-j7200-evm-09_01_00_07/tisdk-default-image-j7200-evm.tar.xz.  Download and try again

  • I downloaded the different packages from the Linux SDK (can you please point to where that is written in the documentation).

    I set the variable SDK_INSTALL_PATH to the ti installation folder.

    When I try make clean in the top level PDK build folder, I am getting the following error:

    moj5lr@LR-V-00067:~/TI_SDK/ti-processor-sdk-rtos-j7200-evm-09_01_00_07/pdk_j7200_09_01_00_22/packages/ti/build$ make clean
    make -C /home/moj5lr/TI_SDK/ti-processor-sdk-rtos-j7200-evm-09_01_00_07/pdk_j7200_09_01_00_22/packages/ti/csl/arch -fmakefile_init.mk clean
    make[1]: Entering directory '/home/moj5lr/TI_SDK/ti-processor-sdk-rtos-j7200-evm-09_01_00_07/pdk_j7200_09_01_00_22/packages/ti/csl/arch'
    /bin/rm -f -rf /home/moj5lr/TI_SDK/ti-processor-sdk-rtos-j7200-evm-09_01_00_07/pdk_j7200_09_01_00_22/packages/ti/binary/ti/csl/arch/obj/j721e/r5f/release/* /home/moj5lr/TI_SDK/ti-processor-sdk-rtos-j7200-evm-09_01_00_07/pdk_j7200_09_01_00_22/packages/ti/binary/ti/csl/arch/obj/j721e/r5f/release/little/.deps/* /home/moj5lr/TI_SDK/ti-processor-sdk-rtos-j7200-evm-09_01_00_07/pdk_j7200_09_01_00_22/packages/ti/csl/lib/j721e/r5f/release/ti.csl.init.aer5f /home/moj5lr/TI_SDK/ti-processor-sdk-rtos-j7200-evm-09_01_00_07/pdk_j7200_09_01_00_22/packages/ti/csl/lib/j721e/r5f/release/ti.csl.init.aer5f_size.txt
    make[1]: Leaving directory '/home/moj5lr/TI_SDK/ti-processor-sdk-rtos-j7200-evm-09_01_00_07/pdk_j7200_09_01_00_22/packages/ti/csl/arch'
    make -C /home/moj5lr/TI_SDK/ti-processor-sdk-rtos-j7200-evm-09_01_00_07/pdk_j7200_09_01_00_22/packages/ti/csl/src/intc -fmakefile.mk clean
    make[1]: *** /home/moj5lr/TI_SDK/ti-processor-sdk-rtos-j7200-evm-09_01_00_07/pdk_j7200_09_01_00_22/packages/ti/csl/src/intc: No such file or directory.  Stop.
    make: *** [makefile:408: csl_intc_clean] Error 2

    When I try to build everything for the BOARD=j7200 and CORE=mcu1_0 in the SBL build folder, I am getting the following error:

    Error opening input image file! /home/moj5lr/TI_SDK/ti-processor-sdk-rtos-j7200-evm-09_01_00_07/pdk_j7200_09_01_00_22/packages/ti/boot/sbl/build/../../../../ti/boot/sbl/example/k3MulticoreApp/binary/j784s4/sbl_boot_test_j784s4_evm_mcu1_0TestApp_release.rprc
    Error opening input image file! /home/moj5lr/TI_SDK/ti-processor-sdk-rtos-j7200-evm-09_01_00_07/pdk_j7200_09_01_00_22/packages/ti/boot/sbl/build/../../../../ti/boot/sbl/example/k3MulticoreApp/binary/j784s4/sbl_boot_test_j784s4_evm_c7x_1TestApp_release.rprc
    Error opening input image file! /home/moj5lr/TI_SDK/ti-processor-sdk-rtos-j7200-evm-09_01_00_07/pdk_j7200_09_01_00_22/packages/ti/boot/sbl/build/../../../../ti/boot/sbl/example/k3MulticoreApp/binary/j784s4/sbl_boot_test_j784s4_evm_c7x_2TestApp_release.rprc
    Error opening input image file! /home/moj5lr/TI_SDK/ti-processor-sdk-rtos-j7200-evm-09_01_00_07/pdk_j7200_09_01_00_22/packages/ti/boot/sbl/build/../../../../ti/boot/sbl/example/k3MulticoreApp/binary/j784s4/sbl_boot_test_j784s4_evm_c7x_3TestApp_release.rprc
    Error opening input image file! /home/moj5lr/TI_SDK/ti-processor-sdk-rtos-j7200-evm-09_01_00_07/pdk_j7200_09_01_00_22/packages/ti/boot/sbl/build/../../../../ti/boot/sbl/example/k3MulticoreApp/binary/j784s4/sbl_boot_test_j784s4_evm_c7x_4TestApp_release.rprc
    make[4]: *** [/home/moj5lr/TI_SDK/ti-processor-sdk-rtos-j7200-evm-09_01_00_07/pdk_j7200_09_01_00_22/packages/ti/boot/sbl/build/../../../../ti/boot/sbl/build/sbl_multicore_boot_test.mk:30: force_multi_core_img_gen.c] Segmentation fault (core dumped)
    make[4]: Leaving directory '/home/moj5lr/TI_SDK/ti-processor-sdk-rtos-j7200-evm-09_01_00_07/pdk_j7200_09_01_00_22/packages/ti/boot/sbl/example/k3MulticoreApp'
    make[3]: *** [/home/moj5lr/TI_SDK/ti-processor-sdk-rtos-j7200-evm-09_01_00_07/pdk_j7200_09_01_00_22/packages/ti/boot/sbl/build/../../../../ti/build/makefile:368: sbl_multicore_boot_test] Error 2
    make[3]: Leaving directory '/home/moj5lr/TI_SDK/ti-processor-sdk-rtos-j7200-evm-09_01_00_07/pdk_j7200_09_01_00_22/packages/ti/boot/sbl/build'
    make[2]: *** [/home/moj5lr/TI_SDK/ti-processor-sdk-rtos-j7200-evm-09_01_00_07/pdk_j7200_09_01_00_22/packages/ti/boot/sbl/build/../../../../ti/build/makefile:128: sbl_multicore_boot_test_has_dep] Error 2
    make[2]: Leaving directory '/home/moj5lr/TI_SDK/ti-processor-sdk-rtos-j7200-evm-09_01_00_07/pdk_j7200_09_01_00_22/packages/ti/boot/sbl/build'
    make[1]: *** [/home/moj5lr/TI_SDK/ti-processor-sdk-rtos-j7200-evm-09_01_00_07/pdk_j7200_09_01_00_22/packages/ti/boot/sbl/build/../../../../ti/build/makefile:150: all_apps] Error 2
    make[1]: Leaving directory '/home/moj5lr/TI_SDK/ti-processor-sdk-rtos-j7200-evm-09_01_00_07/pdk_j7200_09_01_00_22/packages/ti/boot/sbl/build'
    make: *** [/home/moj5lr/TI_SDK/ti-processor-sdk-rtos-j7200-evm-09_01_00_07/pdk_j7200_09_01_00_22/packages/ti/boot/sbl/build/../../../../ti/build/comp_top.mk:80: all] Error 2

  • Hi,

    Please note that the PDK QNX is dependent on the PSDK RTOS, which is dependent on the PSDK Linux-provided boots and rootfs tar files.

    Once you have untar PSDK RTOS, we would need to download the files:  tisdk-default-image-j7200-evm.tar.xz  and boot-default-j7200-evm.tar.gz  https://www.ti.com/tool/download/PROCESSOR-SDK-LINUX-J7200/09.01.00.07 and copy to this RTOS directory. say SDK_INSTALL_DIR!

    Now, we can call:

    cd <SDK_INSTALL_DIR>
    ./sdk_build/scripts/setup_psdk_rtos.sh

    This would set up the RTOS SDK properly.

    For QNX, we suggest following the steps listed here: software-dl.ti.com/.../getting_started_j7200.html

    Thanks.

  • moj5lr@LR-V-00067:~/TI_SDK/ti-processor-sdk-rtos-j7200-evm-09_01_00_07/pdk_j7200_09_01_00_22/packages/ti/build$ make clean

    Can you tell us your motivation and what you are trying to build so we can help guide you?

    Can you follow the steps mentioned here:  https://software-dl.ti.com/jacinto7/esd/processor-sdk-qnx-j7200/09_01_00_06/exports/docs/build_steps_j7200.html

    Thanks.

  • Hi,

    in a first step I want to test if I am able to build the SBL since we are planning customizations.

    However I keep running in the errors described above.

    I already tried building the SBL for J721E, which works fine, however I am not able to build it for J7200.

  • Hello,

    no I did not download and install the QNX packages yet.

    Is that required for building the SBL and packages from the Plattform SDK?

    Thank you in advance.

  • Is that required for building the SBL and packages from the Plattform SDK?

    It is not required. However, the documentation link shared has clear steps for building SBL and other components needed for QNX running on A72.

    Thanks.

  • Here is what I did as already described:

    I downloaded the RTOS packages 09.01.

    I setup the environment variables:

    SOC, TI_DEV_BOARD and TISDK_IMAGE.

    I executed the setup script and that is it.

    I do not want to build some sample ethernet application or similar I just want to be able to only build SBL for now. Performing those steps I end up in the errors described above.

  • ok, Here are the steps in detail if you would like to build SBL:

    -1- Go to RTOS install dir

    cd <SDK_INSTALL_DIR>
    export SOC=j7200
    export TISDK_IMAGE=default

    -2- Download and copy boot-default-j7200-evm.tar.gz and tisdk-default-image-j7200-evm.tar.xz to the <SDK_INSTALL_DIR>

    -3- Clean and build sbl

    cd pdk_j7200_09_01_00_22/packages/ti/build
    export TOOLS_INSTALL_PATH=${HOME}/ti
    make sbl_mmcsd_img_clean DISABLE_RECURSE_DEPS=no BOARD=j7200_evm CORE=mcu1_0
    make sbl_mmcsd_img DISABLE_RECURSE_DEPS=no BOARD=j7200_evm CORE=mcu1_0

    Thanks.