SPRADC5 January 2024
There are three stages according to the boot flow:
So, you need to change this at all levels. On top of that, Arm Trusted Firmware (ATF) also needs to change the console port as needed. Following are the dts changes on J7200 and similar changes for J721e that will work fine:
FAQ Link: https://e2e.ti.com/support/processors/f/791/t/988278
Add an infinite loop at the start of the first instruction of R5 SPL.
diff --git a/arch/arm/cpu/armv7/start.S b/arch/arm/cpu/armv7/start.S
index 4f6327fe3ab..96c4554744c 100644
--- a/arch/arm/cpu/armv7/start.S
+++ b/arch/arm/cpu/armv7/start.S
@@ -37,6 +37,7 @@
#endif
reset:
+ b reset
/* Allow the board to save important registers */
b save_boot_params
save_boot_params_ret:
Then we can attach to MCU
R5F_0 using CCS. Move PC to the next instruction & step
through to check where the crash is.Make CROSS_COMPILE64=aarch64-none-linux-gnu- CROSS_COMPILE=arm-none-linux-gnueabihf- PLATFORM=k3-j784s4 CFG_ARM64_core=y CFG_CONSOLE_UART=0x8
Based on the custom board UART_INSTANCE X.
CFG_CONSOLE_UART=0x8 will change