Marcin Niestroj | c9e40e6 | 2016-12-07 16:46:33 +0100 | [diff] [blame^] | 1 | How to use U-Boot on Grinn's liteBoard |
| 2 | -------------------------------------- |
| 3 | |
| 4 | - Build U-Boot for liteBoard: |
| 5 | |
| 6 | $ make mrproper |
| 7 | $ make liteboard_defconfig |
| 8 | $ make |
| 9 | |
| 10 | This will generate the SPL image called SPL and the u-boot.img. |
| 11 | |
| 12 | - Flash the SPL image into the micro SD card: |
| 13 | |
| 14 | sudo dd if=SPL of=/dev/mmcblk0 bs=1k seek=1; sync |
| 15 | |
| 16 | - Flash the u-boot.img image into the micro SD card: |
| 17 | |
| 18 | sudo dd if=u-boot.img of=/dev/mmcblk0 bs=1k seek=69; sync |
| 19 | |
| 20 | - Jumper settings: |
| 21 | |
| 22 | S1: 0 1 0 1 1 1 |
| 23 | |
| 24 | where 0 means bottom position and 1 means top position (from the |
| 25 | switch label numbers reference). |
| 26 | |
| 27 | - Insert the micro SD card in the board. |
| 28 | |
| 29 | - Connect USB cable between liteBoard and the PC for the power and console. |
| 30 | |
| 31 | - U-Boot messages should come up. |