xref: /openbmc/u-boot/board/grinn/liteboard/README (revision 8ea05705a70135a94419b0d243666c1b51fe1f8d)
1*c9e40e65SMarcin NiestrojHow to use U-Boot on Grinn's liteBoard
2*c9e40e65SMarcin Niestroj--------------------------------------
3*c9e40e65SMarcin Niestroj
4*c9e40e65SMarcin Niestroj- Build U-Boot for liteBoard:
5*c9e40e65SMarcin Niestroj
6*c9e40e65SMarcin Niestroj$ make mrproper
7*c9e40e65SMarcin Niestroj$ make liteboard_defconfig
8*c9e40e65SMarcin Niestroj$ make
9*c9e40e65SMarcin Niestroj
10*c9e40e65SMarcin NiestrojThis will generate the SPL image called SPL and the u-boot.img.
11*c9e40e65SMarcin Niestroj
12*c9e40e65SMarcin Niestroj- Flash the SPL image into the micro SD card:
13*c9e40e65SMarcin Niestroj
14*c9e40e65SMarcin Niestrojsudo dd if=SPL of=/dev/mmcblk0 bs=1k seek=1; sync
15*c9e40e65SMarcin Niestroj
16*c9e40e65SMarcin Niestroj- Flash the u-boot.img image into the micro SD card:
17*c9e40e65SMarcin Niestroj
18*c9e40e65SMarcin Niestrojsudo dd if=u-boot.img of=/dev/mmcblk0 bs=1k seek=69; sync
19*c9e40e65SMarcin Niestroj
20*c9e40e65SMarcin Niestroj- Jumper settings:
21*c9e40e65SMarcin Niestroj
22*c9e40e65SMarcin NiestrojS1: 0 1 0 1 1 1
23*c9e40e65SMarcin Niestroj
24*c9e40e65SMarcin Niestrojwhere 0 means bottom position and 1 means top position (from the
25*c9e40e65SMarcin Niestrojswitch label numbers reference).
26*c9e40e65SMarcin Niestroj
27*c9e40e65SMarcin Niestroj- Insert the micro SD card in the board.
28*c9e40e65SMarcin Niestroj
29*c9e40e65SMarcin Niestroj- Connect USB cable between liteBoard and the PC for the power and console.
30*c9e40e65SMarcin Niestroj
31*c9e40e65SMarcin Niestroj- U-Boot messages should come up.
32