u-boot/board/grinn/chiliboard
Simon Glass 00caae6d47 env: Rename getenv/_f() to env_get()
We are now using an env_ prefix for environment functions. Rename these
two functions for consistency. Also add function comments in common.h.

Quite a few places use getenv() in a condition context, provoking a
warning from checkpatch. These are fixed up in this patch also.

Suggested-by: Wolfgang Denk <wd@denx.de>
Signed-off-by: Simon Glass <sjg@chromium.org>
2017-08-16 08:30:24 -04:00
..
board.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
Kconfig board/chiliboard: Add support for chiliBoard 2017-01-28 14:04:37 -05:00
MAINTAINERS board/chiliboard: Add support for chiliBoard 2017-01-28 14:04:37 -05:00
Makefile board/chiliboard: Add support for chiliBoard 2017-01-28 14:04:37 -05:00
README board/chiliboard: Add support for chiliBoard 2017-01-28 14:04:37 -05:00

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

- Build U-Boot for chiliBoard:

$ make mrproper
$ make chiliboard_defconfig
$ make

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

- Flash the SPL image into the micro SD card:

sudo dd if=MLO of=/dev/mmcblk0 bs=128k; sync

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

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

- Jumper settings:

S2: 1 1 1 0 1 0

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 chiliBoard and the PC for the power and console.

- U-Boot messages should come up.