aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx/image/ubinize.cfg
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2014-10-16 20:48:56 +0000
committerRafał Miłecki <zajec5@gmail.com>2014-10-16 20:48:56 +0000
commitf607479fb60796649f75855cb6c75e0abf58e0d3 (patch)
tree50574b0067d9fbb906582ba803dd35fa7ce0233d /target/linux/bcm53xx/image/ubinize.cfg
parent32fa956a349198e68edbbabdf8b400a2e82c09ee (diff)
downloadupstream-f607479fb60796649f75855cb6c75e0abf58e0d3.tar.gz
upstream-f607479fb60796649f75855cb6c75e0abf58e0d3.tar.bz2
upstream-f607479fb60796649f75855cb6c75e0abf58e0d3.zip
bcm53xx: image: build UBI partition image
This could be used on NAND devices once we get UBI working. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42938 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/bcm53xx/image/ubinize.cfg')
-rw-r--r--target/linux/bcm53xx/image/ubinize.cfg24
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/bcm53xx/image/ubinize.cfg b/target/linux/bcm53xx/image/ubinize.cfg
new file mode 100644
index 0000000000..a4f2f09d9e
--- /dev/null
+++ b/target/linux/bcm53xx/image/ubinize.cfg
@@ -0,0 +1,24 @@
+[rootfs]
+# Volume mode (other option is static)
+mode=ubi
+# Source image
+image=root.squashfs
+# Volume ID in UBI image
+vol_id=0
+# Allow for dynamic resize
+vol_type=dynamic
+# Volume name
+vol_name=rootfs
+
+[rootfs_data]
+# Volume mode (other option is static)
+mode=ubi
+# Volume ID in UBI image
+vol_id=1
+# Allow for dynamic resize
+vol_type=dynamic
+# Volume name
+vol_name=rootfs_data
+# Autoresize volume at first mount
+vol_flags=autoresize
+vol_size=1MiB