diff options
| author | Chukun Pan | 2025-10-20 14:16:21 +0000 |
|---|---|---|
| committer | Zoltan HERPAI | 2026-01-27 15:30:03 +0000 |
| commit | 79d8e1449752806895c03c99e82089d9757e086b (patch) | |
| tree | ea98ddfe764c83f5bf712ded2b60a815f9cae4c1 | |
| parent | 947bcc95f87af1c3e04e39af6a31bef652020049 (diff) | |
| download | openwrt-79d8e1449752806895c03c99e82089d9757e086b.tar.gz | |
d1: enable overlay support
Add the loop module and mkfs tool to use f2fs/ext4
based overlays. This fixes the following bug:
mount_root: unable to create loop device
mount_root: no usable overlay filesystem found, using tmpfs overlay
Fixes: 99545b4bb1faf7c3 ("d1: add new target")
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
(cherry picked from commit 1e7950a45de593354a508d80a39951b440336ab7)
| -rw-r--r-- | target/linux/d1/Makefile | 2 | ||||
| -rw-r--r-- | target/linux/d1/config-6.12 | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/d1/Makefile b/target/linux/d1/Makefile index 0d30c8233c..cd3b1495eb 100644 --- a/target/linux/d1/Makefile +++ b/target/linux/d1/Makefile @@ -15,6 +15,8 @@ KERNEL_PATCHVER:=6.12 include $(INCLUDE_DIR)/target.mk +DEFAULT_PACKAGES += e2fsprogs f2fsck mkf2fs + define Target/Description Build firmware images for Allwinner D1 RISC-V boards endef diff --git a/target/linux/d1/config-6.12 b/target/linux/d1/config-6.12 index fc733f3455..53d5319030 100644 --- a/target/linux/d1/config-6.12 +++ b/target/linux/d1/config-6.12 @@ -23,6 +23,7 @@ CONFIG_ARCH_WANTS_THP_SWAP=y CONFIG_ASN1=y CONFIG_ASSOCIATIVE_ARRAY=y # CONFIG_AX45MP_L2_CACHE is not set +CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_SD=y CONFIG_BLK_MQ_PCI=y CONFIG_CC_HAVE_STACKPROTECTOR_TLS=y |