[PATCH v2 3/3] sunxi: Add support for including SCP firmware

Simon Glass sjg at chromium.org
Sat Sep 5 22:51:09 CEST 2020


Hi Samuel,

On Thu, 3 Sep 2020 at 00:08, Samuel Holland <samuel at sholland.org> wrote:
>
> Allwinner sun50i SoCs contain an OpenRISC 1000 CPU that functions as a
> System Control Processor, or SCP. ARM Trusted Firmware (ATF)
> communicates with the SCP over SCPI to implement the PSCI system suspend
> and shutdown functionality. Currently, SCP firmware is optional; the
> system will boot and run without it, but system suspend will be
> unavailable.
>
> Since all communication with the SCP is mediated by ATF, the only thing
> U-Boot needs to do is load the firmware into SRAM. The SCP firmware
> occupies the last 16KiB of SRAM A2, immediately following ATF.
>
> Signed-off-by: Samuel Holland <samuel at sholland.org>
> ---
>
> Changes since v1:
>   - None
>
> ---
>  board/sunxi/README.sunxi64     | 43 ++++++++++++++++++++++++++++------
>  board/sunxi/mksunxi_fit_atf.sh | 23 +++++++++++++++---
>  2 files changed, 56 insertions(+), 10 deletions(-)

This needs to be done with binman. See u-boot-dm/next for the updated
implementation.

Regards,
Simon


More information about the U-Boot mailing list