All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] pc_x86_64_bios_defconfig: increase ext2 filesystem size
@ 2017-04-14 21:26 Arnout Vandecappelle
  2017-04-14 21:26 ` [Buildroot] [PATCH 2/3] firefly_rk3288_demo_defconfig: " Arnout Vandecappelle
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Arnout Vandecappelle @ 2017-04-14 21:26 UTC (permalink / raw)
  To: buildroot

Since commit c6bca8cef0 removed autocalculation of the ext2 filesystem
size, the default size is now set to 60MB. However, this is too small
for pc_x86_64_bios_defconfig. Indeed, the ext2 filesystem contains the
kernel (4MB), the wireless modules (4MB), all firmware for wireless
modules (40MB), and the wifi userspace (9MB) and the udev hwdb (5MB)
which brings the total to 70MB.

Increase the filesystem size to 120000K, which is a nice and round
number and leaves enough space for overhead on a 128MB flash drive.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 configs/pc_x86_64_bios_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/pc_x86_64_bios_defconfig b/configs/pc_x86_64_bios_defconfig
index 23462ad563..65b0016031 100644
--- a/configs/pc_x86_64_bios_defconfig
+++ b/configs/pc_x86_64_bios_defconfig
@@ -17,6 +17,7 @@ BR2_TARGET_GRUB2=y
 # Filesystem / image
 BR2_TARGET_ROOTFS_EXT2=y
 BR2_TARGET_ROOTFS_EXT2_4=y
+BR2_TARGET_ROOTFS_EXT2_BLOCKS=120000
 # BR2_TARGET_ROOTFS_TAR is not set
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/pc/post-image.sh"
 
-- 
2.11.0

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

* [Buildroot] [PATCH 2/3] firefly_rk3288_demo_defconfig: increase ext2 filesystem size
  2017-04-14 21:26 [Buildroot] [PATCH 1/3] pc_x86_64_bios_defconfig: increase ext2 filesystem size Arnout Vandecappelle
@ 2017-04-14 21:26 ` Arnout Vandecappelle
  2017-04-14 21:26 ` [Buildroot] [PATCH 3/3] at91sam9x5ek_mmc_dev_defconfig: " Arnout Vandecappelle
  2017-04-15  8:42 ` [Buildroot] [PATCH 1/3] pc_x86_64_bios_defconfig: " Thomas Petazzoni
  2 siblings, 0 replies; 4+ messages in thread
From: Arnout Vandecappelle @ 2017-04-14 21:26 UTC (permalink / raw)
  To: buildroot

Since commit c6bca8cef0 removed autocalculation of the ext2 filesystem
size, the default size is now set to 60MB. However, this is too small
for firefly_rk3288_demo_defconfig. Indeed, the ext2 filesystem contains
the mali blobk (90MB) and Qt5 (14MB), totalling to 125MB.

This is a bit too small to fit comfortably on a 128M flash driver, so
increase the size to 250000K (245MB).

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 configs/firefly_rk3288_demo_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/firefly_rk3288_demo_defconfig b/configs/firefly_rk3288_demo_defconfig
index 7dadc6bc9a..c2de701934 100644
--- a/configs/firefly_rk3288_demo_defconfig
+++ b/configs/firefly_rk3288_demo_defconfig
@@ -26,6 +26,7 @@ BR2_PACKAGE_QT5BASE_EGLFS=y
 BR2_PACKAGE_MALI_T76X=y
 BR2_TARGET_ROOTFS_EXT2=y
 BR2_TARGET_ROOTFS_EXT2_4=y
+BR2_TARGET_ROOTFS_EXT2_BLOCKS=250000
 # BR2_TARGET_ROOTFS_TAR is not set
 BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
-- 
2.11.0

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

