Other Parts Discussed in Thread: SYSBIOS
I am using PSDK 09_00_01 through YOCTO build environment.
While compiling ti-vision-apps i am getting following error.
<user>@<system>:~/tisdk/build$ MACHINE=am62axx-evm bitbake ti-vision-apps -f -c compile
Loading cache: 100% |###############################################################################################################################################################################| Time: 0:00:03
Loaded 9452 entries from dependency cache.
Parsing recipes: 100% |#############################################################################################################################################################################| Time: 0:00:03
Parsing of 6334 .bb files complete (6330 cached, 4 parsed). 9452 targets, 581 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
Build Configuration (mc:default):
BB_VERSION = "2.0.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-20.04"
TARGET_SYS = "aarch64-oe-linux"
MACHINE = "am62axx-evm"
DISTRO = "arago"
DISTRO_VERSION = "2023.04"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
meta-arago-distro
meta-arago-extras
meta-arago-demos = "HEAD:9c11eab21e7abe564f4c9f0821e830dd7298b365"
meta-qt5 = "HEAD:bff5bd937f0776166e81a63f3dd39ede348ef758"
meta-virtualization = "HEAD:b3b3dbc67504e8cd498d6db202ddcf5a9dd26a9d"
meta-networking
meta-python
meta-oe
meta-gnome
meta-filesystems = "HEAD:346753705e49a2486867dc150181a1c7f4d69377"
meta-ti-extras
meta-ti-bsp = "HEAD:c3916324a01fe96c68a78ef9ed0070d6b1fc8f2f"
meta-arm
meta-arm-toolchain = "HEAD:c39bb4ce3b60b73d35c5fb06af012432e70d6b38"
meta = "HEAD:cef730284b8616ba07c1b062c992c36af730580e"
meta-psdkla = "HEAD:9c754ecda6f1019d0126dd4dc163e0ae01772eb0"
meta-edgeai = "HEAD:5ad5799ae51dfd335b6dc4a87200fb96e8b86d7e"
meta-custom = "master:b0229bac7defdbba0288d2d4a816a5fee8c24324"
Build Configuration:
BB_VERSION = "2.0.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-20.04"
TARGET_SYS = "arm-oe-linux-gnueabi"
MACHINE = "am62axx-evm-k3r5"
DISTRO = "arago"
DISTRO_VERSION = "2023.04"
TUNE_FEATURES = "arm armv7a vfp thumb callconvention-hard"
TARGET_FPU = "hard"
meta-arago-distro
meta-arago-extras
meta-arago-demos = "HEAD:9c11eab21e7abe564f4c9f0821e830dd7298b365"
meta-qt5 = "HEAD:bff5bd937f0776166e81a63f3dd39ede348ef758"
meta-virtualization = "HEAD:b3b3dbc67504e8cd498d6db202ddcf5a9dd26a9d"
meta-networking
meta-python
meta-oe
meta-gnome
meta-filesystems = "HEAD:346753705e49a2486867dc150181a1c7f4d69377"
meta-ti-extras
meta-ti-bsp = "HEAD:c3916324a01fe96c68a78ef9ed0070d6b1fc8f2f"
meta-arm
meta-arm-toolchain = "HEAD:c39bb4ce3b60b73d35c5fb06af012432e70d6b38"
meta = "HEAD:cef730284b8616ba07c1b062c992c36af730580e"
meta-psdkla = "HEAD:9c754ecda6f1019d0126dd4dc163e0ae01772eb0"
meta-edgeai = "HEAD:5ad5799ae51dfd335b6dc4a87200fb96e8b86d7e"
meta-custom = "master:b0229bac7defdbba0288d2d4a816a5fee8c24324"
NOTE: Tainting hash to force rebuild of task /home/snarayanan/tisdk/sources/meta-edgeai/recipes-tisdk/ti-psdk-rtos/ti-vision-apps.bb, do_compile | ETA: 0:00:00
WARNING: /home/snarayanan/tisdk/sources/meta-edgeai/recipes-tisdk/ti-psdk-rtos/ti-vision-apps.bb:do_compile is tainted from a forced run | ETA: 0:00:00
Initialising tasks: 100% |##########################################################################################################################################################################| Time: 0:00:13
Sstate summary: Wanted 24 Local 24 Mirrors 0 Missed 0 Current 114 (100% match, 100% complete)
NOTE: Executing Tasks
ERROR: ti-vision-apps-1.0-r0_edgeai_0 do_compile: oe_runmake failed
ERROR: ti-vision-apps-1.0-r0_edgeai_0 do_compile: ExecutionError('/home/snarayanan/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_0/temp/run.do_compile.47006', 1, None, None)
ERROR: Logfile of failure stored in: /home/snarayanan/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_0/temp/log.do_compile.47006
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 1 -C /home/snarayanan/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_0/repo/sdk_builder yocto_build
| make: Entering directory '/home/snarayanan/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_0/repo/sdk_builder'
| make: Leaving directory '/home/snarayanan/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_0/repo/sdk_builder'
| /home/snarayanan/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_0/repo/sdk_builder/build_flags.mak:74: *** SOC env variable should be set to one of (j721e, j721s2, j784s4, am62a). Stop.
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/snarayanan/tisdk/sources/meta-edgeai/recipes-tisdk/ti-psdk-rtos/ti-vision-apps.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 683 tasks of which 682 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/snarayanan/tisdk/sources/meta-edgeai/recipes-tisdk/ti-psdk-rtos/ti-vision-apps.bb:do_compile
Summary: There was 1 WARNING message.
Summary: There were 2 ERROR messages, returning a non-zero exit code.
How to resolve it?
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I manually edited the tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_0/repo/sdk_builder/build_flags.mak file.
# SOC selection - supported values: j721e, j721s2, j784s4, am62a
- export SOC?=replace_me_soc_name
+ export SOC?=am62a
# TISDK_IMAGE selection - supported values: default, adas, edgeai
- export TISDK_IMAGE?=replace_me_tisdk_image_name
+ export TISDK_IMAGE?=edgeai
Now i am getting following error,
snarayanan@PG0154LT:~/tisdk/build$ MACHINE=am62axx-evm bitbake ti-vision-apps -f -c compile
Loading cache: 100% |###############################################################################################################################################################################| Time: 0:00:03
Loaded 9452 entries from dependency cache.
Parsing recipes: 100% |#############################################################################################################################################################################| Time: 0:00:03
Parsing of 6334 .bb files complete (6330 cached, 4 parsed). 9452 targets, 581 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
Build Configuration (mc:default):
BB_VERSION = "2.0.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-20.04"
TARGET_SYS = "aarch64-oe-linux"
MACHINE = "am62axx-evm"
DISTRO = "arago"
DISTRO_VERSION = "2023.04"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
meta-arago-distro
meta-arago-extras
meta-arago-demos = "HEAD:9c11eab21e7abe564f4c9f0821e830dd7298b365"
meta-qt5 = "HEAD:bff5bd937f0776166e81a63f3dd39ede348ef758"
meta-virtualization = "HEAD:b3b3dbc67504e8cd498d6db202ddcf5a9dd26a9d"
meta-networking
meta-python
meta-oe
meta-gnome
meta-filesystems = "HEAD:346753705e49a2486867dc150181a1c7f4d69377"
meta-ti-extras
meta-ti-bsp = "HEAD:c3916324a01fe96c68a78ef9ed0070d6b1fc8f2f"
meta-arm
meta-arm-toolchain = "HEAD:c39bb4ce3b60b73d35c5fb06af012432e70d6b38"
meta = "HEAD:cef730284b8616ba07c1b062c992c36af730580e"
meta-psdkla = "HEAD:9c754ecda6f1019d0126dd4dc163e0ae01772eb0"
meta-edgeai = "HEAD:5ad5799ae51dfd335b6dc4a87200fb96e8b86d7e"
meta-custom = "master:b0229bac7defdbba0288d2d4a816a5fee8c24324"
Build Configuration:
BB_VERSION = "2.0.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-20.04"
TARGET_SYS = "arm-oe-linux-gnueabi"
MACHINE = "am62axx-evm-k3r5"
DISTRO = "arago"
DISTRO_VERSION = "2023.04"
TUNE_FEATURES = "arm armv7a vfp thumb callconvention-hard"
TARGET_FPU = "hard"
meta-arago-distro
meta-arago-extras
meta-arago-demos = "HEAD:9c11eab21e7abe564f4c9f0821e830dd7298b365"
meta-qt5 = "HEAD:bff5bd937f0776166e81a63f3dd39ede348ef758"
meta-virtualization = "HEAD:b3b3dbc67504e8cd498d6db202ddcf5a9dd26a9d"
meta-networking
meta-python
meta-oe
meta-gnome
meta-filesystems = "HEAD:346753705e49a2486867dc150181a1c7f4d69377"
meta-ti-extras
meta-ti-bsp = "HEAD:c3916324a01fe96c68a78ef9ed0070d6b1fc8f2f"
meta-arm
meta-arm-toolchain = "HEAD:c39bb4ce3b60b73d35c5fb06af012432e70d6b38"
meta = "HEAD:cef730284b8616ba07c1b062c992c36af730580e"
meta-psdkla = "HEAD:9c754ecda6f1019d0126dd4dc163e0ae01772eb0"
meta-edgeai = "HEAD:5ad5799ae51dfd335b6dc4a87200fb96e8b86d7e"
meta-custom = "master:b0229bac7defdbba0288d2d4a816a5fee8c24324"
NOTE: Tainting hash to force rebuild of task /home/snarayanan/tisdk/sources/meta-edgeai/recipes-tisdk/ti-psdk-rtos/ti-vision-apps.bb, do_compile | ETA: 0:00:00
WARNING: /home/snarayanan/tisdk/sources/meta-edgeai/recipes-tisdk/ti-psdk-rtos/ti-vision-apps.bb:do_compile is tainted from a forced run | ETA: 0:00:00
Initialising tasks: 100% |##########################################################################################################################################################################| Time: 0:00:12
Sstate summary: Wanted 24 Local 24 Mirrors 0 Missed 0 Current 114 (100% match, 100% complete)
NOTE: Executing Tasks
ERROR: ti-vision-apps-1.0-r0_edgeai_0 do_compile: oe_runmake failed
ERROR: ti-vision-apps-1.0-r0_edgeai_0 do_compile: ExecutionError('/home/snarayanan/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_0/temp/run.do_compile.48277', 1, None, None)
ERROR: Logfile of failure stored in: /home/snarayanan/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_0/temp/log.do_compile.48277
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 1 -C /home/snarayanan/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_0/repo/sdk_builder yocto_build
| make: Entering directory '/home/snarayanan/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_0/repo/sdk_builder'
| cp -Rf /home/snarayanan/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_0/repo/psdk_include/* /home/snarayanan/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_0/repo/.
| PROFILE=release BUILD_EMULATION_MODE=no TARGET_CPU=A53 TARGET_OS=LINUX TIDL_PATH=/home/snarayanan/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_0/repo/tidl_j7 make app_utils
| make[1]: Entering directory '/home/snarayanan/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_0/repo/sdk_builder'
| make -C /home/snarayanan/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_0/repo/app_utils
| make[2]: Entering directory '/home/snarayanan/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_0/repo/app_utils'
| SHELL=/bin/sh
| TARGET_MAKEFILES=utils/console_io/src/concerto.mak utils/file_io/src/concerto.mak utils/ipc/src/concerto.mak utils/mem/src/concerto.mak utils/misc/src/concerto.mak utils/perf_stats/src/concerto.mak utils/remote_service/src/concerto.mak utils/rtos/src/concerto.mak utils/sciclient/src/concerto.mak utils/udma/src/concerto.mak
| Keep only LINUX OS in TARGET_COMBOS
| Keep only A53 CPU in TARGET_COMBOS
| undefined TIARMCGT_ROOT=
| file TIARMCGT_LLVM_ROOT=$(PSDK_TOOLS_PATH)/ti-cgt-armllvm_2.1.3.LTS
| undefined GCC_SYSBIOS_ARM_ROOT=
| file CGT6X_ROOT=$(PSDK_TOOLS_PATH)/ti-cgt-c6000_8.3.7
| file CGT7X_ROOT=$(PSDK_TOOLS_PATH)/ti-cgt-c7000_3.1.0.LTS
| undefined GCC_WINDOWS_ROOT=
| file GCC_LINUX_ROOT=/usr/
| environment GCC_QNX_ROOT=/home/snarayanan/qnx710/host/linux/x86_64/usr/bin
| #######################################################################
| TARGET_COMBO=AM62A:LINUX:A53:1:release:GCC_LINUX_ARM
| [GCC] Compiling C99 app_log_writer.c
| /bin/sh: 1: /home/snarayanan/ti/arm-gnu-toolchain-11.3.rel1-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-gcc: not found
| make[2]: Leaving directory '/home/snarayanan/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_0/repo/app_utils'
| make[2]: *** [/home/snarayanan/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_0/repo/sdk_builder/concerto/finale.mak:316: /home/snarayanan/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_0/repo/app_utils/out/AM62A/A53/LINUX/release/module/utils.console_io.src/app_log_writer.o] Error 127
| make[1]: Leaving directory '/home/snarayanan/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_0/repo/sdk_builder'
| make[1]: *** [makerules/makefile_tiovx_ptk_imaging_remote_device.mak:8: app_utils] Error 2
| make: *** [makerules/makefile_linux_arm.mak:340: yocto_build] Error 2
| make: Leaving directory '/home/snarayanan/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_0/repo/sdk_builder'
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/snarayanan/tisdk/sources/meta-edgeai/recipes-tisdk/ti-psdk-rtos/ti-vision-apps.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 683 tasks of which 682 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/snarayanan/tisdk/sources/meta-edgeai/recipes-tisdk/ti-psdk-rtos/ti-vision-apps.bb:do_compile
Summary: There was 1 WARNING message.
Summary: There were 2 ERROR messages, returning a non-zero exit code.