9e2aebf3d9fee21a1eab1693909ab2b5a89d8e37
[buildroot.git] /
1 From 90ecc0ad14337898b75843efc6530fc4a34f7808 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 ---
18 include/configs/mx6sabre_common.h | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21 diff --git a/include/configs/mx6sabre_common.h b/include/configs/mx6sabre_common.h
22 index 93d4c4b..d2e7efd 100644
23 --- a/include/configs/mx6sabre_common.h
24 +++ b/include/configs/mx6sabre_common.h
25 @@ -106,7 +106,7 @@
26
27 #define CONFIG_MFG_ENV_SETTINGS \
28 "mfgtool_args=setenv bootargs console=" CONFIG_CONSOLE_DEV ",115200 " \
29 - "rdinit=/linuxrc " \
30 + "rdinit=/init " \
31 "g_mass_storage.stall=0 g_mass_storage.removable=1 " \
32 "g_mass_storage.idVendor=0x066F g_mass_storage.idProduct=0x37FF "\
33 "g_mass_storage.iSerialNumber=\"\" "\
34 --
35 2.1.4
36