Fabio Estevam | 1102740 | 2013-03-15 10:43:48 +0000 | [diff] [blame] | 1 | U-Boot for Wandboard |
| 2 | -------------------- |
| 3 | |
| 4 | This file contains information for the port of U-Boot to the Wandboard. |
| 5 | |
Fabio Estevam | 486ab66 | 2013-09-26 23:10:56 -0300 | [diff] [blame] | 6 | Wandboard is a development board that has three variants based on the following |
Fabio Estevam | f55ef8e | 2018-08-31 10:01:45 -0300 | [diff] [blame] | 7 | SoCs: mx6 quad, mx6 quad plus, mx6 dual lite and mx6 solo. |
Fabio Estevam | 1102740 | 2013-03-15 10:43:48 +0000 | [diff] [blame] | 8 | |
| 9 | For more details about Wandboard, please refer to: |
| 10 | http://www.wandboard.org/ |
| 11 | |
Bin Meng | 7557405 | 2016-02-05 19:30:11 -0800 | [diff] [blame] | 12 | Building U-Boot for Wandboard |
Fabio Estevam | 1102740 | 2013-03-15 10:43:48 +0000 | [diff] [blame] | 13 | ----------------------------- |
| 14 | |
Fabio Estevam | 1fa6486 | 2015-05-11 20:50:22 -0300 | [diff] [blame] | 15 | To build U-Boot for the Wandboard: |
Fabio Estevam | 1102740 | 2013-03-15 10:43:48 +0000 | [diff] [blame] | 16 | |
Fabio Estevam | 1fa6486 | 2015-05-11 20:50:22 -0300 | [diff] [blame] | 17 | $ make wandboard_config |
Fabio Estevam | 1102740 | 2013-03-15 10:43:48 +0000 | [diff] [blame] | 18 | $ make |
| 19 | |
Bin Meng | 7557405 | 2016-02-05 19:30:11 -0800 | [diff] [blame] | 20 | Flashing U-Boot into the SD card |
Fabio Estevam | 1102740 | 2013-03-15 10:43:48 +0000 | [diff] [blame] | 21 | -------------------------------- |
| 22 | |
Fabio Estevam | 1fa6486 | 2015-05-11 20:50:22 -0300 | [diff] [blame] | 23 | - After the 'make' command completes, the generated 'SPL' binary must be |
Fabio Estevam | 1102740 | 2013-03-15 10:43:48 +0000 | [diff] [blame] | 24 | flashed into the SD card; |
| 25 | |
Fabio Estevam | 1fa6486 | 2015-05-11 20:50:22 -0300 | [diff] [blame] | 26 | $ sudo dd if=SPL of=/dev/mmcblk0 bs=1k seek=1; sync |
Fabio Estevam | 1102740 | 2013-03-15 10:43:48 +0000 | [diff] [blame] | 27 | |
| 28 | (Note - the SD card node may vary, so adjust this as needed). |
| 29 | |
Fabio Estevam | 1fa6486 | 2015-05-11 20:50:22 -0300 | [diff] [blame] | 30 | - Flash the u-boot.img image into the SD card: |
| 31 | |
Fabio Estevam | 60c2f89 | 2019-06-12 12:34:41 -0300 | [diff] [blame] | 32 | sudo dd if=u-boot-dtb.img of=/dev/mmcblk0 bs=1k seek=69; sync |
Fabio Estevam | 1fa6486 | 2015-05-11 20:50:22 -0300 | [diff] [blame] | 33 | |
Fabio Estevam | 1102740 | 2013-03-15 10:43:48 +0000 | [diff] [blame] | 34 | - Insert the SD card into the slot located in the bottom of the board (same side |
| 35 | as the mx6 processor) |
| 36 | |
| 37 | - Connect the serial cable to the host PC |
| 38 | |
Bin Meng | 7557405 | 2016-02-05 19:30:11 -0800 | [diff] [blame] | 39 | - Power up the board and U-Boot messages will appear in the serial console. |