[Buildroot] [PATCH] configs/beaglebone: increase rootfs image size

Pierre-Jean Texier pjtexier at koncepto.io
Tue Jul 9 20:54:14 UTC 2019


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 at 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



More information about the buildroot mailing list