[PATCH 0/2] sunxi: binman: Fix U-Boot offset when SPL is not 32 KiB

Samuel Holland samuel at sholland.org
Sun Jan 22 00:25:15 CET 2023


This was originally part of my series adding SPL FIT support for 32-bit
sunxi boards[0]. I hit this issue building a minimal SPI-only SPL for H5
that ended up fitting in 24 KiB. So it turns out this is a bug and not
just a dependency for a new feature.

I followed Simon's second suggestion from his response to my original
series[1].

[0]: https://lore.kernel.org/u-boot/20211013023022.58829-1-samuel@sholland.org/
[1]: https://lore.kernel.org/u-boot/CAPnjgZ1_ee7uoDLT36LS5gQa12A2zsWRqXWtEm5g-oPiTjnX3g@mail.gmail.com/


Samuel Holland (2):
  binman: Add 'min-size' entry property
  sunxi: binman: Fix U-Boot offset when SPL is not 32 KiB

 arch/arm/dts/sunxi-u-boot.dtsi       |  6 +++++-
 tools/binman/binman.rst              |  8 ++++++++
 tools/binman/entry.py                |  4 ++++
 tools/binman/ftest.py                | 21 +++++++++++++++++----
 tools/binman/test/009_pack_extra.dts |  7 +++++++
 5 files changed, 41 insertions(+), 5 deletions(-)

-- 
2.37.4



More information about the U-Boot mailing list