Skip to content

Commit 498083d

Browse files
committed
mkimage: default to 256MiB boot instead of 64MiB
fixes #363
1 parent e0805d4 commit 498083d

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mkimage.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ usage() {
6363
6464
OPTIONS
6565
-b <fstype> /boot filesystem type (default: vfat)
66-
-B <bsize> /boot filesystem size (default: 64MiB)
66+
-B <bsize> /boot filesystem size (default: 256MiB)
6767
-r <fstype> / filesystem type (default: ext4)
6868
-s <totalsize> Total image size (default: 2GiB)
6969
-o <output> Image filename (default: guessed automatically)
@@ -127,13 +127,13 @@ case "$PLATFORM" in
127127
: "${BOOT_FSSIZE:=256MiB}"
128128
;;
129129
esac
130-
# By default we build all platform images with a 64MiB boot partition
131-
# formated FAT16, and an approximately 1.9GiB root partition formated
130+
# By default we build all platform images with a 256MiB boot partition
131+
# formated FAT16, and an approximately 1.88GiB root partition formatted
132132
# ext4. More exotic combinations are of course possible, but this
133133
# combination works on all known platforms.
134134
: "${IMGSIZE:=2G}"
135135
: "${BOOT_FSTYPE:=vfat}"
136-
: "${BOOT_FSSIZE:=64MiB}"
136+
: "${BOOT_FSSIZE:=256MiB}"
137137
: "${ROOT_FSTYPE:=ext4}"
138138

139139
# Verify that the required tooling is available
@@ -172,7 +172,7 @@ if [ "$BOOT_FSTYPE" = "vfat" ]; then
172172
fi
173173

174174
# These platforms use a partition layout with a small boot
175-
# partition (64M by default) and the rest of the space as the
175+
# partition (256M by default) and the rest of the space as the
176176
# root filesystem. This is the generally preferred disk
177177
# layout for new platforms.
178178
case "$PLATFORM" in

0 commit comments

Comments
 (0)