blob: 2d514a721491c9371eb57cebe070c98c0577b86e [file] [log] [blame]
Fabio Estevame2d282a2013-03-15 10:43:48 +00001U-Boot for Wandboard
2--------------------
3
4This file contains information for the port of U-Boot to the Wandboard.
5
Fabio Estevamc93addb2013-09-26 23:10:56 -03006Wandboard is a development board that has three variants based on the following
Fabio Estevam1b5f4dc2018-08-31 10:01:45 -03007SoCs: mx6 quad, mx6 quad plus, mx6 dual lite and mx6 solo.
Fabio Estevame2d282a2013-03-15 10:43:48 +00008
9For more details about Wandboard, please refer to:
10http://www.wandboard.org/
11
Bin Menga1875592016-02-05 19:30:11 -080012Building U-Boot for Wandboard
Fabio Estevame2d282a2013-03-15 10:43:48 +000013-----------------------------
14
Fabio Estevam0d1ea052015-05-11 20:50:22 -030015To build U-Boot for the Wandboard:
Fabio Estevame2d282a2013-03-15 10:43:48 +000016
Fabio Estevam0d1ea052015-05-11 20:50:22 -030017$ make wandboard_config
Tapani Utriainen491f2942013-06-26 17:51:49 +080018$ make
19
Bin Menga1875592016-02-05 19:30:11 -080020Flashing U-Boot into the SD card
Fabio Estevame2d282a2013-03-15 10:43:48 +000021--------------------------------
22
Fabio Estevam0d1ea052015-05-11 20:50:22 -030023- After the 'make' command completes, the generated 'SPL' binary must be
Fabio Estevame2d282a2013-03-15 10:43:48 +000024flashed into the SD card;
25
Fabio Estevam0d1ea052015-05-11 20:50:22 -030026$ sudo dd if=SPL of=/dev/mmcblk0 bs=1k seek=1; sync
Fabio Estevame2d282a2013-03-15 10:43:48 +000027
28(Note - the SD card node may vary, so adjust this as needed).
29
Fabio Estevam0d1ea052015-05-11 20:50:22 -030030- Flash the u-boot.img image into the SD card:
31
Fabio Estevam4d981f52019-06-12 12:34:41 -030032sudo dd if=u-boot-dtb.img of=/dev/mmcblk0 bs=1k seek=69; sync
Fabio Estevam0d1ea052015-05-11 20:50:22 -030033
Fabio Estevame2d282a2013-03-15 10:43:48 +000034- Insert the SD card into the slot located in the bottom of the board (same side
35as the mx6 processor)
36
37- Connect the serial cable to the host PC
38
Bin Menga1875592016-02-05 19:30:11 -080039- Power up the board and U-Boot messages will appear in the serial console.
Heinrich Schuchardta1f79c22020-06-08 01:43:47 +020040
41Debug UART
42----------
43
44The following settings provide a debug UART for the Wandboard:
45
46CONFIG_DEBUG_UART=y
47CONFIG_DEBUG_UART_MXC=y
48CONFIG_DEBUG_UART_BASE=0x02020000
49CONFIG_DEBUG_UART_CLOCK=80000000