builders: Align start and end of all partitions to 4MiB
Closes: #196 (closed).
-
Drop boot_offset specification from all builders. It is not being used. Offset to the first partition is always 4MiB in order to align the partition to 4MiB for the sake of flash media.
-
Parted differs between specifying mib and MiB as units. When using the latter the end sector specification does not include the specified sector (usually what is needed). Use MiB everywhere instead of mib.
-
Increase size of Raspberry Pi firmware partitions to 64MiB from 60MiB as a better round figure.
-
Drop offsets between partitions now that partitions end on 4MiB boundaries and starting the next one immediately results in proper alignment.
Tests:
-
Run unit tests.
-
Build following images and verify. Full image build was not done, only the initial stages of creating the partitions.
Verification:
- Start and end of all partitions align to 4MiB boundaries.
- Offset to first partition is 4MiB.
- There is no empty space between partitions.
- Raspberry Pi firmware partition is 64MiB in size.
Images tested: all
Signed-off-by: Sunil Mohan Adapa sunil@medhas.org Tested-by: Sunil Mohan Adapa sunil@medhas.org