0001-mx6qsabre_common-boot-Linux-to-init-in-mfgtools-mode.patch 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. From e9a88fddc149fc52cdc5a8997f9fd3a29416c643 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. Buildroot supplies a nice /init wrapper script to use when booting from a
  9. ramdisk.
  10. This patch tells u-boot to tell the kernel to boot into /init (instead of
  11. /linuxrc) on i.MX6, when booting in mfgtools mode. This way we can boot a
  12. buildroot system entirely through USB.
  13. Signed-off-by: Vincent Stehlé <vincent.stehle@freescale.com>
  14. Signed-off-by: Julien Olivain <julien.olivain@oss.nxp.com>
  15. ---
  16. include/configs/imx_env.h | 2 +-
  17. 1 file changed, 1 insertion(+), 1 deletion(-)
  18. diff --git a/include/configs/imx_env.h b/include/configs/imx_env.h
  19. index c03748d93f..aa1a8bf488 100644
  20. --- a/include/configs/imx_env.h
  21. +++ b/include/configs/imx_env.h
  22. @@ -29,7 +29,7 @@
  23. #define CONFIG_MFG_ENV_SETTINGS_DEFAULT \
  24. "mfgtool_args=setenv bootargs console=${console},${baudrate} " \
  25. - "rdinit=/linuxrc " \
  26. + "rdinit=/init " \
  27. "clk_ignore_unused "\
  28. "\0" \
  29. "kboot="MFG_BOOT_CMD"\0"\
  30. --
  31. 2.26.2