summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Riedmueller <s.riedmueller@phytec.de>2019-05-06 11:40:03 (GMT)
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2019-05-10 07:28:44 (GMT)
commitf61bb5bdae0dd44a720ea0e0e6c1ebdc4810d523 (patch)
tree149e89d1c4b02789c42e2d005d6b14484f8462bd
parent9b46061689bb185673c6452d2b966e5506670cc1 (diff)
downloadmeta-phytec-f61bb5bdae0dd44a720ea0e0e6c1ebdc4810d523.zip
meta-phytec-f61bb5bdae0dd44a720ea0e0e6c1ebdc4810d523.tar.bz2
barebox: imx6ul: rauc scripts: Fix ubi volume order
Fix the UBI volume order to fit it to the system.conf. The correct order has to be: kernel0 oftree0 root0 kernel1 oftree1 root1 Signed-off-by: Stefan Riedmueller <s.riedmueller@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
-rw-r--r--recipes-bsp/barebox/barebox_2019.01.0-phy2.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-bsp/barebox/barebox_2019.01.0-phy2.bb b/recipes-bsp/barebox/barebox_2019.01.0-phy2.bb
index 35e67e6..812c538 100644
--- a/recipes-bsp/barebox/barebox_2019.01.0-phy2.bb
+++ b/recipes-bsp/barebox/barebox_2019.01.0-phy2.bb
@@ -276,10 +276,10 @@ echo "Format /dev/nand0.root"
ubiformat -q /dev/nand0.root
ubiattach /dev/nand0.root
ubimkvol -t static /dev/nand0.root.ubi kernel0 8M
-ubimkvol -t static /dev/nand0.root.ubi kernel1 8M
ubimkvol -t static /dev/nand0.root.ubi oftree0 1M
-ubimkvol -t static /dev/nand0.root.ubi oftree1 1M
ubimkvol /dev/nand0.root.ubi root0 244M
+ubimkvol -t static /dev/nand0.root.ubi kernel1 8M
+ubimkvol -t static /dev/nand0.root.ubi oftree1 1M
ubimkvol /dev/nand0.root.ubi root1 0
ubidetach 0