[PATCH RESEND 4/5] ast2600: Configure u-boot-with-spl.bin target

Tom Rini trini at konsulko.com
Tue Jun 28 16:19:33 CEST 2022


On Mon, Jun 27, 2022 at 05:28:10PM +0930, Joel Stanley wrote:

> For the u-boot-with-spl.bin target to be useful for the AST2600, set the
> maximum SPL size which also sets the padding length.
> 
> The normal way of loading u-boot is as a FIT, so configure u-boot.img as
> the SPL playload.
> 
> 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
> 
> Signed-off-by: Joel Stanley <joel at jms.id.au>
> Reviewed-by: Chia-Wei Wang <chiawei_wang at aspeedtech.com>
> Reviewed-by: Cédric Le Goater <clg at kaod.org>

This doesn't quite apply correct now as CONFIG_SPL_MAX_SIZE is in
Kconfig.  I migrated that manually but now CI doesn't run:
https://source.denx.de/u-boot/u-boot/-/jobs/457298
so I wonder if I migrated it wrong, or something else.  To be clear, I
have applied
https://patchwork.ozlabs.org/project/uboot/patch/20220628042725.217333-1-joel@jms.id.au/
first.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220628/b5847076/attachment.sig>


More information about the U-Boot mailing list