From patchwork Wed May 15 16:02:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 1094 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id AFA16C25B75 for ; Wed, 15 May 2024 16:03:23 +0000 (UTC) Received: from smtp-42a8.mail.infomaniak.ch (smtp-42a8.mail.infomaniak.ch [84.16.66.168]) by mx.groups.io with SMTP id smtpd.web10.20577.1715788999777994002 for ; Wed, 15 May 2024 09:03:20 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: 0leil.net, ip: 84.16.66.168, mailfrom: foss+yocto@0leil.net) Received: from smtp-3-0000.mail.infomaniak.ch (smtp-3-0000.mail.infomaniak.ch [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4VfdLF6vd0zPdk; Wed, 15 May 2024 18:03:17 +0200 (CEST) Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4VfdLF2sNhzYqK; Wed, 15 May 2024 18:03:17 +0200 (CEST) From: Quentin Schulz Subject: [PATCH meta-rockchip v2 00/16] various reworks around u-boot and rkbin + fixes for MACHINEOVERRIDES Date: Wed, 15 May 2024 18:02:54 +0200 Message-Id: <20240515-rk3588-family-v2-0-f81897a3ac50@cherry.de> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAK/cRGYC/3WNywqDMBBFf0Vm3ZQ8Rbrqf4iLNE6awfpgIlIR/ 73BfZeHe++5B2RkwgyP6gDGjTLNUwF9qyAkP71RUF8YtNRWOmUFD8Y1jYh+pM8u6mi07l1U0lg om4Ux0vfytTDi6gXPYQiJFuhKnCivM+/X26au0h/xpoQSztT1SzljvZLPkJB5v/cI3XmeP3Z1g Uy5AAAA To: Quentin Schulz , yocto-patches@lists.yoctoproject.org X-Mailer: b4 0.13.0 X-Infomaniak-Routing: alpha List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 15 May 2024 16:03:23 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/140 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 --- 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,