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 u-boot compile

Other Parts Discussed in Thread: AM6442

am6442 Compiling R5 and ARM64 images

os:      processor_sdk_linux_am64x_07_03_01_006-linux-x64-installer.run

A53

$ make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- am64x_evm_a53_defconfig O=<output directory>/a53
$ make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- ATF=<path to tisdk>/board-support/prebuilt-images/bl31.bin TEE=<path to tisdk>/board-support/prebuilt-images/bl32.bin  O=<output directory>/a53


tispl.bin is 277.7kB (u-boot start failed)

prebuilt-images/tispl.bin 704.5KB

Where is the compilation error?





  • Hi Fenghua,
    It looks like "atf" and "optee" binaries were not built into your tispl.bin from your description.
    When you build u-boot for A53 core, ATF and TEE need to pick up bl31.bin for ATF, and bl32.bin for TEE from prebuilt-images folder.
    ATF=<path to tisdk>/board-support/prebuilt-images/bl31.bin
    TEE=<path to tisdk>/board-support/prebuilt-images/bl32.bin

    Alternatively you may want to check "u-boot-spl-k3.its" file which is generated when you build u-boot for A53 core,
    where atf and tee should point to the atf and optee prebuilt binaries in the "u-boot-spl-k3.its" file.
    Best,
    -Hong

  • hi,

    Yes,u-boot-spl-k3.its is generated when I build  u-boot for A53 core.

    u-boot-spl-k3.its 1649