xref: /OK3568_Linux_fs/buildroot/board/engicam/isiot/readme.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun********************************************
2*4882a593SmuzhiyunBuildroot for Engicam Is.IoT SOM platforms:
3*4882a593Smuzhiyun********************************************
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunThis file documents the Buildroot support for all Engicam Is.IoT MX6UL
6*4882a593SmuzhiyunSOM platform boards.
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunIs.IoT MX6UL SOM Starter kits:
9*4882a593Smuzhiyunhttps://www.engicam.com/vis-prod/101122
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunThis configuration uses U-Boot mainline and kernel mainline.
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunBuild
14*4882a593Smuzhiyun=====
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunFirst, configure Buildroot for the Engicam Is.IoT MX6UL SOM:
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun- for Is.IoT MX6UL SOM:
19*4882a593Smuzhiyun
20*4882a593Smuzhiyun  make engicam_imx6ul_isiot_defconfig
21*4882a593Smuzhiyun
22*4882a593SmuzhiyunBuild all components:
23*4882a593Smuzhiyun
24*4882a593Smuzhiyun  make
25*4882a593Smuzhiyun
26*4882a593SmuzhiyunYou will find the following files in output/images/:
27*4882a593Smuzhiyun  - imx6ul-isiot-emmc.dtb
28*4882a593Smuzhiyun  - rootfs.ext4
29*4882a593Smuzhiyun  - rootfs.tar
30*4882a593Smuzhiyun  - sdcard.img
31*4882a593Smuzhiyun  - SPL
32*4882a593Smuzhiyun  - u-boot-dtb.img
33*4882a593Smuzhiyun  - uImage
34*4882a593Smuzhiyun
35*4882a593SmuzhiyunCreate a bootable SD card
36*4882a593Smuzhiyun=========================
37*4882a593Smuzhiyun
38*4882a593SmuzhiyunTo determine the device associated to the SD card have a look in the
39*4882a593Smuzhiyun/proc/partitions file:
40*4882a593Smuzhiyun
41*4882a593Smuzhiyun  cat /proc/partitions
42*4882a593Smuzhiyun
43*4882a593SmuzhiyunBuildroot prepares a bootable "sdcard.img" image in the output/images/
44*4882a593Smuzhiyundirectory, ready to be dumped on a SD card. Launch the following
45*4882a593Smuzhiyuncommand as root:
46*4882a593Smuzhiyun
47*4882a593Smuzhiyun  dd if=output/images/sdcard.img of=/dev/<your-sd-device>
48*4882a593Smuzhiyun  sync
49*4882a593Smuzhiyun
50*4882a593Smuzhiyun*** WARNING! This will destroy all the card content. Use with care! ***
51*4882a593Smuzhiyun
52*4882a593SmuzhiyunFor details about the medium image layout, see the definition in
53*4882a593Smuzhiyunboard/engicam/isiot/genimage.cfg
54*4882a593Smuzhiyun
55*4882a593SmuzhiyunBoot the Is.IoT MX6UL boards with SD boot:
56*4882a593Smuzhiyun=========================================
57*4882a593Smuzhiyun
58*4882a593SmuzhiyunTo boot your newly created system:
59*4882a593Smuzhiyun- insert the SD card in the SD slot of the board;
60*4882a593Smuzhiyun- connect 3-wire RS232 serial port J28 on board, and connect with other
61*4882a593Smuzhiyun  serial end or USB cable(if serial-to-usb converter used) using
62*4882a593Smuzhiyun  a terminal emulator at 115200 bps, 8n1;
63*4882a593Smuzhiyun- close JM3 for sd boot.
64*4882a593Smuzhiyun- power on the board.
65*4882a593Smuzhiyun
66*4882a593SmuzhiyunEnjoy!
67