Skip to content
Commit 154cffa1 authored by Joel Stanley's avatar Joel Stanley Committed by Tom Rini
Browse files

ast2600: Configure u-boot-with-spl.bin target



The normal way of loading u-boot is as a FIT, so configure u-boot.img as
the SPL playload.

The u-boot-with-spl.bin target will add padding according to
CONFIG_SPL_MAX_SIZE which defaults to 64KB on the AST2600.

With this the following simple steps can be used to build and boot a
system:

  make u-boot-with-spl.bin
  truncate -s 64M u-boot-with-spl.bin
  qemu-system-arm -nographic -M ast2600-evb \
    -drive file=u-boot-with-spl.bin,if=mtd,format=raw

Reviewed-by: default avatarCédric Le Goater <clg@kaod.org>
Reviewed-by: default avatarChia-Wei Wang <chiawei_wang@aspeedtech.com>
Signed-off-by: default avatarJoel Stanley <joel@jms.id.au>
parent a1617535
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment