From patchwork Mon Jan 16 12:16:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jose Quaresma X-Patchwork-Id: 18174 X-Patchwork-Delegate: reatmon@ti.com 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 92E3AC677F1 for ; Mon, 16 Jan 2023 12:16:47 +0000 (UTC) Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) by mx.groups.io with SMTP id smtpd.web11.164985.1673871397210468862 for ; Mon, 16 Jan 2023 04:16:37 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=PqSzKOSf; spf=pass (domain: gmail.com, ip: 209.85.221.54, mailfrom: quaresma.jose@gmail.com) Received: by mail-wr1-f54.google.com with SMTP id r30so2868871wrr.10 for ; Mon, 16 Jan 2023 04:16:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ngYzkeU9YWcd05PbonyHhsbVOe2MgwkEQvFViSauE4U=; b=PqSzKOSfJI0bbkoh1llTJhUejSNoWMUYYL2jS02ePjlfuP7ys8e+v8b+mFPGxmWEo3 uIXQvWl1BsUWymgpkV+nvHYZWOzvrVnIUjKvko6cfY2kyc/8IP8m4PCpif+Mwt5ZF1FT NCdIypbEwN/Bx7CGt72o4+B/IGl6cmnd1Igpo5uKTWVB/5e2DlBLndkC1B43fi1R7Wi7 6PaoTDyduQ7X2PuZltYSrhnwrIAAFcaN+aOJ4OR7ZswOGxqa18BaP+d53d3PrCxRD/cR k5nzzYsX1ygGWF/LdCAMnAsZW8mrFXcPBSsOidBHA3Lpk1y93c37KppfLQObDWv4BAhd fPRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ngYzkeU9YWcd05PbonyHhsbVOe2MgwkEQvFViSauE4U=; b=MB8NyR57Gd7M3FiNky7sPIf1bhYlFwL+xgT5swkRkmjX2B7seJOdA8jRZiefysPQ3s lkGemR0Pd2jCXH5iAy/HBbAnDnj8zELjAu1Po80BVOdIlesM3VzcutFKoZgFWV7EMi3A /phHOSK7zygBRQZC565rVJ1zRwxD0cq4Izy0AWO1sVEccR+bNC2PmUM7qu669at8S+ys 9kHBZ34NwbysnFJUGQjAoRD+tqfVffrrhAr7TkgiWLw/h1QOACippkQjooNkVLhDKDs4 VuMDPfrnS8GpAvw4q6Cb/5wRiMc9l7WCurwF1kwG6fc0gljQcRkRVt5XR6MbJl+cHZIc 7Xuw== X-Gm-Message-State: AFqh2kpiJiJQe2v6X4QEOU6le8363diEuJ9+2SrxG+uSZR+OU5QGSik9 itffUHPraof0YGDMH9RH/VfEqGZfFe5qgw== X-Google-Smtp-Source: AMrXdXtoDGwSqulHvRV2Bopr5djcukbZY0KvWa/Eg4k07fflPl7mkUEoenGE7Am9YD/Wl5PBgUeDhw== X-Received: by 2002:a5d:5512:0:b0:2bd:bb55:e48d with SMTP id b18-20020a5d5512000000b002bdbb55e48dmr8084686wrv.66.1673871395330; Mon, 16 Jan 2023 04:16:35 -0800 (PST) Received: from og-worker-dev-01.infra.foundries.io.net (51-159-19-113.rev.poneytelecom.eu. [51.159.19.113]) by smtp.gmail.com with ESMTPSA id f16-20020a5d50d0000000b002755e301eeasm8382966wrt.100.2023.01.16.04.16.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Jan 2023 04:16:34 -0800 (PST) From: Jose Quaresma X-Google-Original-From: Jose Quaresma To: meta-ti@lists.yoctoproject.org Cc: ricardo@foundries.io, Jose Quaresma Subject: [meta-ti][PATCH 1/3] ti-k3-secdev: move from meta-ti-extras to meta-ti-bsp Date: Mon, 16 Jan 2023 12:16:24 +0000 Message-Id: <20230116121626.885219-1-jose.quaresma@foundries.io> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 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 ; Mon, 16 Jan 2023 12:16:47 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/15567 The meta-ti-bsp layer is still broken for K3 HS platforms. The patch [1] makes the check-layer happy again as it does not fail any more during bitbake parsing but it will be difficult for the end user to discover this dependency on meta-ti-extras. On the other side, meta-ti-extras depends on meta-ti-bsp so this is a circular dependency. Currently the layer is broken for am62xx-evm/am64xx-evm machines: | ERROR: Nothing PROVIDES 'ti-k3-secdev-native' (but mc:k3r5:/srv/oe/build/conf/../../layers/meta-ti/meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb DEPENDS on or otherwise requires it). Close matches: | libtspi-dev-native | makedevs-native [1] - 8e43835c ti-sci-fw: make dependency on meta-ti-extras soft Signed-off-by: Jose Quaresma Acked-by: Andrew Davis --- .../recipes-ti/secdev/ti-k3-secdev_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename {meta-ti-extras => meta-ti-bsp}/recipes-ti/secdev/ti-k3-secdev_git.bb (96%) diff --git a/meta-ti-extras/recipes-ti/secdev/ti-k3-secdev_git.bb b/meta-ti-bsp/recipes-ti/secdev/ti-k3-secdev_git.bb similarity index 96% rename from meta-ti-extras/recipes-ti/secdev/ti-k3-secdev_git.bb rename to meta-ti-bsp/recipes-ti/secdev/ti-k3-secdev_git.bb index 3763c339..fd3bd120 100644 --- a/meta-ti-extras/recipes-ti/secdev/ti-k3-secdev_git.bb +++ b/meta-ti-bsp/recipes-ti/secdev/ti-k3-secdev_git.bb @@ -4,7 +4,7 @@ SECTION = "devel" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://manifest/k3-secdev-0.2-manifest.html;md5=f632a78870cc64550078d7b3cbac0892" -require recipes-ti/includes/ti-paths.inc +include recipes-ti/includes/ti-paths.inc # Native host tool only COMPATIBLE_MACHINE = "null" From patchwork Mon Jan 16 12:16:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jose Quaresma X-Patchwork-Id: 18173 X-Patchwork-Delegate: reatmon@ti.com 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 94021C678D7 for ; Mon, 16 Jan 2023 12:16:47 +0000 (UTC) Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) by mx.groups.io with SMTP id smtpd.web11.164986.1673871397563865668 for ; Mon, 16 Jan 2023 04:16:37 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=BISwtYrS; spf=pass (domain: gmail.com, ip: 209.85.221.42, mailfrom: quaresma.jose@gmail.com) Received: by mail-wr1-f42.google.com with SMTP id bk16so27265705wrb.11 for ; Mon, 16 Jan 2023 04:16:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=w0tf2+ZVmM7vHsOj8AwIAaZ94x4GAMO0pjS3XhSfHsw=; b=BISwtYrSJIA042grQfLtYT7nidDkLg6IWYEw38U2VINx7AO5yfiTLT4HVR/QMg7jJv bwnlKFShmyLSeL4CwsIvdxO8FmK34J6+mSsj1rsWpNo4pPaGHOAem3+BFdTZb9aNuC8t 8gYp9X3WFBlloFkjRM4YPyOJ8AONhX7uS6v/SnS5Ld453wwomfdgguKH3w0FVEpDFlg0 Ybs53TyGJY0+KgSv3PG4WkVhLt0eLp/ovvHBII1JnQVFTYzbhPg5e6ps7HJV3+sXAiXK TJwd1zRhAauDFzWnPFH+5K4Zx9eBakj/fRyO+bFkgQgeYPMiDex5NuHh14zryuwfaEzf +pMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=w0tf2+ZVmM7vHsOj8AwIAaZ94x4GAMO0pjS3XhSfHsw=; b=aCv6WUq5tn/Uc4Nkbqw64YWvZIHXnL0+eKWKfYmLBVEyA86rCUhkmsEO0dUlICBzgH v4K5B5PBD9zDul7bbnm8FPNnVQHV3YOXEMU1XUez8Jk1B/VwLRTo0n4sn+o0adZ/PgDe 7UOKb+JYhG2gQ+SwR8othRIAWmonX9C4T/3RCsKg3yfd6fZiMt9AWputUHTEPxvmvsIB Q8fMa8nDqEw0bJP7sNHF8BD3FD4Pr1ExOk9R6GUleIU7ih5xGANW0E0RpRU4NF0zv83k h+nuYAuCfjH9JujsVagWHdcfdTgrXO8QKhxTnA1aJrbSRhNZYLijLKfBmWWAm+j8vc5U tOQQ== X-Gm-Message-State: AFqh2kpG0v4J91nIG8bcNDoJzsUpNxT34M5mqIA2IZyj/U4fIdtKOq2G 4SrLTZTYBziu/YcsxrqAmi7DDCvDivfnXw== X-Google-Smtp-Source: AMrXdXshbVommzFRFR/4M/a/98o3Mal+2GLXtqkVPVuYhv+qpTUiaucg+uoCOBAsyzlIUwJSuOoHKw== X-Received: by 2002:a5d:4e01:0:b0:2be:d04:3667 with SMTP id p1-20020a5d4e01000000b002be0d043667mr1762760wrt.26.1673871395855; Mon, 16 Jan 2023 04:16:35 -0800 (PST) Received: from og-worker-dev-01.infra.foundries.io.net (51-159-19-113.rev.poneytelecom.eu. [51.159.19.113]) by smtp.gmail.com with ESMTPSA id f16-20020a5d50d0000000b002755e301eeasm8382966wrt.100.2023.01.16.04.16.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Jan 2023 04:16:35 -0800 (PST) From: Jose Quaresma X-Google-Original-From: Jose Quaresma To: meta-ti@lists.yoctoproject.org Cc: ricardo@foundries.io, Jose Quaresma Subject: [meta-ti][PATCH 2/3] ti-k3-secdev: sets TI_K3_SECDEV_INSTALL_DIR_RECIPE default value Date: Mon, 16 Jan 2023 12:16:25 +0000 Message-Id: <20230116121626.885219-2-jose.quaresma@foundries.io> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230116121626.885219-1-jose.quaresma@foundries.io> References: <20230116121626.885219-1-jose.quaresma@foundries.io> MIME-Version: 1.0 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 ; Mon, 16 Jan 2023 12:16:47 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/15568 The TI_K3_SECDEV_INSTALL_DIR_RECIPE is defined on the meta-ti-extras layer so when the layer is not used the variable is undefined. For such cases we can use default value that is the same defined on the recipes-ti/includes/ti-paths.inc Signed-off-by: Jose Quaresma Acked-by: Andrew Davis --- meta-ti-bsp/recipes-ti/secdev/ti-k3-secdev_git.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-ti-bsp/recipes-ti/secdev/ti-k3-secdev_git.bb b/meta-ti-bsp/recipes-ti/secdev/ti-k3-secdev_git.bb index fd3bd120..6a28add7 100644 --- a/meta-ti-bsp/recipes-ti/secdev/ti-k3-secdev_git.bb +++ b/meta-ti-bsp/recipes-ti/secdev/ti-k3-secdev_git.bb @@ -4,6 +4,8 @@ SECTION = "devel" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://manifest/k3-secdev-0.2-manifest.html;md5=f632a78870cc64550078d7b3cbac0892" +# set a default value for TI_K3_SECDEV_INSTALL_DIR_RECIPE +export TI_K3_SECDEV_INSTALL_DIR_RECIPE = "${datadir}/ti/ti-k3-secdev" include recipes-ti/includes/ti-paths.inc # Native host tool only From patchwork Mon Jan 16 12:16:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jose Quaresma X-Patchwork-Id: 18172 X-Patchwork-Delegate: reatmon@ti.com 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 91828C63797 for ; Mon, 16 Jan 2023 12:16:47 +0000 (UTC) Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) by mx.groups.io with SMTP id smtpd.web10.164908.1673871398239439775 for ; Mon, 16 Jan 2023 04:16:38 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=JAlFMSeI; spf=pass (domain: gmail.com, ip: 209.85.221.46, mailfrom: quaresma.jose@gmail.com) Received: by mail-wr1-f46.google.com with SMTP id e3so18070703wru.13 for ; Mon, 16 Jan 2023 04:16:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=aYws6/yoGvyVyDmtb5rmtUncBICjV6Hzx60f78BaasM=; b=JAlFMSeIJJQw60q2jG2Vof34e65F9713gL27jXec8jfzKK8zGmdIx8FYuLXoK+NCyb s+UqlCb62//KE3Ksb1LpE8zvBkGo3H8yoQew1OIpQ+w1+FlN5IdPtUa+LKLn7hgzWfWH IRDAQCnm40BfqwSS7P1rQBx+DKMH0kLV9Qs30ZXbcgs8yKxwkTuh4+gqE83VfCDJWuaW xSUQB+Gn66CoiqnYUfk/4xIbCdWUiA3ZaxBm8YiMWqm4oAJtUc1jS4ZTvO1g0bjfxghB v5aHZ0TvYkKHKpwPSXNIrDJcVTH52Z6W7FwE0oK3lLWxeqMdRDQ8u2bsZk52xRH1mCRM XJCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=aYws6/yoGvyVyDmtb5rmtUncBICjV6Hzx60f78BaasM=; b=i/KGbnC45RldXxYQ5iud4tP/ebUTaoIRHlQEnp4yo2SCN9t6lf2ZSm3L1NvI0lUIzP KdbOHv5SNB5VRasRJ0+fdZlU1WIBCQbtdQ4FTYPcY0aT/LHM3XDm4IjAi1mudTiVvq+H 1FDMdvb2F+P2okLd5McwDrmstO+I/RlCqBa0FuXWO/ApXt5GYcDrDikQpRgIF5kaYDlL jq5L1peE2h0S3DAPTuLiE9+X5Hcq7kJJk8Q8AwVINu6dHHdjUh9ogfLvup9fX1u7FKEd fdmPDNYyM2bYmXDNGAr8IALZNqXJipPPevYI0a82lD+Z4zjlhhUoXIDngwd2VhcbKw8G q0KQ== X-Gm-Message-State: AFqh2kpaxJ0MUy4fymcQxOxrUHWh3yHs3xkFN7OJZWBA68XBldTG8RRO h5J18AQDTFiAbdGj+xzAKWQj1JBLOgY6xA== X-Google-Smtp-Source: AMrXdXt6WGZNWndYe8oGJiG35QSz20h/BRzBQkUtDpSOdensO+xxdfQLR1nNk1icuQcQ0X7izEg6tg== X-Received: by 2002:adf:de90:0:b0:2bb:ebc4:2f62 with SMTP id w16-20020adfde90000000b002bbebc42f62mr20367722wrl.52.1673871396570; Mon, 16 Jan 2023 04:16:36 -0800 (PST) Received: from og-worker-dev-01.infra.foundries.io.net (51-159-19-113.rev.poneytelecom.eu. [51.159.19.113]) by smtp.gmail.com with ESMTPSA id f16-20020a5d50d0000000b002755e301eeasm8382966wrt.100.2023.01.16.04.16.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Jan 2023 04:16:36 -0800 (PST) From: Jose Quaresma X-Google-Original-From: Jose Quaresma To: meta-ti@lists.yoctoproject.org Cc: ricardo@foundries.io, Jose Quaresma Subject: [meta-ti][PATCH 3/3] ti-sci-fw: sets TI_K3_SECDEV_INSTALL_DIR default value Date: Mon, 16 Jan 2023 12:16:26 +0000 Message-Id: <20230116121626.885219-3-jose.quaresma@foundries.io> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230116121626.885219-1-jose.quaresma@foundries.io> References: <20230116121626.885219-1-jose.quaresma@foundries.io> MIME-Version: 1.0 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 ; Mon, 16 Jan 2023 12:16:47 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/15569 The TI_K3_SECDEV_INSTALL_DIR is defined on the meta-ti-extras layer so when the layer is not used the variable is undefined. For such cases we can use default value that is the same defined on the recipes-ti/includes/ti-paths.inc Signed-off-by: Jose Quaresma --- meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb b/meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb index c99cd660..8e88b58b 100644 --- a/meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +++ b/meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb @@ -1,4 +1,6 @@ require recipes-bsp/ti-linux-fw/ti-linux-fw.inc +# set a default value for TI_K3_SECDEV_INSTALL_DIR +export TI_K3_SECDEV_INSTALL_DIR = "${STAGING_DIR_NATIVE}${datadir}/ti/ti-k3-secdev" include recipes-ti/includes/ti-paths.inc DEPENDS = "openssl-native u-boot-mkimage-native dtc-native virtual/bootloader"