u-boot-brain/board/solidrun/mx6cuboxi
Jon Nettleton 73708200f0 mx6cuboxi: consolidate board detection and add som revision checking
In order to properly detect the board the checks need to be done
in a specific order.  Move these tests back into a single enum
function that will always return the proper the board it is checking.

This also adds the best test we have for detecting the rev 1.5 som,
and it simplifies the device-tree filename building.

Signed-off-by: Jon Nettleton <jon@solid-run.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
2018-06-18 16:50:40 +02:00
..
Kconfig mx6: remove SYS_SOC from board Kconfig 2015-09-13 10:37:29 +02:00
MAINTAINERS MAINTAINERS/mailmap: Update my email address 2016-01-11 11:22:43 -05:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mx6cuboxi.c mx6cuboxi: consolidate board detection and add som revision checking 2018-06-18 16:50:40 +02:00
README Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00

How to use U-Boot on Solid-run mx6 Hummingboard and Cubox-i
-----------------------------------------------------------

- Build U-Boot for Hummingboard/Cubox-i:

$ 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 board, power it up and U-Boot messages should
come up.