All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] configs/beaglebone: increase rootfs image size
@ 2019-07-09 20:54 Pierre-Jean Texier
  2019-07-10 15:38 ` Peter Seiderer
  0 siblings, 1 reply; 3+ messages in thread
From: Pierre-Jean Texier @ 2019-07-09 20:54 UTC (permalink / raw)
  To: buildroot

The default rootfs image size is too small (60M).
So, increase it to 120M.

Fixes:

 Copying files into the device: __populate_fs: Could not allocate block in ext2 filesystem while writing file "koi8_r.py"
 mkfs.ext4: Could not allocate block in ext2 filesystem while populating file system
 *** Maybe you need to increase the filesystem size (BR2_TARGET_ROOTFS_EXT2_SIZE)

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
---
 configs/beaglebone_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/beaglebone_defconfig b/configs/beaglebone_defconfig
index b4f152f..0ba3310 100644
--- a/configs/beaglebone_defconfig
+++ b/configs/beaglebone_defconfig
@@ -13,6 +13,7 @@ BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="am335x-evm am335x-bone am335x-boneblack am335x-bonegreen am335x-evmsk"
 BR2_TARGET_ROOTFS_EXT2=y
 BR2_TARGET_ROOTFS_EXT2_4=y
+BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
 BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-- 
2.7.4

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

* [Buildroot] [PATCH] configs/beaglebone: increase rootfs image size
  2019-07-09 20:54 [Buildroot] [PATCH] configs/beaglebone: increase rootfs image size Pierre-Jean Texier
@ 2019-07-10 15:38 ` Peter Seiderer
  2019-07-10 15:44   ` Pierre-Jean Texier
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Seiderer @ 2019-07-10 15:38 UTC (permalink / raw)
  To: buildroot

Hello Pierre-Jean,

On Tue,  9 Jul 2019 22:54:14 +0200, Pierre-Jean Texier <pjtexier@koncepto.io> wrote:

> The default rootfs image size is too small (60M).
> So, increase it to 120M.
>
> Fixes:
>
>  Copying files into the device: __populate_fs: Could not allocate block in ext2 filesystem while writing file "koi8_r.py"
>  mkfs.ext4: Could not allocate block in ext2 filesystem while populating file system
>  *** Maybe you need to increase the filesystem size (BR2_TARGET_ROOTFS_EXT2_SIZE)
>
> Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
> ---
>  configs/beaglebone_defconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/configs/beaglebone_defconfig b/configs/beaglebone_defconfig
> index b4f152f..0ba3310 100644
> --- a/configs/beaglebone_defconfig
> +++ b/configs/beaglebone_defconfig
> @@ -13,6 +13,7 @@ BR2_LINUX_KERNEL_DTS_SUPPORT=y
>  BR2_LINUX_KERNEL_INTREE_DTS_NAME="am335x-evm am335x-bone am335x-boneblack am335x-bonegreen am335x-evmsk"
>  BR2_TARGET_ROOTFS_EXT2=y
>  BR2_TARGET_ROOTFS_EXT2_4=y
> +BR2_TARGET_ROOTFS_EXT2_SIZE="120M"

Tested with buildroot master, no change:

	$ make O=$PWD -C ../buildroot_git beaglebone_defconfig
	$ make

	$ mount -t ext4 -o loop images/rootfs.ext4 /mnt/
	$ df /mnt/
Filesystem     1K-blocks  Used Available Use% Mounted on
/dev/loop0         55397 15029     36068  30% /mnt
	$ umount /mnt

Still plenty of space available....

	$ find . -name koi8_r.py

No koi8_r.py found, you enabled some additional options?

Regards,
Peter

>  BR2_TARGET_UBOOT=y
>  BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
>  BR2_TARGET_UBOOT_CUSTOM_VERSION=y

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

* [Buildroot] [PATCH] configs/beaglebone: increase rootfs image size
  2019-07-10 15:38 ` Peter Seiderer
@ 2019-07-10 15:44   ` Pierre-Jean Texier
  0 siblings, 0 replies; 3+ messages in thread
From: Pierre-Jean Texier @ 2019-07-10 15:44 UTC (permalink / raw)
  To: buildroot

Hi Peter,

Le 10/07/2019 ? 17:38, Peter Seiderer a ?crit?:
> Tested with buildroot master, no change:
> 
> 	$ make O=$PWD -C ../buildroot_git beaglebone_defconfig
> 	$ make
> 
> 	$ mount -t ext4 -o loop images/rootfs.ext4/mnt/
> 	$ df/mnt/
> Filesystem     1K-blocks  Used Available Use% Mounted on
> /dev/loop0         55397 15029     36068  30% /mnt
> 	$ umount /mnt
> 
> Still plenty of space available....
> 
> 	$ find . -name koi8_r.py
> 
> No koi8_r.py found, you enabled some additional options?

My bad, you are right, my workspace was not
totally clean ...

I will update the status to "Not Applicable".

Thanks for testing.

Regards,
Pierre-Jean

> 
> Regards,
> Peter

-- 
Pierre-Jean Texier
Embedded Linux Engineer
https://koncepto.io

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

end of thread, other threads:[~2019-07-10 15:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-09 20:54 [Buildroot] [PATCH] configs/beaglebone: increase rootfs image size Pierre-Jean Texier
2019-07-10 15:38 ` Peter Seiderer
2019-07-10 15:44   ` Pierre-Jean Texier

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.