xref: /OK3568_Linux_fs/buildroot/board/freescale/imx23evk/readme.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun**************************
2*4882a593SmuzhiyunFreescale i.MX23 EVK board
3*4882a593Smuzhiyun**************************
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunThis file documents the Buildroot support for the Freescale i.MX23 EVK board.
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunBuild
8*4882a593Smuzhiyun=====
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunFirst, configure Buildroot for your i.MX23 EVK board:
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun  make imx23evk_defconfig
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunBuild all components:
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun  make
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunYou will find in output/images/ directory the following files:
19*4882a593Smuzhiyun  - imx23-evk.dtb
20*4882a593Smuzhiyun  - rootfs.tar
21*4882a593Smuzhiyun  - u-boot.sd
22*4882a593Smuzhiyun  - zImage
23*4882a593Smuzhiyun
24*4882a593SmuzhiyunCreate a bootable SD card
25*4882a593Smuzhiyun=========================
26*4882a593Smuzhiyun
27*4882a593SmuzhiyunTo determine the device associated to the SD card have a look in the
28*4882a593Smuzhiyun/proc/partitions file:
29*4882a593Smuzhiyun
30*4882a593Smuzhiyun  cat /proc/partitions
31*4882a593Smuzhiyun
32*4882a593SmuzhiyunThen, run the following command:
33*4882a593Smuzhiyun
34*4882a593Smuzhiyun*** WARNING! The command will destroy all the card content. Use with care! ***
35*4882a593Smuzhiyun
36*4882a593Smuzhiyun sudo dd if=output/images/sdcard.img of=/dev/<your-microsd-device>
37*4882a593Smuzhiyun
38*4882a593SmuzhiyunBoot the i.MX23 EVK board
39*4882a593Smuzhiyun=========================
40*4882a593Smuzhiyun
41*4882a593Smuzhiyun- Put the Boot Mode Select jumper as 1 0 0 1 so that it can boot
42*4882a593Smuzhiyun  from the SD card
43*4882a593Smuzhiyun- Insert the SD card in the SD Card slot of the board;
44*4882a593Smuzhiyun- Connect an RS232 UART cable to the Debug UART Port and connect using a
45*4882a593Smuzhiyun  terminal emulator at 115200 bps, 8n1;
46*4882a593Smuzhiyun- power on the board.
47*4882a593Smuzhiyun
48*4882a593SmuzhiyunEnjoy!
49