* [Buildroot] [PATCH 3/3] at91sam9x5ek_mmc_dev_defconfig: increase ext2 filesystem size
  2017-04-14 21:26 [Buildroot] [PATCH 1/3] pc_x86_64_bios_defconfig: increase ext2 filesystem size Arnout Vandecappelle
  2017-04-14 21:26 ` [Buildroot] [PATCH 2/3] firefly_rk3288_demo_defconfig: " Arnout Vandecappelle
@ 2017-04-14 21:26 ` Arnout Vandecappelle
  2017-04-15  8:42 ` [Buildroot] [PATCH 1/3] pc_x86_64_bios_defconfig: " Thomas Petazzoni
  2 siblings, 0 replies; 4+ messages in thread
From: Arnout Vandecappelle @ 2017-04-14 21:26 UTC (permalink / raw)
  To: buildroot

Since commit c6bca8cef0 removed autocalculation of the ext2 filesystem
size, the default size is now set to 60MB. However, this is just too
small for at91sam9x5ek_mmc_dev_defconfig, which has a lot of extra
packages for development.

Increase the filesystem size to 120000K, which is a nice and round
number and leaves enough space for overhead on a 128MB flash drive.
Only 65MB is used.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 configs/at91sam9x5ek_mmc_dev_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/at91sam9x5ek_mmc_dev_defconfig b/configs/at91sam9x5ek_mmc_dev_defconfig
index 103b457d93..09482d2295 100644
--- a/configs/at91sam9x5ek_mmc_dev_defconfig
+++ b/configs/at91sam9x5ek_mmc_dev_defconfig
@@ -81,6 +81,7 @@ BR2_PACKAGE_VIM=y
 # Filesystem
 BR2_TARGET_ROOTFS_EXT2=y
 BR2_TARGET_ROOTFS_EXT2_4=y
+BR2_TARGET_ROOTFS_EXT2_BLOCKS=120000
 
 # Bootloaders
 BR2_TARGET_AT91BOOTSTRAP3=y
-- 
2.11.0

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

* [Buildroot] [PATCH 1/3] pc_x86_64_bios_defconfig: increase ext2 filesystem size
  2017-04-14 21:26 [Buildroot] [PATCH 1/3] pc_x86_64_bios_defconfig: increase ext2 filesystem size Arnout Vandecappelle
  2017-04-14 21:26 ` [Buildroot] [PATCH 2/3] firefly_rk3288_demo_defconfig: " Arnout Vandecappelle
  2017-04-14 21:26 ` [Buildroot] [PATCH 3/3] at91sam9x5ek_mmc_dev_defconfig: " Arnout Vandecappelle
@ 2017-04-15  8:42 ` Thomas Petazzoni
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2017-04-15  8:42 UTC (permalink / raw)
  To: buildroot

Hello,

On Fri, 14 Apr 2017 23:26:04 +0200, Arnout Vandecappelle
(Essensium/Mind) wrote:
> Since commit c6bca8cef0 removed autocalculation of the ext2 filesystem
> size, the default size is now set to 60MB. However, this is too small
> for pc_x86_64_bios_defconfig. Indeed, the ext2 filesystem contains the
> kernel (4MB), the wireless modules (4MB), all firmware for wireless
> modules (40MB), and the wifi userspace (9MB) and the udev hwdb (5MB)
> which brings the total to 70MB.
> 
> Increase the filesystem size to 120000K, which is a nice and round
> number and leaves enough space for overhead on a 128MB flash drive.
> 
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> ---
>  configs/pc_x86_64_bios_defconfig | 1 +
>  1 file changed, 1 insertion(+)

I've applied all three to master, thanks! For PATCH 2/3, it is somewhat
surprising that the Mali blob takes as much as 90 MB, but that's a
separate issue.

If you could resync the Gitlab mirror so that tomorrow morning build of
all defconfigs uses the latest updates, it would be nice.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

end of thread, other threads:[~2017-04-15  8:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-14 21:26 [Buildroot] [PATCH 1/3] pc_x86_64_bios_defconfig: increase ext2 filesystem size Arnout Vandecappelle
2017-04-14 21:26 ` [Buildroot] [PATCH 2/3] firefly_rk3288_demo_defconfig: " Arnout Vandecappelle
2017-04-14 21:26 ` [Buildroot] [PATCH 3/3] at91sam9x5ek_mmc_dev_defconfig: " Arnout Vandecappelle
2017-04-15  8:42 ` [Buildroot] [PATCH 1/3] pc_x86_64_bios_defconfig: " Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.