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.

Linux/PROCESSOR-SDK-AM65X: Rebuilding U-boot to boot from eMMC

Expert 3115 points
Part Number: PROCESSOR-SDK-AM65X

Tool/software: Linux

My customer asked:

" When trying to rebuild U-Boot per the procedure provided by TI for the AM65X family so that I can reconfigure to boot from eMMC, I ran into error an sysfw-image for the IDK.  Per the procedure, we need a X509 certificate for the board FW to work and that we need to contact TI for the procedure. See the following excerpt from the procedure:

'ROM expects a signed binary that contains the X509 certificate. So the binary ti-sci-firmware-am6x.bin cannot be uses as-is and needs to be signed. Contact TI on the procedure to sign the system firmware binary.' "

I believe this is a documentation issue because I think X509 certificate is only needed for high security (HS) devices. 

Can you please point the customer to the procedure for rebuilding u-boot for AM65x general purpose (not HS)?

  • Hi Carlos,

    I will file an internal ticket to update the document. There are two methods for building Uboot:

    Method 1: Using the top level Makefile, type the command "make u-boot". This will build all the necessary components and for more information, please refer to the following TI document.

    Method 2: Involves building Uboot from the Uboot directory as shown below:

    Step 1: Navigate to the <TI_SDK_DIR>/u-boot-2018.01... directory

    Step 2: Run the below commands :

    ############# A53 Build ############################
    export CROSS_COMPILE_A53=<TI_SDK_DIR>/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/aarch64-linux-gnu-
    export UBOOT_A53_BUILD_DIR=<TI_SDK_DIR>/board-support/u-boot_build/a53

    export UBOOT_ATF=<TI_SDK_DIR>/board-support/prebuilt-images/bl31.bin
    export UBOOT_TEE=<TI_SDK_DIR>/board-support/prebuilt-images/bl32.bin

    make CROSS_COMPILE=$CROSS_COMPILE_A53 am65x_evm_a53_defconfig O=$UBOOT_A53_BUILD_DIR
    make CROSS_COMPILE=$CROSS_COMPILE_A53 ATF=$UBOOT_ATF TEE=$UBOOT_TEE O=$UBOOT_A53_BUILD_DIR


    ############# R5 Build ############################
    export CROSS_COMPILE_R5=<TI_SDK_DIR>/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-
    export UBOOT_R5_BUILD_DIR=<TI_SDK_DIR>/board-support/u-boot_build/r5

    make CROSS_COMPILE=$CROSS_COMPILE_R5 am65x_evm_r5_defconfig O=$UBOOT_R5_BUILD_DIR
    make CROSS_COMPILE=$CROSS_COMPILE_R5 O=$UBOOT_R5_BUILD_DIR

    Regards,

    Krunal