Hello!
I have a custom board based on OMAP-L138 with SPI0 flash for booting. I'm interesting how can I flash a DSP UBL. In future I want to use secure features of L138 and it is important to me to know how can I load DSP UBL into DSP memory in the booting time. As I understand it should be loaded during boot time from SPI flash like ARM UBL is loaded now (in this time I use only ARM UBL).
I have learned this topic http://e2e.ti.com/support/dsp/omap_applications_processors/f/42/t/69671.aspx for OMAP-L137. Particularly this topic contain the citation:
After coming out of reset, the bootloader in the DSP ROM (which is not accessible to either application) checks the boot pin configuration in the BOOTCFG register in the SYSCFG module. In our situation, it would begin to load the DSP UBL AIS file from the beginning of the SPI Flash in to the DSP L2 cache/RAM.
The DSP UBL will copy the binary ARM UBL from the next block in the SPI Flash into RAM, sets the ARM reset vector and starts up the ARM core.
Is it the same for OMAP-L138? If it is the same how can I flash the DSP UBL, ARM UBL and u-boot simultaneously. Now to flash ARM UBL and u-boot I use TI utility sfh_OMAP-L138.exe with parameter -flash. To flash DSP UBL, ARM UBL and u-boot simultaneously this ulility have parameter -flash_dsp. But this parameter can be used only for OMAP-L137. I have tried to apply it to OMAP-L138 and it doesn't work for me. The utility printed this line and stalled:
Flashing DSPUBL ubl-spi.ais (5240 bytes) at 0x00000000
Thanks!