summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2014-04-18 17:18:34 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2014-05-05 17:30:50 +0200
commit66fc8c5e2ba35c909ffccaa0cd9337be90019db4 (patch)
treebc02e7b6b730b94d0b354424eadf441eb0711fa2 /config
parentf8121306fbbc2944a3eef8aacb597a947166ff42 (diff)
downloadptxdist-66fc8c5e2ba35c909ffccaa0cd9337be90019db4.tar.gz
ptxdist-66fc8c5e2ba35c909ffccaa0cd9337be90019db4.tar.xz
image-root-ubi: add rules for generic UBI image
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'config')
-rw-r--r--config/images/ubi.config18
1 files changed, 18 insertions, 0 deletions
diff --git a/config/images/ubi.config b/config/images/ubi.config
new file mode 100644
index 000000000..793117108
--- /dev/null
+++ b/config/images/ubi.config
@@ -0,0 +1,18 @@
+flash flash {
+ pebsize = @PEB_SIZE@
+ minimum-io-unit-size = @MINIMUM_IO_UNIT_SIZE@
+ sub-page-size = @SUB_PAGE_SIZE@
+ vid-header-offset = @VID_HEADER_OFFSET@
+ lebsize = @LEB_SIZE@
+}
+
+image @IMAGE@ {
+ ubi {
+ extraargs = "-v"
+ }
+ flashtype = "flash"
+ partition root {
+ image = "root.ubifs"
+ autoresize = true
+ }
+}