Hello TI community,
I'm trying to boot my software by using the flash. I use the Sitara AM5728 Industrial EVM, Rev. 1.3B. The boot sequence and the selected boot devices, respectively, are configured via the SYSBOOT pads. Because of the Industrial EVM, I cannot change the boot devices without any hardware modifications (see this post). But, this board "is configured by default to 0x8106 to enable UBOOT/Linux boot from the SDCARD. The secondary boot device selected by this boot mode is QSPI1" (sprui64c.pdf, chapter 4.1). Thus, there is an opportunity to boot from QSPI flash (32 MB NOR flash), right?
At first, I start my software via SD card and copy the necessary binaries (bootloader + application) into the flash. I used the following commands to copy my files into the flash:
Erase entire flash: flashctl -p /dev/fs0p0 -ev
Copy bootloader (MLO): dd if=/mnt/sdcard/mlo of=/dev/fs0p0 seek=0 skip=0
Copy application (here: HLOS) with 64k offset: dd if=/mnt/sdcard/qnx-ifs of=/dev/fs0p0 seek=64 skip=0 bs=1024
After copying successfully the binaries into the flash, the SD card has to be removed and the system must restart. After rebooting, the TI's ROM code shall recognize the MLO in flash because of omitted SD card. But in my case, nothing happens (all LEDs are still on).
If I start my software via SD card again, my MLO starts from SD card and I can select the boot device (SD card, eMMC, QSPI, Serial etc.) (QNX specific). If I select QSPI, the MLO starts successfully my software. Thus, I suggest the QSPI works correctly.
What are the conditions (special header, special start address etc.) in order that the TI's ROM code load my bootloader from QSPI flash (without SD card)?
Did somebody already pay attention to this problem (booting from QPSI flash on IDK AM5728 Rev. 1.3B)?
Thanks for your help & best regards
Thomas