diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2019-09-21 13:21:36 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2019-09-21 13:48:15 +0200 |
commit | 61c57af618e264e9ed3ebd795eb923cbf32797c8 (patch) | |
tree | fb1433067e854b0dd0164865caaee6111266a8cc | |
parent | 8cb13f4e6d5750957449b4c5740f64af11a9ad36 (diff) | |
download | upstream-61c57af618e264e9ed3ebd795eb923cbf32797c8.tar.gz upstream-61c57af618e264e9ed3ebd795eb923cbf32797c8.tar.bz2 upstream-61c57af618e264e9ed3ebd795eb923cbf32797c8.zip |
build: set TARGET_ROOTFS_PARTSIZE to make combined image fit in 128MB
Change TARGET_ROOTFS_PARTSIZE from 128 to 104 MiB, so the whole image
(bootloader + boot + root) will fit on a 128MB CF card by default.
With these settings, the generated images (tested on x86-generic and
x86-64) have 126,353,408 bytes; the smallest CF card marketed as "128MB"
that I found a datasheet for (a Transcend TS128MCF80) has 126,959,616
bytes.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
-rw-r--r-- | config/Config-images.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/Config-images.in b/config/Config-images.in index a3d9928842..4ee0273f63 100644 --- a/config/Config-images.in +++ b/config/Config-images.in @@ -268,7 +268,7 @@ menu "Target Images" config TARGET_ROOTFS_PARTSIZE int "Root filesystem partition size (in MB)" depends on GRUB_IMAGES || USES_ROOTFS_PART || TARGET_ROOTFS_EXT4FS || TARGET_omap || TARGET_rb532 || TARGET_sunxi || TARGET_uml - default 128 + default 104 help Select the root filesystem partition size. |