Fabio Estevam | e2d282a | 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 | c93addb | 2013-09-26 23:10:56 -0300 | [diff] [blame] | 6 | Wandboard is a development board that has three variants based on the following |
| 7 | SoCs: mx6 quad, mx6 dual lite and mx6 solo. |
Fabio Estevam | e2d282a | 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 | |
| 12 | Building U-boot for Wandboard |
| 13 | ----------------------------- |
| 14 | |
Fabio Estevam | 0d1ea05 | 2015-05-11 20:50:22 -0300 | [diff] [blame^] | 15 | To build U-Boot for the Wandboard: |
Fabio Estevam | e2d282a | 2013-03-15 10:43:48 +0000 | [diff] [blame] | 16 | |
Fabio Estevam | 0d1ea05 | 2015-05-11 20:50:22 -0300 | [diff] [blame^] | 17 | $ make wandboard_config |
Tapani Utriainen | 491f294 | 2013-06-26 17:51:49 +0800 | [diff] [blame] | 18 | $ make |
| 19 | |
Fabio Estevam | e2d282a | 2013-03-15 10:43:48 +0000 | [diff] [blame] | 20 | Flashing U-boot into the SD card |
| 21 | -------------------------------- |
| 22 | |
Fabio Estevam | 0d1ea05 | 2015-05-11 20:50:22 -0300 | [diff] [blame^] | 23 | - After the 'make' command completes, the generated 'SPL' binary must be |
Fabio Estevam | e2d282a | 2013-03-15 10:43:48 +0000 | [diff] [blame] | 24 | flashed into the SD card; |
| 25 | |
Fabio Estevam | 0d1ea05 | 2015-05-11 20:50:22 -0300 | [diff] [blame^] | 26 | $ sudo dd if=SPL of=/dev/mmcblk0 bs=1k seek=1; sync |
Fabio Estevam | e2d282a | 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 | 0d1ea05 | 2015-05-11 20:50:22 -0300 | [diff] [blame^] | 30 | - Flash the u-boot.img image into the SD card: |
| 31 | |
| 32 | sudo dd if=u-boot.img of=/dev/mmcblk0 bs=1k seek=69; sync |
| 33 | |
Fabio Estevam | e2d282a | 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 | |
| 39 | - Power up the board and U-boot messages will appear in the serial console. |