Other Parts Discussed in Thread: PCF8575
What's the proper process of loading and debugging u-boot through CCS on AM65x? Is there an available script we can use to load our build files? We attempted to follow the directions here: https://training.ti.com/linux-board-porting-series-module-8-installing-sdk-and-building-kernel-debug-symbols?cu=399066 but the architecture and files have changed enough that many of the variables and load program/load memory instructions aren't enough to start the AM65x.
We've tried to do this through JTAG:
1. Connect to the M3, allow it to initialize and run
2. Connect to the R5 and initialize DDR4. Tell it to run
3. Load uboot-spl.bin in the r5 build to the location 0x41c00000 (CONFIG_SPL_TEXT_BASE), setting the program counter to 0x41c00000, pausing the program, then load program/run the full u-boot image. Program counter restarts and the microcontroller says it's running, but nothing seems to happen
4. So then we tried connect to the A53 and then load the a53 build uboot-spl.bin to 0x80080000 (A53 target CONFIG_SPL_TEXT_BASE), run. On UART, we will see that the SPL tries to load but cannot load the sysfw and stops there. We'll get a mailbox error and a few other errors. From there, we tried loading the u-boot image and running that just to see if anything would happen, but nothing happened as expected.
There's definitely something important we're missing. We never load sysfw.itb it seems, tiboot3.bin we skipped, and tispl.bin we don't know where to place. Is there a location these files should go in memory and in which processor?
And if there's a way to load the Linux kernel from JTAG once u-boot is up, that would be extremely helpful as well.
Thanks