I'm trying to make a boot partition for DM3730 on a MMC card.
I first made a loop device image and then fill files to it, so that I can have a file system image when I'm done.
When I was trying to write the image to an actual MMC card, I was wondering whethter I need to make the target partition exactly the same size as the image, and I asked this question at StackOverflow, and I was convinced that I could make the image smaller than the target partition.
However, after I write the image to the target MMC partition, my DM3730 board won't boot. Then I came across this wiki page
http://elinux.org/Panda_How_to_MLO_%26_u-boot
The test program at the end suggests that, if size of the file system size(BPB value) does not equal to partition size(MBR value), then the rom code won't bootthe CPU.
In my case, when boot partition size is 40141KB and file system size is 40000 size, then it won't boot. But if they are both 40141KB, then it boots.
Is this a feature in the DM3730 boot rom code that it checks those two values as a indication of file system corruption?