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.
I am working on custom board base on am625, where third party did a u-boot port using TI SDK 08.05.00.00 and provide the u-boot changes.
I am trying to build u-boot out of the box using the Link.
we are using yocto meta-ti which is on version 08.06.00.003. Before migrating to yocto i am building u-boot out of the box by porting u-boot changes provided for 08.05.00.00.
so i checked out ti-u-boot, k3-image-gen, k3-image-gen on same branch i.e 08.06.00.003. As i am getting build with ATF, so i am using ATF & OPTEE prebuild binaries from ti sdk 08.06.00.042.
variables export
====================
2025 export TI_SECURE_DEV_PKG=/home/siva-test/ti-processor-sdk-linux-rt-am62xx-evm-08.06.00.42/board-support/core-secdev-k3/
2026 export UBOOT_DIR=/home/siva-test/MUBOOT/ti-u-boot/
2027 export K3IG_DIR=/home/siva-test/MUBOOT/k3-image-gen/
2028 export TFA_DIR=/home/siva-test/ti-processor-sdk-linux-rt-am62xx-evm-08.06.00.42/board-support/prebuilt-images/
2030 export OPTEE_DIR=/home/siva-test/ti-processor-sdk-linux-rt-am62xx-evm-08.06.00.42/board-support/prebuilt-images/
2031 export SYSFW_DIR=/home/siva-test/MUBOOT/ti-linux-firmware/
2032 export DMFW_DIR=/home/siva-test/MUBOOT/ti-linux-firmware/ti-dm/
2035 export DMFW_DIR=/home/siva-test/MUBOOT/ti-linux-firmware/ti-dm/am62xx/
2039 export PATH=$PATH:PATH_TO_SDK/linux-devkit/sysroots/x86_64-arago-linux/usr/bin
2040 export PATH=$PATH:/home/siva-test/ti-processor-sdk-linux-rt-am62xx-evm-08.06.00.42/linux-devkit/sysroots/x86_64-arago-linux/usr/bin
2047 export SYSFW_DIR=/home/siva-test/MUBOOT/ti-linux-firmware/ti-sysfw
Build
===================
2036 make clean
2038 make clean
2041 make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- am62x_evm_r5_defconfig O=$UBOOT_DIR/out/r5
2042 make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- O=$UBOOT_DIR/out/r52050 make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- SOC=am62x SOC_TYPE=gp SBL=$UBOOT_DIR/out/r5/spl/u-boot-spl.bin SYSFW_DIR=$SYSFW_DIR
2053 make ARCH=arm CROSS_COMPILE=aarch64-none-linux-gnu- am62x_evm_a53_defconfig O=$UBOOT_DIR/out/a53
2056 make ARCH=arm CROSS_COMPILE=aarch64-none-linux-gnu- am62x_evm_a53_defconfig O=$UBOOT_DIR/out/a53
2057 make ARCH=arm CROSS_COMPILE=aarch64-none-linux-gnu- ATF=$TFA_DIR/bl31.bin TEE=$OPTEE_DIR/bl32.bin DM=$DMFW_DIR/ipc_echo_testb_mcu1_0_release_strip.xer5f O=$UBOOT_DIR/out/a53
u-boot binaries:
===================
./out/r5/tiboot3.bin
./out/a53/tispl.bin
./out/a53/u-boot.img
after flashing the binaries to emmc, board is not booting up. Not getting any output on serial console.
Hello,
"tiboot3.bin" needs to be generated via <k3-image-gen> for SDK 8.x.
software-dl.ti.com/.../UG-General-Info.html
software-dl.ti.com/.../Foundational_Components_Migration_Guide.html
Best,
-Hong
From software-dl.ti.com/.../UG-General-Info.html
Target Images
Copy the below images to the boot partition of an SD card and boot. Instructions to format the SD card can be found here.
tiboot3.bin is generated in r5 directory.
Hello,
There's changes on building u-boot starting SDK 9.x
"tiboot3.bin" needs to be generated via <k3-image-gen> for SDK 8.x.
software-dl.ti.com/.../UG-General-Info.html
software-dl.ti.com/.../Foundational_Components_Migration_Guide.html
Best,
-Hong
Hi Hong,
After using tiboot3-am62x-gp-evm.bin as tiboot3.bin i can see board booting it up.
some how i found that i should use binaries generated from build folder.
Regards,
Siva.