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