[PATCH] sunxi: Enable SPL/SPI boot for OLinuXino Lime2
Eric Anderson
ejona86 at gmail.com
Tue Aug 12 05:59:48 CEST 2025
On Mon, Aug 11, 2025 at 4:33 PM Andre Przywara <andre.przywara at arm.com> wrote:
> But actually I wonder why Olimex has two different DTs for the
> eMMC-less boards and the board with eMMC.
> ...snip...
> So I wonder if anyone wants to clean this up, because I think we would
> only need the A20-OLinuXino-Lime2-eMMC_defconfig,
> A20-OLinuXino_MICRO-eMMC_defconfig and a64-olinuxino_defconfig.
I had wondered the same, but expected I'd not understand. Looking just
now, it sounds like it doesn't mix with the NAND variant (-n8G) well?
https://github.com/torvalds/linux/commit/27dd9af6bc000ab21fdd41e58e3dddedba57ab92
It looks like the emmc DT has gotten slightly slimmer since being
introduced. It doesn't seem the eMMC DT turns off any part of the NAND
DT, so I might try to poke at this some. But I don't have a NAND
version of the board to fully test.
> > CONFIG_SPL=y
> > +CONFIG_SPL_SPI_SUNXI=y
>
> This needs to go further down below. After configuring for a board, run
> "make savedefconfig", then compare the generated "defconfig" file
> with your ..._defconfig version (or just copy ./defconfig over).
Oh, right, the tooling would know the proper order. I just sorted it,
but I forgot I had wondered earlier how things were ordered. Thanks
for the explanation.
Thanks for fixing it up.
More information about the U-Boot
mailing list