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