xref: /openbmc/u-boot/board/wandboard/README (revision 0d1ea052)
1e2d282a1SFabio EstevamU-Boot for Wandboard
2e2d282a1SFabio Estevam--------------------
3e2d282a1SFabio Estevam
4e2d282a1SFabio EstevamThis file contains information for the port of U-Boot to the Wandboard.
5e2d282a1SFabio Estevam
6c93addb5SFabio EstevamWandboard is a development board that has three variants based on the following
7c93addb5SFabio EstevamSoCs: mx6 quad, mx6 dual lite and mx6 solo.
8e2d282a1SFabio Estevam
9e2d282a1SFabio EstevamFor more details about Wandboard, please refer to:
10e2d282a1SFabio Estevamhttp://www.wandboard.org/
11e2d282a1SFabio Estevam
12e2d282a1SFabio EstevamBuilding U-boot for Wandboard
13e2d282a1SFabio Estevam-----------------------------
14e2d282a1SFabio Estevam
15*0d1ea052SFabio EstevamTo build U-Boot for the Wandboard:
16e2d282a1SFabio Estevam
17*0d1ea052SFabio Estevam$ make wandboard_config
18491f2947STapani Utriainen$ make
19491f2947STapani Utriainen
20e2d282a1SFabio EstevamFlashing U-boot into the SD card
21e2d282a1SFabio Estevam--------------------------------
22e2d282a1SFabio Estevam
23*0d1ea052SFabio Estevam- After the 'make' command completes, the generated 'SPL' binary must be
24e2d282a1SFabio Estevamflashed into the SD card;
25e2d282a1SFabio Estevam
26*0d1ea052SFabio Estevam$ sudo dd if=SPL of=/dev/mmcblk0 bs=1k seek=1; sync
27e2d282a1SFabio Estevam
28e2d282a1SFabio Estevam(Note - the SD card node may vary, so adjust this as needed).
29e2d282a1SFabio Estevam
30*0d1ea052SFabio Estevam- Flash the u-boot.img image into the SD card:
31*0d1ea052SFabio Estevam
32*0d1ea052SFabio Estevamsudo dd if=u-boot.img of=/dev/mmcblk0 bs=1k seek=69; sync
33*0d1ea052SFabio Estevam
34e2d282a1SFabio Estevam- Insert the SD card into the slot located in the bottom of the board (same side
35e2d282a1SFabio Estevamas the mx6 processor)
36e2d282a1SFabio Estevam
37e2d282a1SFabio Estevam- Connect the serial cable to the host PC
38e2d282a1SFabio Estevam
39e2d282a1SFabio Estevam- Power up the board and U-boot messages will appear in the serial console.
40