u-boot/board/grinn/liteboard
Simon Glass c3dc39a2f8 arm: Don't include common.h in header files
It is bad practice to include common.h in other header files since it can
bring in any number of superfluous definitions. It implies that some C
files don't include it and thus may be missing CONFIG options that are set
up by that file. The C files should include these themselves.

Update some header files in arch/arm to drop this.

Signed-off-by: Simon Glass <sjg@chromium.org>
2020-05-18 14:54:24 -04:00
..
board.c arm: Don't include common.h in header files 2020-05-18 14:54:24 -04:00
Kconfig board/liteboard: Add support for liteBoard 2016-12-16 10:31:13 +01:00
MAINTAINERS board/liteboard: Add support for liteBoard 2016-12-16 10:31:13 +01:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
README board/liteboard: Add support for liteBoard 2016-12-16 10:31:13 +01:00

How to use U-Boot on Grinn's liteBoard
--------------------------------------

- Build U-Boot for liteBoard:

$ make mrproper
$ make liteboard_defconfig
$ make

This will generate the SPL image called SPL and the u-boot.img.

- Flash the SPL image into the micro SD card:

sudo dd if=SPL of=/dev/mmcblk0 bs=1k seek=1; sync

- Flash the u-boot.img image into the micro SD card:

sudo dd if=u-boot.img of=/dev/mmcblk0 bs=1k seek=69; sync

- Jumper settings:

S1: 0 1 0 1 1 1

where 0 means bottom position and 1 means top position (from the
switch label numbers reference).

- Insert the micro SD card in the board.

- Connect USB cable between liteBoard and the PC for the power and console.

- U-Boot messages should come up.