AM2431: AM243x EVM boot via FLASH

Part Number: AM2431
Other Parts Discussed in Thread: UNIFLASH

Hi,

I am working on a project to use the AM243x EVM with a custom OSPI SBL stored at offset 0x0 in Flash. The custom bootloader based on a state variable will load the firmware application stored at different offsets in the flash. I have validated the images and bootloader separately and everything works when I run it via CCS. 

I programmed the same images to flash via UART UNIFLASH and reset the board to OSPI BOOTMODE and I ran into an issue where the DMSC SYSFW is not starting. I connected to my SBL from CCS and saw that my SBL is forever waiting on Bootloader_socWaitForFWBoot().

So I realized, I am missing the SoC initialization/SYSFW which was done via the javascript from CCS.

I can't find documents/examples on how to build/package the DMSC SYSFW into the SBL image and make a single boot.bin image which will bootstrap the system. I will need to do the same for my custom board soon. 

  1. Is it possible to solely boot from the flash in OSPI BOOT MODE ?
  2. How do I create this boot image for both the DMSC - M3 CORE and R5 CORE-0 targets 

Thanks,

Prasanna