gemini: generate squashfs hdd image for DNS313
authorChristian Lamparter <chunkeey@gmail.com>
Sun, 10 Feb 2019 13:57:31 +0000 (14:57 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Tue, 11 Aug 2020 17:08:12 +0000 (19:08 +0200)
This patch adds a squashfs + overlay (f2fs / ext4)
option for the DNS313.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
target/linux/gemini/config-4.19
target/linux/gemini/image/Makefile
target/linux/samsung/s5pv210/config-4.14

index b23e6a56d4a32b378ae7ce9fe2277866bc2e5e24..4bd9b007dc397a498f9eb6af32b95880c14dea5f 100644 (file)
@@ -44,6 +44,7 @@ CONFIG_ATA=y
 CONFIG_ATAGS=y
 CONFIG_ATA_VERBOSE_ERROR=y
 CONFIG_AUTO_ZRELADDR=y
+CONFIG_BLK_DEV_LOOP=y
 CONFIG_BLK_DEV_SD=y
 CONFIG_BLK_MQ_PCI=y
 CONFIG_BLK_SCSI_REQUEST=y
@@ -171,6 +172,11 @@ CONFIG_ELF_CORE=y
 # CONFIG_EMBEDDED is not set
 # CONFIG_EXPERT is not set
 CONFIG_EXT4_FS=y
+# CONFIG_F2FS_CHECK_FS is not set
+CONFIG_F2FS_FS=y
+# CONFIG_F2FS_FS_SECURITY is not set
+CONFIG_F2FS_FS_XATTR=y
+CONFIG_F2FS_STAT_FS=y
 CONFIG_FARADAY_FTINTC010=y
 CONFIG_FB=y
 CONFIG_FB_CFB_COPYAREA=y
index 83f3d222d98b1a6843b7bbb079b12ce0f95f64b4..09c1c6077e4a24ee71437e066a48c382219ab79d 100644 (file)
@@ -173,7 +173,7 @@ define Device/dlink_dns-313
        DEVICE_DTS := gemini-dlink-dns-313
        DEVICE_PACKAGES := $(GEMINI_NAS_PACKAGES)
        BLOCKSIZE := 1k
-       FILESYSTEMS := ext4
+       FILESYSTEMS := ext4 squashfs
        IMAGES := factory.bin.gz
        IMAGE/factory.bin.gz := dns313-images | gzip
 endef
index 548b1987150a8c9bf72b9d8bc7ed39ec7c0fe75b..9c1e60b334d95e983a1dca6582e33f1e271bdab5 100644 (file)
@@ -52,6 +52,15 @@ CONFIG_ARM_VIRT_EXT=y
 CONFIG_ATAGS=y
 CONFIG_AUTO_ZRELADDR=y
 CONFIG_CACHE_L2X0=y
+CONFIG_BLK_DEV_LOOP=y
+CONFIG_BLK_DEV_SD=y
+CONFIG_BLK_MQ_PCI=y
+CONFIG_BLK_SCSI_REQUEST=y
+CONFIG_BOUNCE=y
+# CONFIG_BPF_SYSCALL is not set
+# CONFIG_CACHE_L2X0 is not set
+CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y
+# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
 CONFIG_CLKDEV_LOOKUP=y
 CONFIG_CLKSRC_SAMSUNG_PWM=y
 CONFIG_CLONE_BACKWARDS=y
@@ -129,6 +138,16 @@ CONFIG_ELF_CORE=y
 # CONFIG_ENABLE_DEFAULT_TRACERS is not set
 CONFIG_ENABLE_MUST_CHECK=y
 # CONFIG_EXYNOS_AUDSS_CLK_CON is not set
+# CONFIG_EMBEDDED is not set
+# CONFIG_ENABLE_WARN_DEPRECATED is not set
+# CONFIG_EXPERT is not set
+CONFIG_EXT4_FS=y
+# CONFIG_F2FS_CHECK_FS is not set
+CONFIG_F2FS_FS=y
+# CONFIG_F2FS_FS_SECURITY is not set
+CONFIG_F2FS_FS_XATTR=y
+CONFIG_F2FS_STAT_FS=y
+CONFIG_FARADAY_FTINTC010=y
 CONFIG_FHANDLE=y
 CONFIG_FIRMWARE_IN_KERNEL=y
 CONFIG_FIX_EARLYCON_MEM=y