* [Buildroot] [PATCH v5 1/5] board: Add support for Engicam i.CoreM6 DualLite/Solo boards
2017-06-23 12:26 [Buildroot] [PATCH v5 0/5] Board: Add Engicam i.MX6 SOMs Jagan Teki
@ 2017-06-23 12:26 ` Jagan Teki
2017-06-24 12:14 ` Thomas Petazzoni
2017-06-23 12:26 ` [Buildroot] [PATCH v5 2/5] board: Add support for Engicam i.CoreM6 RQS SOM Jagan Teki
` (3 subsequent siblings)
4 siblings, 1 reply; 11+ messages in thread
From: Jagan Teki @ 2017-06-23 12:26 UTC (permalink / raw)
To: buildroot
From: Jagan Teki <jagan@amarulasolutions.com>
Add initial support for Engicam i.CoreM6 DualLite/Solo board
with below features:
- U-Boot 2017.07-rc1
- Linux 4.11.5
- Default packages from buildroot
U-Boot 2017.07-rc1 has common u-boot defconfig for All i.CoreM6
variant boards, so this patch update the same along with
buildroot defconfig that reflect the common name.
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
Changes for v5:
- Drop _mmc in defconfig
- Update size of vfat partition
- Add sync command after writing mmc
- Update .gitlab-ci.yml
Changes for v4:
- Update .gitlab-ci.yml
Changes for v3:
- Use kernel version 4.11.5
Changes for v2:
- Fix genimage.cfg path in readme.txt
- Remove exctra " in BR2_LINUX_KERNEL_INTREE_DTS_NAME
.gitlab-ci.yml | 2 +-
DEVELOPERS | 2 +-
board/engicam/genimage.cfg | 3 ++-
board/engicam/readme.txt | 7 +++++--
...m_imx6q_icore_defconfig => engicam_imx6qdl_icore_defconfig} | 10 +++++-----
5 files changed, 14 insertions(+), 10 deletions(-)
rename configs/{engicam_imx6q_icore_defconfig => engicam_imx6qdl_icore_defconfig} (74%)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 45c9b87..36ef1d1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -89,7 +89,7 @@ ci20_defconfig: *defconfig
ci40_defconfig: *defconfig
csky_gx6605s_defconfig: *defconfig
cubieboard2_defconfig: *defconfig
-engicam_imx6q_icore_defconfig: *defconfig
+engicam_imx6qdl_icore_defconfig: *defconfig
firefly_rk3288_defconfig: *defconfig
firefly_rk3288_demo_defconfig: *defconfig
freescale_imx28evk_defconfig: *defconfig
diff --git a/DEVELOPERS b/DEVELOPERS
index f86a5dc..9a8b586 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -837,7 +837,7 @@ F: package/keepalived/
N: Jagan Teki <jagan@amarulasolutions.com>
F: board/engicam/
-F: configs/engicam_imx6q_icore_defconfig
+F: configs/engicam_imx6qdl_icore_defconfig
N: James Knight <james.knight@rockwellcollins.com>
F: package/atkmm/
diff --git a/board/engicam/genimage.cfg b/board/engicam/genimage.cfg
index 43c81cf..f409a08 100644
--- a/board/engicam/genimage.cfg
+++ b/board/engicam/genimage.cfg
@@ -2,10 +2,11 @@ image boot.vfat {
vfat {
files = {
"uImage",
+ "imx6dl-icore.dtb",
"imx6q-icore.dtb"
}
}
- size = 16M
+ size = 64M
}
image sdcard.img {
diff --git a/board/engicam/readme.txt b/board/engicam/readme.txt
index eb7503f..f1010a2 100644
--- a/board/engicam/readme.txt
+++ b/board/engicam/readme.txt
@@ -5,7 +5,7 @@ Buildroot for Engicam i.MX6 SOM platforms:
This file documents the Buildroot support for all Engicam i.MX6 SOM
platform boards.
-i.CoreM6 Quad/Dual SOM Starter kits:
+i.CoreM6 Quad/Dual/DualLite/Solo SOM Starter kits:
https://www.engicam.com/vis-prod/101120
This configuration uses U-Boot mainline and kernel mainline.
@@ -17,7 +17,7 @@ First, configure Buildroot for the Engicam i.MX SOM's:
- for i.CoreM6 Quad/Dual:
- make engicam_imx6q_icore_defconfig
+ make engicam_imx6qdl_icore_defconfig
Build all components:
@@ -26,6 +26,8 @@ Build all components:
You will find the following files in output/images/:
- for i.CoreM6 Quad/Dual:
- imx6q-icore.dtb
+- for i.CoreM6 DualLite/Solo:
+ - imx6dl-icore.dtb
- rootfs.ext4
- rootfs.tar
- sdcard.img
@@ -46,6 +48,7 @@ directory, ready to be dumped on a SD card. Launch the following
command as root:
dd if=output/images/sdcard.img of=/dev/<your-sd-device>
+ sync
*** WARNING! This will destroy all the card content. Use with care! ***
diff --git a/configs/engicam_imx6q_icore_defconfig b/configs/engicam_imx6qdl_icore_defconfig
similarity index 74%
rename from configs/engicam_imx6q_icore_defconfig
rename to configs/engicam_imx6qdl_icore_defconfig
index 63454ee..e0d89fa 100644
--- a/configs/engicam_imx6q_icore_defconfig
+++ b/configs/engicam_imx6qdl_icore_defconfig
@@ -14,8 +14,8 @@ BR2_TARGET_GENERIC_GETTY_PORT="ttymxc3"
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.05"
-BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx6q_icore_mmc"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.07-rc1"
+BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx6qdl_icore_mmc"
BR2_TARGET_UBOOT_NEEDS_DTC=y
BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y
@@ -25,15 +25,15 @@ BR2_TARGET_UBOOT_SPL_NAME="SPL"
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.11"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.11.5"
BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7"
BR2_LINUX_KERNEL_UIMAGE=y
BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x10008000"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
-BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-icore"
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6dl-icore imx6q-icore"
# Filesystem
-BR2_TARGET_GENERIC_ISSUE="Welcome to Engicam i.CoreM6 Quad/Dual Starter Kit"
+BR2_TARGET_GENERIC_ISSUE="Welcome to Engicam i.CoreM6 Quad/Dual/DualLite/Solo Starter Kit"
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_4=y
BR2_PACKAGE_HOST_GENIMAGE=y
--
2.7.4
^ permalink raw reply related [flat|nested] 11+ messages in thread* [Buildroot] [PATCH v5 1/5] board: Add support for Engicam i.CoreM6 DualLite/Solo boards
2017-06-23 12:26 ` [Buildroot] [PATCH v5 1/5] board: Add support for Engicam i.CoreM6 DualLite/Solo boards Jagan Teki
@ 2017-06-24 12:14 ` Thomas Petazzoni
0 siblings, 0 replies; 11+ messages in thread
From: Thomas Petazzoni @ 2017-06-24 12:14 UTC (permalink / raw)
To: buildroot
Hello,
On Fri, 23 Jun 2017 17:56:05 +0530, Jagan Teki wrote:
> From: Jagan Teki <jagan@amarulasolutions.com>
>
> Add initial support for Engicam i.CoreM6 DualLite/Solo board
> with below features:
> - U-Boot 2017.07-rc1
> - Linux 4.11.5
> - Default packages from buildroot
>
> U-Boot 2017.07-rc1 has common u-boot defconfig for All i.CoreM6
> variant boards, so this patch update the same along with
> buildroot defconfig that reflect the common name.
>
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
> ---
> Changes for v5:
> - Drop _mmc in defconfig
> - Update size of vfat partition
> - Add sync command after writing mmc
> - Update .gitlab-ci.yml
> Changes for v4:
> - Update .gitlab-ci.yml
> Changes for v3:
> - Use kernel version 4.11.5
> Changes for v2:
> - Fix genimage.cfg path in readme.txt
> - Remove exctra " in BR2_LINUX_KERNEL_INTREE_DTS_NAME
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH v5 2/5] board: Add support for Engicam i.CoreM6 RQS SOM
2017-06-23 12:26 [Buildroot] [PATCH v5 0/5] Board: Add Engicam i.MX6 SOMs Jagan Teki
2017-06-23 12:26 ` [Buildroot] [PATCH v5 1/5] board: Add support for Engicam i.CoreM6 DualLite/Solo boards Jagan Teki
@ 2017-06-23 12:26 ` Jagan Teki
2017-06-24 12:32 ` Thomas Petazzoni
2017-06-23 12:26 ` [Buildroot] [PATCH v5 3/5] board: engicam: Add icorem6 for i.CoreM6 support Jagan Teki
` (2 subsequent siblings)
4 siblings, 1 reply; 11+ messages in thread
From: Jagan Teki @ 2017-06-23 12:26 UTC (permalink / raw)
To: buildroot
From: Jagan Teki <jagan@amarulasolutions.com>
Add initial support for Engicam i.CoreM6 Quad/Dual/DualLite/Solo RQS
board with below features:
- U-Boot 2017.07-rc1
- Linux 4.11.5
- Default packages from buildroot
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
Changes for v5:
- Drop _mmc in defconfig
- Update size of vfat partition
- Add sync command after writing mmc
- Update .gitlab-ci.yml
Changes for v4:
- Update .gitlab-ci.yml
Changes for v3:
- none
Changes for v2:
- Fix genimage.cfg path in readme.txt
.gitlab-ci.yml | 1 +
DEVELOPERS | 1 +
board/engicam/icorem6_rqs/genimage.cfg | 39 ++++++++++++++++
board/engicam/icorem6_rqs/readme.txt | 69 +++++++++++++++++++++++++++++
configs/engicam_imx6qdl_icore_rqs_defconfig | 41 +++++++++++++++++
5 files changed, 151 insertions(+)
create mode 100644 board/engicam/icorem6_rqs/genimage.cfg
create mode 100644 board/engicam/icorem6_rqs/readme.txt
create mode 100644 configs/engicam_imx6qdl_icore_rqs_defconfig
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 36ef1d1..f1261d5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -90,6 +90,7 @@ ci40_defconfig: *defconfig
csky_gx6605s_defconfig: *defconfig
cubieboard2_defconfig: *defconfig
engicam_imx6qdl_icore_defconfig: *defconfig
+engicam_imx6qdl_icore_rqs_defconfig: *defconfig
firefly_rk3288_defconfig: *defconfig
firefly_rk3288_demo_defconfig: *defconfig
freescale_imx28evk_defconfig: *defconfig
diff --git a/DEVELOPERS b/DEVELOPERS
index 9a8b586..ccf6f67 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -838,6 +838,7 @@ F: package/keepalived/
N: Jagan Teki <jagan@amarulasolutions.com>
F: board/engicam/
F: configs/engicam_imx6qdl_icore_defconfig
+F: configs/engicam_imx6qdl_icore_rqs_defconfig
N: James Knight <james.knight@rockwellcollins.com>
F: package/atkmm/
diff --git a/board/engicam/icorem6_rqs/genimage.cfg b/board/engicam/icorem6_rqs/genimage.cfg
new file mode 100644
index 0000000..967d10b
--- /dev/null
+++ b/board/engicam/icorem6_rqs/genimage.cfg
@@ -0,0 +1,39 @@
+image boot.vfat {
+ vfat {
+ files = {
+ "uImage",
+ "imx6dl-icore-rqs.dtb",
+ "imx6q-icore-rqs.dtb"
+ }
+ }
+ size = 64M
+}
+
+image sdcard.img {
+ hdimage {
+ }
+
+ partition SPL {
+ in-partition-table = "no"
+ image = "SPL"
+ offset = 1024
+ }
+
+ partition u-boot-dtb {
+ in-partition-table = "no"
+ image = "u-boot-dtb.img"
+ offset = 69K
+ }
+
+ partition boot {
+ partition-type = 0xC
+ bootable = "true"
+ image = "boot.vfat"
+ offset = 8M
+ }
+
+ partition rootfs {
+ partition-type = 0x83
+ image = "rootfs.ext2"
+ }
+}
diff --git a/board/engicam/icorem6_rqs/readme.txt b/board/engicam/icorem6_rqs/readme.txt
new file mode 100644
index 0000000..a0bf6f5
--- /dev/null
+++ b/board/engicam/icorem6_rqs/readme.txt
@@ -0,0 +1,69 @@
+*************************************************
+Buildroot for Engicam i.CoreM6 RQS SOM platforms:
+*************************************************
+
+This file documents the Buildroot support for Engicam i.CoreM6 RQS
+SOM platform boards.
+
+i.CoreM6 Quad/Dual/DualLite/Solo RQS SOM Starter kits:
+https://www.engicam.com/vis-prod/101124
+
+This configuration uses U-Boot mainline and kernel mainline.
+
+Build
+=====
+
+First, configure Buildroot for the Engicam i.CoreM6 RQS:
+
+- for i.CoreM6 RQS Quad/Dual/DualLite/Solo:
+
+ make engicam_imx6qdl_icore_rqs_defconfig
+
+Build all components:
+
+ make
+
+You will find the following files in output/images/:
+- for i.CoreM6 Quad/Dual RQS:
+ - imx6q-icore-rqs.dtb
+- for i.CoreM6 DualLite/Solo RQS:
+ - imx6dl-icore-rqs.dtb
+ - rootfs.ext4
+ - rootfs.tar
+ - sdcard.img
+ - SPL
+ - u-boot-dtb.img
+ - uImage
+
+Create a bootable SD card
+=========================
+
+To determine the device associated to the SD card have a look in the
+/proc/partitions file:
+
+ cat /proc/partitions
+
+Buildroot prepares a bootable "sdcard.img" image in the output/images/
+directory, ready to be dumped on a SD card. Launch the following
+command as root:
+
+ dd if=output/images/sdcard.img of=/dev/<your-sd-device>
+ sync
+
+*** WARNING! This will destroy all the card content. Use with care! ***
+
+For details about the medium image layout, see the definition in
+board/engicam/icorem6_rqs/genimage.cfg
+
+Boot the i.CoreM6 RQS boards with SD boot:
+=========================================
+
+To boot your newly created system:
+- insert the SD card in the SD slot of the board;
+- connect 3-wire RS232 serial port J7 on board, and connect with other
+ serial end or USB cable(if serial-to-usb converter used) using
+ a terminal emulator at 115200 bps, 8n1;
+- close JM2 for sd boot.
+- power on the board.
+
+Enjoy!
diff --git a/configs/engicam_imx6qdl_icore_rqs_defconfig b/configs/engicam_imx6qdl_icore_rqs_defconfig
new file mode 100644
index 0000000..4d2698d
--- /dev/null
+++ b/configs/engicam_imx6qdl_icore_rqs_defconfig
@@ -0,0 +1,41 @@
+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.11 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_11=y
+
+# System
+BR2_TARGET_GENERIC_GETTY_PORT="ttymxc3"
+
+# Bootloader
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
+BR2_TARGET_UBOOT_CUSTOM_VERSION=y
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.07-rc1"
+BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx6qdl_icore_rqs_mmc"
+BR2_TARGET_UBOOT_NEEDS_DTC=y
+BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
+BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y
+BR2_TARGET_UBOOT_SPL=y
+BR2_TARGET_UBOOT_SPL_NAME="SPL"
+
+# Kernel
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.11.5"
+BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7"
+BR2_LINUX_KERNEL_UIMAGE=y
+BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x10008000"
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6dl-icore-rqs imx6q-icore-rqs"
+
+# Filesystem
+BR2_TARGET_GENERIC_ISSUE="Welcome to Engicam i.CoreM6 Quad/Dual/DualLite/Solo RQS Starter Kit"
+BR2_TARGET_ROOTFS_EXT2=y
+BR2_TARGET_ROOTFS_EXT2_4=y
+BR2_PACKAGE_HOST_GENIMAGE=y
+BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
+BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/engicam/icorem6_rqs/genimage.cfg"
--
2.7.4
^ permalink raw reply related [flat|nested] 11+ messages in thread* [Buildroot] [PATCH v5 2/5] board: Add support for Engicam i.CoreM6 RQS SOM
2017-06-23 12:26 ` [Buildroot] [PATCH v5 2/5] board: Add support for Engicam i.CoreM6 RQS SOM Jagan Teki
@ 2017-06-24 12:32 ` Thomas Petazzoni
0 siblings, 0 replies; 11+ messages in thread
From: Thomas Petazzoni @ 2017-06-24 12:32 UTC (permalink / raw)
To: buildroot
Hello,
On Fri, 23 Jun 2017 17:56:06 +0530, Jagan Teki wrote:
> From: Jagan Teki <jagan@amarulasolutions.com>
>
> Add initial support for Engicam i.CoreM6 Quad/Dual/DualLite/Solo RQS
> board with below features:
> - U-Boot 2017.07-rc1
> - Linux 4.11.5
> - Default packages from buildroot
>
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
> ---
> Changes for v5:
> - Drop _mmc in defconfig
> - Update size of vfat partition
> - Add sync command after writing mmc
> - Update .gitlab-ci.yml
> Changes for v4:
> - Update .gitlab-ci.yml
> Changes for v3:
> - none
> Changes for v2:
> - Fix genimage.cfg path in readme.txt
Since you're building a FAT filesystem, host-dosfstools and host-mtools
are needed, so I've enabled those packages as well. Applied with this
change. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH v5 3/5] board: engicam: Add icorem6 for i.CoreM6 support
2017-06-23 12:26 [Buildroot] [PATCH v5 0/5] Board: Add Engicam i.MX6 SOMs Jagan Teki
2017-06-23 12:26 ` [Buildroot] [PATCH v5 1/5] board: Add support for Engicam i.CoreM6 DualLite/Solo boards Jagan Teki
2017-06-23 12:26 ` [Buildroot] [PATCH v5 2/5] board: Add support for Engicam i.CoreM6 RQS SOM Jagan Teki
@ 2017-06-23 12:26 ` Jagan Teki
2017-06-24 12:53 ` Thomas Petazzoni
2017-06-23 12:26 ` [Buildroot] [PATCH v5 4/5] board: Add support for Engicam GEAM6UL SOM Jagan Teki
2017-06-23 12:26 ` [Buildroot] [PATCH v5 5/5] board: Add support for Engicam Is.IoT MX6UL SOM Jagan Teki
4 siblings, 1 reply; 11+ messages in thread
From: Jagan Teki @ 2017-06-23 12:26 UTC (permalink / raw)
To: buildroot
From: Jagan Teki <jagan@amarulasolutions.com>
Create board/engicam/icorem6 for i.CoreM6 supported files.
and update the readme.txt so-that it can list i.CoreM6 board
details.
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
Changes for v5:
- none
Changes for v4:
- Update .gitlab-ci.yml
Changes for v3:
- Use kernel version 4.11.5
Changes for v2:
- Fix genimage.cfg path in readme.txt
board/engicam/{ => icorem6}/genimage.cfg | 0
board/engicam/{ => icorem6}/readme.txt | 14 +++++++-------
configs/engicam_imx6qdl_icore_defconfig | 2 +-
3 files changed, 8 insertions(+), 8 deletions(-)
rename board/engicam/{ => icorem6}/genimage.cfg (100%)
rename board/engicam/{ => icorem6}/readme.txt (81%)
diff --git a/board/engicam/genimage.cfg b/board/engicam/icorem6/genimage.cfg
similarity index 100%
rename from board/engicam/genimage.cfg
rename to board/engicam/icorem6/genimage.cfg
diff --git a/board/engicam/readme.txt b/board/engicam/icorem6/readme.txt
similarity index 81%
rename from board/engicam/readme.txt
rename to board/engicam/icorem6/readme.txt
index f1010a2..0ad60bf 100644
--- a/board/engicam/readme.txt
+++ b/board/engicam/icorem6/readme.txt
@@ -1,8 +1,8 @@
-*****************************************
-Buildroot for Engicam i.MX6 SOM platforms:
-*****************************************
+*********************************************
+Buildroot for Engicam i.CoreM6 SOM platforms:
+*********************************************
-This file documents the Buildroot support for all Engicam i.MX6 SOM
+This file documents the Buildroot support for Engicam i.CoreM6
platform boards.
i.CoreM6 Quad/Dual/DualLite/Solo SOM Starter kits:
@@ -13,9 +13,9 @@ This configuration uses U-Boot mainline and kernel mainline.
Build
=====
-First, configure Buildroot for the Engicam i.MX SOM's:
+First, configure Buildroot for the Engicam i.CoreM6:
-- for i.CoreM6 Quad/Dual:
+- for i.CoreM6 Quad/Dual/DualLite/Solo:
make engicam_imx6qdl_icore_defconfig
@@ -53,7 +53,7 @@ command as root:
*** WARNING! This will destroy all the card content. Use with care! ***
For details about the medium image layout, see the definition in
-board/engicam/genimage.cfg
+board/engicam/icorem6/genimage.cfg
Boot the i.CoreM6 boards with SD boot:
=====================================
diff --git a/configs/engicam_imx6qdl_icore_defconfig b/configs/engicam_imx6qdl_icore_defconfig
index e0d89fa..8c914b0 100644
--- a/configs/engicam_imx6qdl_icore_defconfig
+++ b/configs/engicam_imx6qdl_icore_defconfig
@@ -38,4 +38,4 @@ BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_4=y
BR2_PACKAGE_HOST_GENIMAGE=y
BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
-BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/engicam/genimage.cfg"
+BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/engicam/icorem6/genimage.cfg"
--
2.7.4
^ permalink raw reply related [flat|nested] 11+ messages in thread* [Buildroot] [PATCH v5 4/5] board: Add support for Engicam GEAM6UL SOM
2017-06-23 12:26 [Buildroot] [PATCH v5 0/5] Board: Add Engicam i.MX6 SOMs Jagan Teki
` (2 preceding siblings ...)
2017-06-23 12:26 ` [Buildroot] [PATCH v5 3/5] board: engicam: Add icorem6 for i.CoreM6 support Jagan Teki
@ 2017-06-23 12:26 ` Jagan Teki
2017-06-24 12:54 ` Thomas Petazzoni
2017-06-23 12:26 ` [Buildroot] [PATCH v5 5/5] board: Add support for Engicam Is.IoT MX6UL SOM Jagan Teki
4 siblings, 1 reply; 11+ messages in thread
From: Jagan Teki @ 2017-06-23 12:26 UTC (permalink / raw)
To: buildroot
From: Jagan Teki <jagan@amarulasolutions.com>
Add initial support for Engicam GEAM6UL SOM board
with below features:
- U-Boot 2017.07-rc1
- Linux 4.11.5
- Default packages from buildroot
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
Changes for v5:
- Drop _mmc in defconfig
- Update size of vfat partition
- Add sync command after writing mmc
- Update .gitlab-ci.yml
Changes for v4:
- Update .gitlab-ci.yml
Changes for v3:
- Use kernel version 4.11.5
- Fix readme.txt file
Changes for v2:
- Fix genimage.cfg path in readme.txt
.gitlab-ci.yml | 1 +
DEVELOPERS | 1 +
board/engicam/geam6ul/genimage.cfg | 38 ++++++++++++++++++++
board/engicam/geam6ul/readme.txt | 66 +++++++++++++++++++++++++++++++++++
configs/engicam_imx6ul_geam_defconfig | 41 ++++++++++++++++++++++
5 files changed, 147 insertions(+)
create mode 100644 board/engicam/geam6ul/genimage.cfg
create mode 100644 board/engicam/geam6ul/readme.txt
create mode 100644 configs/engicam_imx6ul_geam_defconfig
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f1261d5..41abfd0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -91,6 +91,7 @@ csky_gx6605s_defconfig: *defconfig
cubieboard2_defconfig: *defconfig
engicam_imx6qdl_icore_defconfig: *defconfig
engicam_imx6qdl_icore_rqs_defconfig: *defconfig
+engicam_imx6ul_geam_defconfig: *defconfig
firefly_rk3288_defconfig: *defconfig
firefly_rk3288_demo_defconfig: *defconfig
freescale_imx28evk_defconfig: *defconfig
diff --git a/DEVELOPERS b/DEVELOPERS
index ccf6f67..00ec245 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -839,6 +839,7 @@ N: Jagan Teki <jagan@amarulasolutions.com>
F: board/engicam/
F: configs/engicam_imx6qdl_icore_defconfig
F: configs/engicam_imx6qdl_icore_rqs_defconfig
+F: configs/engicam_imx6ul_geam_defconfig
N: James Knight <james.knight@rockwellcollins.com>
F: package/atkmm/
diff --git a/board/engicam/geam6ul/genimage.cfg b/board/engicam/geam6ul/genimage.cfg
new file mode 100644
index 0000000..fcca6e1
--- /dev/null
+++ b/board/engicam/geam6ul/genimage.cfg
@@ -0,0 +1,38 @@
+image boot.vfat {
+ vfat {
+ files = {
+ "uImage",
+ "imx6ul-geam-kit.dtb"
+ }
+ }
+ size = 64M
+}
+
+image sdcard.img {
+ hdimage {
+ }
+
+ partition SPL {
+ in-partition-table = "no"
+ image = "SPL"
+ offset = 1024
+ }
+
+ partition u-boot-dtb {
+ in-partition-table = "no"
+ image = "u-boot-dtb.img"
+ offset = 69K
+ }
+
+ partition boot {
+ partition-type = 0xC
+ bootable = "true"
+ image = "boot.vfat"
+ offset = 8M
+ }
+
+ partition rootfs {
+ partition-type = 0x83
+ image = "rootfs.ext2"
+ }
+}
diff --git a/board/engicam/geam6ul/readme.txt b/board/engicam/geam6ul/readme.txt
new file mode 100644
index 0000000..ace993a
--- /dev/null
+++ b/board/engicam/geam6ul/readme.txt
@@ -0,0 +1,66 @@
+********************************************
+Buildroot for Engicam GEAM6UL SOM platforms:
+********************************************
+
+This file documents the Buildroot support for all Engicam GEAM6UL
+SOM platform boards.
+
+GEAM6UL SOM Starter kits:
+https://www.engicam.com/vis-prod/101115
+
+This configuration uses U-Boot mainline and kernel mainline.
+
+Build
+=====
+
+First, configure Buildroot for the Engicam GEAM6UL SOM:
+
+- for GEAM6UL SOM:
+
+ make engicam_imx6ul_geam_defconfig
+
+Build all components:
+
+ make
+
+You will find the following files in output/images/:
+ - imx6ul-geam-kit.dtb
+ - rootfs.ext4
+ - rootfs.tar
+ - sdcard.img
+ - SPL
+ - u-boot-dtb.img
+ - uImage
+
+Create a bootable SD card
+=========================
+
+To determine the device associated to the SD card have a look in the
+/proc/partitions file:
+
+ cat /proc/partitions
+
+Buildroot prepares a bootable "sdcard.img" image in the output/images/
+directory, ready to be dumped on a SD card. Launch the following
+command as root:
+
+ dd if=output/images/sdcard.img of=/dev/<your-sd-device>
+ sync
+
+*** WARNING! This will destroy all the card content. Use with care! ***
+
+For details about the medium image layout, see the definition in
+board/engicam/geam6ul/genimage.cfg
+
+Boot the GEAM6UL boards with SD boot:
+====================================
+
+To boot your newly created system:
+- insert the SD card in the SD slot of the board;
+- connect 3-wire RS232 serial port J28 on board, and connect with other
+ serial end or USB cable(if serial-to-usb converter used) using
+ a terminal emulator at 115200 bps, 8n1;
+- close JM3 for sd boot.
+- power on the board.
+
+Enjoy!
diff --git a/configs/engicam_imx6ul_geam_defconfig b/configs/engicam_imx6ul_geam_defconfig
new file mode 100644
index 0000000..ef50138
--- /dev/null
+++ b/configs/engicam_imx6ul_geam_defconfig
@@ -0,0 +1,41 @@
+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.11 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_11=y
+
+# System
+BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
+
+# Bootloader
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
+BR2_TARGET_UBOOT_CUSTOM_VERSION=y
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.07-rc1"
+BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx6ul_geam_mmc"
+BR2_TARGET_UBOOT_NEEDS_DTC=y
+BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
+BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y
+BR2_TARGET_UBOOT_SPL=y
+BR2_TARGET_UBOOT_SPL_NAME="SPL"
+
+# Kernel
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.11.5"
+BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7"
+BR2_LINUX_KERNEL_UIMAGE=y
+BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x80008000"
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6ul-geam-kit"
+
+# Filesystem
+BR2_TARGET_GENERIC_ISSUE="Welcome to Engicam GEAM6UL Starter Kit"
+BR2_TARGET_ROOTFS_EXT2=y
+BR2_TARGET_ROOTFS_EXT2_4=y
+BR2_PACKAGE_HOST_GENIMAGE=y
+BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
+BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/engicam/geam6ul/genimage.cfg"
--
2.7.4
^ permalink raw reply related [flat|nested] 11+ messages in thread* [Buildroot] [PATCH v5 4/5] board: Add support for Engicam GEAM6UL SOM
2017-06-23 12:26 ` [Buildroot] [PATCH v5 4/5] board: Add support for Engicam GEAM6UL SOM Jagan Teki
@ 2017-06-24 12:54 ` Thomas Petazzoni
0 siblings, 0 replies; 11+ messages in thread
From: Thomas Petazzoni @ 2017-06-24 12:54 UTC (permalink / raw)
To: buildroot
Hello,
On Fri, 23 Jun 2017 17:56:08 +0530, Jagan Teki wrote:
> From: Jagan Teki <jagan@amarulasolutions.com>
>
> Add initial support for Engicam GEAM6UL SOM board
> with below features:
> - U-Boot 2017.07-rc1
> - Linux 4.11.5
> - Default packages from buildroot
>
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
> ---
> Changes for v5:
> - Drop _mmc in defconfig
> - Update size of vfat partition
> - Add sync command after writing mmc
> - Update .gitlab-ci.yml
> Changes for v4:
> - Update .gitlab-ci.yml
> Changes for v3:
> - Use kernel version 4.11.5
> - Fix readme.txt file
> Changes for v2:
> - Fix genimage.cfg path in readme.txt
Here as well, host-dosfstools and host-mtools were missing, so I've
added them. Patch applied. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH v5 5/5] board: Add support for Engicam Is.IoT MX6UL SOM
2017-06-23 12:26 [Buildroot] [PATCH v5 0/5] Board: Add Engicam i.MX6 SOMs Jagan Teki
` (3 preceding siblings ...)
2017-06-23 12:26 ` [Buildroot] [PATCH v5 4/5] board: Add support for Engicam GEAM6UL SOM Jagan Teki
@ 2017-06-23 12:26 ` Jagan Teki
2017-06-24 12:56 ` Thomas Petazzoni
4 siblings, 1 reply; 11+ messages in thread
From: Jagan Teki @ 2017-06-23 12:26 UTC (permalink / raw)
To: buildroot
From: Jagan Teki <jagan@amarulasolutions.com>
Add initial support for Engicam Is.IoT MX6UL SOM board
with below features:
- U-Boot 2017.07-rc1
- Linux 4.11.5
- Default packages from buildroot
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
Changes for v5:
- Drop _mmc in defconfig
- Update size of vfat partition
- Add sync command after writing mmc
- Update .gitlab-ci.yml
Changes for v4:
- Update .gitlab-ci.yml
Changes for v3:
- Newly added patch
.gitlab-ci.yml | 1 +
DEVELOPERS | 1 +
board/engicam/isiot/genimage.cfg | 38 +++++++++++++++++
board/engicam/isiot/readme.txt | 66 ++++++++++++++++++++++++++++++
configs/engicam_imx6ul_isiot_mmc_defconfig | 41 +++++++++++++++++++
5 files changed, 147 insertions(+)
create mode 100644 board/engicam/isiot/genimage.cfg
create mode 100644 board/engicam/isiot/readme.txt
create mode 100644 configs/engicam_imx6ul_isiot_mmc_defconfig
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 41abfd0..33c0fab 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -92,6 +92,7 @@ cubieboard2_defconfig: *defconfig
engicam_imx6qdl_icore_defconfig: *defconfig
engicam_imx6qdl_icore_rqs_defconfig: *defconfig
engicam_imx6ul_geam_defconfig: *defconfig
+engicam_imx6ul_isiot_defconfig: *defconfig
firefly_rk3288_defconfig: *defconfig
firefly_rk3288_demo_defconfig: *defconfig
freescale_imx28evk_defconfig: *defconfig
diff --git a/DEVELOPERS b/DEVELOPERS
index 00ec245..7699354 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -840,6 +840,7 @@ F: board/engicam/
F: configs/engicam_imx6qdl_icore_defconfig
F: configs/engicam_imx6qdl_icore_rqs_defconfig
F: configs/engicam_imx6ul_geam_defconfig
+F: configs/engicam_imx6ul_isiot_defconfig
N: James Knight <james.knight@rockwellcollins.com>
F: package/atkmm/
diff --git a/board/engicam/isiot/genimage.cfg b/board/engicam/isiot/genimage.cfg
new file mode 100644
index 0000000..dc8c20d
--- /dev/null
+++ b/board/engicam/isiot/genimage.cfg
@@ -0,0 +1,38 @@
+image boot.vfat {
+ vfat {
+ files = {
+ "uImage",
+ "imx6ul-isiot-emmc.dtb"
+ }
+ }
+ size = 64M
+}
+
+image sdcard.img {
+ hdimage {
+ }
+
+ partition SPL {
+ in-partition-table = "no"
+ image = "SPL"
+ offset = 1024
+ }
+
+ partition u-boot-dtb {
+ in-partition-table = "no"
+ image = "u-boot-dtb.img"
+ offset = 69K
+ }
+
+ partition boot {
+ partition-type = 0xC
+ bootable = "true"
+ image = "boot.vfat"
+ offset = 8M
+ }
+
+ partition rootfs {
+ partition-type = 0x83
+ image = "rootfs.ext2"
+ }
+}
diff --git a/board/engicam/isiot/readme.txt b/board/engicam/isiot/readme.txt
new file mode 100644
index 0000000..5394007
--- /dev/null
+++ b/board/engicam/isiot/readme.txt
@@ -0,0 +1,66 @@
+********************************************
+Buildroot for Engicam Is.IoT SOM platforms:
+********************************************
+
+This file documents the Buildroot support for all Engicam Is.IoT MX6UL
+SOM platform boards.
+
+Is.IoT MX6UL SOM Starter kits:
+https://www.engicam.com/vis-prod/101122
+
+This configuration uses U-Boot mainline and kernel mainline.
+
+Build
+=====
+
+First, configure Buildroot for the Engicam Is.IoT MX6UL SOM:
+
+- for Is.IoT MX6UL SOM:
+
+ make engicam_imx6ul_isiot_defconfig
+
+Build all components:
+
+ make
+
+You will find the following files in output/images/:
+ - imx6ul-isiot-emmc.dtb
+ - rootfs.ext4
+ - rootfs.tar
+ - sdcard.img
+ - SPL
+ - u-boot-dtb.img
+ - uImage
+
+Create a bootable SD card
+=========================
+
+To determine the device associated to the SD card have a look in the
+/proc/partitions file:
+
+ cat /proc/partitions
+
+Buildroot prepares a bootable "sdcard.img" image in the output/images/
+directory, ready to be dumped on a SD card. Launch the following
+command as root:
+
+ dd if=output/images/sdcard.img of=/dev/<your-sd-device>
+ sync
+
+*** WARNING! This will destroy all the card content. Use with care! ***
+
+For details about the medium image layout, see the definition in
+board/engicam/isiot/genimage.cfg
+
+Boot the Is.IoT MX6UL boards with SD boot:
+=========================================
+
+To boot your newly created system:
+- insert the SD card in the SD slot of the board;
+- connect 3-wire RS232 serial port J28 on board, and connect with other
+ serial end or USB cable(if serial-to-usb converter used) using
+ a terminal emulator at 115200 bps, 8n1;
+- close JM3 for sd boot.
+- power on the board.
+
+Enjoy!
diff --git a/configs/engicam_imx6ul_isiot_mmc_defconfig b/configs/engicam_imx6ul_isiot_mmc_defconfig
new file mode 100644
index 0000000..7ad7c94
--- /dev/null
+++ b/configs/engicam_imx6ul_isiot_mmc_defconfig
@@ -0,0 +1,41 @@
+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.11 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_11=y
+
+# System
+BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
+
+# Bootloader
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
+BR2_TARGET_UBOOT_CUSTOM_VERSION=y
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.07-rc1"
+BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx6ul_isiot_mmc"
+BR2_TARGET_UBOOT_NEEDS_DTC=y
+BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
+BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y
+BR2_TARGET_UBOOT_SPL=y
+BR2_TARGET_UBOOT_SPL_NAME="SPL"
+
+# Kernel
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.11.5"
+BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7"
+BR2_LINUX_KERNEL_UIMAGE=y
+BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x80008000"
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6ul-isiot-emmc"
+
+# Filesystem
+BR2_TARGET_GENERIC_ISSUE="Welcome to Engicam Is.IoT eMMC Starter Kit"
+BR2_TARGET_ROOTFS_EXT2=y
+BR2_TARGET_ROOTFS_EXT2_4=y
+BR2_PACKAGE_HOST_GENIMAGE=y
+BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
+BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/engicam/isiot/genimage.cfg"
--
2.7.4
^ permalink raw reply related [flat|nested] 11+ messages in thread* [Buildroot] [PATCH v5 5/5] board: Add support for Engicam Is.IoT MX6UL SOM
2017-06-23 12:26 ` [Buildroot] [PATCH v5 5/5] board: Add support for Engicam Is.IoT MX6UL SOM Jagan Teki
@ 2017-06-24 12:56 ` Thomas Petazzoni
0 siblings, 0 replies; 11+ messages in thread
From: Thomas Petazzoni @ 2017-06-24 12:56 UTC (permalink / raw)
To: buildroot
Hello,
On Fri, 23 Jun 2017 17:56:09 +0530, Jagan Teki wrote:
> From: Jagan Teki <jagan@amarulasolutions.com>
>
> Add initial support for Engicam Is.IoT MX6UL SOM board
> with below features:
> - U-Boot 2017.07-rc1
> - Linux 4.11.5
> - Default packages from buildroot
>
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
> ---
> Changes for v5:
> - Drop _mmc in defconfig
> - Update size of vfat partition
> - Add sync command after writing mmc
> - Update .gitlab-ci.yml
> Changes for v4:
> - Update .gitlab-ci.yml
> Changes for v3:
> - Newly added patch
Applied to master, after adding host-dosfstools/host-mtools. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 11+ messages in thread