diff options
author | Phil Sutter <phil@nwl.cc> | 2017-04-23 19:04:46 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-04-23 19:07:44 +0200 |
commit | e040dd152081af6baa3c6888acd7dc1d63b84089 (patch) | |
tree | 51b13b07ee45f7d7f8e7cd99b83d1e2666c12c1d | |
parent | 15395d75682e11ce430a0f03f681acee69c7d41d (diff) |
Fix UBIFS rootfs support for rb532
This fixes a typo and adds the missing ubinize.cfg.
Fixes: 2d7388bc334dd ("Implement UBIFS rootfs support")
-rw-r--r-- | mk/image.mk | 2 | ||||
-rw-r--r-- | target/mips/mikrotik-rb532/ubinize.cfg | 16 |
2 files changed, 17 insertions, 1 deletions
diff --git a/mk/image.mk b/mk/image.mk index 65332bd4b..fcf3af89e 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 000000000..444e5fb93 --- /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 |