Skip to content

RFC sunxi: Allwinner A64 SPL support

Alexander Graf u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 of 10 patches 0 repliesNew

4 of 10 patches are in this archive. The cover letter announces 10.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10sun6i: Restrict some register initialization to Allwinner A31 SoC+0 -01 reply
2/10Makefile: use "arm64" architecture for U-Boot image files+0 -01 reply
2/10Makefile: use "arm64" architecture for U-Boot image files+0 -01 reply
3/10sunxi: provide default DRAM config for sun50i in Kconfig+0 -04 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchAlexander GrafChen-Yu Tsai
1/10R-b R-b
2/10
2/10
3/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [U-Boot] [RFC PATCH 00/10] sunxi: Allwinner A64 SPL support
Quoted 10 lines · Andre Przywara

Hi,

this is my first take on the SPL support for the Allwinner A64 SoC. The actual meat - the DRAM initialization code - has been provided by Jens - many thanks for that!
The rest of the patches mostly deal with the 32-bit/64-bit switch.

While it is possible and seems natural to let the SPL also run in 64-bit, this creates a really large binary (32600 Bytes in my case). With some hacks (plus some fixes to make the SPL 64-bit safe) I got this to work,

So how about we merge the 64bit version first (since that's *way* easier to compile for everyone) and then consider the move to 32bit afterwards? I don't even want to start to imagine how to squeeze a 32bit SPL build into the build process for our U-Boot binaries.

Quoted 2 lines

but any addition will probably break it and exceed the 32KB limit that the BROM imposes. Debug is the first obvious victim here.

Do you have some section size comparisons between the two?

Alex