diff options
| author | Jagan Teki <jagan@amarulasolutions.com> | 2017-06-12 23:51:41 +0530 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-06-12 23:16:49 +0200 |
| commit | d3a63da1631295ea71f860e6a85e0ca78c350f7d (patch) | |
| tree | b277d51b97f5cfce0df0cfb3fc7cc9e4c65f1d66 /board/engicam | |
| parent | 4014ed27c3bc4b86e37d66bd1c098f6ec759ccee (diff) | |
| download | buildroot-d3a63da1631295ea71f860e6a85e0ca78c350f7d.tar.gz buildroot-d3a63da1631295ea71f860e6a85e0ca78c350f7d.zip | |
board: Add support for Engicam i.CoreM6 Quad/Dual boards
Add initial support for Engicam i.CoreM6 Quad/Dual board
with below features:
- U-Boot 2017.05
- Linux 4.11
- Default packages from buildroot
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Matteo Lisi <matteo.lisi@engicam.com>
Cc: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'board/engicam')
| -rw-r--r-- | board/engicam/genimage.cfg | 38 | ||||
| -rw-r--r-- | board/engicam/readme.txt | 66 |
2 files changed, 104 insertions, 0 deletions
diff --git a/board/engicam/genimage.cfg b/board/engicam/genimage.cfg new file mode 100644 index 0000000000..43c81cfd9e --- /dev/null +++ b/board/engicam/genimage.cfg @@ -0,0 +1,38 @@ +image boot.vfat { + vfat { + files = { + "uImage", + "imx6q-icore.dtb" + } + } + size = 16M +} + +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/readme.txt b/board/engicam/readme.txt new file mode 100644 index 0000000000..eb7503f629 --- /dev/null +++ b/board/engicam/readme.txt @@ -0,0 +1,66 @@ +***************************************** +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: +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_imx6q_icore_defconfig + +Build all components: + + make + +You will find the following files in output/images/: +- for i.CoreM6 Quad/Dual: + - imx6q-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> + +*** 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! |

