All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: exynos_defconfig: Enable SquashFS and increase RAM block device size
       [not found] <CGME20200218074310eucas1p288fe322bfadcff6025aadf7b6d51ffc2@eucas1p2.samsung.com>
@ 2020-02-18  7:43 ` Marek Szyprowski
  2020-02-19 17:29   ` Krzysztof Kozlowski
  0 siblings, 1 reply; 2+ messages in thread
From: Marek Szyprowski @ 2020-02-18  7:43 UTC (permalink / raw)
  To: linux-samsung-soc
  Cc: Marek Szyprowski, Krzysztof Kozlowski, Bartlomiej Zolnierkiewicz

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(-)

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: exynos_defconfig: Enable SquashFS and increase RAM block device size
  2020-02-18  7:43 ` [PATCH] ARM: exynos_defconfig: Enable SquashFS and increase RAM block device size Marek Szyprowski
@ 2020-02-19 17:29   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Kozlowski @ 2020-02-19 17:29 UTC (permalink / raw)
  To: Marek Szyprowski; +Cc: linux-samsung-soc, Bartlomiej Zolnierkiewicz

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-02-19 17:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20200218074310eucas1p288fe322bfadcff6025aadf7b6d51ffc2@eucas1p2.samsung.com>
2020-02-18  7:43 ` [PATCH] ARM: exynos_defconfig: Enable SquashFS and increase RAM block device size Marek Szyprowski
2020-02-19 17:29   ` Krzysztof Kozlowski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.