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.

AM625: SDK10 uboot compile error

Part Number: AM625


Tool/software:

Hello engineer

We upgraded to SDK10, but compile uboot error, referring to SPRADD1A "Linux Board Porting on AM62x Devices":

  CAT     spl/u-boot-spl-dtb.bin
  COPY    spl/u-boot-spl.bin
  SYM     spl/u-boot-spl.sym
  MKIMAGE u-boot.img
  COPY    u-boot.dtb
  MKIMAGE u-boot-dtb.img
  BINMAN  .binman_stamp
Image 'ti-dm' is missing optional external blobs but is still functional: blob-ext

/binman/ti-dm/blob-ext (ti-dm/am62xx/ipc_echo_testb_mcu1_0_release_strip.xer5f):
   Missing blob

Image 'tifsstub-hs' is missing optional external blobs but is still functional: tifsstub-hs-cert.bin tifsstub-hs-enc.bin

/binman/tifsstub-hs/tifsstub-hs-cert.bin (ti-sysfw/ti-fs-stub-firmware-am62x-hs-cert.bin):
   Missing blob

/binman/tifsstub-hs/tifsstub-hs-enc.bin (ti-sysfw/ti-fs-stub-firmware-am62x-hs-enc.bin):
   Missing blob

Image 'tifsstub-fs' is missing optional external blobs but is still functional: tifsstub-fs-cert.bin tifsstub-fs-enc.bin

/binman/tifsstub-fs/tifsstub-fs-cert.bin (ti-sysfw/ti-fs-stub-firmware-am62x-hs-cert.bin):
   Missing blob

/binman/tifsstub-fs/tifsstub-fs-enc.bin (ti-sysfw/ti-fs-stub-firmware-am62x-hs-enc.bin):
   Missing blob

Image 'tifsstub-gp' is missing optional external blobs but is still functional: tifsstub-gp.bin

/binman/tifsstub-gp/tifsstub-gp.bin (ti-sysfw/ti-fs-stub-firmware-am62x-gp.bin):
   Missing blob

binman: name 'ELFError' is not defined
make[1]: *** [/home/xmtech/ti-processor-sdk-linux-am62xx-evm-10.00.07.04/board-support/ti-u-boot-2024.04+git/Makefile:1125: .binman_stamp] Error 1
make[1]: Leaving directory '/home/xmtech/am62_sdk10/output_images/a53'
make: *** [Makefile:177: sub-make] Error 2
make CC a53 failed
xmtech@xmtech-VMware-Virtual-Platform:~/am62_sdk10$ python --version
Python 3.12.3

We use ubuntu 22.04, the r5 has been successfully compiled, but the a53 failed at the step:

make ARCH=arm CROSS_COMPILE="$CROSS_COMPILE_64" CC="$CC_64" O=$OUTPUT_DIR/a53 BL31=$TFA_PATH TEE=$OPTEE_PATH BINMAN_INDIRS=$LINUX_FW_PATH

Could you please help me identify where the error occurred?

Thanx!

  • you can try: cd $UBOOT_DIR

               export CC_64="PATH_TO_YOUR_SDK/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/aarch64-oe-linux/aarch64-oe-linux-gcc --sysroot=${SYSROOT_64}"

    my example:

              ( export CC_64="/home/divl/linux_divl/sdk_am62x/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/aarch64-oe-linux/aarch64-oe-linux-gcc --sysroot=${SYSROOT_64}" )

    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    then:
               make ARCH=arm CROSS_COMPILE="$CROSS_COMPILE_64" CC="$CC_64" BL31=../prebuilt-images/am62xx-evm/bl31.bin TEE=../prebuilt-images/am62xx- evm/bl32.bin O=$UBOOT_DIR/out/a53 BINMAN_INDIRS=$TI_LINUX_FW_DIR

  • thanks your reply, I find the problem, we have to install below:

    sudo apt-get install python3-jsonschema

    sudo apt-get install python3-pyelftools

    so the error has disappeared, but the "Missing blob" warnings still exist, we go on first.