u-boot-brain/board/wandboard
Fabio Estevam 59a6ca54f5 wandboard: Simplify the Ethernet PHY configuration
As per the AR8031 datasheet:

"For a reliable power on reset, suggest to keep asserting the reset
low long enough (10ms) to ensure the clock is stable and clock-to-reset
1ms requirement is satisfied."

So do as suggested and also add a 100us delay after deasserting the
reset line to guarantee that the PHY ID can be read correctly and the
Atheros 8031 PHY driver can be loaded automatically.

This results in a simpler code.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
2016-01-07 17:47:33 +01:00
..
Kconfig mx6: remove SYS_SOC from board Kconfig 2015-09-13 10:37:29 +02:00
MAINTAINERS wandboard: Switch to SPL support 2015-05-21 18:08:37 +02:00
Makefile wandboard: Switch to SPL support 2015-05-21 18:08:37 +02:00
README wandboard: Switch to SPL support 2015-05-21 18:08:37 +02:00
spl.c wandboard: Switch to SPL support 2015-05-21 18:08:37 +02:00
wandboard.c wandboard: Simplify the Ethernet PHY configuration 2016-01-07 17:47:33 +01:00

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:

$ make wandboard_config
$ make

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

- After the 'make' command completes, the generated 'SPL' binary must be
flashed into the SD card;

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

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

- 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 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.