xref: /OK3568_Linux_fs/buildroot/board/freescale/imx28evk/readme.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun**************************
2*4882a593SmuzhiyunFreescale i.MX28 EVK board
3*4882a593Smuzhiyun**************************
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunThis file documents the Buildroot support for the Freescale i.MX28 EVK board.
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunRead the i.MX28 Evaluation Kit Quick Start Guide [1] for an introduction to the
8*4882a593Smuzhiyunboard.
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunBuild
11*4882a593Smuzhiyun=====
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunFirst, configure Buildroot for your i.MX28 EVK board:
14*4882a593Smuzhiyun
15*4882a593Smuzhiyun  make freescale_imx28evk_defconfig
16*4882a593Smuzhiyun
17*4882a593SmuzhiyunBuild all components:
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun  make
20*4882a593Smuzhiyun
21*4882a593SmuzhiyunYou will find in ./output/images/ the following files:
22*4882a593Smuzhiyun  - imx28-evk.dtb
23*4882a593Smuzhiyun  - rootfs.tar
24*4882a593Smuzhiyun  - u-boot.sd
25*4882a593Smuzhiyun  - zImage
26*4882a593Smuzhiyun
27*4882a593SmuzhiyunCreate a bootable SD card
28*4882a593Smuzhiyun=========================
29*4882a593Smuzhiyun
30*4882a593SmuzhiyunTo determine the device associated to the SD card have a look in the
31*4882a593Smuzhiyun/proc/partitions file:
32*4882a593Smuzhiyun
33*4882a593Smuzhiyun  cat /proc/partitions
34*4882a593Smuzhiyun
35*4882a593SmuzhiyunThen, run the following command as root:
36*4882a593Smuzhiyun
37*4882a593Smuzhiyun*** WARNING! The command will destroy all the card content. Use with care! ***
38*4882a593Smuzhiyun
39*4882a593Smuzhiyun sudo dd if=output/images/sdcard.img of=/dev/<your-microsd-device>
40*4882a593Smuzhiyun
41*4882a593SmuzhiyunBoot the i.MX28 EVK board
42*4882a593Smuzhiyun=========================
43*4882a593Smuzhiyun
44*4882a593SmuzhiyunTo boot your newly created system (refer to the i.MX28 EVK Quick Start Guide
45*4882a593Smuzhiyun[1] for guidance):
46*4882a593Smuzhiyun- insert the SD card in the SD Card Socket 0 of the board;
47*4882a593Smuzhiyun- verify that your i.MX28 EVK board jumpers and switches are set as mentioned
48*4882a593Smuzhiyun  in the i.MX28 EVK Quick Start Guide [1];
49*4882a593Smuzhiyun- connect an RS232 UART cable to the Debug UART Port and connect using a
50*4882a593Smuzhiyun  terminal emulator at 115200 bps, 8n1;
51*4882a593Smuzhiyun- power on the board.
52*4882a593Smuzhiyun
53*4882a593SmuzhiyunEnjoy!
54*4882a593Smuzhiyun
55*4882a593SmuzhiyunReferences
56*4882a593Smuzhiyun==========
57*4882a593Smuzhiyun[1] http://cache.freescale.com/files/32bit/doc/user_guide/EVK_imx28_QuickStart.pdf
58