xref: /OK3568_Linux_fs/buildroot/board/toradex/apalis-imx6/readme.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunToradex Apalis i.MX6 Computer on Module
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunIntro
4*4882a593Smuzhiyun=====
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunThe Apalis iMX6 is a small form-factor Computer on Module that comes
7*4882a593Smuzhiyunin both quad core and dual core versions based on Freescale i.MX6Q and
8*4882a593SmuzhiyunFreescale i.MX6D SoCs respectively. The Cortex A9 quad core and dual
9*4882a593Smuzhiyuncore CPU peaks at 1 GHz for commercial temperature variant, while the
10*4882a593Smuzhiyunindustrial temperature variant has a peak frequency of 800 MHz.
11*4882a593Smuzhiyun
12*4882a593Smuzhiyunhttps://www.toradex.com/computer-on-modules/apalis-arm-family/freescale-imx-6
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunIt supports two carrier boards:
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunApalis Evaluation Board
17*4882a593Smuzhiyunhttps://www.toradex.com/products/carrier-boards/apalis-evaluation-board
18*4882a593Smuzhiyun
19*4882a593SmuzhiyunIxora Carrier Board
20*4882a593Smuzhiyunhttps://www.toradex.com/products/carrier-boards/ixora-carrier-board
21*4882a593Smuzhiyun
22*4882a593SmuzhiyunHow to build it
23*4882a593Smuzhiyun===============
24*4882a593Smuzhiyun
25*4882a593SmuzhiyunConfigure Buildroot:
26*4882a593Smuzhiyun
27*4882a593Smuzhiyun    $ make toradex_apalis_imx6_defconfig
28*4882a593Smuzhiyun
29*4882a593SmuzhiyunCompile everything and build the rootfs image:
30*4882a593Smuzhiyun
31*4882a593Smuzhiyun    $ make
32*4882a593Smuzhiyun
33*4882a593SmuzhiyunHow to boot the image
34*4882a593Smuzhiyun=====================
35*4882a593Smuzhiyun
36*4882a593SmuzhiyunThe board only boots from its internal flash memory eMMC, so the
37*4882a593Smuzhiyunbootloader image should be copied to it, following the procedures
38*4882a593Smuzhiyundescribed in Toradex website.
39*4882a593Smuzhiyun
40*4882a593Smuzhiyunhttp://developer.toradex.com/knowledge-base/flashing-linux-on-imx6-modules
41*4882a593Smuzhiyun
42*4882a593SmuzhiyunBuildroot prepares a "sdcard.img" in output/images/ with the kernel
43*4882a593Smuzhiyunimage, device tree and a root filesystem, ready to be dumped on an SD
44*4882a593Smuzhiyuncard.
45*4882a593Smuzhiyun
46*4882a593Smuzhiyun    $ dd if=output/images/sdcard.img of=/dev/sdX bs=1M
47*4882a593Smuzhiyun
48*4882a593SmuzhiyunTo boot from the SD card, you should change the U-Boot
49*4882a593Smuzhiyunenvironment. Since U-Boot is running from internal eMMC, you will need
50*4882a593Smuzhiyunto access its command line prompt and manually set the necessary
51*4882a593Smuzhiyunvariables to boot from the external SD card. For convenience, you can
52*4882a593Smuzhiyunuse uEnv.txt provided in output/images/ as a reference to create the
53*4882a593Smuzhiyunnecessary U-Boot variables to boot from the SD card.
54