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.

AM62P: Processor SDK QNX AM62PX build fail

Part Number: AM62P

Tool/software:

We follow the steps in file:///D:/Project/Renault/Monolith/TI/sdk/AM62P_SDK_docs/overview.html to build QNX, but encounter below failure during make

Debug build is not set.. skipping!
Debug build is not set.. skipping!
make[3]: Leaving directory '/home/conti/qnx800/bsp/src/hardware/support/j7/am62p/psdkqa/qnx/codec/vpu/resmgrlib/aarch64/so.le.g'
make[2]: Leaving directory '/home/conti/qnx800/bsp/src/hardware/support/j7/am62p/psdkqa/qnx/codec/vpu/resmgrlib/aarch64'
make[1]: Leaving directory '/home/conti/qnx800/bsp/src/hardware/support/j7/am62p/psdkqa/qnx/codec/vpu/resmgrlib'
make -C /home/conti/qnx800/bsp/src/hardware/support/j7/am62p/psdkqa/qnx/codec/vpu/resmgr               PDK_INSTALL_PATH=/home/conti/qnx800/bsp/src/hardware/support/j7/am62p/psdkqa/pdk/packages PROFILE=release BOARD=am62px_evm SOC=am62px PSDK_QNX_VERSION_REL=PSDKQA_10_00 PSDK_QNX_TAGID=QNX800_am62px_evm PSDK_QNX_USE_DSO=1
make[1]: Entering directory '/home/conti/qnx800/bsp/src/hardware/support/j7/am62p/psdkqa/qnx/codec/vpu/resmgr'
make  -Caarch64 -fMakefile
make[2]: Entering directory '/home/conti/qnx800/bsp/src/hardware/support/j7/am62p/psdkqa/qnx/codec/vpu/resmgr/aarch64'
make -j 1 -Co.le -fMakefile  
make[3]: Entering directory '/home/conti/qnx800/bsp/src/hardware/support/j7/am62p/psdkqa/qnx/codec/vpu/resmgr/aarch64/o.le'
/home/conti/qnx800/host/linux/x86_64/usr/bin/qcc -Vgcc_ntoaarch64 -c -O2  -Wc,-Wall -DNDEBUG   -I. -I/home/conti/qnx800/bsp/src/hardware/support/j7/am62p/psdkqa/qnx/codec/vpu/resmgr/aarch64/o.le -I/home/conti/qnx800/bsp/src/hardware/support/j7/am62p/psdkqa/qnx/codec/vpu/resmgr/aarch64 -I/home/conti/qnx800/bsp/src/hardware/support/j7/am62p/psdkqa/qnx/codec/vpu/resmgr -I/home/conti/qnx800/bsp/src/hardware/support/j7/am62p/psdkqa/qnx/codec/vpu/resmgr/src -I/home/conti/qnx800/bsp/src/hardware/support/j7/am62p/psdkqa/pdk/packages -I/home/conti/qnx800/bsp/src/hardware/support/j7/am62p/psdkqa/qnx/codec/vpu/resmgr/inc -I/home/conti/qnx800/bsp/src/hardware/support/j7/am62p/psdkqa/qnx/codec/vpu/tivpucodec/vpulib/public -I/home/conti/qnx800/bsp/src/hardware/support/j7/am62p/psdkqa/qnx/codec/vpu/tivpucodec/encoder -I/home/conti/qnx800/bsp/src/hardware/support/j7/am62p/psdkqa/qnx/codec/vpu/tivpucodec/decoder -I/home/conti/qnx800/bsp/src/hardware/support/j7/am62p/psdkqa/qnx/codec/vpu/tivpucodec/helper -I/home/conti/qnx800/bsp/src/hardware/support/j7/am62p/psdkqa/qnx/codec/vpu/tivpucodec/common -I/home/conti/qnx800/bsp/src/hardware/support/j7/am62p/psdkqa/qnx/codec/vpu/resmgrlib/ -I/home/conti/qnx800/target/qnx/usr/include    -EL    -DVARIANT_le -DBUILDENV_qss  -DSOC_AM62PX -DQNX_RES_MGR -DQNX_OS -fPIC  -Wc,-MT,tivpu_mgr.o -Wc,-MMD -Wc,-MP -Wc,-MF,tivpu_mgr.dep /home/conti/qnx800/bsp/src/hardware/support/j7/am62p/psdkqa/qnx/codec/vpu/resmgr/src/tivpu_mgr.c
/home/conti/qnx800/bsp/src/hardware/support/j7/am62p/psdkqa/qnx/codec/vpu/resmgr/src/tivpu_mgr.c: In function 'main':
/home/conti/qnx800/bsp/src/hardware/support/j7/am62p/psdkqa/qnx/codec/vpu/resmgr/src/tivpu_mgr.c:257:67: error: 'PROCMGR_AID_KEYDATA' undeclared (first use in this function); did you mean 'PROCMGR_AID_MEM_ADD'?
  257 |                         PROCMGR_AOP_ALLOW | PROCMGR_ADN_NONROOT | PROCMGR_AID_KEYDATA,
      |                                                                   ^~~~~~~~~~~~~~~~~~~
      |                                                                   PROCMGR_AID_MEM_ADD
