Hello all,
I've been having some highly mixed results booting from an SD Card on the AM3517. I've read everything that I can on the wikis and in the manual. Using fdisk, 99% of the time I can successfully create a bootable card, populate it with MLO, u-boot.bin, etc. etc. and all is well. The problem is the 1% of the time when if fails. I simply cannot find any useful information anywhere on how to figure out what has gone wrong.
For example, yesterday one of my SD cards just wouldn't work. This was a card that was working fine a few days ago. I went through the MBR, FAT Boot Sector, FAT File System Information Sector, and the FATs manually to verify that the MLO file was indeed there, and valid (I had a working card to compare it to). The only issue that I could find was an off-by-one error between the number of sectors in the partition reported by the MBR and that which was reported by the FAT Boot Sector. To be perfectly clear: in the MBR, offset 0x0C indicated X sectors for the partition whereas in the FAT Boot sector, offset 0x20 indicated (X-1) sectors.
I would be surprised to find the OMAP ROM checking that. But maybe...
Eventually I zeroed out the entire card using "dd" and, for some reason the next time I recreated it using fdisk and mkfs.vfat it worked. Other times I've shrunk the size of the partition, moved to FAT16, did a "sync" after each copy, and anything else I can think of. All to mixed results.
This is extremely frustrating. Could someone at Texas Instruments please please please please publish the definitive, never fails, always works, method of creating a bootable SD/MMC card by hand using fdisk.
Barring that, for goodness sakes....someone please tell us what "40X" means!!!
Every time I boot a device and see a lone "40X" come across the terminal, I die a little bit inside because I know something has gone wrong...but I know I'll have no way of figuring out what.