From e26a71d1a96aefcc6a63051207b26ea4282afb10 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 29 Jun 2018 12:23:10 +0300 Subject: [PATCH] configs/raspberrypi3_defconfig: increase filesystem size Increase the filesystem size for raspberrypi3 by setting BR2_TARGET_ROOTFS_EXT2_SIZE to "120M". The filesystem for raspberrypi3_64 has the same size. The size is so large because the kernel config enables many many modules. Fixes: Copying files into the device: __populate_fs: Could not allocate block in ext2 filesystem while writing file "services" mkfs.ext4: Could not allocate block in ext2 filesystem while populating file system This error is not reproducible, it seems to depend on e.g. directory ordering. Signed-off-by: Leon Anavi Reviewed-by: "Yann E. MORIN" Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- configs/raspberrypi3_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/raspberrypi3_defconfig b/configs/raspberrypi3_defconfig index 856f321433..0ef9afeecf 100644 --- a/configs/raspberrypi3_defconfig +++ b/configs/raspberrypi3_defconfig @@ -28,6 +28,7 @@ BR2_PACKAGE_HOST_MTOOLS=y # Filesystem / image BR2_TARGET_ROOTFS_EXT2=y BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" # BR2_TARGET_ROOTFS_TAR is not set BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi3/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi3/post-image.sh" -- 2.30.2