70 lines
1.8 KiB
Plaintext
70 lines
1.8 KiB
Plaintext
|
*************************************************
|
||
|
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!
|