u-boot/board/wandboard
Fabio Estevam ba4e159f98 wandboard: Fix hang when going into low frequency
A kernel hang is observed when running wandboard 3.14 kernel and
going to the lowest operational point of cpufreq:

# ifconfig eth0 down
# echo 1 > /sys/class/graphics/fb0/blank

The problem is caused by incorrect setting of the REFR field
of register MDREF. Setting it to 4 refresh commands per refresh
cycle fixes the hang.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
2016-10-04 12:01:14 +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 wandboard: Switch to SPL support 2015-05-21 18:08:37 +02:00
README Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
spl.c wandboard: Fix hang when going into low frequency 2016-10-04 12:01:14 +02:00
wandboard.c wandboard: Replace is_cpu_type() for macro 2016-07-28 13:27:19 +02: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:

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