On Sat, 17 Aug 2024 13:00:36 +0200 Holger Wansing <hwans...@mailbox.org> wrote:
> Pascal Hambourg <pas...@plouf.fr.eu.org> wrote:
> > 16 MB (~15.3 MiB) or 16 MiB (~16.8 MB) ?
> > In partman, 1 MB really means 10^6 bytes, not 1 MiB (2^20 bytes).
> 
> I think I've actually tried both and IIRC that didn't make a difference.

for the MNT Reform we recently bumped the start of the first partition to be at
16777216 (16 MiB), i.e. in our scripts we run:

/sbin/parted -s "$SYSIMAGE.img" "mkpart primary ext4 16MiB ..."

For the longest time, our offset for the first partition was at 4194304 bytes
but since there is now the rk3588 module that we want to support, this had to
be bumped quite a bit. Initially we had it at 12 MiB (which worked fine) but
after having read https://opensource.rock-chips.com/wiki_Partitions this now
became 16 MiB just to be on the safe-side (no idea how the user will be
repurposing their system) and because 4 MiB extra do not add much in the grand
scheme of things...

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to