
On Fri, 2018-03-16 at 10:45 -0500, David Lechner wrote:
On 03/16/2018 04:26 AM, Sekhar Nori wrote:
On Thursday 15 March 2018 08:02 PM, David Lechner wrote:
Thanks for the tips. I've actually done exactly that (using my own SD card).
However, these changes affect the u-boot SPL image only. I was able to put the regular u-boot.ais on the SD card, but I'm having troubling figuring out how to install the SPL image.
Err, I thought u-boot.ais is SPL and U-Boot images concatenated together. Anyway, I was able to test your change.
I have no idea. :-)
I've been trying to follow the TI wiki pages, but they are rather inconsistent so I am having trouble figuring out what is correct and what is not.
[1] seems to be pretty good, but it doesn't have any board-specific information or information about installing U-Boot on the SD card. [2] Says to flash the NAND. [3] says to `sudo dd in=u-boot.ais of=/dev/sdx seek=10` and to "Flash the SPL AIS file into SPI flash" and to use some `tools/uflash/uflash` for the SD card that I never found. [4] says to `sudo dd if=u-boot-omapl138- lcdk.ais of=/dev/sd<N> seek=117 bs=512 conv=fsync`, which I did with my u- boot.bin, but I doesn't explain how to actually boot from this.
Note - the generated u-boot.ais and u-boot.bin are different images. As Sekhar said, u-boot.ais is u-boot.bin + the SPL bit (which for the L138 is AIS code). In an earlier reply, I mentioned HexAIS_OMAP- L138.exe. For a long time you had to use that (or the Windows-only GUI program) to add the AIS initialistion code to u-boot.bin. Now the SPL section of u-boot does that, with u-boot.ais being the result.
If you put just the .bin file there, then the processor is going to come up, look for an AIS "script", fail to find it, and give up.
ading_Utility_for_OMAP-L138 [2]: http://processors.wiki.ti.com/index.php/L138/C6748_Development_K it_(LCDK)#Procedure_to_Flash_and_boot_the_LCDK [3]: http://processors.wiki.ti.com/index.php/OMAP-L138_Preparing_SD_C ard_for_Boot [4]: http://processors.wiki.ti.com/index.php/Processor_SDK_Linux_crea te_SD_card_script
Tested-by: Sekhar Nori nsekhar@ti.com
Thanks, Sekhar
U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot