From 4b2585dc0a1343849ef7cabdfe446a7ce0abab8d Mon Sep 17 00:00:00 2001 From: Corentin Labbe Date: Fri, 15 Mar 2019 10:13:12 +0000 Subject: meta-agl-bsp: recipes-kernel: linux: Increase BLK_RAM size For SPEC-2075, I tried to boot an upsquare using NBD and it fail with: [ 8.380343] EXT4-fs (ram0): bad geometry: block count 8492 exceeds size of device (4096 blocks) [ 8.390509] EXT4-fs (ram0): bad geometry: block count 8492 exceeds size of device (4096 blocks) For having a successfull boot, I needed to increase BLK_DEV_RAM_SIZE to a larger value (16384). Instead of increasing to only 16384, I use 65536 which is the value used in other meta-xxxx like meta-freescale. This patch increase BLK_DEV_RAM_SIZE to 65536. Signed-off-by: Corentin LABBE Change-Id: I0792be1038d0bcd120c3c69c90cd6e1966c9b1ee --- meta-agl-bsp/recipes-kernel/linux/linux/ramdisk.cfg | 1 + 1 file changed, 1 insertion(+) (limited to 'meta-agl-bsp/recipes-kernel') diff --git a/meta-agl-bsp/recipes-kernel/linux/linux/ramdisk.cfg b/meta-agl-bsp/recipes-kernel/linux/linux/ramdisk.cfg index 41530dd6e..3d44de805 100644 --- a/meta-agl-bsp/recipes-kernel/linux/linux/ramdisk.cfg +++ b/meta-agl-bsp/recipes-kernel/linux/linux/ramdisk.cfg @@ -1 +1,2 @@ CONFIG_BLK_DEV_RAM=y +CONFIG_BLK_DEV_RAM_SIZE=65536 -- cgit 1.2.3-korg