diff options
author | Teresa Remmet <t.remmet@phytec.de> | 2016-07-12 10:48:07 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-07-13 07:22:39 +0200 |
commit | a78f42079becc86f83ada19a27d02ba9bd2eb21c (patch) | |
tree | 8f31337875205a513b77fe39a89160888ad28a05 /arch/arm/boards | |
parent | ca95c2bab96b4109e3340e79dbc9a584577fea91 (diff) | |
download | barebox-a78f42079becc86f83ada19a27d02ba9bd2eb21c.tar.gz barebox-a78f42079becc86f83ada19a27d02ba9bd2eb21c.tar.xz |
ARM: phytec-som-am335x: Remove kernel and oftree partiton in NAND
We store kernel and oftree in static UBI volumes now. No need
for seperate partitions any more.
Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards')
-rw-r--r-- | arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/nand | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/nand b/arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/nand index b9b1bc6c38..ece44b70dc 100644 --- a/arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/nand +++ b/arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/nand @@ -1,6 +1,8 @@ #!/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 rw rootfstype=ubifs" |