TDA4VM: Uboot related query

Part Number: TDA4VM

Tool/software:

Hi Team,

I have built the u-boot by the mentioned link https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-jacinto7/11_00_00_08/exports/docs/linux/Foundational_Components/U-Boot/UG-General-Info.html

and after the step "Compiling R5 and ARM64 images", there are two folders in the output folder were we can find uboot image in both R5 and A72 

1. I have renamed my target images, but there are two u-boot image in bothR5 as well as A72 which U-boot image has to be used?

2. while building the Kernel i have described the fitimage and now im going to generate fit image 

"mkimage -r -f fitImage.its -k $UBOOT_PATH/arch/arm/mach-k3/keys -K $UBOOT_PATH/build/$ARMV8/dts/dt.dtb fitImage" where im not able to find the dt.dtb in the dts file

3.Is there any procedural guideline to built the u-boot and kernel for the custom board.


Thanks.
  • Hi Balaji,

    1. I have renamed my target images, but there are two u-boot image in bothR5 as well as A72 which U-boot image has to be used?

    Check the section: 3.1.1.1.4. Boot Flow

    We need R5 SPL --> A72 ATF --> A72 OPTEE --> A72 SPL --> A72 U-Boot.

    We need SPL for both R5 & A72 but U-Boot is only needed for A72 only.

    BTW simpler step is: 'make u-boot' the command will build all the SPL/U-Boot binaries.

    2. while building the Kernel i have described the fitimage and now im going to generate fit image 

    'make linux-fitimage' should be used.

    3.Is there any procedural guideline to built the u-boot and kernel for the custom board.

    You can start by editing the evm dts files & build using the same commands.

    Some guidelines: https://www.ti.com/lit/pdf/spradc5

    - Keerthy