blob: bee0394429c11ab459faf130689106da24a80f96 [file] [log] [blame]
Marcin Niestroj55676522016-12-07 16:46:33 +01001How 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
10This will generate the SPL image called SPL and the u-boot.img.
11
12- Flash the SPL image into the micro SD card:
13
14sudo 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
18sudo dd if=u-boot.img of=/dev/mmcblk0 bs=1k seek=69; sync
19
20- Jumper settings:
21
22S1: 0 1 0 1 1 1
23
24where 0 means bottom position and 1 means top position (from the
25switch 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.