summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/image.mk2
-rw-r--r--target/aarch64/rockpi4-plus/genimage.cfg5
2 files changed, 6 insertions, 1 deletions
diff --git a/mk/image.mk b/mk/image.mk
index 614551ee2..f17d2cb09 100644
--- a/mk/image.mk
+++ b/mk/image.mk
@@ -342,7 +342,7 @@ ${FW_DIR}/${GENIMAGE}: ${TARGET_DIR} kernel-package
@rm -rf ${FW_DIR}/temp
@mkdir -p ${FW_DIR}/temp
@$(CP) $(KERNEL) $(FW_DIR)/kernel
- @dd if=/dev/zero of=${FW_DIR}/cfgfs.img bs=16384 count=1 $(MAKE_TRACE)
+ @dd if=/dev/zero of=${FW_DIR}/cfgfs.img bs=16384 count=1024 $(MAKE_TRACE)
@mkdir -p ${FW_DIR}/extlinux
@$(CP) $(EXTLINUX) $(FW_DIR)/extlinux
ifeq ($(ADK_RUNTIME_FIX_PERMISSION),y)
diff --git a/target/aarch64/rockpi4-plus/genimage.cfg b/target/aarch64/rockpi4-plus/genimage.cfg
index 482c9a11d..9ea22a6d3 100644
--- a/target/aarch64/rockpi4-plus/genimage.cfg
+++ b/target/aarch64/rockpi4-plus/genimage.cfg
@@ -37,4 +37,9 @@ image sdcard.img {
partition-type = 0x83
image = "rootfs.ext"
}
+
+ partition cfgfs {
+ partition-type = 0x88
+ image = "cfgfs.img"
+ }
}