Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] configs/nanopi_neo: deterine roofs partition size automatically
@ 2019-11-26  9:03 Viktar Palstsiuk
  2019-11-26 21:54 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Viktar Palstsiuk @ 2019-11-26  9:03 UTC (permalink / raw)
  To: buildroot

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

Signed-off-by: Viktar Palstsiuk <viktar.palstsiuk@promwad.com>
---
 board/friendlyarm/nanopi-neo/genimage.cfg | 1 -
 configs/nanopi_neo_defconfig              | 2 --
 2 files changed, 3 deletions(-)

diff --git a/board/friendlyarm/nanopi-neo/genimage.cfg b/board/friendlyarm/nanopi-neo/genimage.cfg
index ad43d31049..f6adc4af3e 100644
--- a/board/friendlyarm/nanopi-neo/genimage.cfg
+++ b/board/friendlyarm/nanopi-neo/genimage.cfg
@@ -29,6 +29,5 @@ image sdcard.img {
 	partition rootfs {
 		partition-type = 0x83
 		image = "rootfs.ext4"
-		size = 32M
 	}
 }
diff --git a/configs/nanopi_neo_defconfig b/configs/nanopi_neo_defconfig
index aa464917b5..838f4edad5 100644
--- a/configs/nanopi_neo_defconfig
+++ b/configs/nanopi_neo_defconfig
@@ -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
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH 1/1] configs/nanopi_neo: deterine roofs partition size automatically
  2019-11-26  9:03 [Buildroot] [PATCH 1/1] configs/nanopi_neo: deterine roofs partition size automatically Viktar Palstsiuk
@ 2019-11-26 21:54 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2019-11-26 21:54 UTC (permalink / raw)
  To: buildroot

On Tue, 26 Nov 2019 12:03:52 +0300
Viktar Palstsiuk <viktar.palstsiuk@promwad.com> wrote:

> Let genimage determine rootfs partition size based on the filesystem image size
> 
> Signed-off-by: Viktar Palstsiuk <viktar.palstsiuk@promwad.com>
> ---
>  board/friendlyarm/nanopi-neo/genimage.cfg | 1 -
>  configs/nanopi_neo_defconfig              | 2 --
>  2 files changed, 3 deletions(-)

Applied to next, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-11-26 21:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-26  9:03 [Buildroot] [PATCH 1/1] configs/nanopi_neo: deterine roofs partition size automatically Viktar Palstsiuk
2019-11-26 21:54 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox