Skip to contentSkip to conversation

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

PATCH Applied Marek Szyprowski 2 participants 2 messages Feb 18, 2020 – Feb 19, 2020 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): CGME20200218074310eucas1p288fe322bfadcff6025aadf7b6d51ffc2@eucas1p2.samsung.com

#1 lore raw

PATCH 1/1 ARM: exynos_defconfig: Enable SquashFS and increase RAM block device size

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.

---
 arch/arm/configs/exynos_defconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/configs/exynos_defconfig +2 -1
index 9b889590555e..8aa40886476d 100644
@@ -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
Signature · 1 line
2.17.1
maintainer Applied
#2 lore raw
Quoted 8 lines · Marek Szyprowski

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.

---
 arch/arm/configs/exynos_defconfig | 3 ++-

Thanks, applied.

Best regards,
Krzysztof