configs/nanopi_neo: determine roofs partition size automatically
authorViktar Palstsiuk <viktar.palstsiuk@promwad.com>
Tue, 26 Nov 2019 09:03:52 +0000 (12:03 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 26 Nov 2019 21:53:13 +0000 (22:53 +0100)
Let genimage determine rootfs partition size based on the filesystem
image size.

Signed-off-by: Viktar Palstsiuk <viktar.palstsiuk@promwad.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
board/friendlyarm/nanopi-neo/genimage.cfg
configs/nanopi_neo_defconfig

index ad43d310496c9dcfc727c407d9ba2e654c6588a9..f6adc4af3ea94dacb05dd9ea11f15e9142742660 100644 (file)
@@ -29,6 +29,5 @@ image sdcard.img {
        partition rootfs {
                partition-type = 0x83
                image = "rootfs.ext4"
-               size = 32M
        }
 }
index aa464917b560af5a7fa788431255fea3a0ff10c2..838f4edad5a1dfd466b6ab9dd8281e0074e3191d 100644 (file)
@@ -31,8 +31,6 @@ BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin"
 # Build an sdcard image
 BR2_TARGET_ROOTFS_EXT2=y
 BR2_TARGET_ROOTFS_EXT2_4=y
-BR2_TARGET_ROOTFS_EXT2_SIZE="32M"
-BR2_TARGET_ROOTFS_EXT2_INODES=8192
 # BR2_TARGET_ROOTFS_TAR is not set
 BR2_PACKAGE_HOST_DOSFSTOOLS=y
 BR2_PACKAGE_HOST_GENIMAGE=y