06-13-2020, 03:44 PM
Are you accepting pull requests?
Sanity checking partition sizes/offsets before applying the systempartitions update would be useful.
Alternately, since they're writing to defined offsets in the filesystem, not anything partition specific, just blow the images out at the correct offsets.
Something like this should work more generally, regardless of partition formats (from the script here: https://gitlab.manjaro.org/manjaro-arm/p...sp.install
dd if=idbloader.img of=/dev/mmcblkX seek=64 conv=notrunc
dd if=uboot.img of=/dev/mmcblkX seek=16384 conv=notrunc
dd if=trust.img of=/dev/mmcblkX seek=24576 conv=notrunc
Sanity checking partition sizes/offsets before applying the systempartitions update would be useful.
Alternately, since they're writing to defined offsets in the filesystem, not anything partition specific, just blow the images out at the correct offsets.
Something like this should work more generally, regardless of partition formats (from the script here: https://gitlab.manjaro.org/manjaro-arm/p...sp.install
dd if=idbloader.img of=/dev/mmcblkX seek=64 conv=notrunc
dd if=uboot.img of=/dev/mmcblkX seek=16384 conv=notrunc
dd if=trust.img of=/dev/mmcblkX seek=24576 conv=notrunc