[PATCH 0/3] rockchip: remove u-boot.rom generation and use binaries from simple-bin in simple-bin-image

Quentin Schulz foss+uboot at 0leil.net
Tue Feb 11 11:29:41 CET 2025


This gets rid of u-boot.rom generation as that was used only on Rockchip
Chromebooks and their maintainer (Simon) seems to agree[1] that
u-boot-rockchip-spi.bin should do the job now so we don't need to
generate it anymore. This was agreed for RK3399 Chromebooks, I'm
attempting to do the same for RK3288 Chromebooks as well so we don't
have anything requiring that u-boot.rom anymore.

Since HAS_ROM is only guarding this u-boot.rom generation, they are
removed too from the individual configs.

Finally, this also fixes an issue reported by Naoki[2] where binman
would try to find symbols from proper to install in xPL binary only for
it to not find it as we do not generate (on Aarch64) the proper binary
in simple-bin-spi image node, only in simple-bin, so it cannot have
access to the symbol. As to why this triggered only when some seemingly
unrelated symbols are enabled, I do not know.

The first two commits are cleanups. If they are controversial, they can
be dropped and I'll apply the same fixes for rockchip-u-boot.dtsi to
{rk3288,rk3399}-u-boot.dtsi binman nodes.

Note that none of the patches were tested outside of a simple build
test.

[1] https://lore.kernel.org/u-boot/CAFLszTh-SewFod8dEOF3+e-wCE1qFF0CyxxR8CbQwy3BRW3k6w@mail.gmail.com
[2] https://lore.kernel.org/u-boot/20250129132529.807031-3-naoki@radxa.com/

Signed-off-by: Quentin Schulz <quentin.schulz at cherry.de>
---
Quentin Schulz (3):
      rockchip: rk3399: do not generate u-boot.rom anymore
      rockchip: rk3288: do not generate u-boot.rom anymore
      rockchip: avoid rebuilding most binaries for u-boot-rockchip-spi.bin

 arch/arm/dts/rk3288-u-boot.dtsi       | 24 ------------------------
 arch/arm/dts/rk3399-u-boot.dtsi       | 35 -----------------------------------
 arch/arm/dts/rockchip-u-boot.dtsi     | 10 ++++++++++
 arch/arm/mach-rockchip/rk3288/Kconfig |  5 -----
 arch/arm/mach-rockchip/rk3399/Kconfig |  2 --
 5 files changed, 10 insertions(+), 66 deletions(-)
---
base-commit: 636fcc96c3d7e2b00c843e6da78ed3e9e3bdf4de
change-id: 20250211-has_rom-u-boot-rockchip-spi-bin-df31b06ad2f3

Best regards,
-- 
Quentin Schulz <quentin.schulz at cherry.de>



More information about the U-Boot mailing list