[PATCH RESEND 00/28] ARM: at91: add sama5d2 first stage support
Sascha Hauer
s.hauer at pengutronix.de
Sat Jul 11 01:13:53 EDT 2020
On Wed, Jul 01, 2020 at 11:10:54AM +0200, Ahmad Fatoum wrote:
> [Sent out old branch by mistake, this one actually works.]
>
> This adapts the sama5d3 first stage patch set I sent around a few times
> for use on the sama5d2. Unlike the original patch set, we now do the
> chainloading in the PBL, so integrators can still use multi-image and
> don't have to build barebox more than once.
>
> With the FAT PBL implementation in place, first stages of the OMAP and
> SoCFPGA could also be migrated to multi-image.
>
> Much code has been adapted from at91bootstrap v3.8.12. Key changes:
>
> - We detect bootsource automatically, so we don't need to hardcode
> which MCI instance to use
> - We pass along the bootsource, so it's available to second stage
> bootloaders
> - We don't reset the SD card, so we can avoid having a complete
> SD/MMC core implementation in PBL
> - We don't disable the watchdog in first stage. We leave the decision
> on how to deal with it to second stage.
>
> There's no defconfig for this yet, it will follow along with a generic
> at91_multi_defconfig, when support for the sama5d3 is posted.
Applied with the fixups you posted
Sascha
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list