All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH meta-rockchip master scarthgap v3 00/16] various reworks around u-boot and rkbin + fixes for MACHINEOVERRIDES
@ 2024-05-31  9:25 Quentin Schulz
  2024-05-31  9:25 ` [PATCH meta-rockchip master scarthgap v3 01/16] rk3588/rk3588s: add SOC_FAMILY Quentin Schulz
                   ` (16 more replies)
  0 siblings, 17 replies; 22+ messages in thread
From: Quentin Schulz @ 2024-05-31  9:25 UTC (permalink / raw)
  To: yocto-patches; +Cc: Quentin Schulz

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 v3:
- rebased on top of master
  - fix merge conflict when moving common code to the .inc file, I
    decided to keep the rk-u-boot-env logic only for upstream u-boot
    recipe and not put it into the .inc as the config fragment is
    probably specific to some version, we could however split it into
    its own separate .inc file so other uy-boot recipes in other layers
    could replicate the rk-u-boot-env logic with their recipe,
- Link to v2: https://lore.kernel.org/r/20240515-rk3588-family-v2-0-f81897a3ac50@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: 3381d6af6eabfb532da16863b785a95abba6b9e8
change-id: 20240514-rk3588-family-6f322d5f1034

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



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

end of thread, other threads:[~2024-06-06 17:23 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-31  9:25 [PATCH meta-rockchip master scarthgap v3 00/16] various reworks around u-boot and rkbin + fixes for MACHINEOVERRIDES Quentin Schulz
2024-05-31  9:25 ` [PATCH meta-rockchip master scarthgap v3 01/16] rk3588/rk3588s: add SOC_FAMILY Quentin Schulz
2024-05-31  9:25 ` [PATCH meta-rockchip master scarthgap v3 02/16] rk3066: fix MACHINEOVERRIDES order Quentin Schulz
2024-05-31  9:25 ` [PATCH meta-rockchip master scarthgap v3 03/16] rk3188: " Quentin Schulz
2024-05-31  9:25 ` [PATCH meta-rockchip master scarthgap v3 04/16] rk3288: " Quentin Schulz
2024-05-31  9:25 ` [PATCH meta-rockchip master scarthgap v3 05/16] add rockchip MACHINEOVERRIDES Quentin Schulz
2024-05-31  9:25 ` [PATCH meta-rockchip master scarthgap v3 06/16] bsp: u-boot: rework BL31 in EXTRA_OEMAKE Quentin Schulz
2024-05-31  9:25 ` [PATCH meta-rockchip master scarthgap v3 07/16] bsp: rkbin: rk3308-rkbin: PROVIDES rockchip-rkbin Quentin Schulz
2024-05-31  9:25 ` [PATCH meta-rockchip master scarthgap v3 08/16] rk3308: move rockchip-rkbin selection to SoC conf file Quentin Schulz
2024-05-31  9:25 ` [PATCH meta-rockchip master scarthgap v3 09/16] bsp: u-boot: explicit dependency on trusted-firware-a Quentin Schulz
2024-05-31  9:25 ` [PATCH meta-rockchip master scarthgap v3 10/16] bsp: u-boot: remove duplicate trusted-firmware-a dependency for SoCs with open DDR init Quentin Schulz
2024-05-31  9:25 ` [PATCH meta-rockchip master scarthgap v3 11/16] bsp: u-boot: split things that can apply to any U-Boot into a .inc file Quentin Schulz
2024-05-31  9:25 ` [PATCH meta-rockchip master scarthgap v3 12/16] machine: rockchip-defaults: conditionally add closed-tpl MACHINEOVERRIDES Quentin Schulz
2024-05-31  9:25 ` [PATCH meta-rockchip master scarthgap v3 13/16] machine: rk3308: mark all machines as to be using the closed TPL Quentin Schulz
2024-05-31  9:25 ` [PATCH meta-rockchip master scarthgap v3 14/16] machine: rk3568: " Quentin Schulz
2024-05-31  9:25 ` [PATCH meta-rockchip master scarthgap v3 15/16] machine: rk3588/rk3588s: " Quentin Schulz
2024-05-31  9:25 ` [PATCH meta-rockchip master scarthgap v3 16/16] bsp: u-boot-rockchip.inc: rework ROCKCHIP_TPL to use closed-tpl OVERRIDES Quentin Schulz
2024-06-05 17:23 ` [yocto-patches] [PATCH meta-rockchip master scarthgap v3 00/16] various reworks around u-boot and rkbin + fixes for MACHINEOVERRIDES Trevor Woerner
2024-06-06  8:17   ` Quentin Schulz
2024-06-06 11:49     ` Trevor Woerner
2024-06-06 13:02       ` Quentin Schulz
2024-06-06 17:23         ` Trevor Woerner

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.