Skip to contentSkip to conversation

configs/imx7ulp-evk: Add new config

PATCH New Marcelo Macedo 3 participants 4 messages Jul 17, 2018 – Aug 10, 2018 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs/imx7ulp-evk: Add new config

From: Marcelo Macedo <[email protected]>

Add new configuration for i.MX7ULP EVK board running U-Boot and Kernel provided by NXP on Cortex-A7 and FreeRTOS on Cortex-M4.

---
This patch depends on Fabio's patch:
http://lists.busybox.net/pipermail/buildroot/2018-July/225491.html

 DEVELOPERS                              |  4 ++
 board/freescale/imx7ulpevk/readme.txt   | 54 +++++++++++++++++++++++++
 configs/freescale_imx7ulp-evk_defconfig | 38 +++++++++++++++++
 3 files changed, 96 insertions(+)
 create mode 100644 board/freescale/imx7ulpevk/readme.txt
 create mode 100644 configs/freescale_imx7ulp-evk_defconfig
DEVELOPERS +4 -0
index 4c2d1f291f..c5da2d933d 100644
@@ -1198,6 +1198,10 @@ N:	Manuel V?gele <[email protected]>
 F:	package/python-pyqt5/
 F:	package/python-requests-toolbelt/
 
+N:	Marcelo Macedo <[email protected]>
+F:	board/freescale/imx7ulpevk/
+F:	configs/freescale_imx7ulp-evk_defconfig
+
 N:	Marcin Bis <[email protected]>
 F:	package/bluez5_utils/
 F:	package/cc-tool/
board/freescale/imx7ulpevk/readme.txt new file +54 -0

54 lines not on this page · raw message

configs/freescale_imx7ulp-evk_defconfig new file +38 -0
new file mode 100644
index 0000000000..895e96dae8
@@ -0,0 +1,38 @@
+# architecture
+BR2_arm=y
+BR2_cortex_a7=y
+BR2_ARM_FPU_NEON_VFPV4=y
+
+# Linux headers same as kernel, a 4.9 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
+
+# system
+BR2_TARGET_GENERIC_GETTY_PORT="ttyLP0"
+
+# Kernel
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_GIT=y
+BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://source.codeaurora.org/external/imx/linux-imx.git"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="rel_imx_4.9.88_2.0.0_ga"
+BR2_LINUX_KERNEL_DEFCONFIG="imx_v7"
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx7ulp-evk"
+
+# filesystem
+BR2_TARGET_ROOTFS_EXT2=y
+BR2_TARGET_ROOTFS_EXT2_4=y
+
+# bootloader
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BOARDNAME="mx7ulp_evk"
+BR2_TARGET_UBOOT_CUSTOM_GIT=y
+BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://source.codeaurora.org/external/imx/uboot-imx.git"
+BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="rel_imx_4.9.88_2.0.0_ga"
+BR2_TARGET_UBOOT_FORMAT_DTB_IMX=y
+BR2_TARGET_UBOOT_NEEDS_DTC=y
+
+# required tools to create the microSD image
+BR2_PACKAGE_HOST_DOSFSTOOLS=yev	
+BR2_PACKAGE_HOST_GENIMAGE=y
+BR2_PACKAGE_HOST_MTOOLS=y
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh"
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 configs/imx7ulp-evk: Add new config

Hello,

Thanks for this contribution!

board/freescale/imx7ulpevk/readme.txt line 31

Quoted 10 lines · Marcelo Macedo
board/freescale/imx7ulpevk/readme.txt new file +10 -0
+Step 1 - Download the Cortex-M4 pre-compiled binary:
+
+	wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx7ulp-m4-demo-2.4.0.bin
+
+Step 2: Extract the example files:
+
+	$ chmod a+x imx7ulp-m4-demo-2.4.0.bin
+	$  ./imx7ulp-m4-demo-2.4.0.bin
+
+Step 3: Copy the imx7ulp_m4_demo.img binary to the FAT partion of MicroSD card.

Shouldn't we instead create a Buildroot package that would download/extract/install this firmware image, and put it in the FAT partition ?

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH 1/1 configs/imx7ulp-evk: Add new config

Hello,

Quoted 6 lines · Thomas Petazzoni
Quoted 6 lines
board/freescale/imx7ulpevk/readme.txt new file +6 -0
+Step 1 - Download the Cortex-M4 pre-compiled binary:
+
+	wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx7ulp-m4-demo-2.4.0.bin
+
+Step 2: Extract the example files:
+
Quoted 8 lines

board/freescale/imx7ulpevk/readme.txt line 31

Quoted 4 lines
board/freescale/imx7ulpevk/readme.txt new file +4 -0
+	$ chmod a+x imx7ulp-m4-demo-2.4.0.bin
+	$  ./imx7ulp-m4-demo-2.4.0.bin
+
+Step 3: Copy the imx7ulp_m4_demo.img binary to the FAT partion of MicroSD card.  

Shouldn't we instead create a Buildroot package that would download/extract/install this firmware image, and put it in the FAT partition ?

Fabio, do you have any comment about this ?

In the mean time, I'll mark the patch as Changes Requested.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
reviewer
#3 lore raw

PATCH 1/1 configs/imx7ulp-evk: Add new config

Hi Thomas,

Quoted 5 lines · Thomas Petazzoni
Quoted 3 lines

Shouldn't we instead create a Buildroot package that would download/extract/install this firmware image, and put it in the FAT partition ?

Fabio, do you have any comment about this ?

I agree with you that we should create a Buildroot package that handles the Cortex-M4 FreeRTOS binary.

I will work on it when I am back from vacation.

Thanks