sunxi: SPL FIT support for 32-bit sunxi SoCs
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 10 repliesIn review
- v24 patches 8 repliesSuperseded
Changes in v3 from the cover letter
- Rebased and collected tags
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | sunxi: spl: Disable padding from SPL_PAD_TOcommon/ | +1 | 1 reply | |
| 2/4 | sunxi: binman: Move BL31 and SCP firmware addresses to Kconfigarch/ arch/ | +24 | 1 reply | |
| 3/4 | sunxi: binman: Support FIT generation for 32-bit SoCsarch/ | +18 | 3 replies | |
| 4/4 | sunxi: Enable SPL FIT loading for 32-bit SoCsarch/ common/ | +2 | 4 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Simon Glass | Jesse Taube | Andre Przywara |
|---|---|---|---|
| Series | A-b | ||
| 1/4 | R-b | ||
| 2/4 | R-b | R-b | |
| 3/4 | R-b | R-b | |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v3 0/4] sunxi: SPL FIT support for 32-bit sunxi SoCs
This series makes the necessary changes so 32-bit sunxi SoCs can load additional device trees or firmware from SPL along with U-Boot proper. Crust (SCP firmware) has support for A33 and H3, and H3 also needs to load an eGon blob to support CPU 0 hotplug (a silicon bug workaround).
FIT unlocks more features (signatures, multiple DTBs, etc.), so enable it by default. A10 (sun4i) only has 24 KiB of SRAM A1, so it needs SPL_FIT_IMAGE_TINY. For consistency, enable that option everywhere.
After this series is applied, we can increase SPL_MAX_SIZE for H6 and newer SoCs, both 32-bit (e.g. A50, T113) and 64-bit. I did not do that yet because there is some discussion to be had about the correct value:
it must be adjusted to guarantee return-to-FEL functionality, and the exact adjustment depends on the sunxi-fel tool implementation.
Changes in v3:
- Rebased and collected tags
Changes in v2:
- Disable padding from SPL_PAD_TO
- Rely on binman min-size instead of using explicit offsets
- Use Kconfig for firmware addresses instead of an #ifdef staircase
Samuel Holland (4):
sunxi: spl: Disable padding from SPL_PAD_TO
sunxi: binman: Move BL31 and SCP firmware addresses to Kconfig
sunxi: binman: Support FIT generation for 32-bit SoCs
sunxi: Enable SPL FIT loading for 32-bit SoCs
arch/arm/Kconfig | 1 + arch/arm/dts/sunxi-u-boot.dtsi | 39 ++++++++++++++++++---------------- arch/arm/mach-sunxi/Kconfig | 17 +++++++++++++++ common/spl/Kconfig | 6 ++---- 4 files changed, 41 insertions(+), 22 deletions(-)
Signature · 1 line
2.41.0