It would make sense to resize store *now* if we are going
to do it, but I am wary of requiring a factory reset. Also
need to double check that the unused space at the end is truly
unused. I am assuming the boot loader is in the first 32KB,
but haven’t actually checked.
Looking at the third (resize store) arrangement, it would
be moving 0xC10000-0xD0FFFF to 0xE10000-0xFFFFFF, which
doesn’t seem to overlap. I wonder what simply copy that
partition over (without reformatting flash) would do? Either
corrupt the filesystem, ignore the extra space, or magically
have the new space available to FAT? I suspect corruption. So,
there is another (more complex) alternative:
- Create a 2nd fat store partition (0xE10000-0xFFFFFF)
- Format and mount that as FAT
- Copy files from old to new
- Unmount and drop the old store
- Finish the rest of the partition upgrade
I suspect #3 would be the most complex step.
Or the store move and resize could be done first as a
separate step.
Thoughts? Much more complex and risky...