[PATCH 0/3] sunxi: SPL FIT support for 32-bit sunxi SoCs

Samuel Holland samuel at sholland.org
Wed Oct 13 04:30:18 CEST 2021


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.

There was no existing binman entry property that put the FIT at the
right offset. The minimum offset is 32k, but this matches neither the
SPL size (which is no more than 24k on some SoCs) nor the FIT alignment
(which is 512 bytes in practice due to SPL size constraints). So instead
of adding a new property, I fixed what is arguably a bug in the offset
property -- though this strategy will not work if someone is
intentionally creating overlapping entries.


Samuel Holland (3):
  Kconfig: Remove an impossible condition
  binman: Prevent entries in a section from overlapping
  sunxi: binman: Enable SPL FIT loading for 32-bit SoCs

 Kconfig                        |  2 +-
 arch/arm/Kconfig               |  1 +
 arch/arm/dts/sunxi-u-boot.dtsi | 46 ++++++++++++++++++++++------------
 common/spl/Kconfig             |  3 +--
 tools/binman/entry.py          |  4 ++-
 5 files changed, 36 insertions(+), 20 deletions(-)

-- 
2.32.0



More information about the U-Boot mailing list