/home/conti/qnx800/bsp/src/hardware/support/j7/am62p/psdkqa/qnx/codec/vpu/resmgr/src/tivpu_mgr.c:257:67: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [/home/conti/qnx800/target/qnx/usr/include/mk/qrules.mk:69: tivpu_mgr.o] Error 1
make[3]: Leaving directory '/home/conti/qnx800/bsp/src/hardware/support/j7/am62p/psdkqa/qnx/codec/vpu/resmgr/aarch64/o.le'
make[2]: *** [recurse.mk:134: all] Error 2
make[2]: Leaving directory '/home/conti/qnx800/bsp/src/hardware/support/j7/am62p/psdkqa/qnx/codec/vpu/resmgr/aarch64'
make[1]: *** [recurse.mk:134: all] Error 2
make[1]: Leaving directory '/home/conti/qnx800/bsp/src/hardware/support/j7/am62p/psdkqa/qnx/codec/vpu/resmgr'

  • To delete the Micro PROCMGR_AID_KEYDATA,  we can make all the files,  but we cannot drive screen in QNX the error like this:Resource Manager loop starting
    Start screen..
    /proc/boot/.console_ti.sh: /ti_fs/scripts/user.sh[26]: screen: cannot execute - No such file or directory
    screen started with dss_on_a53 configuration..
    So what we can do?

  • Hi ,

    We have updated those macros, as SDP 8.0 didn't support those macros.

    Remove those macros .

    Seems to be missing libs, make sure you have installed screen framework.

    Regards,
    Vaibhav

  • Hello Reddy

    Checked build files in /800_SVN998577_JBN85_am62px/images/am62p-evm-ti.build and Makefiles

    there no graphics config in these files.

    And I checked in 710_SVN989711_JBN4_am62px/images/Makefiles there graphics config :7

    all: ifs-$(BOARD).raw ifs-$(BOARD)-ti.raw ifs-$(BOARD)-graphics.raw

    clean:
        $(RM_HOST) *.raw *.sym

    ifs-$(BOARD).raw: $(BOARD).build
        $(HOST_MKIFS) -r../install -v $(MKIFSFLAGS) $^ $@

    ifs-$(BOARD)-ti.raw: $(BOARD)-ti.build
        $(HOST_MKIFS) -r../install -v $(MKIFSFLAGS) $^ $@

    ifs-$(BOARD)-graphics.raw: $(BOARD)-graphics.build
        $(HOST_MKIFS) -r../install -v $(MKIFSFLAGS) $^ $@

    -include $(BUILD_TEMPLATE)/template.mk

    So I think the default 00_SVN998577_JBN85_am62px config missing: am62p-evm-ti-graphics.build Makefiles

  • Hi ,

    There will be some difference in the implementation between BSP 8.0 and BSP 7.1.So for 8.0 version these files 
    (am62p-evm-ti-graphics.build, ifs-am62p-evm-graphics.raw) will not be used.

    Can you check in the sd card if this folder (/usr/lib/graphics/am62p) is present in qnxfs partition?

    If not ,make sure you have installed screen framework packages.


    Regards,
    Vaibhav

  • Hello Reddy 

     we checked in 800_SVN998577_JBN85_am62px/images/am62p-evm-ti.build file, there no graphic related configuration.

    nothing in /usr/lib/graphics/am62p

    we can find the graphics libs list in QNX_TARGET sub folder.

  • Hi ,

    The graphics related libs are missing.

    Install the Screen framework related packages from QNX software centre.

    And rebuild the binaries and try.


    Regards,
    Vaibhav