summaryrefslogtreecommitdiffstats
path: root/board/engicam
diff options
context:
space:
mode:
authorJagan Teki <jagan@amarulasolutions.com>2017-06-23 17:56:08 +0530
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-06-24 14:50:56 +0200
commit09c0bc7a8dedb674bd1890476f30ba4d83d4e73e (patch)
tree01d414c23af0df250a6752ee835d1fbbc11abf22 /board/engicam
parentae3d3298f3af60387b5e599a38bf51e133e42b88 (diff)
downloadbuildroot-09c0bc7a8dedb674bd1890476f30ba4d83d4e73e.tar.gz
buildroot-09c0bc7a8dedb674bd1890476f30ba4d83d4e73e.zip
board: Add support for Engicam GEAM6UL SOM
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> [Thomas: add host-dosfstools and host-mtools.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'board/engicam')
-rw-r--r--board/engicam/geam6ul/genimage.cfg38
-rw-r--r--board/engicam/geam6ul/readme.txt66
2 files changed, 104 insertions, 0 deletions
diff --git a/board/engicam/geam6ul/genimage.cfg b/board/engicam/geam6ul/genimage.cfg
new file mode 100644
index 0000000000..fcca6e1739
--- /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 0000000000..ace993a661
--- /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!
OpenPOWER on IntegriCloud