summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/phytec-som-imx6
diff options
context:
space:
mode:
authorChristian Hemp <christian.hemp@gmail.com>2016-12-03 20:50:17 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2018-04-16 09:58:06 +0200
commitc5f5d175e9904358ff201924d174ef62347af8dc (patch)
tree8dc219d8dcc9fefcbe7d9ea68b1b17363dcfaa48 /arch/arm/boards/phytec-som-imx6
parent92fd61d12723418dfbc8f428c051cd269b3f6fd5 (diff)
downloadbarebox-c5f5d175e9904358ff201924d174ef62347af8dc.tar.gz
barebox-c5f5d175e9904358ff201924d174ef62347af8dc.tar.xz
ARM: i.MX: phytec-som-imx: Remove kernel and oftree partiton in NAND
We store kernel and oftree in static UBI volumes now. No need for separate partitions any more. Signed-off-by: Christian Hemp <christian.hemp@gmail.com> Acked-by: Stefan Lengfeld <s.lengfeld@phytec.de>
Diffstat (limited to 'arch/arm/boards/phytec-som-imx6')
-rw-r--r--arch/arm/boards/phytec-som-imx6/defaultenv-physom-imx6/boot/nand6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/boards/phytec-som-imx6/defaultenv-physom-imx6/boot/nand b/arch/arm/boards/phytec-som-imx6/defaultenv-physom-imx6/boot/nand
index a23aa21cc7..e4eded530d 100644
--- a/arch/arm/boards/phytec-som-imx6/defaultenv-physom-imx6/boot/nand
+++ b/arch/arm/boards/phytec-som-imx6/defaultenv-physom-imx6/boot/nand
@@ -1,5 +1,7 @@
#!/bin/sh
-global.bootm.image="/dev/nand0.kernel.bb"
-global.bootm.oftree="/dev/nand0.oftree.bb"
+[ ! -e /dev/nand0.root.ubi ] && ubiattach /dev/nand0.root
+
+global.bootm.image="/dev/nand0.root.ubi.kernel"
+global.bootm.oftree="/dev/nand0.root.ubi.oftree"
global.linux.bootargs.dyn.root="root=ubi0:root ubi.mtd=root rootfstype=ubifs rw"