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.

DRA829J: QNX build issue with PSDK

Part Number: DRA829J
Other Parts Discussed in Thread: SYSBIOS

Hi,

I'm trying to build TI BSP for QNX. I downloaded and installed TI RTOS SDK and PSDK as per the steps mentioned in the user guide.

Now when build BSP, I'm getting below error.

/home/abishekkumk/development/qnx710/host/linux/x86_64/usr/bin/qcc -Vgcc_ntoaarch64 -Wl,--no-keep-memory -o /home/abishekkumk/development/qnx710/bsp/src/hardware/flash/boards/j7-ospi/aarch64/le/devf-j7-ospi f3s_ospi_close.o f3s_ospi_main.o f3s_ospi_open.o f3s_ospi_page.o f3s_ospi_status.o j7ospi-udma.o j7ospi.o mt35x_erase.o mt35x_ident.o mt35x_read.o mt35x_reset.o mt35x_resume.o mt35x_suspend.o mt35x_sync.o mt35x_write.o -L. -L/home/abishekkumk/development/qnx710/bsp/src/hardware/flash/mtd-flash/aarch64/a.le -L/home/abishekkumk/development/qnx710/bsp/src/hardware/flash/boards/../../../../install/aarch64le/lib -L/home/abishekkumk/development/qnx710/bsp/src/hardware/flash/boards/../../../../install/aarch64le/usr/lib -L/home/abishekkumk/development/qnx710/target/qnx7/aarch64le/lib -L/home/abishekkumk/development/qnx710/target/qnx7/aarch64le/usr/lib -Wl,--rpath-link,. -Wl,--rpath-link,/home/abishekkumk/development/qnx710/bsp/src/hardware/flash/mtd-flash/aarch64/a.le -Wl,--rpath-link,/home/abishekkumk/development/qnx710/bsp/src/hardware/flash/boards/../../../../install/aarch64le/lib -Wl,--rpath-link,/home/abishekkumk/development/qnx710/bsp/src/hardware/flash/boards/../../../../install/aarch64le/usr/lib -Wl,--rpath-link,/home/abishekkumk/development/qnx710/target/qnx7/aarch64le/lib -Wl,--rpath-link,/home/abishekkumk/development/qnx710/target/qnx7/aarch64le/usr/lib -lfs-flash3 -lmtd-flash -lcache -l/home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/psdkqa//pdk/packages/ti/drv/udma/lib/j721e/qnx_mpu1_0/release/udma_apputils.aa72fg -l/home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/psdkqa//pdk/packages/ti/drv/udma/lib/j721e/qnx_mpu1_0/release/udma.aa72fg -l/home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/psdkqa//pdk/packages/ti/osal/lib/qnx/j721e/qnx_a72/release/ti.osal.aa72fg -l/home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/psdkqa//pdk/packages/ti/drv/sciclient/lib/j721e/qnx_mpu1_0/release/sciclient.aa72fg -l/home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/psdkqa//pdk/packages/ti/csl/lib/j721e/qnx_a72/release/ti.csl.aa72fg -l/home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/psdkqa//qnx/resmgr/udma_qnx_rsmgr/usr/aarch64/a.le/libtiudma-usr.a -lcache -EL
/home/abishekkumk/development/qnx710/host/linux/x86_64/usr/bin/aarch64-unknown-nto-qnx7.1.0-ld: cannot find /home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/psdkqa//pdk/packages/ti/drv/udma/lib/j721e/qnx_mpu1_0/release/udma_apputils.aa72fg: No such file or directory
/home/abishekkumk/development/qnx710/host/linux/x86_64/usr/bin/aarch64-unknown-nto-qnx7.1.0-ld: cannot find /home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/psdkqa//pdk/packages/ti/drv/udma/lib/j721e/qnx_mpu1_0/release/udma.aa72fg: No such file or directory
/home/abishekkumk/development/qnx710/host/linux/x86_64/usr/bin/aarch64-unknown-nto-qnx7.1.0-ld: cannot find /home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/psdkqa//pdk/packages/ti/osal/lib/qnx/j721e/qnx_a72/release/ti.osal.aa72fg: No such file or directory
/home/abishekkumk/development/qnx710/host/linux/x86_64/usr/bin/aarch64-unknown-nto-qnx7.1.0-ld: cannot find /home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/psdkqa//pdk/packages/ti/drv/sciclient/lib/j721e/qnx_mpu1_0/release/sciclient.aa72fg: No such file or directory
/home/abishekkumk/development/qnx710/host/linux/x86_64/usr/bin/aarch64-unknown-nto-qnx7.1.0-ld: cannot find /home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/psdkqa//pdk/packages/ti/csl/lib/j721e/qnx_a72/release/ti.csl.aa72fg: No such file or directory
/home/abishekkumk/development/qnx710/host/linux/x86_64/usr/bin/aarch64-unknown-nto-qnx7.1.0-ld: cannot find /home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/psdkqa//qnx/resmgr/udma_qnx_rsmgr/usr/aarch64/a.le/libtiudma-usr.a: No such file or directory
/home/abishekkumk/development/qnx710/target/qnx7/usr/include/mk/qtargets.mk:43: recipe for target '/home/abishekkumk/development/qnx710/bsp/src/hardware/flash/boards/j7-ospi/aarch64/le/devf-j7-ospi' failed
make[7]: *** [/home/abishekkumk/development/qnx710/bsp/src/hardware/flash/boards/j7-ospi/aarch64/le/devf-j7-ospi] Error 1

