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.

AM6442: Build error when generating tispl.bin and u-boot.img

Genius 13655 points
Part Number: AM6442


Hello Champs,

Customer used SDK 08_04 and followed the steps on below link to generate tispl.bin and u-boot.img.
https://dev.ti.com/tirex/explore/node?node=A__AE9QJS6sYz1lbERsguPCIg__linux_academy_am64x__7qm9DIS__LATEST

But after executing below command to build A53, it prompted below error message.

make CROSS_COMPILE=aarch64-none-linux-gnu- ATF=$TFA_DIR/build/k3/lite/release/bl31.bin TEE=$OPTEE_DIR/out/arm-plat-k3/core/tee-pager_v2.bin O=$UBOOT_DIR/out/a53

Error message:

PYMOD scripts/dtc/pylibfdt/_libfdt.so
cc: error: unrecognized command line option ‘-fmacro-prefix-map=/nativesdk-python3/3.8.13-r0=/usr/src/debug/nativesdk-python3/3.8.13-r0’
cc: error: unrecognized command line option ‘-fmacro-prefix-map=/nativesdk-python3/3.8.13-r0=/usr/src/debug/nativesdk-python3/3.8.13-r0’
error: command 'cc' failed with exit status 1

Thanks.
Rgds
Shine