board: engicam: Add icorem6 for i.CoreM6 support
authorJagan Teki <jagan@amarulasolutions.com>
Fri, 23 Jun 2017 12:26:07 +0000 (17:56 +0530)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 24 Jun 2017 12:33:58 +0000 (14:33 +0200)
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>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
board/engicam/genimage.cfg [deleted file]
board/engicam/icorem6/genimage.cfg [new file with mode: 0644]
board/engicam/icorem6/readme.txt [new file with mode: 0644]
board/engicam/readme.txt [deleted file]
configs/engicam_imx6qdl_icore_defconfig

diff --git a/board/engicam/genimage.cfg b/board/engicam/genimage.cfg
deleted file mode 100644 (file)
index f409a08..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-image boot.vfat {
-       vfat {
-               files = {
-                       "uImage",
-                       "imx6dl-icore.dtb",
-                       "imx6q-icore.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/genimage.cfg b/board/engicam/icorem6/genimage.cfg
new file mode 100644 (file)
index 0000000..f409a08
--- /dev/null
@@ -0,0 +1,39 @@
+image boot.vfat {
+       vfat {
+               files = {
+                       "uImage",
+                       "imx6dl-icore.dtb",
+                       "imx6q-icore.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/readme.txt b/board/engicam/icorem6/readme.txt
new file mode 100644 (file)
index 0000000..0ad60bf
--- /dev/null
@@ -0,0 +1,69 @@
+*********************************************
+Buildroot for Engicam i.CoreM6 SOM platforms:
+*********************************************
+
+This file documents the Buildroot support for Engicam i.CoreM6
+platform boards.
+
+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.
+
+Build
+=====
+
+First, configure Buildroot for the Engicam i.CoreM6:
+
+- for i.CoreM6 Quad/Dual/DualLite/Solo:
+
+  make engicam_imx6qdl_icore_defconfig
+
+Build all components:
+
+  make
+
+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
+  - 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/genimage.cfg
+
+Boot the i.CoreM6 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/board/engicam/readme.txt b/board/engicam/readme.txt
deleted file mode 100644 (file)
index f1010a2..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-*****************************************
-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/DualLite/Solo SOM Starter kits:
-https://www.engicam.com/vis-prod/101120
-
-This configuration uses U-Boot mainline and kernel mainline.
-
-Build
-=====
-
-First, configure Buildroot for the Engicam i.MX SOM's:
-
-- for i.CoreM6 Quad/Dual:
-
-  make engicam_imx6qdl_icore_defconfig
-
-Build all components:
-
-  make
-
-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
-  - 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/genimage.cfg
-
-Boot the i.CoreM6 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!
index 17acdf56cbbb00b3a4e8ec7dfd8deaf2700185ef..466d60cbdc27fdceb686faf1d453dea6cfdc2347 100644 (file)
@@ -40,4 +40,4 @@ BR2_PACKAGE_HOST_DOSFSTOOLS=y
 BR2_PACKAGE_HOST_GENIMAGE=y
 BR2_PACKAGE_HOST_MTOOLS=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"