Tool/software:
the latest version of mkfs.vfat in dosfstools 4.2 has an issue where it incorrectly calculates the number of sectors (value at 0x20 in the FAT filesystem header) https://github.com/dosfstools/dosfstools/issues/165
This seems to affect AM33 and AM62 ability to corretly read the bootloader files from the FAT filesystem for SD card boot. Two questions:
1. Is it possible to use ext formatted filesystem instead of FAT32?
2. On AM33 I was writing the booloader to the sectors before the first partition like so. Is it possible to do something similar for AM62? It appears they are written to raw offsets in a 'boot0' partition area for eMMC.
# Write AM33 bootloader files to the SD card block device:
INSTALL_DEV=${INSTALL_DEV:-"/dev/mmcblk0"}
dd if="$BASEDIR/MLO" of="$INSTALL_DEV" count=1 seek=1 bs=128k conv=sync,fsync,notrunc
dd if="$BASEDIR/u-boot.img" of="$INSTALL_DEV" count=2 seek=1 bs=384k conv=sync,fsync,notrunc

