mbox series

[meta-rockchip,v2,00/16] various reworks around u-boot and rkbin + fixes for MACHINEOVERRIDES

Message ID 20240515-rk3588-family-v2-0-f81897a3ac50@cherry.de
Headers show
Series various reworks around u-boot and rkbin + fixes for MACHINEOVERRIDES | expand

Message

Quentin Schulz May 15, 2024, 4:02 p.m. UTC
This does a few reworks of how we handle TF-A and DDR bin blob
dependencies, hopefully in a way that makes it much easier to add
support for new SoCs without having to touch too many files.

While at it, add an SOC_FAMILY entry for rk3588s/rk3588 boards.

Additionally, make rk3308 use the PREFERRED_PROVIDER mechanism to select
rk3308-rkbin instead of rockchip-rkbin.

Finally, fix a few MACHINEOVERRIDES ordering issues.

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
---
Changes in v2:
- nothing in common with v1 except that rk3588s/rk3588 gains an
  SOC_FAMILY variable :)
- Link to v1: https://lore.kernel.org/r/20240514-rk3588-family-v1-1-5366b1534a10@cherry.de

---
Quentin Schulz (16):
      rk3588/rk3588s: add SOC_FAMILY
      rk3066: fix MACHINEOVERRIDES order
      rk3188: fix MACHINEOVERRIDES order
      rk3288: fix MACHINEOVERRIDES order
      add rockchip MACHINEOVERRIDES
      bsp: u-boot: rework BL31 in EXTRA_OEMAKE
      bsp: rkbin: rk3308-rkbin: PROVIDES rockchip-rkbin
      rk3308: move rockchip-rkbin selection to SoC conf file
      bsp: u-boot: explicit dependency on trusted-firware-a
      bsp: u-boot: remove duplicate trusted-firmware-a dependency for SoCs with open DDR init
      bsp: u-boot: split things that can apply to any U-Boot into a .inc file
      machine: rockchip-defaults: conditionally add closed-tpl MACHINEOVERRIDES
      machine: rk3308: mark all machines as to be using the closed TPL
      machine: rk3568: mark all machines as to be using the closed TPL
      machine: rk3588/rk3588s: mark all machines as to be using the closed TPL
      bsp: u-boot-rockchip.inc: rework ROCKCHIP_TPL to use closed-tpl OVERRIDES

 conf/machine/include/px30.inc              |  2 +-
 conf/machine/include/rk3066.inc            |  2 +-
 conf/machine/include/rk3188.inc            |  2 +-
 conf/machine/include/rk3288.inc            |  2 +-
 conf/machine/include/rk3308.inc            |  6 +++++-
 conf/machine/include/rk3328.inc            |  2 +-
 conf/machine/include/rk3399.inc            |  2 +-
 conf/machine/include/rk3568.inc            |  4 +++-
 conf/machine/include/rk3588.inc            |  1 +
 conf/machine/include/rk3588s.inc           |  5 ++++-
 conf/machine/include/rockchip-defaults.inc |  3 ++-
 recipes-bsp/rkbin/rk3308-rkbin_git.bb      |  1 +
 recipes-bsp/u-boot/u-boot-rockchip.inc     | 18 ++++++++++++++++++
 recipes-bsp/u-boot/u-boot_%.bbappend       | 27 ++-------------------------
 14 files changed, 42 insertions(+), 35 deletions(-)
---
base-commit: 88f2064ca2b83b42a7c8a59616ab80b763ef2485
change-id: 20240514-rk3588-family-6f322d5f1034

Best regards,