All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2] configs/imx6slevk: Add new defconfig
@ 2017-11-14 13:18 Fabio Estevam
  2017-11-22 13:22 ` Fabio Estevam
  2017-11-22 20:38 ` Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Fabio Estevam @ 2017-11-14 13:18 UTC (permalink / raw)
  To: buildroot

Add support for imx6slevk_defconfig that allows booting a mainline
kernel and mainline U-Boot.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
Changes since v1:
- Use U-Boot 2017.11 and kernel 4.14

 .gitlab-ci.yml                       |  1 +
 DEVELOPERS                           |  1 +
 board/freescale/imx6slevk/readme.txt | 14 ++++++++++++++
 configs/imx6slevk_defconfig          | 26 ++++++++++++++++++++++++++
 4 files changed, 42 insertions(+)
 create mode 100644 board/freescale/imx6slevk/readme.txt
 create mode 100644 configs/imx6slevk_defconfig

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0dddb22..5f859fa 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -126,6 +126,7 @@ imx23evk_defconfig: *defconfig
 imx6-sabreauto_defconfig: *defconfig
 imx6-sabresd_defconfig: *defconfig
 imx6-sabresd_qt5_defconfig: *defconfig
+imx6slevk_defconfig: *defconfig
 imx6ulpico_defconfig: *defconfig
 imx7dpico_defconfig: *defconfig
 lego_ev3_defconfig: *defconfig
diff --git a/DEVELOPERS b/DEVELOPERS
index 37b7dfe..ad481f2 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -577,6 +577,7 @@ N:	Fabio Estevam <festevam@gmail.com>
 F:	board/warp7/
 F:	configs/freescale_imx*
 F:	configs/imx6-sabresd*
+F:	configs/imx6slevk_defconfig
 F:	configs/imx6ulpico_defconfig
 F:	configs/mx6cubox_defconfig
 F:	configs/mx6sx_udoo_neo_defconfig
diff --git a/board/freescale/imx6slevk/readme.txt b/board/freescale/imx6slevk/readme.txt
new file mode 100644
index 0000000..424380e
--- /dev/null
+++ b/board/freescale/imx6slevk/readme.txt
@@ -0,0 +1,14 @@
+NXP i.MX6SL EVK board
+---------------------
+
+To build a minimal support for this board:
+
+$ make imx6slevk_defconfig
+$ make
+
+Buildroot prepares a bootable "sdcard.img" image in the output/images/
+directory, ready to be flashed into the SD card:
+
+$ sudo dd if=output/images/sdcard.img of=/dev/<sd-card-device>; sync
+
+Then insert the SD card into the SD2 slot and boot the board.
diff --git a/configs/imx6slevk_defconfig b/configs/imx6slevk_defconfig
new file mode 100644
index 0000000..be4b42e
--- /dev/null
+++ b/configs/imx6slevk_defconfig
@@ -0,0 +1,26 @@
+BR2_arm=y
+BR2_cortex_a9=y
+BR2_ARM_ENABLE_NEON=y
+BR2_ARM_ENABLE_VFP=y
+BR2_ARM_FPU_VFPV3=y
+# Linux headers same as kernel, a 4.14 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y
+BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
+BR2_TARGET_ROOTFS_EXT2=y
+BR2_TARGET_ROOTFS_EXT2_4=y
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BOARDNAME="mx6slevk"
+BR2_TARGET_UBOOT_CUSTOM_VERSION=y
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.11"
+BR2_TARGET_UBOOT_FORMAT_IMX=y
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14"
+BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7"
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6sl-evk"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh"
+# required tools to create the SD card image
+BR2_PACKAGE_HOST_DOSFSTOOLS=y
+BR2_PACKAGE_HOST_GENIMAGE=y
+BR2_PACKAGE_HOST_MTOOLS=y
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH v2] configs/imx6slevk: Add new defconfig
  2017-11-14 13:18 [Buildroot] [PATCH v2] configs/imx6slevk: Add new defconfig Fabio Estevam
@ 2017-11-22 13:22 ` Fabio Estevam
  2017-11-22 20:38 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Fabio Estevam @ 2017-11-22 13:22 UTC (permalink / raw)
  To: buildroot

On Tue, Nov 14, 2017 at 11:18 AM, Fabio Estevam <fabio.estevam@nxp.com> wrote:
> Add support for imx6slevk_defconfig that allows booting a mainline
> kernel and mainline U-Boot.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
> ---
> Changes since v1:
> - Use U-Boot 2017.11 and kernel 4.14

A gentle ping.

Could this one be applied to the 'next' branch?

Thanks

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH v2] configs/imx6slevk: Add new defconfig
  2017-11-14 13:18 [Buildroot] [PATCH v2] configs/imx6slevk: Add new defconfig Fabio Estevam
  2017-11-22 13:22 ` Fabio Estevam
@ 2017-11-22 20:38 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2017-11-22 20:38 UTC (permalink / raw)
  To: buildroot

Hello,

On Tue, 14 Nov 2017 11:18:11 -0200, Fabio Estevam wrote:
> Add support for imx6slevk_defconfig that allows booting a mainline
> kernel and mainline U-Boot.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
> ---
> Changes since v1:
> - Use U-Boot 2017.11 and kernel 4.14

Applied to next, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-11-22 20:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-14 13:18 [Buildroot] [PATCH v2] configs/imx6slevk: Add new defconfig Fabio Estevam
2017-11-22 13:22 ` Fabio Estevam
2017-11-22 20:38 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.