u-boot-brain/board/solidrun/mx6cuboxi
Fabio Estevam feb6cc5cb3 mx6cuboxi: Differentiate Cubox-i and Hummingboard
Introduce is_hummingboard() function that reads GPIOs that can distinguish
between Cubox-i and Hummingboard.

Print the board name accordingly.

Based on a patch from Rabeeh Khoury.

Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
2015-04-27 13:13:57 +02:00
..
Kconfig mx6: Add initial SPL support for HummingBoard-i2eX 2015-04-22 14:39:06 +02:00
MAINTAINERS mx6cuboxi: Fix the defconfig name 2015-04-27 13:13:57 +02:00
Makefile mx6: Add initial SPL support for HummingBoard-i2eX 2015-04-22 14:39:06 +02:00
mx6cuboxi.c mx6cuboxi: Differentiate Cubox-i and Hummingboard 2015-04-27 13:13:57 +02:00
README mx6: Add initial SPL support for HummingBoard-i2eX 2015-04-22 14:39:06 +02:00

How to use U-boot on Solid-run mx6 hummingboard
-----------------------------------------------

- Build U-boot for hummingboard:

$ make mrproper
$ make mx6cuboxi_defconfig
$ make

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

- Flash the SPL image into the SD card:

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

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

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

- Insert the SD card in the hummingboard, power it up and U-boot messages
should come up.