Hi,
I would like to boot from SD to flash a bare OMAP3530 board without changing sys_boot pins so that the user can bring up a bare board. With no card plugged in, it should boot from NAND. Bringing up my board with JTAG, flashing and running from NAND works fine. sys_boot[4-0] pins are 01111, so I assume MMC1 should proceed NAND.
I'm using x-loader from Arago. The MLO I copy to SD card runs, but fails to load u-boot.bin, also on the card. The function get_mem_type() returns 0x0001, so x-loader in start_armboot() decides to get u-boot not from SD but from NAND, which in my test state is empty.
Is there a way to have x-loader look for the secondary bootloader on the same medium from which it was loaded? I get the feeling this might require patching x-loader source, but hoping this has been done since this page: https://gforge.ti.com/gf/project/bootloader/wiki/?pagename=X-Loader seems to have a version which gets its secondary bootloader from SD or NAND.
I've seen this page: http://processors.wiki.ti.com/index.php/How_to_Flash_Linux_System_from_U-boot , but I'd like a procedure that requires no user interaction besides inserting a magic SD card.
Thanks!,
John