diff mbox series

ARM: exynos_defconfig: Enable SquashFS and increase RAM block device size

Message ID 20200218074306.16824-1-m.szyprowski@samsung.com (mailing list archive)
State Mainlined
Commit f87249dd1c9b3bf06c2252419ccf2ee65592b538
Headers show
Series ARM: exynos_defconfig: Enable SquashFS and increase RAM block device size | expand

Commit Message

Marek Szyprowski Feb. 18, 2020, 7:43 a.m. UTC
All modules built from exynos_defconfig occupy about 55M, so enable
squashfs filesystem support and increase default ram block device size
to 32M to enable deploying them on initrd. Such initrd, using squashfs
requires at least 24M.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
---
 arch/arm/configs/exynos_defconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Krzysztof Kozlowski Feb. 19, 2020, 5:29 p.m. UTC | #1
On Tue, Feb 18, 2020 at 08:43:06AM +0100, Marek Szyprowski wrote:
> All modules built from exynos_defconfig occupy about 55M, so enable
> squashfs filesystem support and increase default ram block device size
> to 32M to enable deploying them on initrd. Such initrd, using squashfs
> requires at least 24M.
> 
> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
> ---
>  arch/arm/configs/exynos_defconfig | 3 ++-

Thanks, applied.

Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/configs/exynos_defconfig
index 9b889590555e..8aa40886476d 100644
--- a/arch/arm/configs/exynos_defconfig
+++ b/arch/arm/configs/exynos_defconfig
@@ -91,7 +91,7 @@  CONFIG_DEVTMPFS_MOUNT=y
 CONFIG_BLK_DEV_LOOP=y
 CONFIG_BLK_DEV_CRYPTOLOOP=y
 CONFIG_BLK_DEV_RAM=y
-CONFIG_BLK_DEV_RAM_SIZE=8192
+CONFIG_BLK_DEV_RAM_SIZE=32768
 CONFIG_SCSI=y
 CONFIG_BLK_DEV_SD=y
 CONFIG_CHR_DEV_SG=y
@@ -319,6 +319,7 @@  CONFIG_VFAT_FS=y
 CONFIG_TMPFS=y
 CONFIG_TMPFS_POSIX_ACL=y
 CONFIG_CRAMFS=y
+CONFIG_SQUASHFS=y
 CONFIG_ROMFS_FS=y
 CONFIG_NFS_FS=y
 CONFIG_NFS_V4=y