Tool/software: TI-RTOS
My board shall boot from a SD card or QSPI flash. The sysboot pins configuration provide this information to the ROM Bootloader.
If the SD card is present, the bootloader shall load the image file from the SD card into the QSPI flash. If the SD card is not present, the MPU shall execute the software that is stored in the QSPI flash (copy it to the RAM and run it from there).
For the AM437x Starter Kit board, I already use the file \pdk_am437x_1_0_7\packages\ti\starterware\binary\bootloader\bin\am43xx-evm\gcc\bootloader_boot_mmcsd_a9host_release_ti.bin to create a SD card that copies the application image to RAM and executes it.
The document processors.wiki.ti.com/.../AM437x explains how to use CCS to load the QSPI flash.
But, how do I create a SD card that loads the application in the QSPI flash?
Installed items:
CCS 7.2
GCC ARM Compiler 4.9.3
processor_sdk_rtos_am437x 4.00.00.04
am437x PDK v1.0.7
bios 6.46.05.55
xdctools 3.32.02.25_core
Board: AM437x Starter Kit
regards,
Marcio