Skip to contentSkip to conversation

configs/nanopi_neo: deterine roofs partition size automatically

PATCH New Viktar Palstsiuk 2 participants 2 messages Nov 26, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs/nanopi_neo: deterine roofs partition size automatically

Let genimage determine rootfs partition size based on the filesystem image size

---
 board/friendlyarm/nanopi-neo/genimage.cfg | 1 -
 configs/nanopi_neo_defconfig              | 2 --
 2 files changed, 3 deletions(-)
board/friendlyarm/nanopi-neo/genimage.cfg +0 -1
index ad43d31049..f6adc4af3e 100644
@@ -29,6 +29,5 @@ image sdcard.img {
 	partition rootfs {
 		partition-type = 0x83
 		image = "rootfs.ext4"
-		size = 32M
 	}
 }
configs/nanopi_neo_defconfig +0 -2
index aa464917b5..838f4edad5 100644
@@ -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
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 configs/nanopi_neo: deterine roofs partition size automatically

Quoted 7 lines · On Tue, 26 Nov 2019 12:03:52 +0300 Viktar Palstsiuk…

Let genimage determine rootfs partition size based on the filesystem image size

---
 board/friendlyarm/nanopi-neo/genimage.cfg | 1 -
 configs/nanopi_neo_defconfig              | 2 --
 2 files changed, 3 deletions(-)

Applied to next, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com