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.

PROCESSOR-SDK-J784S4: [TDA4x / PSDK 10.1] Adding QNX SDP 8.0 (800) Support — Build Configuration & Compatibility Questions

Part Number: PROCESSOR-SDK-J784S4

Tool/software:

Hello, TI Expert,

In PSDK 10.1 the file
c7x-mma-tidl/arm-tidl/config.mk
defines build variables only for QNX SDP 7.0 and 7.1.
To work with QNX SDP 8.0 (800) I inserted the section below.
Could you please confirm whether this is the correct approach and advise on any additional changes needed?

export QNX_SDP_VERSION ?= 710
ifeq ($(QNX_SDP_VERSION),700)
  export QNX_BASE ?= $(HOME)/qnx700
  export QNX_CROSS_COMPILER_TOOL ?= aarch64-unknown-nto-qnx7.0.0-
else ifeq ($(QNX_SDP_VERSION),800)
  export QNX_BASE ?= $(HOME)/qnx800
  export QNX_CROSS_COMPILER_TOOL ?= aarch64-unknown-nto-qnx8.0.0-
  export QNX_TARGET ?= $(QNX_BASE)/target/qnx
  PATH := $(QNX_BASE)/host/linux/x86_64/usr/bin:$(PATH)
else
  export QNX_BASE ?= $(HOME)/qnx710
  export QNX_CROSS_COMPILER_TOOL ?= aarch64-unknown-nto-qnx7.1.0-
  # Adding this path for QNX SDP 7.1 so g++ can invoke ld correctly
  PATH := $(QNX_BASE)/host/linux/x86_64/usr/bin:$(PATH)
endif
export QNX_HOST   ?= $(QNX_BASE)/host/linux/x86_64
export QNX_TARGET ?= $(QNX_BASE)/target/qnx7
export GCC_QNX_ROOT      ?= $(QNX_HOST)/usr/bin
export GCC_QNX_ARM_ROOT  ?= $(QNX_HOST)/usr/bin
export GCC_QNX_ARM       ?= $(QNX_HOST)/usr/bin

Question

1. Besides the changes above, are there any other files or variables that must be updated to build TDA4x (C7x-MMA TIDL) with QNX SDP 8.0 on PSDK 10.1?

  • e.g., adjustments to QNX_TARGET/QNX_HOST, build scripts, GCC version requirements, etc.

Best Regards,

Hyeonseong.

  • Hi,

    Could you please confirm whether this is the correct approach and advise on any additional changes needed?

    The changes added for SDP 8.0 are appropriate. 

    1. Besides the changes above, are there any other files or variables that must be updated to build TDA4x (C7x-MMA TIDL) with QNX SDP 8.0 on PSDK 10.1?

    • e.g., adjustments to QNX_TARGET/QNX_HOST, build scripts, GCC version requirements, etc.

    We support building fo the tiovx_kernels in the TI SDK. For this:

    - The makefile in c7x-mma-tidl/arm-tidl/tiovx_kernel has the required rule for BUILD_QNX_MPU is set to yes.

    - All the concerto.mak files inside the c7x-mma-tidl/arm-tidl/tiovx_kernel has the required GCC_ONX_ARM check.

    Let us know.

    Thanks.