imx6sabresd: boot to /init in mfgtools mode
authorVincent Stehlé <vincent.stehle@freescale.com>
Fri, 19 Sep 2014 14:12:52 +0000 (16:12 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 21 Sep 2014 19:23:18 +0000 (21:23 +0200)
commit8bc74c5258d92d5d0640b526403aa0f3687b6f7f
tree2a42039b7d6825ea060cefa93a4249a968e12ddb
parent7aff66f5b5225b2010a91f375d02159355b44104
imx6sabresd: boot to /init in mfgtools mode

Buildroot supplies a nice /init wrapper script to use when booting from a
ramdisk.

We add a patch to 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
[Luca: rebase on top of iMX6DL patches and patch iMX6DL defconfig as well]
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
[Luca: build- and run-tested on i.MX6DL SABRESD]
Tested-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Gary Bisson <bisson.gary@gmail.com>
Cc: Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com>
Cc: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
board/freescale/imx6sabresd/uboot-0001-mx6qsabre_common-boot-Linux-to-init-in-mfgtools-mode.patch [new file with mode: 0644]
configs/freescale_imx6dlsabresd_defconfig
configs/freescale_imx6qsabresd_defconfig