8bc74c5258
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>
29 lines
835 B
Plaintext
29 lines
835 B
Plaintext
# architecture
|
|
BR2_arm=y
|
|
BR2_cortex_a9=y
|
|
|
|
# system
|
|
BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
|
|
|
|
# kernel
|
|
BR2_LINUX_KERNEL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_GIT=y
|
|
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://git.freescale.com/imx/linux-2.6-imx.git"
|
|
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="rel_imx_3.10.17_1.0.0_ga"
|
|
BR2_LINUX_KERNEL_DEFCONFIG="imx_v7"
|
|
BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x10008000"
|
|
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
|
BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-sabresd"
|
|
|
|
# filesystem
|
|
BR2_TARGET_ROOTFS_EXT2=y
|
|
|
|
# bootloader
|
|
BR2_TARGET_UBOOT=y
|
|
BR2_TARGET_UBOOT_BOARDNAME="mx6qsabresd"
|
|
BR2_TARGET_UBOOT_FORMAT_IMX=y
|
|
BR2_TARGET_UBOOT_CUSTOM_GIT=y
|
|
BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://git.freescale.com/imx/uboot-imx.git"
|
|
BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="rel_imx_3.10.17_1.0.0_ga"
|
|
BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR="board/freescale/imx6sabresd"
|