Hi, TI Expert,
I`m trying to bring up custom board, and followd acdemy (Porting U-Boot) update DDR configuration and pinmux. Build spl:
# core-secdev-k3 is included in the SDK inside board-support directory.
export TI_SECURE_DEV_PKG=< path to psdk08.06.00.45>/board-support/core-secdev-k3
# Setting the tool chain path
export PATH=/< path to GCC>/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf/bin:$PATH
export PATH=/< path to GCC>/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu/bin:$PATH
export UBOOT_DIR=< path to psdk08.06.00.45>/board-support/ti-u-boot-2021.01+gitAUTOINC+2ee8efd654-g2ee8efd654
export K3IG_DIR=< path to psdk08.06.00.45>/board-support/k3-image-gen-2022.01
export SYSFW_DIR=< path to psdk08.06.00.45>/board-support/prebuilt-images
export DMFW_DIR=< path to psdk08.06.00.45>/board-support/prebuilt-images
export TFA_DIR=< path to psdk08.06.00.45>/board-support/trusted-firmware-a-2.8+gitAUTOINC+2fcd408bb3
export OPTEE_DIR=< path to psdk08.06.00.45>/board-support/optee_os-master
export TI_SECURE_DEV_PKG=< path to psdk08.06.00.45>/board-support/core-secdev-k3
# R5
# To build u-boot-spl.bin for signed tiboot3.bin. Saved in $UBOOT_DIR/out/r5.
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- am62ax_evm_r5_usbdfu_defconfig  O=$UBOOT_DIR/out/r5
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- O=$UBOOT_DIR/out/r5
# To build tiboot3-am62ax-hs-fs-evm.bin. Saved in $K3IG_DIR. Requires u-boot-spl.bin and TIFS HS-FS FW.
cd $K3IG_DIR
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- SOC=am62ax SOC_TYPE=hs-fs SBL=$UBOOT_DIR/out/r5/spl/u-boot-spl.bin SYSFW_DIR=$SYSFW_DIR
Rename tiboot3-am62ax-hs-fs-evm.bin as tiboot3.bin. But after burning tiboot3 with the dfu-util tool, there is no output from the serial port. Could this problem be caused by DDR configuration error?
Then I burning TI EVM board tiboot3.bin to custom board , serial console output:
U-Boot SPL 2021.01-00001-g3d2efd1274-dirty (May 24 2023 - 15:15:19 +0800)
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
am62a_init: board_init_f done
am62a_init: board_init_f done confirm
SPL initial stack usage: 13568 bytes
spl_relocate_stack_check done
SPL malloc() before relocation used 0x61bc bytes (24 KB)
SPL malloc() before relocation used 0x61bc bytes (24 KB)
spl_relocate_stack_gd(): done
And TI EVM board optput is
U-Boot SPL 2021.01-00001-g3d2efd1274-dirty (May 24 2023 - 15:15:19 +0800)
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
am62a_init: board_init_f done
am62a_init: board_init_f done confirm
SPL initial stack usage: 13568 bytes
spl_relocate_stack_check done
SPL malloc() before relocation used 0x61bc bytes (24 KB)
SPL malloc() before relocation used 0x61bc bytes (24 KB)
spl_relocate_stack_gd(): done
>>SPL: board_init_r()
spl_init
am62a_init: spl_boot_device: devstat = 0x53 bootmedia = 0xa bootindex = 0
Trying to boot from DFU
Please let me know how to port tiboot3.bin to custom board.
Thanks&Regards.