From patchwork Tue Feb 1 01:57:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vijai Kumar K X-Patchwork-Id: 1383 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3) with LMTPA; Tue, 01 Feb 2022 12:57:50 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-lf1-f63.google.com (mail-lf1-f63.google.com [209.85.167.63]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPS id 211Bvhei018302 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 1 Feb 2022 12:57:44 +0100 Received: by mail-lf1-f63.google.com with SMTP id t27-20020ac24c1b000000b00438a5486bcesf5837828lfq.21 for ; Tue, 01 Feb 2022 03:57:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1643716658; cv=pass; d=google.com; s=arc-20160816; b=EaRICU/5PMk1h+kkxO/l2xvaxzAEnjjFMewmRA+XsI2rWbfQ9/peBqZQri5kyoMFFc j5TKmiIKuPag7TOBURVI7/oK1N1W+qGX/PbLTxg47bwpcJIRbGJ5Yu/RmgExoMfXfag2 Ar/P8EVw5LMZSfuKpjAIBoHYvCeocQmVRyJS2ZNcx3XeKbC6Pe6BnIOQ8H/LluP7++PR yKXaPQLh+kK0QfCRTctdWkrXjlqmlq47Evmw80dUONe7SgwSbiTdHtY590PfLL/OQqj9 /pAJ4slW7olbEudeYQqKDEmWvFmiUrQCjnTf7CJ+hE08yJDaC6KZPkzfldglH9ZdAuz/ bYLQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:ironport-sdr:ironport-sdr:sender :dkim-signature; bh=3LmoKDB/Udz1ZT8ftaLFaTdetIen0XZcwRqJ9SyBqJA=; b=xZJ9X6/kCjLq2WxJz8sTIm7NkOwPaAusDxfMBDR/5jfM0tlleawLczbXGNshO6ZzBW C4v2D3xMMglu2BAh6agAd4lJJzS4Godl5/WtARKjvFm02esXG+Ds821si1OpDOGknPWV d2ykNIZ9cKylEBC+qONsnfvxFzMNprqMKEZpk+CB4Il1DN+v1J0tpG36u8eBWzyEc5vS 8Aiw3wW6J3Gyufek7KVv1CDgZQMwqe4aUMopqHg2BiRRq6OarUOwoCNsAJsGf+05pVqO j0CAwMwtL8mQ0VAxYcHzyaaeWlmmCsiYGAkmmbiUF9CcHFMyyZuLK1/sirhQO0/e0gEL cKQA== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.137.180 as permitted sender) smtp.mailfrom=Vijaikumar_Kanagarajan@mentor.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:ironport-sdr:ironport-sdr:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=3LmoKDB/Udz1ZT8ftaLFaTdetIen0XZcwRqJ9SyBqJA=; b=oTlb3bcKsgbcPCdSxJDDNPdIOKDPRSZqKnjA0Xm5/lXYKPjdGn9v+WsJAsBsJL69vb M1KZUwtx2WtkCqdS9AKNz14kceD7n87qOOhw+VYADSuD/kcjX9DflmjXR8/rLZXKbkan 6e3SGtErJcWkv8gfgsDy0ch1HHi/qRXxVknqYAkeFJBBonKs7BukI9T/gOy2lsYbLzw0 A1D61vvWPcJGUnW9HSg55UQuzC1x5IaRQJ7nr/8MwMnmH1ia7BX/isGqPncKS0eBrOKw ggNXxbpzSi/JedFeYPZi8u4WIve7ke/wEqk8D9MtyPVyZ2JB7djThxD3XOvjDsBHz7Nc IuYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:ironport-sdr:ironport-sdr:from:to:cc :subject:date:message-id:in-reply-to:references:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=3LmoKDB/Udz1ZT8ftaLFaTdetIen0XZcwRqJ9SyBqJA=; b=51wg2XOv+iIIsyaHeU5xKsoDhymYCjl8Cz8CT0tcbCuaCVzNrhvjYwz2qYaglGmy6S ot4/r+BlgzQDKgE3zhsxQhNC8d6BbnnmNO7MMMciQ522rCzTqjbsnzAzZKKGoXEZLgqx d1VdqRNC+zWVS2EuetTKDG8kKsYOvGycxD7Bmiv0JTaDuGt+2b1y6v4IC5tJ0V3XZjWx 13BjWaEO942N7c0iv5qzdNGGVo5VoEFVyK2TQob08FMNgabSf6JrFeO//ZfaF7vZ2fWV djhwiE+A7cpZ3bD6YMQcO0Oc8ZLoXy1N5Az1+/ue36SIFFoqVaQ8NwetpH+XLY2Wv30I 0mew== Sender: isar-users@googlegroups.com X-Gm-Message-State: AOAM532l6DCH8SZDR2GdFSfwfpK0DJJjZx5qmCP9jgyg2mnT8Va/NhOv SOF+3dL47dUzFwtr+VocbIs= X-Google-Smtp-Source: ABdhPJx1899kj1YLa9IqYSN3c50/I28CgXx2wDfFxA1G7NsvbGoE+xFg0UmoVgATZK0si0zD9PKwSw== X-Received: by 2002:a19:f806:: with SMTP id a6mr18453693lff.690.1643716658238; Tue, 01 Feb 2022 03:57:38 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:bc08:: with SMTP id b8ls2088566ljf.0.gmail; Tue, 01 Feb 2022 03:57:37 -0800 (PST) X-Received: by 2002:a05:651c:160d:: with SMTP id f13mr16605328ljq.510.1643716657207; Tue, 01 Feb 2022 03:57:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643716657; cv=none; d=google.com; s=arc-20160816; b=BczNB5cEYiMZHVeSlUS+4scKcZzRkgA4jCBV0+3dEWJk9mcCYol2xJ/fyB7QJxW148 LM02mysZ314oPc8BvBuJyiQN13qtnnX0nwDeuypJ0XApBAIVGNeUonZPyOMVScmqRXt4 MIJ8Y6Ytsboeev061YLRPtD4HDneKQlffW7raxKptFBl+E1ynLkdGS2BgOJasPa12Eeb KlYm5lDCXizfWXPid+k5lrOGX4ovfj6nmALb90TpmbRJWLgGm0FwrG890rtHLLTXiX3t zuKHHPW0v75hNnmP1Ir+8lgM5gK5idztsNdTViP0gCU3vlaMs2YyIF0Jp/KcSL6YnEei Z+Yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:ironport-sdr:ironport-sdr; bh=OwfrxR6mLPSdiwjAuIWhGmvUzqy5WXSBAZF4yTxeWuU=; b=qGryYAnQQpRe/yQbU80sL8y2PZM/5kUm/T2CJ9gPYvLdBEH34AtihwXeOaJCd5sZsJ QIdNhHXlnL7p2GcG0xrdzpyUrDcD2FBV7wuvEy3nPLwKqJUID2ARDL1vCh965V2vA6yq MSgtyf0gBEt8Ee8uILdFw8BLy3LkmJ/+mKmNVp9LhSNZGKbPEyXgX9dVdzOeu4lNKmng SGDz7/uAucVQGO4M3F7kCBL5jF7DWvVGvIq6tI56XJqd3sBGS3DXkSMn2gm0KVCQaKba yNt3tSfB2ryoYvAQlru2xO+rzZ47+bF5O17E7B0DoLi0eAyZjLPhWwU8aNUNZJOvf92S qj5g== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.137.180 as permitted sender) smtp.mailfrom=Vijaikumar_Kanagarajan@mentor.com Received: from esa3.mentor.iphmx.com (esa3.mentor.iphmx.com. [68.232.137.180]) by gmr-mx.google.com with ESMTPS id l17si102917lje.5.2022.02.01.03.57.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Feb 2022 03:57:37 -0800 (PST) Received-SPF: pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.137.180 as permitted sender) client-ip=68.232.137.180; IronPort-SDR: xEnp2t9i0izwjbbSU5rpqNVAxOBEpVGenOikVMhN5OwNtx3h3rNrPxbdDBRFDu45d3uRb6H0eS hnTyz6CYqmSWgDu/lbVlSoqaEAIM5V+yozjSJ2RmkNthxqFAYIyeg53QxR06g4GxYmthl4zKT3 e0IkuyINwpnTRckCRtj2aPb7+miXr3Vg/MqR9xQAfBq/MO/WnNTr+VmGjL7/7B7sYXqEtZc/UN lU5cn4FUFYjZGnYpSl5YmMXANta9Qd5KcQv5QAc0wDI42A8NAF6aVZvxZhOM1zQaTFxLqa5oKP FUOjH12PGRmj7doC+vPEy28V X-IronPort-AV: E=Sophos;i="5.88,333,1635235200"; d="scan'208";a="71289690" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa3.mentor.iphmx.com with ESMTP; 01 Feb 2022 03:57:36 -0800 IronPort-SDR: MxALAZ2alrJ50H+RqGojweVmZHB30BlCG8GWzIJIaRAsBI3ta5j/ZuamxEGy87ZTaozY+GkYwN r6iAoV0THB/ZU1OM4IP9v1GtFKl5iK0V/J6Dv5Gt+d25OYZPG6jf4W5iU6FY37XnG3e2JP1aaG g06ZFub3ygX5CVqh4vBXGxdzm+wsXk9Jr5vCOJmUbXv969YpFX5Ldb2s15w6wBkgsmN+rPM2+4 1p+Y8i72m9dFnvUgsJpnlKXYRoR0cUXyXVOr8oo6J7t0yvlyFO7XF0bnFuuJW5S/Ri5Xuk9Wax ntE= From: Vijai Kumar K To: , CC: Vijai Kumar K Subject: [PATCH v5 1/4] u-boot: Switch to use DEB_BUILD_PROFILES Date: Tue, 1 Feb 2022 17:27:10 +0530 Message-ID: <20220201115713.3062835-2-Vijaikumar_Kanagarajan@mentor.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220201115713.3062835-1-Vijaikumar_Kanagarajan@mentor.com> References: <20220201115713.3062835-1-Vijaikumar_Kanagarajan@mentor.com> MIME-Version: 1.0 X-ClientProxiedBy: svr-orw-mbx-14.mgc.mentorg.com (147.34.90.214) To svr-orw-mbx-01.mgc.mentorg.com (147.34.90.201) X-Original-Sender: vijaikumar_kanagarajan@mentor.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.137.180 as permitted sender) smtp.mailfrom=Vijaikumar_Kanagarajan@mentor.com Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_MED, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-getmail-retrieved-from-mailbox: INBOX Use DEB_BUILD_PROFILES to select packages to build. This patch drops the U_BOOT_TOOLS_PACKAGE and U_BOOT_CONFIG_PACKAGE variables and introduces U_BOOT_BUILD_PROFILES through which we can enable particular packages like u-boot-tools, u-boot-dev and u-boot-config. Also, provide backward compatibility with U_BOOT_*_PACKAGES variable and prompt a deprecation warning to user. Signed-off-by: Vijai Kumar K --- RECIPE-API-CHANGELOG.md | 11 ++++ .../u-boot/files/debian/control.tmpl | 13 +++++ meta/recipes-bsp/u-boot/files/debian/rules | 9 +++- meta/recipes-bsp/u-boot/u-boot-custom.inc | 52 ++++++++++--------- 4 files changed, 59 insertions(+), 26 deletions(-) diff --git a/RECIPE-API-CHANGELOG.md b/RECIPE-API-CHANGELOG.md index ce0a6da..118b328 100644 --- a/RECIPE-API-CHANGELOG.md +++ b/RECIPE-API-CHANGELOG.md @@ -335,3 +335,14 @@ names for kernel/headers. Changes in next --------------- +### Deprecate U_BOOT_TOOLS_PACKAGE and U_BOOT_CONFIG_PACKAGE + +Use U_BOOT_BUILD_PROFILES instead of U_BOOT_TOOLS_PACKAGE and U_BOOT_CONFIG_PACKAGE + +U_BOOT_TOOLS_PACKAGE = "1" is achieved by U_BOOT_BUILD_PROFILES += "tools" +U_BOOT_CONFIG_PACKAGE = "1" is achieved by U_BOOT_BUILD_PROFILES += "config" + +u-boot-${MACHINE}-dev package build can also be controlled now. Enabled by default +in u-boot-custom.inc. To remove use the below code in your recipe. + +U_BOOT_BUILD_PROFILES_remove = "dev" diff --git a/meta/recipes-bsp/u-boot/files/debian/control.tmpl b/meta/recipes-bsp/u-boot/files/debian/control.tmpl index 9379be7..7ac11ad 100644 --- a/meta/recipes-bsp/u-boot/files/debian/control.tmpl +++ b/meta/recipes-bsp/u-boot/files/debian/control.tmpl @@ -11,4 +11,17 @@ Description: ${DESCRIPTION}, bootloader binaries Package: u-boot-${MACHINE}-dev Architecture: ${DISTRO_ARCH} +Build-Profiles: Description: ${DESCRIPTION}, bootloader libraries + +Package: u-boot-tools +Architecture: linux-any +Build-Profiles: +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: ${DESCRIPTION}, companion tools + +Package: u-boot-${MACHINE}-config +Build-Profiles: +Provides: u-boot-config +Architecture: ${DISTRO_ARCH} +Description: ${DESCRIPTION}, environment configuration diff --git a/meta/recipes-bsp/u-boot/files/debian/rules b/meta/recipes-bsp/u-boot/files/debian/rules index 3d66762..121b00e 100755 --- a/meta/recipes-bsp/u-boot/files/debian/rules +++ b/meta/recipes-bsp/u-boot/files/debian/rules @@ -20,10 +20,17 @@ override_dh_auto_build: else \ ./scripts/get_default_envs.sh >u-boot-initial-env; \ fi - $(MAKE) $(PARALLEL_MAKE) $(SET_CROSS_BUILD_TOOLS) NO_SDL=1 tools-only envtools +ifneq (,$(filter dev,$(DEB_BUILD_PROFILES))) + $(MAKE) $(PARALLEL_MAKE) $(SET_CROSS_BUILD_TOOLS) NO_SDL=1 envtools +endif +ifneq (,$(filter tools,$(DEB_BUILD_PROFILES))) + $(MAKE) $(PARALLEL_MAKE) $(SET_CROSS_BUILD_TOOLS) NO_SDL=1 tools-only +endif override_dh_auto_install: +ifneq (,$(filter dev,$(DEB_BUILD_PROFILES))) mv tools/env/lib.a tools/env/libubootenv.a +endif override_dh_auto_test: diff --git a/meta/recipes-bsp/u-boot/u-boot-custom.inc b/meta/recipes-bsp/u-boot/u-boot-custom.inc index 9984d8c..5198809 100644 --- a/meta/recipes-bsp/u-boot/u-boot-custom.inc +++ b/meta/recipes-bsp/u-boot/u-boot-custom.inc @@ -9,10 +9,13 @@ FILESEXTRAPATHS_prepend := "${FILE_DIRNAME}/files:" DESCRIPTION ?= "Custom U-Boot" -PROVIDES += "u-boot-${MACHINE} u-boot-${MACHINE}-dev" -PROVIDES += "${@'u-boot-tools' if d.getVar('U_BOOT_TOOLS_PACKAGE') == '1' else ''}" +PROVIDES += "u-boot-${MACHINE}" +PROVIDES += "${@'u-boot-tools' \ + if bb.utils.contains('U_BOOT_BUILD_PROFILES', 'tools', 1, 0, d) else ''}" PROVIDES += "${@('u-boot-config u-boot-' + d.getVar('MACHINE') + '-config') \ - if d.getVar('U_BOOT_CONFIG_PACKAGE') == '1' else ''}" + if bb.utils.contains('U_BOOT_BUILD_PROFILES', 'config', 1, 0, d) else ''}" +PROVIDES += "${@('u-boot-' + d.getVar('MACHINE') + '-dev') \ + if bb.utils.contains('U_BOOT_BUILD_PROFILES', 'dev', 1, 0, d) else ''}" inherit dpkg @@ -22,6 +25,20 @@ python() { if d.getVar('BUILD_DEPENDS'): bb.warn("u-boot-custom: Deprecated use of BUILD_DEPENDS, please switch to DEBIAN_BUILD_DEPENDS") d.setVar('DEBIAN_BUILD_DEPENDS', d.getVar('BUILD_DEPENDS')) + + if d.getVar('U_BOOT_TOOLS_PACKAGE') is not None: + bb.warn("u-boot-custom: Deprecated use of U_BOOT_TOOLS_PACKAGE, please switch to U_BOOT_BUILD_PROFILES") + if d.getVar('U_BOOT_TOOLS_PACKAGE') == "1": + d.appendVar('U_BOOT_BUILD_PROFILES', " tools") + else: + d.setVar('U_BOOT_BUILD_PROFILES_remove', "tools") + + if d.getVar('U_BOOT_CONFIG_PACKAGE') is not None: + bb.warn("u-boot-custom: Deprecated use of U_BOOT_CONFIG_PACKAGE, please switch to U_BOOT_BUILD_PROFILES") + if d.getVar('U_BOOT_CONFIG_PACKAGE') == "1": + d.appendVar('U_BOOT_BUILD_PROFILES', " config") + else: + d.setVar('U_BOOT_BUILD_PROFILES_remove', "config") } DEBIAN_BUILD_DEPENDS ?= "bc, bison, flex, device-tree-compiler, git" @@ -29,8 +46,8 @@ DEBIAN_BUILD_DEPENDS ?= "bc, bison, flex, device-tree-compiler, git" TEMPLATE_FILES = "debian/control.tmpl" TEMPLATE_VARS += "MACHINE DEBIAN_BUILD_DEPENDS" -U_BOOT_TOOLS_PACKAGE ?= "0" -U_BOOT_CONFIG_PACKAGE ?= "0" + +U_BOOT_BUILD_PROFILES ?= "dev" do_prepare_build() { cp -r ${WORKDIR}/debian ${S}/ @@ -40,31 +57,15 @@ do_prepare_build() { echo "${U_BOOT_BIN} /usr/lib/u-boot/${MACHINE}" > \ ${S}/debian/u-boot-${MACHINE}.install - echo "tools/env/libubootenv.a usr/lib" > \ - ${S}/debian/u-boot-${MACHINE}-dev.install - - if [ "${U_BOOT_TOOLS_PACKAGE}" = "1" ]; then - cat <>${S}/debian/control - -Package: u-boot-tools -Architecture: linux-any -Depends: \${shlibs:Depends}, \${misc:Depends} -Description: ${DESCRIPTION}, companion tools -EOF + if [ "${@bb.utils.contains('U_BOOT_BUILD_PROFILES', 'dev', 'yes', 'no', d)}" = "yes" ];then + echo "tools/env/libubootenv.a usr/lib" > \ + ${S}/debian/u-boot-${MACHINE}-dev.install fi - if [ "${U_BOOT_CONFIG_PACKAGE}" = "1" ]; then + if [ "${@bb.utils.contains('U_BOOT_BUILD_PROFILES', 'config', 'yes', 'no', d)}" = "yes" ];then cp ${WORKDIR}/fw_env.config ${S}/ || \ die "U_BOOT_CONFIG_PACKAGE requires a fw_env.config in SRC_URI" - cat <>${S}/debian/control - -Package: u-boot-${MACHINE}-config -Provides: u-boot-config -Architecture: ${DISTRO_ARCH} -Description: ${DESCRIPTION}, environment configuration -EOF - cat <>${S}/debian/u-boot-${MACHINE}-config.install u-boot-initial-env /etc fw_env.config /etc @@ -75,4 +76,5 @@ EOF dpkg_runbuild_prepend() { export U_BOOT_CONFIG="${U_BOOT_CONFIG}" export U_BOOT_BIN="${U_BOOT_BIN}" + export DEB_BUILD_PROFILES="${U_BOOT_BUILD_PROFILES}" } From patchwork Tue Feb 1 01:57:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vijai Kumar K X-Patchwork-Id: 1386 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3) with LMTPA; Tue, 01 Feb 2022 12:57:55 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-lj1-f185.google.com (mail-lj1-f185.google.com [209.85.208.185]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPS id 211BvkW2018305 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 1 Feb 2022 12:57:51 +0100 Received: by mail-lj1-f185.google.com with SMTP id k22-20020a2e8896000000b0023f97d5d855sf3871503lji.12 for ; Tue, 01 Feb 2022 03:57:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1643716661; cv=pass; d=google.com; s=arc-20160816; b=AR4qizv8R5HkxLN6cTq9GciLIwdkHkjpwfDOtYEtlRVVgxeZg8w3mgwJp8txRg/tUr BNLEDDX0yYzVwUAym7gSSPCVcUB0NGo6SADPLFH662MlX5S9RPZ67c8L+SvKnxRGSuX3 A1R2r/P63ye4JDibcYHZOyng+natVV+CdqfJ3bVJ395P7zocxv6DU1ZLXtZh/HZTOTo+ qTAP6CfowssNHJZayxjpJo3IRI3qqhpecUbjLPlaUT0SVh2ZpOqTVsELWYgMSJhdzJ1r 5C6X0XXCGgASSuuiIQF6zvUEysm/fFxqSFjpzX+rvGe08dm7MZ2Xd0XRN+acmsZ9V+Ex J8UQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:ironport-sdr:ironport-sdr:sender :dkim-signature; bh=2FzMJ7+TcJG6KBY8Qi2wC+EUwte7CI1+aTNXj2hjW14=; b=02Mdr9XghC7WScS3x5EsSiiOFof+SnbqnZtOOsghoGfIAIdDEay3WFUq9/fTuzDCiJ v7PHqTkbb9pLk3oOiLC1h31qptZI0SDR7FhLPuibX7+HfxLIHgW0k1sB4mhM3zArJHXx SokcnZy8ECiryKjaT8geEgyqM103eA+WX6YulnvSmnb5bzTZH/s0l0Z1X1NBx2hgwMeD 6jHADHBni4U0xOlxNqAf2p0fq8pEq/BWgYlSNkGKYUED4UAIxAp+he+IJ8rHWqYDl79q 6uGk1m33mnyP/ycf6GwGU7125OkmqNXdiTcGwjkT/wCB/ia8WvbIjWUgQA1HnGiznDyr BInQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.137.180 as permitted sender) smtp.mailfrom=Vijaikumar_Kanagarajan@mentor.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:ironport-sdr:ironport-sdr:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=2FzMJ7+TcJG6KBY8Qi2wC+EUwte7CI1+aTNXj2hjW14=; b=LZpG+c+bwqjfIwcruF/xiIV2VNO4ca313NCpaxWzvG+hHAizqe7NNG6aXM0xVg3WkR tww8YJmk8MfMFfrMWRxhjXWyylbi95XtFBxpAmDrBrEJJwPiy2Sgb7FUoT/Ia9V2JsXZ 62ALZjTOJlgD53Xy1Md1Kq7cjBzLU6msE3umjUCf3XMEQ3Tswq8g/oPG8nzhmYAR4BTa TykicDHMY55B0yHmc3nX+CjQCVwv6H5GL9cJUHZaNfEJaekTYQFdFaXV9JCYWaVtMwdK I7XHCMR0mUIpV24OpoFZ6gUIlw5wS7U3UwSxRHt9njSzaAi2IL8W+3GNrcPhCfyeZt63 3a9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:ironport-sdr:ironport-sdr:from:to:cc :subject:date:message-id:in-reply-to:references:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=2FzMJ7+TcJG6KBY8Qi2wC+EUwte7CI1+aTNXj2hjW14=; b=PPAxqsnGCIqgKFfJmXsE702sjPWBC5O49un022+5hl3aRuEq2c9DR1SFMxoUfhOK67 iVOj43doSnu+tiAJe5bGyq4xPcC0IYfgu3DVtNu4hFbbrsrz5sYaptDw8UCBiSXYV5zc hdP4PuOUbNILvp5MD1WkXS6dm7jZt64DmUMnMt9CkKyEMRyU4hErcu5h6Z+BgdaaF7wU M0aOTqbpl84CAYqwvuZ9z0JGrjRlvNydsajEV8KYT0MEJHHPJk9E8hPyqFrtmbuSrUIQ 47GkNnpPwfalgMK/ux0XciVUve/utSmqlo3pBkphBhbJzwJdWds8pQXuMyzeVVQb1hSC +Ucw== Sender: isar-users@googlegroups.com X-Gm-Message-State: AOAM531Y7CzWfFMgT7G36lwJAGODsD0FEzexq6IJF1pRyuHfa1JJ7d80 /SKwpn8axUcEC3dkLBZFDZE= X-Google-Smtp-Source: ABdhPJyx+FA//xqRynSGqXzAY3EARe2BzKYGgfpASIVJDr5D84RRdi2488B9KdBvdiXODB7LRd7wGQ== X-Received: by 2002:a2e:87ce:: with SMTP id v14mr16104309ljj.380.1643716660948; Tue, 01 Feb 2022 03:57:40 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6512:22d1:: with SMTP id g17ls169440lfu.2.gmail; Tue, 01 Feb 2022 03:57:40 -0800 (PST) X-Received: by 2002:a05:6512:22c6:: with SMTP id g6mr19268080lfu.615.1643716659944; Tue, 01 Feb 2022 03:57:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643716659; cv=none; d=google.com; s=arc-20160816; b=IPUpX2w6qROyHrbZ6mFFODtforh3smLAcgOK7Et7VyHWdBNpv5Gr3C5+fZUUKnChkS iq7qCZCix3poQUPUNvuwYul6CouXfa3IqE9lk4kxL4nywvVUmb+4bpRcS3f6TB7u6YjS mTJz1vosw91HDAKUuSo9ZZ4NGOnVAiGPvg6RNuVRwn6nAuyzByYrnLXIXD/8tXlUKxBb noilXFj91IH9HrQ6xaV9G8ugx7aRlBssxknJ5hEEppDp/HOu7mIMTJxyVzUTHu+1quP6 roFkQL1qVxNGGW16N3ATvXnM8+OFhH9jUzEPl9ClV3o70k01myDBDOutfL3CVnE0fLvw AJzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:ironport-sdr:ironport-sdr; bh=aR+/FiwuHVX6C2nmBl21rCEOj6KgejTGpxxAsB4y6pc=; b=B2aUtwLHjAKp+hsRX/lTgdnb8u8eCnNpaB1jTGlbkjjTd31W/N0kmUuCFcJmNBwj57 IdCaAb2KsTKpbB1QNiQH9TFoIdSaYlFmptkKDdDVFa6jPp8YrfoL5T6z5qV69IrLzyQ7 3Ps6n2h1HJVBx/J5yxOO+/QuZ6ItV3Fbj6yau3TjnleKkQ2Th0ryg8cbwpsvZhjbTzlM 8OzICoyqER6PCMUFwStffekf8KJy5zPMUzmU9Pf6uPjQBoaLeZxrnQBhMDcAnby/6MUk 1zWAY+oCR9DzHQos0UPIbILvNjGrIKuqt0J7mvF625n7E/1PlTc32NooDfGPKJa2Zxaa voWA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.137.180 as permitted sender) smtp.mailfrom=Vijaikumar_Kanagarajan@mentor.com Received: from esa3.mentor.iphmx.com (esa3.mentor.iphmx.com. [68.232.137.180]) by gmr-mx.google.com with ESMTPS id l17si102917lje.5.2022.02.01.03.57.39 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Feb 2022 03:57:39 -0800 (PST) Received-SPF: pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.137.180 as permitted sender) client-ip=68.232.137.180; IronPort-SDR: /HXOJ3Hq/WhPUpcBSJEXmTmLqa72Ksz0Jk6qBZEWPdyEFuxg8YyTodXHKVjaqeiHwEZEqli0Pr u1EambMFw0lDACGJ1BMTKzpp/vzMB13gKQLeAyUQuxuw2BjzzR2UpMNrkD9TmBL3f6Tn8H3sHQ tqafQZNVshcbObMH9RnAWkllFTtQr3kVUdHHc1W7W03+4S9fBnwMrLxltfXZxkv9dGnBHrNUMu I5rC5tWTscJGXP8NOdqWNpwuuNIOvRTkF2mXjH9Uj3m2FvF/SzCKDyPxAn/44ujN/UbOwQmAC6 o4gEM75sItxPBTbUSq2Pe0Bd X-IronPort-AV: E=Sophos;i="5.88,333,1635235200"; d="scan'208";a="71289691" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa3.mentor.iphmx.com with ESMTP; 01 Feb 2022 03:57:39 -0800 IronPort-SDR: jOLbhz5OyntdmrLvty2Qv8CLUgyo65hVM6pfsXTpy1qDB5UN+bTvNhG3q+Dc7cbwziVI5r1A45 p6LrO3Ulz/1Kf08KvJcoP26GVr9c0aLkjCquET15ZipuoFzzBMDm+C/OcGJyH4lOfX+gM9rmZ2 cQemHDnO2xWfnpLtQVeWqyWeYQRogZh5l/6gbfC/xiXJWcTn1QlmQKcK0S+c5KjcUuKi4JbYm2 ++IDqkMbnLNpQS2wEwUClVTOo/IM2nfftwvCuGIYqskZpwGhR4eT/3HVD+euR/ZhxwHZRdjvie u50= From: Vijai Kumar K To: , CC: Vijai Kumar K Subject: [PATCH v5 2/4] meta-isar: u-boot: Migrate to U_BOOT_BUILD_PROFILES Date: Tue, 1 Feb 2022 17:27:11 +0530 Message-ID: <20220201115713.3062835-3-Vijaikumar_Kanagarajan@mentor.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220201115713.3062835-1-Vijaikumar_Kanagarajan@mentor.com> References: <20220201115713.3062835-1-Vijaikumar_Kanagarajan@mentor.com> MIME-Version: 1.0 X-ClientProxiedBy: svr-orw-mbx-14.mgc.mentorg.com (147.34.90.214) To svr-orw-mbx-01.mgc.mentorg.com (147.34.90.201) X-Original-Sender: vijaikumar_kanagarajan@mentor.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.137.180 as permitted sender) smtp.mailfrom=Vijaikumar_Kanagarajan@mentor.com Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_MED, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-getmail-retrieved-from-mailbox: INBOX Migrate u-boot recipe to use U_BOOT_BUILD_PROFILES instead of U_BOOT_TOOLS_PACKAGE variable Signed-off-by: Vijai Kumar K --- meta-isar/recipes-bsp/u-boot/u-boot-de0-nano-soc_2020.10.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-isar/recipes-bsp/u-boot/u-boot-de0-nano-soc_2020.10.bb b/meta-isar/recipes-bsp/u-boot/u-boot-de0-nano-soc_2020.10.bb index dcb76c5..640b7ea 100644 --- a/meta-isar/recipes-bsp/u-boot/u-boot-de0-nano-soc_2020.10.bb +++ b/meta-isar/recipes-bsp/u-boot/u-boot-de0-nano-soc_2020.10.bb @@ -6,4 +6,4 @@ require u-boot-${PV}.inc # Just for testing purposes, distro package would be recent enough -U_BOOT_TOOLS_PACKAGE = "1" +U_BOOT_BUILD_PROFILES += "tools" From patchwork Tue Feb 1 01:57:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vijai Kumar K X-Patchwork-Id: 1385 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3) with LMTPA; Tue, 01 Feb 2022 12:57:50 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-lj1-f191.google.com (mail-lj1-f191.google.com [209.85.208.191]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPS id 211BvnYs018317 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 1 Feb 2022 12:57:50 +0100 Received: by mail-lj1-f191.google.com with SMTP id m8-20020a2ea888000000b0023d50aba238sf5295622ljq.22 for ; Tue, 01 Feb 2022 03:57:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1643716664; cv=pass; d=google.com; s=arc-20160816; b=DV0DYJX+XCeqYUWk1urBLjFeEDSRm22CWeRFG2636BrK/7blA7WQAG88fxZbltZa75 TqAc+ZFOrjggO4Un6381BtF21JYFzv84VSZmPvC9uIvEwGZBLxzpx5JGYi0qW2OwMMqF RT0VvErQfZjwW7x901Usw5RqiUHRgJ3oAHc8nKMttiqbqsJ7RbmNelOh0HXo1c8nIpgD 1G9oUD9n39sfUcye9hkdPDinrRJ5odmI4+LfbVezrmMhPUUureHUGZlPzKk2e28LMn72 1co9jL6mgbhOkFZgG8UosCtOiiElaK/48auoRph6Wiugb7e9eJ0yc4BPhAPSr0rvaQdj A4Yw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:ironport-sdr:ironport-sdr:sender :dkim-signature; bh=2W4kC2/KJ6w6HbSC0nNWMeAI7I1g6Q7ZVZnORKyP/q0=; b=HeUR33Za7XD0+08oiBSCS1qC1NS+TlJZBUsS4Mz08oiszE4LkDc+jfMgC5FP0Up4Zo C1gxYZOymbP1RbkRWqTvXfNl75p+gx3n7zJj/u75hTa8DfmwSpO8Wq/jws3fOdsqFodp G+PkS0HZw4u+KAm3z6grfJHElusyB6WdiJ7gTyc/9jgEO7VeMKywQyCSaY0o0BivLg2b jyNXZUx7PC6B0HG06lw1ntZXMgDtK2YXie3IwJJPWm3VfdMY1dCAPlBj6kQmH9ZwPQHV YiRNVmm8f23+r9wPpetUYrO3IPzuaujNkgwIbsLuJEfbw8mJoh4KcZkuQ6JNj5hf+mJl U/OA== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.137.180 as permitted sender) smtp.mailfrom=Vijaikumar_Kanagarajan@mentor.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:ironport-sdr:ironport-sdr:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=2W4kC2/KJ6w6HbSC0nNWMeAI7I1g6Q7ZVZnORKyP/q0=; b=b4dUloRnt8XDE1MoSKgPhNy9DRR0cwRqW3dDNm+R38sdLeDyrDVyDigvlk9THOVej5 vIenJf9yKdSjGCX/QBP0/deXymMDDzJhVA9c+4UmS/RylCQpTX90PAKa9qNUNKEER0RQ 2IL9rJmqPjw1RyGav4KSirvOZDTLQ/brYVgHJ4IifS8UtaMdJBvBfWLKnUkpuz5vfd+M gBun3iww90QSc5ME0IevjJE61dhJFohC1/yUtJWlviQcjrZsIxeQhRluaEjzXiUR6tZh 786oXptZ7QmuXZdbtVHKbXGuNwYehbUZKEjFa7Viw1hTmXL+0mcUxGal2xFNQ5UCwNbO k9fA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:ironport-sdr:ironport-sdr:from:to:cc :subject:date:message-id:in-reply-to:references:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=2W4kC2/KJ6w6HbSC0nNWMeAI7I1g6Q7ZVZnORKyP/q0=; b=AEnnoTJ0+DOED0/y8tlwYjE/8R45YI+s+0RvQNYTA1o1kUxxWxQ/ZuYzKLGHmiLEFz OEEh4EzHc2ZQJfApinAK2hcCY3bus79ISonxlUE51jTAyxlHE8Yic1b1OLTCXZlDuoas GtEA3BWsyeZnHfRAhNnChq6SG7yC0z9wqG+LaAD8+oHZeuy5ysNxJePd9fjwuc/zCV4j E7dKa9I0BMPiWw0DhmDei+q+5JRaFrTFoaiwRzzi2TDjH/pMGAXGFuenAV6v/NbkH8Ah DRj/FSiGwbgV6/UXnuEOPsmsDwUDcRli0tBclbvF2jX8Rn04/lRRw0c2ltAjsMw6YOga 8Ybg== Sender: isar-users@googlegroups.com X-Gm-Message-State: AOAM5301qzd/COubME2BIluDmJpgymmETG0hswUmQ7vzTb92T9jmre8F 2XPCLi1DiSTbzPhSiPQctSc= X-Google-Smtp-Source: ABdhPJzlEPYmJS6RvIEwoQpt+HjljpHbpmYNCRZqUan0hS7KmWniSSXcQUD019MO70YYRefIH72BDQ== X-Received: by 2002:a2e:b444:: with SMTP id o4mr9245684ljm.477.1643716664409; Tue, 01 Feb 2022 03:57:44 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6512:22d1:: with SMTP id g17ls169547lfu.2.gmail; Tue, 01 Feb 2022 03:57:43 -0800 (PST) X-Received: by 2002:a05:6512:2351:: with SMTP id p17mr18252990lfu.431.1643716663194; Tue, 01 Feb 2022 03:57:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643716663; cv=none; d=google.com; s=arc-20160816; b=OYmQALdA2uBKdeXvTaS22nwcFxPTS3I79MBoUE5DT8dyHD2LeKBHibx2PSa8iCsjmj baxzLTPLf56Ztu8/37cWD4lATdLrt4z/I0xYnB/WixGoWLoTqwO6LhZLtdhpPExOGmSf pLZT5xplACT1BJvCb4ocbsal1oK0k+NmpCCUl5JvJvENUC+vocIreZhreAHPkDblyus5 ICxvoQUPBwwXLgCxalUoeEEAeaVs/GTC0+CBY/rbPQwJ8/3Avk5uIQp8Y8f+HoJ3ompJ JU/d80Rv0RAN5ZWJCYdjCqUFDT7U/CvSOzpERgplmNcRIpBqM2xkTvOBR9CGTfP3ZoG8 ljWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:ironport-sdr:ironport-sdr; bh=q7HMhMizBEASG2qpz/jftAOLbEpXgxID0CLtGBGFvus=; b=Ae+pHQykpvFCI1rbYU5gPAr6ztgOz87kiZXHubWRhCJzDbDNcAuiKydtlj/X6chA9Y TUX/u1yIIi8JCkq2lk6GeEiyOO4xwqxnnJ1JwLm4KYN8bLb5PhJAMZcWWGu/cRBmsH6i yPUtH+TI9iIx3PY2YvgBnUEDXY6WliH0882M7iLPzDeb2x/AZi686HZdpIILrZogPEkY aDPtrS8RDmexqzuavGqAS5YLelbJVtau5pJl2FGuUQexMAENwoVe0A4k5F7SGqepxPJR XOX1gyUBKAAHBaVA7HrPX7APXykZsFdki+rBb5ju3seQPDcB1Z4zjFV/x7krgHecLt7v jDTw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.137.180 as permitted sender) smtp.mailfrom=Vijaikumar_Kanagarajan@mentor.com Received: from esa3.mentor.iphmx.com (esa3.mentor.iphmx.com. [68.232.137.180]) by gmr-mx.google.com with ESMTPS id l17si102917lje.5.2022.02.01.03.57.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Feb 2022 03:57:43 -0800 (PST) Received-SPF: pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.137.180 as permitted sender) client-ip=68.232.137.180; IronPort-SDR: sbX1j2ruO3NyxTJG8xQdut1R4gM1+RM6ESel+3lJK7rOaE2l2BATYBsu4gSIL0nNvHJxi8ogob +MUcIlM2mQZgBjpGU52U174WUlngXpX5DwUkH6nrF1UqJO4kOue/IGk6XVz2m6yboWHbwfGhBu GZp1a2zh4U9XteNWx1AD8UFluR3FyRUdXCo/1wSMwHzQG9lYmU5ZS/qJ8MtExrjB3WZGJlPrBU 3Pztkci0AQooNjh9My12GfSVlHRkzyVSbSDA0or2AExsn8nI6F05G+MdWHBshJ4z5GHyw+7Nbm am3KB7tA5jJxIG1ckCObjwnx X-IronPort-AV: E=Sophos;i="5.88,333,1635235200"; d="scan'208";a="71289692" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa3.mentor.iphmx.com with ESMTP; 01 Feb 2022 03:57:42 -0800 IronPort-SDR: emcT/yx4Ootuude4NQyOkUfoyFZJJUKiRirsg5o8bUdTI8pGdlNswGJ6GDR47snsP8DgBxX6TH qKi7ktHk5qQdNOJYp+7x8HDGflFM5U6008B7ymSV+ku9/iBAHr8oyydPmKypsSV1131a2ORdKr 4NLqY7VoZyZnBw2BxwMgNsE2lqYJ0Jp8nyKE33l6iIRCLIbQX+a5lxCv0dsRzBukqNv45wNelA rxUbdvGRGmMnKZ1pMucKEHubUZDuF7Kl0P444Nfj/Hrqn48n1KInnTnjZVALEcZudTZO0njS6D pTA= From: Vijai Kumar K To: , CC: Vijai Kumar K Subject: [PATCH v5 3/4] meta: u-boot: Prepare for newer versions Date: Tue, 1 Feb 2022 17:27:12 +0530 Message-ID: <20220201115713.3062835-4-Vijaikumar_Kanagarajan@mentor.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220201115713.3062835-1-Vijaikumar_Kanagarajan@mentor.com> References: <20220201115713.3062835-1-Vijaikumar_Kanagarajan@mentor.com> MIME-Version: 1.0 X-ClientProxiedBy: svr-orw-mbx-14.mgc.mentorg.com (147.34.90.214) To svr-orw-mbx-01.mgc.mentorg.com (147.34.90.201) X-Original-Sender: vijaikumar_kanagarajan@mentor.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.137.180 as permitted sender) smtp.mailfrom=Vijaikumar_Kanagarajan@mentor.com Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_MED, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-getmail-retrieved-from-mailbox: INBOX Newer versions of u-boot require libssl-dev:native for compilation. It also needs libssl-dev of the host architecture for cross compilation of tools. Signed-off-by: Vijai Kumar K --- meta/recipes-bsp/u-boot/u-boot-custom.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-bsp/u-boot/u-boot-custom.inc b/meta/recipes-bsp/u-boot/u-boot-custom.inc index 5198809..dd69c00 100644 --- a/meta/recipes-bsp/u-boot/u-boot-custom.inc +++ b/meta/recipes-bsp/u-boot/u-boot-custom.inc @@ -41,7 +41,8 @@ python() { d.setVar('U_BOOT_BUILD_PROFILES_remove', "config") } -DEBIAN_BUILD_DEPENDS ?= "bc, bison, flex, device-tree-compiler, git" +DEBIAN_BUILD_DEPENDS ?= "bc, bison, flex, device-tree-compiler, git, \ + libssl-dev:native, libssl-dev " TEMPLATE_FILES = "debian/control.tmpl" TEMPLATE_VARS += "MACHINE DEBIAN_BUILD_DEPENDS" From patchwork Tue Feb 1 01:57:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vijai Kumar K X-Patchwork-Id: 1387 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3) with LMTPA; Tue, 01 Feb 2022 12:57:56 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-lj1-f188.google.com (mail-lj1-f188.google.com [209.85.208.188]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPS id 211BvqMw018334 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 1 Feb 2022 12:57:53 +0100 Received: by mail-lj1-f188.google.com with SMTP id a13-20020a2eb54d000000b0023f5f64ae4fsf4280692ljn.4 for ; Tue, 01 Feb 2022 03:57:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1643716667; cv=pass; d=google.com; s=arc-20160816; b=I0fp4sKAJ60/p6+8foA911Epdq4eI/oxQW5QXDBsaaxE0qB+ljBoEJhljo0qMua8rh Uqh+GeZZEUwzKBCGaZ1JxOAQGa+GxoBvIDbS0DWdXF48PZJw6FDQYI7MQ0hFvcHqgsZP 5KoFbmFDrE4CsEkU/pyGf4jJFbwL5H2ln8vQyjrPNU6uvLW5pV7EXOELVL3SmUUqqLp+ luowy19UmF/yTxsjAs/Z+Nrgqh2+RHe/C8YRjThLvNghZQ+aQuInvOk2Npe4wzCVboCv OwvTQV3Cfe2bjLmnEC9x44brfdnur04PLilcwUH6CuKlvqmj9s18su/PnxXDnChkZwxs 5Lsg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:ironport-sdr:ironport-sdr:sender :dkim-signature; bh=1cZLlOJA7tEtjUvmJMYLk8efFtoGbwYeMv7ymaLLHSA=; b=VlcUgw5KB3Lhtz8gK8L8bERv7N+tLj+tDh+1y4f5F8LQPZz00b6qnBN4Umb1VJjSd/ fwolRYWwmMSwhRDwDvkLBHaY024zZyXgN4cYo5zffRkpigNs1GvpkzZqtMTP/vJi72Vz A7ymbSiYwlUx34GFjdPpyX1LClY6ux+pTUSagT1rMj3qGC41Bbi2LMby2TT16H2wjp9q sNG0LofF1v/DpSKthOP6y4RY+WDuYRHAIC/4e8v7Wuv8ZF7UbPZ+cnqWTyhtTx/YpjlZ WNl8EDQphlWXEafr379J4uUrA+/uAMD41DYt7pQAHexggUklhpcja9EcoB5VEw0bNPVQ 6gew== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.137.180 as permitted sender) smtp.mailfrom=Vijaikumar_Kanagarajan@mentor.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:ironport-sdr:ironport-sdr:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=1cZLlOJA7tEtjUvmJMYLk8efFtoGbwYeMv7ymaLLHSA=; b=OQ/48WrUmVuz4fRcAt+NVtfy9w2iZpiXUJJQ8ISojhfYSwHHn5Cclh6fsOnd85RKRm KLZtqyj592+ZaaUnlt68p0rc75PJH6Uh5MTeL5Ocr2H5/UY6n+ZfkQBfFLWLJThwdlnN HgeFLXK3DK9stsr6acbYvChrcq0rEcc0owAWrJuw4FtSnHdDFw4WfX4jCgRK/aXltcsd SgBHmxf1pHqoIEXgTaXslFY8olV5C40TNDDeRvpON07bJikewsJcqCF47eqVgyEd1RZp i+CrSPnVTNjhrUyF1myit+gTWRSXSLM8ApYIz8d4TjsBudBAOvFgAC5XQNgOGGCex2+P vpjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:ironport-sdr:ironport-sdr:from:to:cc :subject:date:message-id:in-reply-to:references:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=1cZLlOJA7tEtjUvmJMYLk8efFtoGbwYeMv7ymaLLHSA=; b=aZ0YeQQjX23wNtFtTrHeXHzkfvO5ouZBeliLsbiHTdVWMdjPUWdC7rnRyYcmvz/r0Y X1bkGIKRj6ivRW8IWvVTa2bH5FmnFty/rhTvRTM2Nanw9uAR1JPw3f+H2hTVk2i9oHox HaDqVhqXTXtR1vjGVFKESnqP79JQaPBjLhcUas21QFx6Qs4SaRYy4rZzEtgh3u+L+9D3 fetrdPzn9qtxmwNCzd5cH7ErgzPHkSo2Own7/tZXeXpJsRVqC6Xka5Lb2TSXbDo3sUoX YOX+BuxF3CTNHDr/C4VlzzL+92wIS7P8TrZGMX423HthiQNGwOlX5a/dyhoQh9dLsAGj b22w== Sender: isar-users@googlegroups.com X-Gm-Message-State: AOAM531JW0pAUzaJ/ZQwKax1pS75kTaWT+GSv+u0hsrFpFnuFJGXOSgS B+EzzLAH/Kc7MIYELqzsnY0= X-Google-Smtp-Source: ABdhPJzsJ5HeROC6Cw8NBTyAS+Mxc8ukVde4nh7pEtnTjlJsSpTICcMdkz8WnPyPFI9g3IsI8mV3Hw== X-Received: by 2002:a05:6512:10d1:: with SMTP id k17mr18638969lfg.500.1643716667600; Tue, 01 Feb 2022 03:57:47 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:651c:198d:: with SMTP id bx13ls3189778ljb.2.gmail; Tue, 01 Feb 2022 03:57:46 -0800 (PST) X-Received: by 2002:a05:651c:108:: with SMTP id a8mr17007445ljb.479.1643716666541; Tue, 01 Feb 2022 03:57:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643716666; cv=none; d=google.com; s=arc-20160816; b=uQAWM7vjXRAQ2p9173lpZUrSPjdcdi2Zb+EEBG2cJUb4gQftI1ZaAykRMuIEVRXiNH a6m8KkRIQpJ5aDTShv+EK/ixJgKvkm0STzkiswn0kOyCy0E1GpS+9O02ikIbQ+qPEJkQ ysI/l9Y+VNJHNwyjy4uxyXKZzQNbbErNukAKoFoPr8vspPw8UvHRks1F0ymBOw2KgdBh D3XRxGgI3Oc8EEGVD1x1n5AkTcRTrAg5HJRahZLissteT1unBCiVaWEGr6HcRek1ksCY ZW3tBMsukkl4U2NHq6gjuAiIJnSPAWae+Z7y22rYo55bOJ+tzL+W20QZ/6qMztKykrVP HYuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:ironport-sdr:ironport-sdr; bh=lKGCq+wanhWJ19ScFmuOa5T174EVgY2KT77VCo/jcqU=; b=BRhjW7Ie1KKsBEyF1P3FtzSCrIkHr4pRd7tnrqPEN9sS4F8dGIN0OOCrvCJch1dUVD JHMDMRF/oRNUUyIre4+XmbssyekRItNcwGspQnM9tyzOxhbRnz/r/e0JSRT4PbaR5hz8 gCMo++OjDnW+lyQq99QZ0U9x/gegncF7Dz2H0vxgjvGXgtsD/N20U2Sot2szLLL/uIE9 eaai6HunECfSHwe80ZemP/KohiBmRSzqcxC/8w7W+ebSCaosMg8pkm0j79cWgnOzx0o4 J9ry1qXDYDOewlLb9yeLDbcYGe+wIonQwjy60y5X82MTxmEKnPnAMiqJ6xaFVsx/HHo5 sOvw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.137.180 as permitted sender) smtp.mailfrom=Vijaikumar_Kanagarajan@mentor.com Received: from esa3.mentor.iphmx.com (esa3.mentor.iphmx.com. [68.232.137.180]) by gmr-mx.google.com with ESMTPS id l17si102917lje.5.2022.02.01.03.57.45 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Feb 2022 03:57:46 -0800 (PST) Received-SPF: pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.137.180 as permitted sender) client-ip=68.232.137.180; IronPort-SDR: TRTioGUijpg7U7/HUEEWyuWWtCzESIQtE9DU8s3Ae7eQsZLGlNp70OLEXSGMgyaH2m3XSPB33x 9IJVdPIXYzboFr91SRCeOf2VBwxCpNbLWidfl5zSd4bKxxAXeIquA2ZW60aW5M7iI44qF4gNgW JeCiRhaZwXeab4ncrXaLgTgL/RCg4Mv8WR1DMEf4Wrc7hcn5+6RkhxgoCMlBqvmGBctML697oc x46sWfMOjiRbLn2ugGgDnSgyHrbEU6fEdvG4t/yKa8rLeqcIoFu6McF6Yt0eDWYI1HbBY+hWYr bSQnxARm+jDn7Cyz+ZW/IRry X-IronPort-AV: E=Sophos;i="5.88,333,1635235200"; d="scan'208";a="71289693" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa3.mentor.iphmx.com with ESMTP; 01 Feb 2022 03:57:45 -0800 IronPort-SDR: 6u08eWI9u5HzVHGfaWGBYaVcRk273YfRxZ+ys3vWTclejwVQTpHjOFBl/TrWygRGK++8emV6eX XZtUfCNAH9yuIJG5UMNXDJZ/ondOiwtSUErgM+W7A0+FXqoCwChYDIXc14+/d4g3g9Km/iIllE SmUrPNeoGpU6L/D76n273E7aosI5OqF6wUXOrkg4KWdN7wA0EXFhrs+8F1camzZyirks/vaP3L sP1o2OQipan++ORJUYWrDXaBFQbjVrxmy5Vh3/A+s0aFRKu0xXNdGTgHneUWkuYwHf+i3Vcx6V WmU= From: Vijai Kumar K To: , CC: Vijai Kumar K Subject: [PATCH v5 4/4] meta-isar: u-boot: Update to 2022.01 Date: Tue, 1 Feb 2022 17:27:13 +0530 Message-ID: <20220201115713.3062835-5-Vijaikumar_Kanagarajan@mentor.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220201115713.3062835-1-Vijaikumar_Kanagarajan@mentor.com> References: <20220201115713.3062835-1-Vijaikumar_Kanagarajan@mentor.com> MIME-Version: 1.0 X-ClientProxiedBy: svr-orw-mbx-14.mgc.mentorg.com (147.34.90.214) To svr-orw-mbx-01.mgc.mentorg.com (147.34.90.201) X-Original-Sender: vijaikumar_kanagarajan@mentor.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.137.180 as permitted sender) smtp.mailfrom=Vijaikumar_Kanagarajan@mentor.com Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_MED, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-getmail-retrieved-from-mailbox: INBOX Update to the latest u-boot. Signed-off-by: Vijai Kumar K --- ...y-add-property-no-map-to-created-res.patch | 151 ------------------ ...rty-no-map-to-secure-reserved-memory.patch | 33 ---- ...{u-boot-2020.10.inc => u-boot-2022.01.inc} | 4 +- ...0.10.bb => u-boot-de0-nano-soc_2022.01.bb} | 2 +- .../u-boot/u-boot-stm32mp15x_2020.10.bb | 10 -- .../u-boot/u-boot-stm32mp15x_2022.01.bb | 6 + 6 files changed, 9 insertions(+), 197 deletions(-) delete mode 100644 meta-isar/recipes-bsp/u-boot/files/0001-fdtdec-optionally-add-property-no-map-to-created-res.patch delete mode 100644 meta-isar/recipes-bsp/u-boot/files/0002-optee-add-property-no-map-to-secure-reserved-memory.patch rename meta-isar/recipes-bsp/u-boot/{u-boot-2020.10.inc => u-boot-2022.01.inc} (60%) rename meta-isar/recipes-bsp/u-boot/{u-boot-de0-nano-soc_2020.10.bb => u-boot-de0-nano-soc_2022.01.bb} (81%) delete mode 100644 meta-isar/recipes-bsp/u-boot/u-boot-stm32mp15x_2020.10.bb create mode 100644 meta-isar/recipes-bsp/u-boot/u-boot-stm32mp15x_2022.01.bb diff --git a/meta-isar/recipes-bsp/u-boot/files/0001-fdtdec-optionally-add-property-no-map-to-created-res.patch b/meta-isar/recipes-bsp/u-boot/files/0001-fdtdec-optionally-add-property-no-map-to-created-res.patch deleted file mode 100644 index 8a32fc1..0000000 --- a/meta-isar/recipes-bsp/u-boot/files/0001-fdtdec-optionally-add-property-no-map-to-created-res.patch +++ /dev/null @@ -1,151 +0,0 @@ -From ccaa5747bdeae4261199dd7e80771e4de1c550ca Mon Sep 17 00:00:00 2001 -From: Etienne Carriere -Date: Thu, 10 Sep 2020 10:49:59 +0200 -Subject: [PATCH] fdtdec: optionally add property no-map to created reserved - memory node - -Add boolean input argument @no_map to helper function -fdtdec_add_reserved_memory() to add or not "no-map" property -for an added reserved memory node. - -Property no-map is used by the Linux kernel to not not map memory -in its static memory mapping. It is needed for example for the| -consistency of system non-cached memory and to prevent speculative -accesses to some firewalled memory. - -No functional change. A later change will update to OPTEE library to -add no-map property to OP-TEE reserved memory nodes. - -Signed-off-by: Etienne Carriere -Signed-off-by: Patrice Chotard -Reviewed-by: Simon Glass ---- - arch/riscv/lib/fdt_fixup.c | 2 +- - include/fdtdec.h | 5 +++-- - lib/fdtdec.c | 10 ++++++++-- - lib/optee/optee.c | 2 +- - test/dm/fdtdec.c | 6 +++--- - 5 files changed, 16 insertions(+), 9 deletions(-) - -diff --git a/arch/riscv/lib/fdt_fixup.c b/arch/riscv/lib/fdt_fixup.c -index 5b2420243f..d02062fd5b 100644 ---- a/arch/riscv/lib/fdt_fixup.c -+++ b/arch/riscv/lib/fdt_fixup.c -@@ -75,7 +75,7 @@ int riscv_fdt_copy_resv_mem_node(const void *src, void *dst) - pmp_mem.start = addr; - pmp_mem.end = addr + size - 1; - err = fdtdec_add_reserved_memory(dst, basename, &pmp_mem, -- &phandle); -+ &phandle, false); - if (err < 0 && err != -FDT_ERR_EXISTS) { - log_err("failed to add reserved memory: %d\n", err); - return err; -diff --git a/include/fdtdec.h b/include/fdtdec.h -index 152eb07b9e..62d1660973 100644 ---- a/include/fdtdec.h -+++ b/include/fdtdec.h -@@ -1029,7 +1029,7 @@ static inline int fdtdec_set_phandle(void *blob, int node, uint32_t phandle) - * }; - * uint32_t phandle; - * -- * fdtdec_add_reserved_memory(fdt, "framebuffer", &fb, &phandle); -+ * fdtdec_add_reserved_memory(fdt, "framebuffer", &fb, &phandle, false); - * - * This results in the following subnode being added to the top-level - * /reserved-memory node: -@@ -1056,11 +1056,12 @@ static inline int fdtdec_set_phandle(void *blob, int node, uint32_t phandle) - * @param carveout information about the carveout region - * @param phandlep return location for the phandle of the carveout region - * can be NULL if no phandle should be added -+ * @param no_map add "no-map" property if true - * @return 0 on success or a negative error code on failure - */ - int fdtdec_add_reserved_memory(void *blob, const char *basename, - const struct fdt_memory *carveout, -- uint32_t *phandlep); -+ uint32_t *phandlep, bool no_map); - - /** - * fdtdec_get_carveout() - reads a carveout from an FDT -diff --git a/lib/fdtdec.c b/lib/fdtdec.c -index 56bf9fcc79..b8fc5e2bff 100644 ---- a/lib/fdtdec.c -+++ b/lib/fdtdec.c -@@ -1316,7 +1316,7 @@ static int fdtdec_init_reserved_memory(void *blob) - - int fdtdec_add_reserved_memory(void *blob, const char *basename, - const struct fdt_memory *carveout, -- uint32_t *phandlep) -+ uint32_t *phandlep, bool no_map) - { - fdt32_t cells[4] = {}, *ptr = cells; - uint32_t upper, lower, phandle; -@@ -1416,6 +1416,12 @@ int fdtdec_add_reserved_memory(void *blob, const char *basename, - if (err < 0) - return err; - -+ if (no_map) { -+ err = fdt_setprop(blob, node, "no-map", NULL, 0); -+ if (err < 0) -+ return err; -+ } -+ - /* return the phandle for the new node for the caller to use */ - if (phandlep) - *phandlep = phandle; -@@ -1481,7 +1487,7 @@ int fdtdec_set_carveout(void *blob, const char *node, const char *prop_name, - fdt32_t value; - void *prop; - -- err = fdtdec_add_reserved_memory(blob, name, carveout, &phandle); -+ err = fdtdec_add_reserved_memory(blob, name, carveout, &phandle, false); - if (err < 0) { - debug("failed to add reserved memory: %d\n", err); - return err; -diff --git a/lib/optee/optee.c b/lib/optee/optee.c -index 457d4cca8a..963c2ff430 100644 ---- a/lib/optee/optee.c -+++ b/lib/optee/optee.c -@@ -192,7 +192,7 @@ int optee_copy_fdt_nodes(const void *old_blob, void *new_blob) - ret = fdtdec_add_reserved_memory(new_blob, - nodename, - &carveout, -- NULL); -+ NULL, false); - free(oldname); - - if (ret < 0) -diff --git a/test/dm/fdtdec.c b/test/dm/fdtdec.c -index 716993f706..4119003041 100644 ---- a/test/dm/fdtdec.c -+++ b/test/dm/fdtdec.c -@@ -80,7 +80,7 @@ static int dm_test_fdtdec_add_reserved_memory(struct unit_test_state *uts) - resv.start = 0x1000; - resv.end = 0x1fff; - ut_assertok(fdtdec_add_reserved_memory(blob, "rsvd_region", -- &resv, &phandle)); -+ &resv, &phandle, false)); - - /* Test /reserve-memory and its subnode should exist */ - parent = fdt_path_offset(blob, "/reserved-memory"); -@@ -101,7 +101,7 @@ static int dm_test_fdtdec_add_reserved_memory(struct unit_test_state *uts) - resv.start = 0x2000; - resv.end = 0x2fff; - ut_assertok(fdtdec_add_reserved_memory(blob, "rsvd_region1", -- &resv, &phandle1)); -+ &resv, &phandle1, false)); - subnode = fdt_path_offset(blob, "/reserved-memory/rsvd_region1"); - ut_assert(subnode > 0); - -@@ -115,7 +115,7 @@ static int dm_test_fdtdec_add_reserved_memory(struct unit_test_state *uts) - resv.start = 0x1000; - resv.end = 0x1fff; - ut_assertok(fdtdec_add_reserved_memory(blob, "rsvd_region2", -- &resv, &phandle1)); -+ &resv, &phandle1, false)); - subnode = fdt_path_offset(blob, "/reserved-memory/rsvd_region2"); - ut_assert(subnode < 0); - --- -2.26.2 - diff --git a/meta-isar/recipes-bsp/u-boot/files/0002-optee-add-property-no-map-to-secure-reserved-memory.patch b/meta-isar/recipes-bsp/u-boot/files/0002-optee-add-property-no-map-to-secure-reserved-memory.patch deleted file mode 100644 index 6a39968..0000000 --- a/meta-isar/recipes-bsp/u-boot/files/0002-optee-add-property-no-map-to-secure-reserved-memory.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 3e15c315f97401f394ae83ed17fbef72b765222a Mon Sep 17 00:00:00 2001 -From: Etienne Carriere -Date: Thu, 10 Sep 2020 10:50:01 +0200 -Subject: [PATCH] optee: add property no-map to secure reserved memory - -OP-TEE reserved memory node must set property "no-map" to prevent -Linux kernel from mapping secure memory unless what non-secure world -speculative accesses of the CPU can violate the memory firmware -configuration. - -Fixes: 6ccb05eae01b ("image: fdt: copy possible optee nodes to a loaded devicetree") -Signed-off-by: Etienne Carriere -Signed-off-by: Patrice Chotard ---- - lib/optee/optee.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lib/optee/optee.c b/lib/optee/optee.c -index 963c2ff430..9e6606568f 100644 ---- a/lib/optee/optee.c -+++ b/lib/optee/optee.c -@@ -192,7 +192,7 @@ int optee_copy_fdt_nodes(const void *old_blob, void *new_blob) - ret = fdtdec_add_reserved_memory(new_blob, - nodename, - &carveout, -- NULL, false); -+ NULL, true); - free(oldname); - - if (ret < 0) --- -2.26.2 - diff --git a/meta-isar/recipes-bsp/u-boot/u-boot-2020.10.inc b/meta-isar/recipes-bsp/u-boot/u-boot-2022.01.inc similarity index 60% rename from meta-isar/recipes-bsp/u-boot/u-boot-2020.10.inc rename to meta-isar/recipes-bsp/u-boot/u-boot-2022.01.inc index 604776a..84ee0d1 100644 --- a/meta-isar/recipes-bsp/u-boot/u-boot-2020.10.inc +++ b/meta-isar/recipes-bsp/u-boot/u-boot-2022.01.inc @@ -1,5 +1,5 @@ # -# Copyright (c) Siemens AG, 2018-2020 +# Copyright (c) Siemens AG, 2018-2022 # # SPDX-License-Identifier: MIT @@ -8,6 +8,6 @@ require recipes-bsp/u-boot/u-boot-custom.inc SRC_URI += " \ https://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 \ " -SRC_URI[sha256sum] = "0d481bbdc05c0ee74908ec2f56a6daa53166cc6a78a0e4fac2ac5d025770a622" +SRC_URI[sha256sum] = "81b4543227db228c03f8a1bf5ddbc813b0bb8f6555ce46064ef721a6fc680413" S = "${WORKDIR}/u-boot-${PV}" diff --git a/meta-isar/recipes-bsp/u-boot/u-boot-de0-nano-soc_2020.10.bb b/meta-isar/recipes-bsp/u-boot/u-boot-de0-nano-soc_2022.01.bb similarity index 81% rename from meta-isar/recipes-bsp/u-boot/u-boot-de0-nano-soc_2020.10.bb rename to meta-isar/recipes-bsp/u-boot/u-boot-de0-nano-soc_2022.01.bb index 640b7ea..467609e 100644 --- a/meta-isar/recipes-bsp/u-boot/u-boot-de0-nano-soc_2020.10.bb +++ b/meta-isar/recipes-bsp/u-boot/u-boot-de0-nano-soc_2022.01.bb @@ -1,5 +1,5 @@ # -# Copyright (c) Siemens AG, 2018-2020 +# Copyright (c) Siemens AG, 2018-2022 # # SPDX-License-Identifier: MIT diff --git a/meta-isar/recipes-bsp/u-boot/u-boot-stm32mp15x_2020.10.bb b/meta-isar/recipes-bsp/u-boot/u-boot-stm32mp15x_2020.10.bb deleted file mode 100644 index 39fceb2..0000000 --- a/meta-isar/recipes-bsp/u-boot/u-boot-stm32mp15x_2020.10.bb +++ /dev/null @@ -1,10 +0,0 @@ -# -# Copyright (c) Siemens AG, 2020 -# -# SPDX-License-Identifier: MIT - -require u-boot-${PV}.inc - -SRC_URI += " \ - file://0001-fdtdec-optionally-add-property-no-map-to-created-res.patch \ - file://0002-optee-add-property-no-map-to-secure-reserved-memory.patch" diff --git a/meta-isar/recipes-bsp/u-boot/u-boot-stm32mp15x_2022.01.bb b/meta-isar/recipes-bsp/u-boot/u-boot-stm32mp15x_2022.01.bb new file mode 100644 index 0000000..28b7847 --- /dev/null +++ b/meta-isar/recipes-bsp/u-boot/u-boot-stm32mp15x_2022.01.bb @@ -0,0 +1,6 @@ +# +# Copyright (c) Siemens AG, 2022 +# +# SPDX-License-Identifier: MIT + +require u-boot-${PV}.inc