This fixes a typo and adds the missing ubinize.cfg.
Fixes: 2d7388bc334dd ("Implement UBIFS rootfs support")
---
mk/image.mk | 2 +-
target/mips/mikrotik-rb532/ubinize.cfg | 16 ++++++++++++++++
2 files changed, 17 insertions(+), 1 deletion(-)
create mode 100644 target/mips/mikrotik-rb532/ubinize.cfg
diff --git a/mk/image.mk b/mk/image.mk
index 65332bd4be53b..fcf3af89e84ba 100644
--- a/mk/image.mk
+++ b/mk/image.mk
@@ -196,7 +196,7 @@ ${FW_DIR}/${ROOTFSUBIFS}: ${TARGET_DIR}
( \
PATH='${HOST_PATH}'; \
SP_SIZE='${ADK_TARGET_FLASH_SUBPAGE_SIZE}'; \
- PG_SZIE='${ADK_TARGET_FLASH_PAGE_SIZE}'; \
+ PG_SIZE='${ADK_TARGET_FLASH_PAGE_SIZE}'; \
LEB_SIZE=$$(((($$SP_SIZE + $$PG_SIZE) / $$PG_SIZE) * $$PG_SIZE)); \
mkfs.ubifs -r ${TARGET_DIR} \
-m $$PG_SIZE \
diff --git a/target/mips/mikrotik-rb532/ubinize.cfg
b/target/mips/mikrotik-rb532/ubinize.cfg
new file mode 100644
index 0000000000000..444e5fb93ab2d
--- /dev/null
+++ b/target/mips/mikrotik-rb532/ubinize.cfg
@@ -0,0 +1,16 @@
+[cfgfs_volume]
+mode=ubi
+vol_id=2
+vol_type=dynamic
+vol_name=cfgfs
+vol_alignment=1
+vol_size=256KiB
+
+[rootfs_volume]
+mode=ubi
+image=rootfs.ubifs
+vol_id=1
+vol_type=dynamic
+vol_name=rootfs
+vol_alignment=1
+vol_flags=autoresize
--
2.9.3
Show replies by date
Hi,
Phil Sutter wrote,
This fixes a typo and adds the missing ubinize.cfg.
Fixes: 2d7388bc334dd ("Implement UBIFS rootfs support")
Thanks,
pushed,
Waldemar