xref: /OK3568_Linux_fs/u-boot/board/wandboard/README (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunU-Boot for Wandboard
2*4882a593Smuzhiyun--------------------
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunThis file contains information for the port of U-Boot to the Wandboard.
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunWandboard is a development board that has three variants based on the following
7*4882a593SmuzhiyunSoCs: mx6 quad, mx6 dual lite and mx6 solo.
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunFor more details about Wandboard, please refer to:
10*4882a593Smuzhiyunhttp://www.wandboard.org/
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunBuilding U-Boot for Wandboard
13*4882a593Smuzhiyun-----------------------------
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunTo build U-Boot for the Wandboard:
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun$ make wandboard_config
18*4882a593Smuzhiyun$ make
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunFlashing U-Boot into the SD card
21*4882a593Smuzhiyun--------------------------------
22*4882a593Smuzhiyun
23*4882a593Smuzhiyun- After the 'make' command completes, the generated 'SPL' binary must be
24*4882a593Smuzhiyunflashed into the SD card;
25*4882a593Smuzhiyun
26*4882a593Smuzhiyun$ sudo dd if=SPL of=/dev/mmcblk0 bs=1k seek=1; sync
27*4882a593Smuzhiyun
28*4882a593Smuzhiyun(Note - the SD card node may vary, so adjust this as needed).
29*4882a593Smuzhiyun
30*4882a593Smuzhiyun- Flash the u-boot.img image into the SD card:
31*4882a593Smuzhiyun
32*4882a593Smuzhiyunsudo dd if=u-boot.img of=/dev/mmcblk0 bs=1k seek=69; sync
33*4882a593Smuzhiyun
34*4882a593Smuzhiyun- Insert the SD card into the slot located in the bottom of the board (same side
35*4882a593Smuzhiyunas the mx6 processor)
36*4882a593Smuzhiyun
37*4882a593Smuzhiyun- Connect the serial cable to the host PC
38*4882a593Smuzhiyun
39*4882a593Smuzhiyun- Power up the board and U-Boot messages will appear in the serial console.
40