From 3c9a9c867f0961120f2f1b82b07f6a158d95bac4 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Sat, 10 Feb 2024 13:44:30 -0500 Subject: [PATCH] mkimage: default to 256MiB boot instead of 64MiB fixes #363 --- README.md | 2 +- mkimage.sh | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 44b3f6d..7220963 100644 --- a/README.md +++ b/README.md @@ -209,7 +209,7 @@ PLATFORMFS. The resulting image will have 2 partitions, /boot and /. OPTIONS -b /boot filesystem type (default: vfat) - -B /boot filesystem size (default: 64MiB) + -B /boot filesystem size (default: 256MiB) -r / filesystem type (default: ext4) -s Total image size (default: 2GiB) -o Image filename (default: guessed automatically) diff --git a/mkimage.sh b/mkimage.sh index 62526a6..1d691cc 100755 --- a/mkimage.sh +++ b/mkimage.sh @@ -63,7 +63,7 @@ usage() { OPTIONS -b /boot filesystem type (default: vfat) - -B /boot filesystem size (default: 64MiB) + -B /boot filesystem size (default: 256MiB) -r / filesystem type (default: ext4) -s Total image size (default: 2GiB) -o Image filename (default: guessed automatically) @@ -127,13 +127,13 @@ case "$PLATFORM" in : "${BOOT_FSSIZE:=256MiB}" ;; esac -# By default we build all platform images with a 64MiB boot partition -# formated FAT16, and an approximately 1.9GiB root partition formated +# By default we build all platform images with a 256MiB boot partition +# formated FAT16, and an approximately 1.88GiB root partition formatted # ext4. More exotic combinations are of course possible, but this # combination works on all known platforms. : "${IMGSIZE:=2G}" : "${BOOT_FSTYPE:=vfat}" -: "${BOOT_FSSIZE:=64MiB}" +: "${BOOT_FSSIZE:=256MiB}" : "${ROOT_FSTYPE:=ext4}" # Verify that the required tooling is available @@ -172,7 +172,7 @@ if [ "$BOOT_FSTYPE" = "vfat" ]; then fi # These platforms use a partition layout with a small boot -# partition (64M by default) and the rest of the space as the +# partition (256M by default) and the rest of the space as the # root filesystem. This is the generally preferred disk # layout for new platforms. case "$PLATFORM" in