Its seems that it looks for the libs for the core qnx_mpu1_0. But this is not present in the packages/ti/drv/udma/lib/j721e/ whereas mpu1_0 is present in that location. Is there anything I'm missing in the configuration?

Thanks

  • Hi Abishek,

    The PSDK QNX 7.2 release does not have any known build issues, so expectation is that this is related to a build or installation step being missed.

    As you have indicated, it appears some the QNX A72 content has not been built, and if the QNX A72 files have not been built, then the errors being seen are expected.  The missing libraries must first be built by running "make sdk" in the vision_apps directory. 

    1) Could you verify that the steps in Vision Apps User Guide: Build Instructions, have been followed, paying close attention to the BUILD_LINUX_A72=no, and the BUILD_QNX_A72=no.

    2) Could you please run the below commands and upload full build log

    cd vision_apps

    make sdk_scrub

    make sdk_clean

    make sdk

    Once the vision_apps, "sdk" target has been built, the BSP can then be modified and rebuilt directly from the psdkqa/qnx/bsp directory if desired.

    Regards,

    kb

  • Hi KB,

    Thanks for the quick reply.

    Regarding QNX SDK, I'm not using QNX SDK 7.2 instead I use 7.1. Does the PSDK release has any issues with that?

    For the build, I've followed your guidelines. And as per the guidelines, I kept the below settings in  tiovx/build_flags.mak 

    BUILD_EMULATION_MODE=no
    BUILD_TARGET_MODE=yes
    BUILD_LINUX_A72=no
    BUILD_QNX_A72=yes
    PROFILE=release

    After that I get the below error while doing "make sdk_scrub". There is an error that path not found. I think it looks for toolchain in different place. Is it still I'm missing something?

    SHELL=/bin/sh
    TARGET_MAKEFILES=applibs/srv_bowl_lut_gen_applib/concerto.mak applibs/srv_calibration_applib/concerto.mak applibs/test/concerto.mak apps/basic_demos/app_c7x_kernel/c7x/concerto.mak apps/basic_demos/app_c7x_kernel/concerto.mak apps/basic_demos/app_dof/concerto.mak apps/basic_demos/app_dof2/concerto.mak apps/basic_demos/app_encode/concerto.mak apps/basic_demos/app_fd_exchange/concerto.mak apps/basic_demos/app_heap_stats/concerto.mak apps/basic_demos/app_ipc/concerto.mak apps/basic_demos/app_linux_arm_opengl_mosaic/concerto.mak apps/basic_demos/app_load_test/concerto.mak apps/basic_demos/app_mem/concerto.mak apps/basic_demos/app_multi_cam/concerto.mak apps/basic_demos/app_remote_log/concerto.mak apps/basic_demos/app_single_cam/concerto.mak apps/basic_demos/app_stereo/concerto.mak apps/basic_demos/app_test_framework/concerto.mak apps/basic_demos/app_tirtos/common/concerto.mak apps/basic_demos/app_tirtos/tirtos_linux/c66x_1/concerto.mak apps/basic_demos/app_tirtos/tirtos_linux/c66x_2/concerto.mak apps/basic_demos/app_tirtos/tirtos_linux/c7x_1/concerto.mak apps/basic_demos/app_tirtos/tirtos_linux/concerto.mak apps/basic_demos/app_tirtos/tirtos_linux/mcu1_0/concerto.mak apps/basic_demos/app_tirtos/tirtos_linux/mcu1_1/concerto.mak apps/basic_demos/app_tirtos/tirtos_linux/mcu2_0/concerto.mak apps/basic_demos/app_tirtos/tirtos_linux/mcu2_1/concerto.mak apps/basic_demos/app_tirtos/tirtos_linux/mcu3_0/concerto.mak apps/basic_demos/app_tirtos/tirtos_linux/mcu3_1/concerto.mak apps/basic_demos/app_tirtos/tirtos_linux/mpu1/concerto.mak apps/basic_demos/app_tirtos/tirtos_qnx/c66x_1/concerto.mak apps/basic_demos/app_tirtos/tirtos_qnx/c66x_2/concerto.mak apps/basic_demos/app_tirtos/tirtos_qnx/c7x_1/concerto.mak apps/basic_demos/app_tirtos/tirtos_qnx/concerto.mak apps/basic_demos/app_tirtos/tirtos_qnx/mcu1_0/concerto.mak apps/basic_demos/app_tirtos/tirtos_qnx/mcu1_1/concerto.mak apps/basic_demos/app_tirtos/tirtos_qnx/mcu2_0/concerto.mak apps/basic_demos/app_tirtos/tirtos_qnx/mcu2_1/concerto.mak apps/basic_demos/app_tirtos/tirtos_qnx/mcu3_0/concerto.mak apps/basic_demos/app_tirtos/tirtos_qnx/mcu3_1/concerto.mak apps/basic_demos/app_tirtos/tirtos_qnx/mpu1/concerto.mak apps/basic_demos/app_vx_conformance/concerto.mak apps/basic_demos/app_vx_tutorial/concerto.mak apps/concerto.mak apps/dl_demos/app_tidl/concerto.mak apps/dl_demos/app_tidl_avp/concerto.mak apps/dl_demos/app_tidl_avp2/concerto.mak apps/dl_demos/app_tidl_avp3/concerto.mak apps/dl_demos/app_tidl_avp4/concerto.mak apps/dl_demos/app_tidl_cam/concerto.mak apps/dl_demos/app_tidl_od/concerto.mak apps/dl_demos/app_tidl_od_cam/concerto.mak apps/dl_demos/app_tidl_seg/concerto.mak apps/dl_demos/app_tidl_seg_cam/concerto.mak apps/dl_demos/app_tidl_vl/concerto.mak apps/ptk_demos/app_common/concerto.mak apps/ptk_demos/app_dof_sfm_fisheye/concerto.mak apps/ptk_demos/app_lidar_ogmap/concerto.mak apps/ptk_demos/app_sde/concerto.mak apps/ptk_demos/app_sde_obstacle_detection/concerto.mak apps/ptk_demos/app_surround_radar_ogmap/concerto.mak apps/ptk_demos/app_valet_parking/concerto.mak apps/ptk_demos/applibs/applib_common/concerto.mak apps/ptk_demos/applibs/fused_ogmap_applib/concerto.mak apps/ptk_demos/applibs/lidar_ogmap_applib/concerto.mak apps/ptk_demos/applibs/ps_mapping_applib/concerto.mak apps/ptk_demos/applibs/radar_gtrack_applib/concerto.mak apps/ptk_demos/applibs/sde_ldc_applib/concerto.mak apps/ptk_demos/applibs/sde_multilayer_applib/concerto.mak apps/ptk_demos/applibs/sde_obstacle_detection_applib/concerto.mak apps/ptk_demos/applibs/sde_singlelayer_applib/concerto.mak apps/ptk_demos/applibs/semseg_cnn_applib/concerto.mak apps/ptk_demos/applibs/ss_sde_detection_applib/concerto.mak apps/ptk_demos/applibs/surround_radar_ogmap_applib/concerto.mak apps/ptk_demos/applibs/surround_sfm_ogmap_applib/concerto.mak apps/srv_demos/app_srv_calibration/concerto.mak apps/srv_demos/app_srv_camera/concerto.mak apps/srv_demos/app_srv_fileio/concerto.mak kernels/common/target/concerto.mak kernels/fileio/arm/concerto.mak kernels/fileio/host/concerto.mak kernels/img_proc/a72/concerto.mak kernels/img_proc/c66/concerto.mak kernels/img_proc/host/concerto.mak kernels/img_proc/r5f/concerto.mak kernels/lidar/arm/concerto.mak kernels/lidar/host/concerto.mak kernels/park_assist/host/concerto.mak kernels/park_assist/target/concerto.mak kernels/sample/a72/concerto.mak kernels/sample/host/concerto.mak kernels/sample/r5f/concerto.mak kernels/srv/c66/concerto.mak kernels/srv/gpu/3dsrv/Tools/concerto.mak kernels/srv/gpu/3dsrv/concerto.mak kernels/srv/gpu/concerto.mak kernels/srv/host/concerto.mak kernels/srv/test/concerto.mak kernels/stereo/host/concerto.mak kernels/stereo/target/bam/concerto.mak kernels/stereo/target/concerto.mak kernels/stereo/test/concerto.mak modules/src/concerto.mak utils/console_io/src/concerto.mak utils/draw2d/src/concerto.mak utils/dss/src/concerto.mak utils/ethfw/src/concerto.mak utils/grpx/src/concerto.mak utils/hwa/src/concerto.mak utils/ipc/src/concerto.mak utils/iss/src/concerto.mak utils/itt_server/src/concerto.mak utils/mem/src/concerto.mak utils/misc/src/concerto.mak utils/mmc_sd/src/concerto.mak utils/network_api/src/concerto.mak utils/opengl/src/a72/concerto.mak utils/opengl/src/pc/concerto.mak utils/pcie/src/concerto.mak utils/perf_stats/src/concerto.mak utils/remote_service/src/concerto.mak utils/sciclient/src/concerto.mak utils/sciserver/src/concerto.mak utils/sensors/src/concerto.mak utils/udma/src/concerto.mak
    file TIARMCGT_ROOT=$(PSDK_PATH)/ti-cgt-arm_20.2.0.LTS
    file GCC_SYSBIOS_ARM_ROOT=$(PSDK_PATH)/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf
    file CGT6X_ROOT=$(PSDK_PATH)/ti-cgt-c6000_8.3.7
    file CGT7X_ROOT=$(PSDK_PATH)/ti-cgt-c7000_1.4.0.LTS
    undefined GCC_WINDOWS_ROOT=
    file GCC_LINUX_ROOT=/usr/
    file GCC_QNX_ROOT=$(QNX_HOST)/usr/bin
    #######################################################################
    TARGET_COMBO=J7:SYSBIOS:R5F:3:release:TIARMCGT
    HOST_ROOT=/home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/vision_apps
    HOST_COMPILER=TIARMCGT
    HOST_PLATFORM=PC
    HOST_OS=LINUX
    HOST_CPU=x86_64
    HOST_ARCH=64
    HOST_FAMILY=x86_64
    HOST_NUM_CORES=4
    TARGET_OS=SYSBIOS
    TARGET_CPU=R5F
    TARGET_ARCH=32
    TARGET_FAMILY=ARM
    TARGET_NUM_CORES=3
    TARGET_PLATFORM=J7
    TARGET_BUILD=release
    TARGET_OUT=/home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/vision_apps/out/J7/R5F/SYSBIOS/release
    TARGET_DOC=/home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/vision_apps/out/J7/R5F/SYSBIOS/release/docs
    BUILD_DEFS = CUSTOM_KERNEL_PATH BUILD_TUTORIAL BUILD_CONFORMANCE_TEST
    J7_SYSBIOS_R5F_3_release_TIARMCGT_DEFS = SYSBIOS J7 R5F="R5F" TARGET_NUM_CORES=3 TARGET_ARCH=32 ARCH_32 ARM TARGET_BUILD=1
    J7_SYSBIOS_R5F_3_release_TIARMCGT_LDIRS =
    SCM_ROOT=
    SCM_VERSION=
    #######################################################################
    TARGET_COMBO=J7:SYSBIOS:C66:2:release:CGT6X
    HOST_ROOT=/home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/vision_apps
    HOST_COMPILER=CGT6X
    HOST_PLATFORM=PC
    HOST_OS=LINUX
    HOST_CPU=x86_64
    HOST_ARCH=64
    HOST_FAMILY=x86_64
    HOST_NUM_CORES=4
    TARGET_OS=SYSBIOS
    TARGET_CPU=C66
    TARGET_ARCH=32
    TARGET_FAMILY=DSP
    TARGET_NUM_CORES=2
    TARGET_PLATFORM=J7
    TARGET_BUILD=release
    TARGET_OUT=/home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/vision_apps/out/J7/C66/SYSBIOS/release
    TARGET_DOC=/home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/vision_apps/out/J7/C66/SYSBIOS/release/docs
    BUILD_DEFS = CUSTOM_KERNEL_PATH BUILD_TUTORIAL BUILD_CONFORMANCE_TEST
    J7_SYSBIOS_C66_2_release_CGT6X_DEFS = SYSBIOS J7 C66="C66" TARGET_NUM_CORES=2 TARGET_ARCH=32 ARCH_32 DSP TARGET_BUILD=1
    J7_SYSBIOS_C66_2_release_CGT6X_LDIRS =
    SCM_ROOT=
    SCM_VERSION=
    Build Skipped for kernels.stereo.target.bam.J7.SYSBIOS.C66.release:vx_target_kernels_stereo_bam
    #######################################################################
    TARGET_COMBO=J7:SYSBIOS:C71:1:release:CGT7X
    HOST_ROOT=/home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/vision_apps
    HOST_COMPILER=CGT7X
    HOST_PLATFORM=PC
    HOST_OS=LINUX
    HOST_CPU=x86_64
    HOST_ARCH=64
    HOST_FAMILY=x86_64
    HOST_NUM_CORES=4
    TARGET_OS=SYSBIOS
    TARGET_CPU=C71
    TARGET_ARCH=64
    TARGET_FAMILY=DSP
    TARGET_NUM_CORES=1
    TARGET_PLATFORM=J7
    TARGET_BUILD=release
    TARGET_OUT=/home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/vision_apps/out/J7/C71/SYSBIOS/release
    TARGET_DOC=/home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/vision_apps/out/J7/C71/SYSBIOS/release/docs
    BUILD_DEFS = CUSTOM_KERNEL_PATH BUILD_TUTORIAL BUILD_CONFORMANCE_TEST
    J7_SYSBIOS_C71_1_release_CGT7X_DEFS = SYSBIOS J7 C71="C71" TARGET_NUM_CORES=1 TARGET_ARCH=64 ARCH_64 DSP TARGET_BUILD=1
    J7_SYSBIOS_C71_1_release_CGT7X_LDIRS =
    SCM_ROOT=
    SCM_VERSION=
    #######################################################################
    TARGET_COMBO=J7:QNX:A72:1:release:GCC_QNX_ARM
    HOST_ROOT=/home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/vision_apps
    HOST_COMPILER=GCC_QNX_ARM
    HOST_PLATFORM=PC
    HOST_OS=LINUX
    HOST_CPU=x86_64
    HOST_ARCH=64
    HOST_FAMILY=x86_64
    HOST_NUM_CORES=4
    TARGET_OS=QNX
    TARGET_CPU=A72
    TARGET_ARCH=64
    TARGET_FAMILY=ARM
    TARGET_NUM_CORES=1
    TARGET_PLATFORM=J7
    TARGET_BUILD=release
    TARGET_OUT=/home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/vision_apps/out/J7/A72/QNX/release
    TARGET_DOC=/home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/vision_apps/out/J7/A72/QNX/release/docs
    BUILD_DEFS = CUSTOM_KERNEL_PATH BUILD_TUTORIAL BUILD_CONFORMANCE_TEST
    J7_QNX_A72_1_release_GCC_QNX_ARM_DEFS = QNX J7 A72="A72" TARGET_NUM_CORES=1 TARGET_ARCH=64 ARCH_64 ARM TARGET_BUILD=1
    J7_QNX_A72_1_release_GCC_QNX_ARM_LDIRS =
    SCM_ROOT=
    SCM_VERSION=
    Build Skipped for kernels.stereo.target.bam.J7.QNX.A72.release:vx_target_kernels_stereo_bam
    ERROR: /home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf not found !!!
    Ensure all dependencies have been downloaded as per software-dl.ti.com/.../ENVIRONMENT_SETUP.html
    makerules/makefile_check_paths.mak:7: recipe for target 'sdk_check_paths' failed

    Thanks,

    Abishek.

  • Hi Abishek

    Thanks for sharing the logs, regarding TI PSDK 7.2 vs. TI PSDK 7.1,

    In looking at provided logs the TI PSDK RTOS is showing "ti-processor-sdk-rtos-j721e-evm-07_02_00_06", which is TI PSDK RTOS 7.2

    If TI PSDK QNX 7.1 is desired, then TI PSDK RTOS 7.1 must be installed, and the log would show "ti-processor-sdk-rtos-j721e-evm-07_01_00_11"

    The version of the TI PSDK QNX and TI PSDK RTOS must be aligned. 

    Please be aware that the above TI SDK release number convention, and QNX SDP release numbering are close, but are not related.  

    So if your question is on QNX SDP 7.1, then the answer is that the TI PSDK 7.2 and TI PSDK 7.1 can support either QNX SDP 7.0 or QNX SDP 7.1, this is convered in the installation and build documentation.

    Please confirum the TI PSDK RTOS and TI PSDK QNX are the same release version.   There are no known build issues with SDK 7.1 or SDK 7.2

    Regards,

    kb

  • Hi KB,

    Thanks for the clarification about version information.

    I'm using the below versions

    TI PSDK QNX: 07_02_00

    TI PSDK RTOS: 07_02_00_06

    QNX SDP: 7.1

    Below are the environment setup

    PSDK_RTOS_PATH=/home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06
    PSDK_QNX_PATH=/home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/psdkqa
    PDK_PATH=/home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/pdk_jacinto_07_01_05_14
    QNX_BSP_NAME=BSP_ti-j721e-am752x-evm_br-710_be-710_SVN927158_JBN10.zip
    QNX_BSP_PATH=/home/abishekkumk/development/qnx710/bsp

    QNX_HOST=/home/abishekkumk/development/qnx710/host/linux/x86_64

    I'm not sure about the error ERROR: /home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf not found !!!

    I could see that GCC_SYSBIOS_ARM_ROOT=$(PSDK_PATH)/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf from the log. Also the error is related to that I think. I'm not sure why it is looking for SYSBIOS toolchain. Is that related to QNX? QNX toolchain is already set with QNX_HOST=/home/abishekkumk/development/qnx710/host/linux/x86_64.

    Can you please help me to resolve this issue?

    Thanks,

    Abishek.

  • Hi Abishek,

    Can you please confirm that Step 4 Download and Install Additional Dependencies, was run.

    Looking to validate that /home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf is present in the build environment under test.   

    The gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf, will be installed as part of the setup_psdk_rtos.sh script.

    Regards,

    kb

  • HI KB,

    Thanks for your reply.

    I followed the step earlier and it was giving error ERROR: Missing /home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/tisdk-default-image-j7-evm.tar.xz. I didn't continue after that since I was not bothered about building for Linux.

    After your suggestion, Now I downloaded Linux SDK too and ran the script. At the end I was getting error.

    ERROR: The following packages were not installed:
    libz1:i386
    libc6:i386
    libstdc++6:i386

    After that I continued building Vision apps by following the guide. Now I'm getting error related to EGL

    [GCC] Compiling C99 vx_generate_3dbowl_host.c
    In file included from /home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/targetfs//usr/include/EGL/egl.h:39,
    from /home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/vision_apps/utils/opengl/include/app_gl_egl_utils.h:70,
    from /home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/vision_apps/kernels/sample/a72/gpu_render2x2.h:71,
    from /home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/vision_apps/kernels/sample/a72/gpu_render2x2.c:62:
    /home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/targetfs//usr/include/EGL/eglplatform.h:156:2: error: #error "Platform not recognized"
    #error "Platform not recognized"
    ^~~~~
    /home/abishekkumk/development/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/targetfs//usr/include/EGL/eglplatform.h:160:9: error: unknown type name 'EGLNativeDisplayType'
    typedef EGLNativeDisplayType NativeDisplayType;

    I'm not sure why it necessary to download Linux SDK even I'm only interested in building for QNX based SOC. My requirement is to build QNX for TI with all TI drivers enabled so that I can run my target middle-ware on top of that.

    Thanks,

    Abishek.

  • Hi Abishek,

    Regarding the EGL error, this is not expected.  Two things to check:

    1) Have all the dependencies that are listed at 3.1. Release notes - 07_02_00 — Processor SDK QNX (ti.com), been downloaded / installed

    2) Compare file sizes to the below, expectation is the header files sizes do not match, likely indicating something in (1) has been missed

    release72/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/targetfs/usr/include/EGL$ ls -l
    total 96
    -rw-r--r-- 1 2473 Jan 24 19:41 eglextchromium.h
    -rw-r--r-- 1 62637 Jan 24 19:41 eglext.h
    -rw-r--r-- 1 15361 Jan 24 19:41 egl.h
    -rw-r--r-- 1 4077 Jan 24 19:41 eglmesaext.h
    -rw-r--r-- 1 5026 Jan 24 19:41 eglplatform.h

    Regards,

    kb

  • HI KB,

    Thanks for the details.

    With downloading all dependencies as you mentioned, finally I could build the sdk without error. BTW, I'm using TI SDK 7.01 version now (for internal project requirement).

    After building SDK, I could create image using qnx710/bsp/images/j721e-evm.build.

    I could also boot the TI J721E board with image generated. But I could not see any Ethernet interface. When I run command "ifconfig", I could see the following.

    # ifconfig
    lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33136
    inet 127.0.0.1 netmask 0xff000000
    inet6 ::1 prefixlen 128
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1

    I also tried with "io-pkt-v6-hc -d cpsw2g". But still couldn't get the ethernet up.

    Can you please suggest me how to enable ethernet inteface with QNX.

  • Great!  Thanks for the update Abishek.

    We try to keep threads to one topic.  On this note, can we please close this thread on the build setup, and open a new one for the ethernet.

    Thanks,

    kb