All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] sunxi: SPL FIT support for 32-bit sunxi SoCs
@ 2021-10-13  2:30 Samuel Holland
  2021-10-13  2:30 ` [PATCH 1/3] Kconfig: Remove an impossible condition Samuel Holland
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Samuel Holland @ 2021-10-13  2:30 UTC (permalink / raw)
  To: u-boot, Jagan Teki, Andre Przywara, Simon Glass
  Cc: Samuel Holland, Masahiro Yamada

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-10-13 18:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-13  2:30 [PATCH 0/3] sunxi: SPL FIT support for 32-bit sunxi SoCs Samuel Holland
2021-10-13  2:30 ` [PATCH 1/3] Kconfig: Remove an impossible condition Samuel Holland
2021-10-13  2:30 ` [PATCH 2/3] binman: Prevent entries in a section from overlapping Samuel Holland
2021-10-13 18:06   ` Simon Glass
2021-10-13  2:30 ` [PATCH 3/3] sunxi: binman: Enable SPL FIT loading for 32-bit SoCs Samuel Holland

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.