xref: /openbmc/u-boot/board/wandboard/README (revision 9dc8d155)
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
7*1b5f4dc9SFabio EstevamSoCs: mx6 quad, mx6 quad plus, mx6 dual lite and mx6 solo.
8e2d282a1SFabio Estevam
9e2d282a1SFabio EstevamFor more details about Wandboard, please refer to:
10e2d282a1SFabio Estevamhttp://www.wandboard.org/
11e2d282a1SFabio Estevam
12a187559eSBin MengBuilding U-Boot for Wandboard
13e2d282a1SFabio Estevam-----------------------------
14e2d282a1SFabio Estevam
150d1ea052SFabio EstevamTo build U-Boot for the Wandboard:
16e2d282a1SFabio Estevam
170d1ea052SFabio Estevam$ make wandboard_config
18491f2947STapani Utriainen$ make
19491f2947STapani Utriainen
20a187559eSBin MengFlashing U-Boot into the SD card
21e2d282a1SFabio Estevam--------------------------------
22e2d282a1SFabio Estevam
230d1ea052SFabio Estevam- After the 'make' command completes, the generated 'SPL' binary must be
24e2d282a1SFabio Estevamflashed into the SD card;
25e2d282a1SFabio Estevam
260d1ea052SFabio 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
300d1ea052SFabio Estevam- Flash the u-boot.img image into the SD card:
310d1ea052SFabio Estevam
320d1ea052SFabio Estevamsudo dd if=u-boot.img of=/dev/mmcblk0 bs=1k seek=69; sync
330d1ea052SFabio 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
39a187559eSBin Meng- Power up the board and U-Boot messages will appear in the serial console.
40