Just wondering if you ever got this sorted out. I am going through the process of building an sd card image, and the following is information for my system (linux-sunxi). I don't know if this format is universal, but it may give you some pointers of where to find more info for your system.
SD card layout for u-boot <= v2013.07 otherwise u-boot starts at 40, not 32
Code:
Start Size Usage
0 8KB Unused, available for partition table
8 24KB Initial SPL loader
32 512KB u-boot
544 128KB environment
672 352KB reserved
1024 rest Free for partitions
Since u-boot is after the partition table, and before the partitions actually start, there 'should' not be a problem if you partition and format the flash, as long as your first partition starts at 1024 (1Meg).
I have not tried duplicating a card, but I would definitely look into that before trying anything, or you risk loosing not only u-boot, but spl loader and everything else that is stored before the first partition.
However, taking your question literally:
Quote:
can we format/partition the space where Uboot resides in the flash
|
I guess the answer should be 'no'. Everything located between the partition table and first partition must stay at those locations.
Any corrections welcome.