[PATCH v2 0/3] Add SPI boot to SPL on SUNIV/F1C100s

Andre Przywara andre.przywara at arm.com
Thu Mar 3 02:53:46 CET 2022


On Mon, 28 Feb 2022 23:42:13 -0500
Jesse Taube <mr.bossman075 at gmail.com> wrote:

Hi,

> Hey just checking if you know about this set.
> > This patch adds the ability to detect the BROM's boot source,
> > as well as the ability to boot from SPI.

So I fixed two more things (FEL booting and reset), and massaged the
first patch a bit (fixing arm64 compilation, and protecting U-Boot
proper operation).
I pushed the result to sunxi/master[1], and plan to send a PR as soon
as I can do some more testing: the Nano boots fine, via FEL, MMC, and
SPI, but I need to check other boards as well.

Please test this branch and scream if you are not happy!

Cheers,
Andre

[1] https://source.denx.de/u-boot/custodians/u-boot-sunxi/-/commits/master/

> > 
> > Jesse Taube (3):
> >    mach-sunxi: Add boot device detection for SUNIV/F1C100s
> >    mach-sunxi: Add SPL SPI boot for SUNIV
> >    mach-sunxi: Enable SPI boot for SUNIV and licheepi nano
> > 
> >   arch/arm/include/asm/arch-sunxi/gpio.h |  1 +
> >   arch/arm/include/asm/arch-sunxi/spl.h  | 10 +++++
> >   arch/arm/mach-sunxi/Kconfig            |  2 +-
> >   arch/arm/mach-sunxi/board.c            | 57 +++++++++++++-------------
> >   arch/arm/mach-sunxi/spl_spi_sunxi.c    | 24 +++++++----
> >   configs/licheepi_nano_defconfig        |  1 +
> >   6 files changed, 58 insertions(+), 37 deletions(-)
> >   



More information about the U-Boot mailing list