Tool/software: Linux
Hi,
- Our custom board is baselined off of the 572x EVM rev a3 schematic, and runs both the TI SDK Linux firmware and BeagleBoard Linux firmware.
- Our BSP is running from internal eMMC on our board and our application logs data to an external SD card plugged into the board's external SD card slot.
- We have a shell script which expects that SD card to have a single partition of some type, and then the script reformats that single partition to fat32/vfat using mkfs.vfat.
- Everything works ok (thus far) depending on which utilities were used to format that SD card.
- However, if you use certain utilities like the default Windows formatter (for fat32) or gparted on Linux, the board apparently won't boot Linux when the SD card inserted in the slot is incorrectly formatted. Everything just mysteriously locks-up.
- I say apparently won't boot Linux because you see no characters printed on the Linux console port with a suspect-formatted SD card in the slot.
- If we use SD Card Formatter utility (approved by the SD card industry), or fdisk on Linux (formatting the partition to Linux) everything works great.
- We're using the jumper setting which prioritizes SD card then eMMC as the boot device.
I'm not sure if the failure to see any console messages means that the ROM boot loader is bootstrapping junk data into the internal SRAM and the 5728 is trying to execute that OR our u-boot-spl (before the UARTS are initialized) is trying to bootstrap junk data from the card. I would suspect the ROM boot loader is "fooled" into thinking that there's executable code on the Windows machine formatted SD cards.
Could you please point us in the right direction to help us figure out if this is a 5728 ROM boot loader issue or further on in the chain than that?
If its a ROM boot loader issue, could you please provide us some links/resources to determine how SD cards should be formatted if you want to use those cards for external storage instead of for bootstrapping Linux.
Note: We need to use SD cards plugged into the SD card slot (mmc0) as the storage mechanism - not SD cards plugged into a USB<->SD Card adaptor.
Thanks!!
Jeff Andich