[openwrt/openwrt] gemini: only provide squashfs image for storlink-derivates

LEDE Commits lede-commits at lists.infradead.org
Fri Dec 3 15:37:57 PST 2021


chunkeey pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/eb20a1b8bb631084b9a70126eac2a6e32c3f3565

commit eb20a1b8bb631084b9a70126eac2a6e32c3f3565
Author: Christian Lamparter <chunkeey at gmail.com>
AuthorDate: Thu Dec 2 20:04:53 2021 +0100

    gemini: only provide squashfs image for storlink-derivates
    
    The itian sq201, raidsonic ib-4220-b and storlink sl93512r
    can't boot from ext4. This is because the rootfstype in the
    device-tree bootargs is set to "squashfs,jffs2". (And ext4
    was not designed for raw NOR flash chips).
    
    Signed-off-by: Christian Lamparter <chunkeey at gmail.com>
---
 target/linux/gemini/image/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/gemini/image/Makefile b/target/linux/gemini/image/Makefile
index 9906808c9e..c84f1926dd 100644
--- a/target/linux/gemini/image/Makefile
+++ b/target/linux/gemini/image/Makefile
@@ -181,6 +181,7 @@ define Device/storlink-reference
 	COMPILE := copy-kernel-$(1).bin
 	COMPILE/copy-kernel-$(1).bin := copy-kernel.bin
 	IMAGES := factory.bin
+	FILESYSTEMS := squashfs
 	IMAGE/factory.bin := append-rootfs | pad-rootfs | pad-to 6144k | \
 		storlink-default-images $(1)
 	DEVICE_PACKAGES := $(GEMINI_NAS_PACKAGES)



More information about the lede-commits mailing list