Skip to contentSkip to conversation

configs/imx6slevk: Add new defconfig

PATCH Superseded Fabio Estevam 1 participant 1 message Oct 2, 2017 Arm i.MX and Layerscape

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 configs/imx6slevk: Add new defconfig

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

The two U-Boot fixes have been already submitted to the U-Boot list.

---
 .gitlab-ci.yml                                     |   1 +
 DEVELOPERS                                         |   1 +
 .../patches/uboot/0001-mx6slevksplbootfix.patch    | 170 +++++++++++++++++++++
 .../imx6slevk/patches/uboot/0002-uuid.patch        |  72 +++++++++
 board/freescale/imx6slevk/readme.txt               |  14 ++
 configs/imx6slevk_defconfig                        |  29 ++++
 6 files changed, 287 insertions(+)
 create mode 100644 board/freescale/imx6slevk/patches/uboot/0001-mx6slevksplbootfix.patch
 create mode 100644 board/freescale/imx6slevk/patches/uboot/0002-uuid.patch
 create mode 100644 board/freescale/imx6slevk/readme.txt
 create mode 100644 configs/imx6slevk_defconfig
.gitlab-ci.yml +1 -0
index 0e0773f..5991b03 100644
@@ -122,6 +122,7 @@ grinn_liteboard_defconfig: *defconfig
 imx23evk_defconfig: *defconfig
 imx6-sabresd_defconfig: *defconfig
 imx6-sabresd_qt5_defconfig: *defconfig
+imx6slevk_defconfig: *defconfig
 imx6ulpico_defconfig: *defconfig
 imx7dpico_defconfig: *defconfig
 lego_ev3_defconfig: *defconfig
DEVELOPERS +1 -0
index cedf5a6..9d4b95b 100644
@@ -554,6 +554,7 @@ N:	Fabio Estevam <[email protected]>
 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
board/freescale/imx6slevk/patches/uboot/0001-mx6slevksplbootfix.patch new file +170 -0

170 lines not on this page · raw message

board/freescale/imx6slevk/patches/uboot/0002-uuid.patch new file +72 -0

72 lines not on this page · raw message

board/freescale/imx6slevk/readme.txt new file +14 -0
new file mode 100644
index 0000000..424380e
@@ -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.
configs/imx6slevk_defconfig new file +29 -0
new file mode 100644
index 0000000..295023e
@@ -0,0 +1,29 @@
+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.13 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_13=y
+BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
+BR2_TARGET_ROOTFS_EXT2=y
+BR2_TARGET_ROOTFS_EXT2_4=y
+BR2_GLOBAL_PATCH_DIR="board/freescale/imx6slevk/patches"
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BOARDNAME="mx6slevk_spl"
+BR2_TARGET_UBOOT_CUSTOM_VERSION=y
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.09"
+BR2_TARGET_UBOOT_FORMAT_IMG=y
+BR2_TARGET_UBOOT_SPL=y
+BR2_TARGET_UBOOT_SPL_NAME="SPL"
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.13.4"
+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
Signature · 1 line
2.7.4