blob: 2d514a721491c9371eb57cebe070c98c0577b86e [file] [log] [blame]
Fabio Estevam11027402013-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 Estevam486ab662013-09-26 23:10:56 -03006Wandboard is a development board that has three variants based on the following
Fabio Estevamf55ef8e2018-08-31 10:01:45 -03007SoCs: mx6 quad, mx6 quad plus, mx6 dual lite and mx6 solo.
Fabio Estevam11027402013-03-15 10:43:48 +00008
9For more details about Wandboard, please refer to:
10http://www.wandboard.org/
11
Bin Meng75574052016-02-05 19:30:11 -080012Building U-Boot for Wandboard
Fabio Estevam11027402013-03-15 10:43:48 +000013-----------------------------
14
Fabio Estevam1fa64862015-05-11 20:50:22 -030015To build U-Boot for the Wandboard:
Fabio Estevam11027402013-03-15 10:43:48 +000016
Fabio Estevam1fa64862015-05-11 20:50:22 -030017$ make wandboard_config
Fabio Estevam11027402013-03-15 10:43:48 +000018$ make
19
Bin Meng75574052016-02-05 19:30:11 -080020Flashing U-Boot into the SD card
Fabio Estevam11027402013-03-15 10:43:48 +000021--------------------------------
22
Fabio Estevam1fa64862015-05-11 20:50:22 -030023- After the 'make' command completes, the generated 'SPL' binary must be
Fabio Estevam11027402013-03-15 10:43:48 +000024flashed into the SD card;
25
Fabio Estevam1fa64862015-05-11 20:50:22 -030026$ sudo dd if=SPL of=/dev/mmcblk0 bs=1k seek=1; sync
Fabio Estevam11027402013-03-15 10:43:48 +000027
28(Note - the SD card node may vary, so adjust this as needed).
29
Fabio Estevam1fa64862015-05-11 20:50:22 -030030- Flash the u-boot.img image into the SD card:
31
Fabio Estevam60c2f892019-06-12 12:34:41 -030032sudo dd if=u-boot-dtb.img of=/dev/mmcblk0 bs=1k seek=69; sync
Fabio Estevam1fa64862015-05-11 20:50:22 -030033
Fabio Estevam11027402013-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 Meng75574052016-02-05 19:30:11 -080039- Power up the board and U-Boot messages will appear in the serial console.
Heinrich Schuchardt442e60e2020-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