Hi,
On Tue, Oct 12, 2010 at 5:44 PM, Arnd Bergmann arnd@arndb.de wrote:
On Tuesday 12 October 2010, Loïc Minier wrote:
[...]
Right; ideally, we'd offset it so that it's still on a nice boundary e.g. we start at sector 512 (1, 8, 8)
IIRC, Windows uses 1MB partition alignment these days. It's probably a good idea to do the same everywhere because SD card vendors might decide to "optimize" for the common case.
Could be... although the Beagle ROM seems to be very sensitive to the precise layout. We might find that the partition must start at sector 63 (but I'm not sure I understand the behaviour yet).
It's not the end of the world if the vfat partition is misaligned, since this isn't accessed much, and written only occasionally. If we can have the rootfs partition aligned, that probably brings most of the benefit.
[...]
# --force is needed so that sfdisk accepts the non-cylinder aligned partition boundaries.
I think --linux should allow you to do this as well without dropping all the safety nets.
Could be worth a try.
---Dave