1
0
Fork 0
remarkable-uboot/board/wandboard
Fabio Estevam 05beb8e012 wandboard: Fix error handling in board_mmc_init()
When an invalid USDHC port is passed we should return -EINVAL instead of 0.

Also, return the error immediately on fsl_esdhc_initialize() failure.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
2014-11-20 10:30:19 +01:00
..
Kconfig kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
MAINTAINERS Add board MAINTAINERS files 2014-07-30 08:48:06 -04:00
Makefile board: arm: convert makefiles to Kbuild style 2013-11-01 11:42:12 -04:00
README wandboard: README: Include the quad version 2013-11-04 09:56:25 +01:00
wandboard.c wandboard: Fix error handling in board_mmc_init() 2014-11-20 10:30:19 +01:00

README

U-Boot for Wandboard
--------------------

This file contains information for the port of U-Boot to the Wandboard.

Wandboard is a development board that has three variants based on the following
SoCs: mx6 quad, mx6 dual lite and mx6 solo.

For more details about Wandboard, please refer to:
http://www.wandboard.org/

Building U-boot for Wandboard
-----------------------------

To build U-Boot for the Wandboard Dual Lite version:

$ make wandboard_dl_config
$ make

To build U-Boot for the Wandboard Solo version:

$ make wandboard_solo_config
$ make

To build U-Boot for the Wandboard Quad version:

$ make wandboard_quad_config
$ make

Flashing U-boot into the SD card
--------------------------------

- After the 'make' command completes, the generated 'u-boot.imx' binary must be
flashed into the SD card;

$ sudo dd if=u-boot.imx of=/dev/mmcblk0 bs=512 seek=2; sync

(Note - the SD card node may vary, so adjust this as needed).

- Insert the SD card into the slot located in the bottom of the board (same side
as the mx6 processor)

- Connect the serial cable to the host PC

- Power up the board and U-boot messages will appear in the serial console.