diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2015-05-11 20:50:22 -0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2015-05-21 18:08:37 +0200 |
commit | 0d1ea05210f3221667f8085cf167f23f336ca0c0 (patch) | |
tree | 007d8b8a85dcde97cf99f50254579fd300a85217 /board/wandboard/README | |
parent | a91db95479e75c70ec49676e9a347787b054d651 (diff) | |
download | u-boot-imx-0d1ea05210f3221667f8085cf167f23f336ca0c0.zip u-boot-imx-0d1ea05210f3221667f8085cf167f23f336ca0c0.tar.gz u-boot-imx-0d1ea05210f3221667f8085cf167f23f336ca0c0.tar.bz2 |
wandboard: Switch to SPL support
Currently we need to build one U-boot image for each of the wandboard
variants: quad, dual-lite and solo.
By switching to SPL we can support all these variants with a single binary,
which is very convenient.
Based on the work from Richard Hu.
Tested kernel booting on the three boards.
Signed-off-by: Richard Hu <hakahu@gmail.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Tested-by: Vagrant Cascadian <vagrant@aikidev.net>
Reviewed-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'board/wandboard/README')
-rw-r--r-- | board/wandboard/README | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/board/wandboard/README b/board/wandboard/README index 1f678e1..c6c0132 100644 --- a/board/wandboard/README +++ b/board/wandboard/README @@ -12,31 +12,25 @@ http://www.wandboard.org/ Building U-boot for Wandboard ----------------------------- -To build U-Boot for the Wandboard Dual Lite version: +To build U-Boot for the Wandboard: -$ 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 wandboard_config $ make Flashing U-boot into the SD card -------------------------------- -- After the 'make' command completes, the generated 'u-boot.imx' binary must be +- After the 'make' command completes, the generated 'SPL' binary must be flashed into the SD card; -$ sudo dd if=u-boot.imx of=/dev/mmcblk0 bs=512 seek=2; sync +$ 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) |