]> git.baikalelectronics.ru Git - uboot.git/commit
ast2600: Configure u-boot-with-spl.bin target
authorJoel Stanley <joel@jms.id.au>
Wed, 29 Jun 2022 07:05:23 +0000 (16:35 +0930)
committerTom Rini <trini@konsulko.com>
Wed, 6 Jul 2022 18:32:00 +0000 (14:32 -0400)
commitd298a4df899ee067ba65d937143052e73aea4c19
tree3b17fcd8a022b6fc81a7c370de43caa628cb22df
parentf5e1804a5053327e7fdc3e12637256aad80e790e
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: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
configs/evb-ast2600_defconfig