summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/phytec-som-imx6/defaultenv-physom-imx6/boot/nand
diff options
context:
space:
mode:
authorMatthias Rabe <matthias.rabe@sigma-chemnitz.de>2017-08-25 20:01:12 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2018-04-16 09:58:07 +0200
commit7c8c67d6582815812bfb77dd4aa607de5f398e31 (patch)
treee22ac288d7d5068d273e510c0809d369ed280d2f /arch/arm/boards/phytec-som-imx6/defaultenv-physom-imx6/boot/nand
parentc8bd31ab896da9ffaee48b366650bfa67cb9249b (diff)
downloadbarebox-7c8c67d6582815812bfb77dd4aa607de5f398e31.tar.gz
barebox-7c8c67d6582815812bfb77dd4aa607de5f398e31.tar.xz
ARM: i.MX: phytec-som-imx: env: add android boot options
Set needed bootargs for android in mmc, emmc and nand boot. Signed-off-by: Matthias Rabe <matthias.rabe@sigma-chemnitz.de> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
Diffstat (limited to 'arch/arm/boards/phytec-som-imx6/defaultenv-physom-imx6/boot/nand')
-rw-r--r--arch/arm/boards/phytec-som-imx6/defaultenv-physom-imx6/boot/nand5
1 files changed, 5 insertions, 0 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 e4eded530d..0c2b1cbe4c 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
@@ -2,6 +2,11 @@
[ ! -e /dev/nand0.root.ubi ] && ubiattach /dev/nand0.root
+if [ -e /dev/nand0.root.ubi.system ]; then
+ # configure here the android specific stuff
+ global linux.bootargs.sec="selinux=0 enforcing=0"
+fi
+
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"