[PATCH 03/16] ARM: i.MX: phytec-som-imx: env: add boot script for emmc
Sascha Hauer
s.hauer at pengutronix.de
Thu Apr 12 00:30:04 PDT 2018
From: Matthias Rabe <matthias.rabe at sigma-chemnitz.de>
add bootscript for emmc boot
Signed-off-by: Matthias Rabe <matthias.rabe at sigma-chemnitz.de>
Signed-off-by: Christian Hemp <c.hemp at phytec.de>
---
arch/arm/boards/phytec-som-imx6/defaultenv-physom-imx6/boot/emmc | 5 +++++
1 file changed, 5 insertions(+)
create mode 100644 arch/arm/boards/phytec-som-imx6/defaultenv-physom-imx6/boot/emmc
diff --git a/arch/arm/boards/phytec-som-imx6/defaultenv-physom-imx6/boot/emmc b/arch/arm/boards/phytec-som-imx6/defaultenv-physom-imx6/boot/emmc
new file mode 100644
index 0000000000..83924df5d7
--- /dev/null
+++ b/arch/arm/boards/phytec-som-imx6/defaultenv-physom-imx6/boot/emmc
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+global.bootm.image="/mnt/mmc3/linuximage"
+global.bootm.oftree="/mnt/mmc3/oftree"
+global.linux.bootargs.dyn.root="root=/dev/mmcblk3p2 rootwait rw"
--
2.16.1
More information about the barebox
mailing list