2020-03-26 14:23:20 +01:00
|
|
|
From e9b507b695331ef6fa941b471be0a7f284ec6980 Mon Sep 17 00:00:00 2001
|
2014-09-19 16:12:52 +02:00
|
|
|
From: =?UTF-8?q?Vincent=20Stehl=C3=A9?= <vincent.stehle@freescale.com>
|
|
|
|
Date: Tue, 12 Aug 2014 10:17:31 +0200
|
|
|
|
Subject: [PATCH] mx6qsabre_common: boot Linux to /init in mfgtools mode
|
|
|
|
MIME-Version: 1.0
|
|
|
|
Content-Type: text/plain; charset=UTF-8
|
|
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
|
|
|
|
Buildroot supplies a nice /init wrapper script to use when booting from a
|
|
|
|
ramdisk.
|
|
|
|
|
|
|
|
This patch tells u-boot to tell the kernel to boot into /init (instead of
|
|
|
|
/linuxrc) on i.MX6, when booting in mfgtools mode. This way we can boot a
|
|
|
|
buildroot system entirely through USB.
|
|
|
|
|
|
|
|
Signed-off-by: Vincent Stehlé <vincent.stehle@freescale.com>
|
2020-03-26 14:23:20 +01:00
|
|
|
Signed-off-by: Julien Olivain <julien.olivain@oss.nxp.com>
|
2014-09-19 16:12:52 +02:00
|
|
|
---
|
2020-03-26 14:23:20 +01:00
|
|
|
include/configs/imx_env.h | 2 +-
|
2014-09-19 16:12:52 +02:00
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
2020-03-26 14:23:20 +01:00
|
|
|
diff --git a/include/configs/imx_env.h b/include/configs/imx_env.h
|
|
|
|
index 234af33e55..7e31d208dc 100644
|
|
|
|
--- a/include/configs/imx_env.h
|
|
|
|
+++ b/include/configs/imx_env.h
|
|
|
|
@@ -20,7 +20,7 @@
|
2014-09-19 16:12:52 +02:00
|
|
|
|
2020-03-26 14:23:20 +01:00
|
|
|
#define CONFIG_MFG_ENV_SETTINGS_DEFAULT \
|
|
|
|
"mfgtool_args=setenv bootargs console=${console},${baudrate} " \
|
2014-09-19 16:12:52 +02:00
|
|
|
- "rdinit=/linuxrc " \
|
|
|
|
+ "rdinit=/init " \
|
2020-03-26 14:23:20 +01:00
|
|
|
"clk_ignore_unused "\
|
|
|
|
"\0" \
|
|
|
|
"kboot="MFG_BOOT_CMD"\0"\
|
2014-09-19 16:12:52 +02:00
|
|
|
--
|
2020-03-26 14:23:20 +01:00
|
|
|
2.25.1
|
2014-09-19 16:12:52 +02:00
|
|
|
|