From patchwork Sun Nov 21 21:28:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vijai Kumar K X-Patchwork-Id: 1097 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3) with LMTPA; Mon, 22 Nov 2021 08:28:34 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-pg1-f186.google.com (mail-pg1-f186.google.com [209.85.215.186]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPS id 1AM7SWla003141 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 22 Nov 2021 08:28:34 +0100 Received: by mail-pg1-f186.google.com with SMTP id o11-20020a635a0b000000b00320daef2ad6sf1643292pgb.3 for ; Sun, 21 Nov 2021 23:28:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1637566107; cv=pass; d=google.com; s=arc-20160816; b=F8nQ/efaHmcno2xqDnYGX5qVjLVHZdLUSi3daXkRAdH/sv3+i598Mc+4WnjaAzp8ow r40U5z7TjEvV0+OJC/WlvukPPiG/jxtFPJQGGg5zcJZKPdne8ncorlKQdGBIgCvQ2y4e 7yHbQSBbCP8/+n5Jc0B+dfIwoHyuUEcV4pYiWR3k48kDYJ2MnzynKfuK6wif7shM6MWZ lSKei0JpW79FNjMl8+h40hjmOKQE8NTfNmpraxjvZ8c0ZIE3P1tmzPwQ5gGUveRisxo0 LukIBPISbWK4YQuH+Ypeajwv+iIqHYiZuoWQcjDF0jb+N3kiQrjX7mYQWGvKro5PtMTO EBfA== 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=h2JcvB0MBrCuBCE40Sr+MNSTOOpVOY/EJ/MBH8/G7zk=; b=YYS4cRGQuxJ8ZgnghFDQtQUXaCB5ptjTdDbVTXQpI7TVNQtiOCEB6RgHmz3rjl3HpM wskI7TpSjSVn3VdYxeXChWuUQurndeBPEOUklk/lC2J4hN7B5ulKhzBQUFJ1iHcx4wVb rdj2EIl2u1T+UEliVfCz0C0rbcek5g07t/QCw21d1lBPUKNlQU3gqg96Odb88hd/f/WX +COmfzRr5nMwO7JsHJVw8RIKaQRORAexfPvHmxWL15/dTAhPYpkHgk5iLbutE9OwZKqL xIBivQXLYh81P0rqnpdQedoJKH3TTfSy3J08eUHx6uG8GxlIzuZQ3Zhe0GtVlBPAKzq1 wGnA== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.141.98 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=h2JcvB0MBrCuBCE40Sr+MNSTOOpVOY/EJ/MBH8/G7zk=; b=o02R7ovLtNHrQckiw+I6K8zcDcGKnvV3tP5JI8wKJuYtYO2idFBlwpWbXGoWNdgjCE h+wRsKHWO1pAtKafLxKQM9qQVtbzL+pe+deILCcu04SmH4+VtpjmtQhS/Jbkpc0y5BeN 0PKz/z1y75AntV6pmfPvySoyy0swilE3u8NKe749eu7uM5Broq9uxTfH1b/gx56/dybo xuq7HDJVfsYZqeR4MD5hCHfQNOxL3e27qTrXqSfxnMx1m7EGxvWyWzCJt3bPZ73giTez U1sEirxpRS0IGX46Q++HoAmEyhgwWdYLVZDGvgtks4p7OqtI4tT2FNWctq90q/8n+06d LlGw== 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=h2JcvB0MBrCuBCE40Sr+MNSTOOpVOY/EJ/MBH8/G7zk=; b=0/M+nIGm9/9S7lAbFhb0h3CzxO67n/MYD4aG72gWChL4ugjAn+LDszUJd2wgF1LZZd nAmQYUREMAR5caStLPfxvt6ggmdxc40GJo2oN4Nf8vow0s46pJhEZnt5g0D3HCJB3tF1 dGaJlD5qBeWPQBfk+ZomRo4Aj4mx4nPxcQZgxuPvXtd/K7+B8wivQOpGpu4yzVTP14eu E4aTIM7EDZ7Cgw4R/LWh9hOd92o+l+HxeK71Pdd/BVoa03L2iRiJI1Gu0LhGhMxf0G+0 atBiwpd9KLIrkSdltvGf1KgMgoRXMbUFxoJKAlwxoyyMaYLcIsKz+CWZAAXv0CYtviWi Ep1A== Sender: isar-users@googlegroups.com X-Gm-Message-State: AOAM533kef2IYcqfuQzjs7KCUEsF9ruem/E/D6ZojG6dC6DPFQZXTOqt EespBYP1I1YTezUcuUwMzXU= X-Google-Smtp-Source: ABdhPJxem60ECqKbsx1H2NcRf8uQfBfLpeR09swzXGNMQUjaQTubu5YkEZMsAuLc86Mc4BzYmpEbfw== X-Received: by 2002:a17:903:22cc:b0:142:d31:bd9 with SMTP id y12-20020a17090322cc00b001420d310bd9mr104365139plg.64.1637566107366; Sun, 21 Nov 2021 23:28:27 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:90b:1a8a:: with SMTP id ng10ls9851117pjb.1.canary-gmail; Sun, 21 Nov 2021 23:28:26 -0800 (PST) X-Received: by 2002:a17:90a:3488:: with SMTP id p8mr29219578pjb.114.1637566106718; Sun, 21 Nov 2021 23:28:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1637566106; cv=none; d=google.com; s=arc-20160816; b=SK6fHXzVMp+17Sf/FAUn2I+OpgE1+pa4TabElqJaNoBCjN+Rord/gHJtxR5dTHZP0J dCYxLKWHIwmeA6QxxW3R7ZsurIhbzznhjk/H4ub7i9TvVbVrbIBZTOeyuz716invJff7 ETgZoaiU0CD0LPYyACPl4z2QZx70szfSlScZPl3PNYiOA/QJM2NADcGnCRoPtIBMBXuE aBjwHX1G0Pgd1FQjcJLqEVBXtvT6Q0ZRZ5whx2KwHIeNTrQgxF8J6Ybc6AiBjF6Bw5yy LtH9rMlTwwy17b20eWL2sDQhNNP5iwfykJ3gq+eaQ/FPRtUdRLrBaTXaAoMrGWL08DM5 bSSQ== 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=b39mV7N6ct+ti2edmhH/pohiKSyvMHt6dafFtioV6+U=; b=h0KkfqEFUtCsE4t88jytKUnXQDOeiE6FXa0Elmzcs9s0pZz3tb0E1gjJeEpHrChAVd w3QDbnjTkBKGyjsjdIdOKupHcgEwsD75/IROuMGtKhK3iFxnSQCRTblgyzuTBpASHgbS E8SlSOmVnaGqT4oTf9pK29TBvADtsWgVIHiw8ely774F+4XTsuYqGI0pHd5xKNVr9u2r CMDFYr1NLfXm9PGsqRUY/43GuTuNI3VzMMPy8FCXjwTKkA7pB/qFS7oASt/0gmrZ7fiv TRDql+ZVw1rqME8comzzk5CbgWC+13tnbRHAjsZrtkPShhqL+PuxEs+DL9+ddH9W5UKz eudQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.141.98 as permitted sender) smtp.mailfrom=Vijaikumar_Kanagarajan@mentor.com Received: from esa2.mentor.iphmx.com (esa2.mentor.iphmx.com. [68.232.141.98]) by gmr-mx.google.com with ESMTPS id p10si389241plr.4.2021.11.21.23.28.26 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Nov 2021 23:28:26 -0800 (PST) Received-SPF: pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.141.98 as permitted sender) client-ip=68.232.141.98; IronPort-SDR: iP8xhwrjpDlYUvjM1uf5OS4WG2JEaawMD6Pi0qzIFZI7MK94VH3LJvHBm4CMM1jARYlXjWf9B/ +ENFxTlawenFi81uiQ1HlHN24Jvtjbcei7nfaegBZiC9+kuNMWsJZHEV44Fy0UkZHYK5gGuNLi s57IU0d2M7rdVeWXkeExpJZig9b29abViHJB/FU6pjzT9dXA0GI3G6WF7baad7OvITtyw2gyT0 lmZatfAZ1GXmSmdMJzLvpE6T+iPHq8hXYAKEmnt8zkplbGVrRb0LYSiu/2ZX+3+c6uKddTxPTh PsZlZq6hk+7hd79MOCqPW1J6 X-IronPort-AV: E=Sophos;i="5.87,254,1631606400"; d="scan'208";a="68752155" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa2.mentor.iphmx.com with ESMTP; 21 Nov 2021 23:28:26 -0800 IronPort-SDR: eVci5I6A0fc6MgbjVZHBM5BxSFBMuZMFtT1dPq4nU3VpLH4fImTL+r3Q0Vzy0YxRG2i0Kpob4+ diX8lmJ7iiQC+IsvEFMMr/r5+3Nw2mFvCl9kDP4ye/fvKP/eESjmSTsAARAfvb0XbbOlioUrPX hahxTtRwlsATKnuXMBYP7fjY1PWosIu+XkXAIhtzWl3AAlGZyvjNg7+58wiwHxwjQXxy6/tGl0 dV0JT6GaUNH3ONnZowUg95E6mKbE3oo4t85um5V88MA3+2zmWNBiSISHdortJWvHzhPQjMdpDz /wI= From: Vijai Kumar K To: , CC: Vijai Kumar K Subject: [PATCH 1/4] u-boot: Switch to use DEB_BUILD_PROFILES Date: Mon, 22 Nov 2021 12:58:02 +0530 Message-ID: <20211122072805.2123748-2-Vijaikumar_Kanagarajan@mentor.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211122072805.2123748-1-Vijaikumar_Kanagarajan@mentor.com> References: <20211122072805.2123748-1-Vijaikumar_Kanagarajan@mentor.com> MIME-Version: 1.0 X-ClientProxiedBy: SVR-ORW-MBX-05.mgc.mentorg.com (147.34.90.205) 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.141.98 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.8 required=5.0 tests=DKIMWL_WL_MED, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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 | 12 +++++ .../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, 60 insertions(+), 26 deletions(-) diff --git a/RECIPE-API-CHANGELOG.md b/RECIPE-API-CHANGELOG.md index 7312d4d..3b926bd 100644 --- a/RECIPE-API-CHANGELOG.md +++ b/RECIPE-API-CHANGELOG.md @@ -301,3 +301,15 @@ Kernel update with "apt-get" will not work since bootloader configuration will not be updated. It used to "kind of work" for grub and efi, that hack is gone. When using the plugins it is advised to name the partition "/boot" and to exclude boot from the follwing rootfs to not waste space. + +### 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 Sun Nov 21 21:28:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vijai Kumar K X-Patchwork-Id: 1098 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3) with LMTPA; Mon, 22 Nov 2021 08:28:37 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-pg1-f190.google.com (mail-pg1-f190.google.com [209.85.215.190]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPS id 1AM7SZP3003143 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 22 Nov 2021 08:28:36 +0100 Received: by mail-pg1-f190.google.com with SMTP id 76-20020a63054f000000b002c9284978aasf6338475pgf.10 for ; Sun, 21 Nov 2021 23:28:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1637566110; cv=pass; d=google.com; s=arc-20160816; b=LFNx6h+BAXb/K6+4Y/cI/EpI5Fq3+igPi0SgaAEqnhqNJcJDwDsQNw3aqjz4lBkX9o D0d2pYAOXXwssAwZuvwu8MrQVVummD++KgCTZHlmj7fCPs62/utnqbvC96B0lrBWRccl hm2PXRuioAFQJuXXma+dhu0cMDzXCsf8lmf4uY6KBt4zrkxMG+9pulCNVfIKMxcz+n2b XCjB9kAEWMuJzXLJ+d4ygcak6qWiobWWd+rNArdtVxQlAPgJGvqJWdNfwbeSzGvpzIfj Og5x4S8O2/Lhv9N0HrqEXBXcJlFg96HZSSTwzQUUdNqX4SSU76OsVAlnf84mNvuDbESQ oagg== 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=J7izPKXk7pvEhkCVayTWGC6AONzawmxD0QzhPhpWoog=; b=BLJodBXh+so/7JoRnzgsxysejaM3fbG8CN+hyMonN/t5BgI+jmM8IVQyzQ6Q+RujOy Yc4BeDhmZroKdK0LiPWmXjWzIasFXkVJ8gwfpumO5ly7wAPAcoxJV54b/NtIc7waIDkf USrvYKTbClAqfypH4A7kn8Oqgv3lCzEtrFsYuo01QdtwMo024xRWBWFltAqtwWXXb20/ NIqfXqKmC04x8p/Q80w5oCq/M+88DQC71+Erp4QKzuixbfzC0Gn3Gr/5+51GXPmJWUsn 0+OC9R2WTXmW4NlAFI2AE1PbfOFXcuXqr0qFQkvfRdjAjcfduaKrgLiHnLenP1lsxbCd esUg== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.141.98 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=J7izPKXk7pvEhkCVayTWGC6AONzawmxD0QzhPhpWoog=; b=KKbaD5x9s3GMBzgNVCcJZ3FV4QSpoyY5NfosUdE5QnX7p3Y0KshV2yYFXkFiQkHqzq sRYxt+mMUv/gcHuTJc1byPTYr2uEL63aS56t8Yp8g2u/D55tTUuRdwRniN0mLRfa4tmH jhHPIlTA5jKfKysfY9VOvGQmwcN/H4kK88A52Mln53dx41/37lTlPEhAL1jDqt4dkLAG ZkJO8GiXgAjhxC5/avMbdL2Zn4I1iHpNhSVzu1uvKy0NBhUsds2YiKhPp8fKaKJdB1jW +jXqE3WCN9efv+JPOYd3v7/opbKvCQCtWL3li5S19Fl8QHXBtMiiw8H+hLtCcNBM+1lP Jb/Q== 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=J7izPKXk7pvEhkCVayTWGC6AONzawmxD0QzhPhpWoog=; b=Ph5+fGmSxn0+55imK3Yha5oIHdP7uWCH1xGy11t19Ro3Ts/v07ZJtdi/62tPj76v+Q unhkYCuooGRey9FwUgjj7W0q2NlMN3OKEZWqvzKv4NIVuB1Qo2WQGTaBDJI5oXYrCwB7 hYUMTe34VQvWRgPc+IRrR6E9jFYbE/ZCNZYB0gH5b0GxyAtXwYevFImuWQaGis96L8bq 0nKEnz2zmy+g20Wyb9oWwb/QG1SkiT+JtLFA6gA6v2p7lyVD2y8daX6CNh7KnYRdeg9v L5mI4dNZBhzGUgL+bEYOMsIyCPrr2Yc9Vd9ZvxRBVCJmWcYJcBiSccmvUtNe/JiVrOpr EvHQ== Sender: isar-users@googlegroups.com X-Gm-Message-State: AOAM533hzU5njqiaPAgAPcLm7hEvGiTEj58ECHw0BoeFAgV0I1zoxVcr ngkoajTkHhDeT7VLjzPJNCQ= X-Google-Smtp-Source: ABdhPJzk9ZLZaqjNQCZnqu0ZAG/3bhra91M6PCuiI0UJL6kD2Am7F4G5VlEIecCVZXFANgK5lLoK0Q== X-Received: by 2002:a17:902:e84e:b0:141:e3f2:36c5 with SMTP id t14-20020a170902e84e00b00141e3f236c5mr106209571plg.74.1637566110178; Sun, 21 Nov 2021 23:28:30 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:90b:1a8a:: with SMTP id ng10ls9851192pjb.1.canary-gmail; Sun, 21 Nov 2021 23:28:29 -0800 (PST) X-Received: by 2002:a17:90b:17cd:: with SMTP id me13mr28791711pjb.79.1637566109623; Sun, 21 Nov 2021 23:28:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1637566109; cv=none; d=google.com; s=arc-20160816; b=Qd2agTBmxq1WbqPCHAwcTkRl6tkgKgd5horSPtXr0ppjgrfoTCZb6S8A6iK+JNVmT6 /lPNRYPB82vP9Fv08bGRzkOWt8dcaANcnD38pnh81qY58C9JR6eN38CG/1SKhBmqrmFZ uvt2OberQuU/pAl2lQ8WoHNrRjLygny9MGxIzi6BOAJlmbCRXeqgHsW/Y6QQquBwHLV1 AjEyFI7q2gV5W2HwZbA1AI+1lBgcNiBpV3rhUTBomqI3arLTgaTKr3xM6Ve2wHLN7PZn Gz7qCCelGEe3iI0PNzBFAupbddHDADazXof5anjxTT9soIl+TtbCjCYfwext5LVR/4M8 X0qA== 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=Bg2FV3C84DbDzwLa0Rr/Uhvw8bkk9Mh/LchJ2ZCFDdA=; b=HgrOZP1ML+5dhxFKy1TeDBS1Fot9PypyTFF+gXP6WNbBQO1uLhwTPSyRY/x6jOb3Mh 5Ug+gN0XahqAQKv6sP/8eOxe/1Ut6lCiGi6WkuywjulYSpPFD+5h/FIM5Bpj5G0mM8YC nmlCp8Cqk5dUy5n8rJpyKuO/MVWjmMRWCcEVwhvt5pEKepPlSd6ytHrkGALf0fBE6WXO 6ANLXIzcXwKtmWBDuP4Of4jsH+/ZpljLm2djONbtKBMnF10Qvwfw5WpH8y5oyahr6WmV lUdljTvARRZjtmON3gu8gyX06+RcheaSj+sqtt9HL/buxA+yBH55Lz8dhdk496U3HzVM GEaw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.141.98 as permitted sender) smtp.mailfrom=Vijaikumar_Kanagarajan@mentor.com Received: from esa2.mentor.iphmx.com (esa2.mentor.iphmx.com. [68.232.141.98]) by gmr-mx.google.com with ESMTPS id p10si389241plr.4.2021.11.21.23.28.29 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Nov 2021 23:28:29 -0800 (PST) Received-SPF: pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.141.98 as permitted sender) client-ip=68.232.141.98; IronPort-SDR: 1V01Fk7dipNJhcldFYA3to2MGqUIP5163jHkNLNH2iRYEr4zO77PGdMope2J+t30TD3a+cr2t5 WPrf3My/zNP3/ICds3ilUxdJ8eI419+enDpqNNP/wl6+qQfv3IZ7KoE1t2TAJgJZhtKt1kgWvs nxzrxmra1TUWbToVp6ZoJruNOFkgri/pUxte927iVGo4ib0vaqut38tgBBO6ermqASnnqQNA4n ycKAP5KqyW40rVuUclrozVie2oWw4QJ6YwEEw7x7WOiRVOYZMDMJM6QS3/97Ptj923W8xZsDbO SCcoSanhWBvzTvLR2cTfldoO X-IronPort-AV: E=Sophos;i="5.87,254,1631606400"; d="scan'208";a="68752156" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa2.mentor.iphmx.com with ESMTP; 21 Nov 2021 23:28:29 -0800 IronPort-SDR: EUUkGjo9V/aQU99CJPsNg6nRS/hEyoq0KQ3BcaF1izAKn2UPu/YySNjrnq3uk7BaM/g0mKSWhG f/n2umPJmIIy9+qh4PlNHUMGx0Z2KJ5fPscfkb3qsDvsmOJRPRgXmgFerbq1vBTdkoeY8NOVuP wAwWuyJnfWYTDDpLr/pAmMTrUz7Ig1s/bOyO1Ek8T2xika+ZflCoEHJ8iamf1hVWI1Gs8fR8IU JAxTxXEthuKlUkUplywHFAV/R1rBX7h7YUJRDYqjXCqkU5uWm0iBUZC0JcU0AjMr5BzNrZf67T 02k= From: Vijai Kumar K To: , CC: Vijai Kumar K Subject: [PATCH 2/4] meta-isar: u-boot: Migrate to U_BOOT_BUILD_PROFILES Date: Mon, 22 Nov 2021 12:58:03 +0530 Message-ID: <20211122072805.2123748-3-Vijaikumar_Kanagarajan@mentor.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211122072805.2123748-1-Vijaikumar_Kanagarajan@mentor.com> References: <20211122072805.2123748-1-Vijaikumar_Kanagarajan@mentor.com> MIME-Version: 1.0 X-ClientProxiedBy: SVR-ORW-MBX-05.mgc.mentorg.com (147.34.90.205) 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.141.98 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.8 required=5.0 tests=DKIMWL_WL_MED, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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..c6efc97 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_TOOLS_PACKAGE += "tools" From patchwork Sun Nov 21 21:28:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vijai Kumar K X-Patchwork-Id: 1099 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3) with LMTPA; Mon, 22 Nov 2021 08:28:41 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-pg1-f191.google.com (mail-pg1-f191.google.com [209.85.215.191]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPS id 1AM7SdcW003168 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 22 Nov 2021 08:28:40 +0100 Received: by mail-pg1-f191.google.com with SMTP id e4-20020a630f04000000b002cc40fe16afsf6319272pgl.23 for ; Sun, 21 Nov 2021 23:28:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1637566114; cv=pass; d=google.com; s=arc-20160816; b=QUQiDkVqy9mupUNDhSLo1w/p7O+TMVqmQpGIAUdWBUqLojf8TnCRkwLnH9wPWcaEKK 6sbfsLh/ODYaYLl0YxLUxLrbq7LP5ZBeOvDh0IMJ9A6Xan7bDdVnEApI7b2L22gXP9jN rs0SF3UHEM3R3uof2zyxMC4sUtv7GaekF0899sMNObkhcZ0MrKhLhIpth3hxWtUkYDC1 XqciXmV7s805BwZRt3MAV6ctZ7oJ7QGJ+CoLjfZyCpnpV7TwR3Ro4O2/7KCxBxYcqQVp GvbIw6xAogu4sBqYa73mwB5QDWfBX1uV7kaTu1vvgGTCvOvfYZSLXY+aBlCYU+zF0ux3 ykcA== 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=HfUpkAxbW+OddQtUe1uaRzpdFya8+xF2EjiW3yQhmls=; b=vZrF2plSETNeWKODaA3POPu6dDBc6Clfdmf8Nc/rXEMz+0k57VtvBVHoW5ob0yY7J0 wZTfdhI0Skq7+8WxvYLPMgjd3jXdj8Ex0nfnzmsohWYPLpA8vA6Tq7Uj7AkxYJDHX6UL ztM+2k27DXkb5v+sjC9DjWp3tt4gBbyPiSsEKZrTXCkVxi6mAgfrCfzoNvokXU4qtJWP 10Y7GhKB8ZgXHaK233HjyXxVVoE8cDF6u/ibN8b2bLXZXenU+/pg4wqajsM7K6Mu17dn kx9W5b3DKvDGSHRxUFy0Ayow7ftOZ5mxuxyz/g4a9uWERy8rQm22qwNrAijOGdboLRO/ sM1Q== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.141.98 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=HfUpkAxbW+OddQtUe1uaRzpdFya8+xF2EjiW3yQhmls=; b=Zta3xQKGvv2ieDVxcfyrtWSt1fxai3+XptgxBt4+O+OARDcE9Wi/lxOvPNjLywXBYw /WEfxaG03/rvC0IsP/9DQvpCUQu5AnV0abfVVjOn8vCacP4x/AMv10QxGfuUvVYGscUK oOV+aLHUJO3CB+O82NapK33ip6GVYV7ZKQROEwTIjeo3ryAaeF2G0C9mMGt8jD7QYQPR IWbvK6qaseOx5ufK5Ro4EMn/3cX3ixe3MSXqc++yYGgQfyFO/VdG5Wo+TLYl8AnAbCGp PmcE2xq5IY25E7saqdKcNdovsgpq2ty66z4UMFkQsvBLlYgCMMNVq2uVivcm1N3AxX/M hQKw== 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=HfUpkAxbW+OddQtUe1uaRzpdFya8+xF2EjiW3yQhmls=; b=rHew3LL3C8Fw67I6jH05fT6RuNWdndqfDADkgO2uve/Cpo5E+kTku4w7h2Uv+P3OSX J+V26M1PZHZohUrWPHq35zqYe+K19x/z9gFt4jDFmkshPltOMZlvg9lLvP4/OC8g8wzN N7q/uRsP10NeTrYu0lfVs6Nk7x/SwuZKSiMDeOxqb3GTwvHFfoUPbpvSMg/1ZmezrlCK GpA/uWa7yVwiAuk8PhC/KDHzG6mOxEpF2m2ZfaPA9nIBkYV533T/OVl0TTwK5MhExGd/ wIwRlZgfJubkZeOV0q1Y/tL6JKzcKOmXHsWSASil4XbX965Nl4BYQPZPeprhZu/IIylQ pvqA== Sender: isar-users@googlegroups.com X-Gm-Message-State: AOAM5306XF5FVl5cm+Z+Bg80dhgajwyclCmF4W31pXtSieZHeEhqUcqj L0vXf2A+BvX4cGwKX7jyjJQ= X-Google-Smtp-Source: ABdhPJxhW8E5mxRgK5y9aFWnqi4ROGYg/6LxL8JEd7rajYVkzbar3IYeq6MFuQXQuML6RfDBLMc0LA== X-Received: by 2002:a17:90b:3718:: with SMTP id mg24mr28441972pjb.109.1637566114151; Sun, 21 Nov 2021 23:28:34 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:90b:4d92:: with SMTP id oj18ls9848746pjb.3.canary-gmail; Sun, 21 Nov 2021 23:28:33 -0800 (PST) X-Received: by 2002:a17:903:41ca:b0:142:1dff:1cb7 with SMTP id u10-20020a17090341ca00b001421dff1cb7mr105082121ple.37.1637566113598; Sun, 21 Nov 2021 23:28:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1637566113; cv=none; d=google.com; s=arc-20160816; b=w6q2fR5KuTYZrz7vEsTtg88TNO2Bv+N5q/Hw/psBng/m+TqbyUdzYQV7YPBytelVRr q+fvo+zpPSsJ80pUz0GYsLRfEGJL+igwtJiHCeYkFQlWbgNwhNhar+8Qh17Euvk6vIRK l395/eBBzVhXMx/uOjPbq2yP7rOXa6U3r0HVScvhm5j0cVcv412F1hS124c10Kz8aJwP E1RjHkTUm5RojUIEPOOrJL0CLBfWQcXmZli5PeLcIZ5j3/647n5qDBJV5HJJLHrTWlav LDItg7TbpLLDCkEuUbQCYYp0Zb9MrZcoGMm76suoB2yRsQ/6dJnx+VII8Oz5vHzAgOyW 5ZPQ== 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=ArUNgAMgLly23LeauYT86i10MsGh38/GuZTroTaWnfI=; b=pQF4r8XkL+QLfOnFCb/p19ncI0aN9XcPolT8AVJbMziRHc6TZLBX3hT3wW3RvTW55w /83dKMiZ/l1WFwD3hdefVJYx4OTsZ8IrRf7rjv4rcHPkX6A/Ogi/C20sZ4sfmjq0H86P TlIWMOxLBoX5JDXyyJnujNBIkPp2g1Y2f5BjKbplIGqmrEPTn58sln0sru3+BIIpx/o3 2hoUg38Elb96stCfKmdfLUpXMPVPWzPE7sbFksLkEdSbD6UVti+WZQqGL9mjOuQfgTt9 cyxlN4AoCe6zDN1YZYNGSbzbveKZeaz8y+8oRsonr9TNbWyr8TM4hJtd1hH87poIQvns ZVOQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.141.98 as permitted sender) smtp.mailfrom=Vijaikumar_Kanagarajan@mentor.com Received: from esa2.mentor.iphmx.com (esa2.mentor.iphmx.com. [68.232.141.98]) by gmr-mx.google.com with ESMTPS id p10si389241plr.4.2021.11.21.23.28.33 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Nov 2021 23:28:33 -0800 (PST) Received-SPF: pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.141.98 as permitted sender) client-ip=68.232.141.98; IronPort-SDR: amdpKNgM6sCh22PHuMNj9UgjWHwzAXn+XS6rghutfjt+mSzTWEw+txuK1uAy7RyHPgZHiHYfLb YwRpMU/g+nuM/nbBPetLav/jufT0XOS1me7b3FBwnpRrdw1TPjq/O3HyE07nXgsS6TP9MC8Iha NV+AKV3626ZF0LmkC0N5nI6CgBT90uoblRu9VdR8GR4WUp+NejN9k/UHTiKoRBDMY957Ucm0U2 rwCjVeJAHSXC3o3ud26EHPDsgipuJy7qdf6Mg2JTYBIu4V8lQZ47C7BoUou/LrW6b7vPlEXhfO ccwEm3KMp+wXOuCD+GDhgMp/ X-IronPort-AV: E=Sophos;i="5.87,254,1631606400"; d="scan'208";a="68752158" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa2.mentor.iphmx.com with ESMTP; 21 Nov 2021 23:28:33 -0800 IronPort-SDR: gn3mzws610NxCHZaSo7DdnZJDHyhHcPIKNCmUp/ebqjIsAoPN+zGrGx7a11d1D9M02H4CLQGGy NMpuVQliue2W9iqpHW0gkz3LbqNRaGMiUhdl/jmXxKPPKfujHjiwC7vGFt8cA0Yu8HeSw1kNOa iqVrvdsKclShI8AGN0DUv1GzDDHZ0H3bQt3zEiuabhJuUPLzuOiGbz6WEjEd3AoJil8c+BvZnk sldDe4FMPoSIRfhZQbQJ2a+90HxLKU6zQHoIR0yNLXMtSwvw1lA2b19x4DpKQME7XNYOqwVYIX 8Xk= From: Vijai Kumar K To: , CC: Vijai Kumar K Subject: [PATCH 3/4] meta: u-boot: Prepare for newer versions Date: Mon, 22 Nov 2021 12:58:04 +0530 Message-ID: <20211122072805.2123748-4-Vijaikumar_Kanagarajan@mentor.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211122072805.2123748-1-Vijaikumar_Kanagarajan@mentor.com> References: <20211122072805.2123748-1-Vijaikumar_Kanagarajan@mentor.com> MIME-Version: 1.0 X-ClientProxiedBy: SVR-ORW-MBX-05.mgc.mentorg.com (147.34.90.205) 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.141.98 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 | 4 +++- 1 file changed, 3 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..cfae0e2 100644 --- a/meta/recipes-bsp/u-boot/u-boot-custom.inc +++ b/meta/recipes-bsp/u-boot/u-boot-custom.inc @@ -41,7 +41,9 @@ 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" +DEBIAN_BUILD_DEPENDS += "${@', libssl-dev' \ + if bb.utils.contains('U_BOOT_BUILD_PROFILES', 'tools', 1, 0, d) else ''}" TEMPLATE_FILES = "debian/control.tmpl" TEMPLATE_VARS += "MACHINE DEBIAN_BUILD_DEPENDS" From patchwork Sun Nov 21 21:28:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vijai Kumar K X-Patchwork-Id: 1100 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3) with LMTPA; Mon, 22 Nov 2021 08:28:45 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-pl1-f188.google.com (mail-pl1-f188.google.com [209.85.214.188]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPS id 1AM7ShVu003196 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 22 Nov 2021 08:28:44 +0100 Received: by mail-pl1-f188.google.com with SMTP id e9-20020a170902ed8900b00143a3f40299sf6987126plj.20 for ; Sun, 21 Nov 2021 23:28:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1637566118; cv=pass; d=google.com; s=arc-20160816; b=r/hdwy55fd7pe1Z6zlO7/XfBopy1uSLJtLMI/0u8uFAFy06WBZFRCcvT7bXMfb7Ta6 KnCgzfiIGl5BT6p0ujbVC6U04MB3Faurp6lj4O5yRslZXdJnQ8DtkLd4NiNO1NxEypec mE4MnuboFfpW4rEeHmMMsp5JdFHxNgazfyK8N5qmouw0hibQvqwGcT9MKj6G223d5ULJ nTSQBSfwJhy4sunKB+gK/elW0MdXJM3FL9xWiv/DhNPeRV6MkvE49Bu6mSgnVRqNIy0D Jq9NnKYfq74dEHokjljbZb1ULesY1KOVFOexX1SLLppHCa6qePnXISYb/FSv2YCwtWFh T0Pw== 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=oqJJ5p3GgyKEU+caySiztaDC6MlIsw0lsJ1t86KOquQ=; b=JT7rBDvVt3OH9XElipOStrlzn4P0cLF+3hYbz3LonqrK2pKvjdq80hqvmyGMS3Mdo/ 6BgrZ9QR1NU7pn5wA0obiSPXqVK+hrSOQ07SWu93dEhg5I1TntZec7cWG3xpXPVuS3Xv oF86KsjpCeqVNtU2WwBc0Zd0acfyFd5pTikD9fQ/alCeKkD/0lh9/4s+KW0Q1cAB7Jmf 0xM6CKkZQiZMaNAkk1CMDXFaXgE7sopRSmieokoqEZsmOL5gKi9yzFLOpRe+i+B+gNGE SsRgauvZDK7oIjqIdjMm76svfKRzuSUXTUDX+Ji20Y+BkPQohkJEspcwxp319ulFkKTw bbtQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.141.98 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=oqJJ5p3GgyKEU+caySiztaDC6MlIsw0lsJ1t86KOquQ=; b=J9oruPEsQwfNUgALELEx+OTufh7FT4tQkyBa/C9YXdW0msoopfKgPv8vh8zHRgUxZB y9od5iTnq8MFUw70lXrKlnuPgYzUw2zsbiXrJDhXrwm4nqc8LoWpIN/yww1HLgbwlN1M v6OfgDKZ11FxhDkNYyouB2ObRnXBi7PYVaJKYGaLRwzIXGDJq7ebQOh+OnGfXkNvWJ7L tn74uyjCYuXgEDDd02haEyVy/LUbxKkOZcf0rNk4PognoSrYmSeT5Pp2pzHrBVI25VsX vtKDZxsBHx9hcXV+ViEtPxMmuLQJ3HBM1LAuEFezeJuKvz/7NtVRanXxbkWirDgzWBro O6aw== 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=oqJJ5p3GgyKEU+caySiztaDC6MlIsw0lsJ1t86KOquQ=; b=WCH3rJ3dwwPsRNHZCIqin3MxlLRuX69x6jbYpFVi6o3m/Mb53/Ggkq+7jW8aw9Met+ qs7P40nZAKT7lIMOvfcF7TsW+HFYBpw3GBnreFNMwYmMPZNHtCrHMav0gOxdJUoft3JP dP+YgZP4rkUvL9z9oseggSCGc44lsaxJxbr1xZJfWo35nN7uo6QPHojL9rAVCL1EOHzG 7Hkh/GiEs2AdLW9ZiKOvmX3t3AcD6+x6hMzDIU5O/ZvD3IlYtTzPUcIzgP/g8Z3kRMe1 sZZSonILyRF9UtvkH9oNeqO/JeyrxLdOSuJLf0GJ7Njk2OcX+Jrv/t9gyEZ0iIp9lV29 f4Mg== Sender: isar-users@googlegroups.com X-Gm-Message-State: AOAM533rtjB5+daoJoxK8EQtQeOuRh0hF0kRSH51cHfzXUyHijPfv6en EUkXQWvYqO7QTGx7KzWuqdg= X-Google-Smtp-Source: ABdhPJyW4e6+Et5u6hfpuasQiQY/8mRGj1ScfnHWcypU1MZgMeMzmAsS+xsy6pV6Qm60fY5+EK2FeQ== X-Received: by 2002:a62:1d09:0:b0:4a2:82d7:17a5 with SMTP id d9-20020a621d09000000b004a282d717a5mr71816865pfd.64.1637566117910; Sun, 21 Nov 2021 23:28:37 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a63:1c05:: with SMTP id c5ls1434844pgc.6.gmail; Sun, 21 Nov 2021 23:28:37 -0800 (PST) X-Received: by 2002:a65:6554:: with SMTP id a20mr31627594pgw.107.1637566117131; Sun, 21 Nov 2021 23:28:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1637566117; cv=none; d=google.com; s=arc-20160816; b=VKQqtXYUk0XtFPnr/neq6cAN4qD1LU+x00/uiuEtrtLl3FYaZpbP1V2mU0ToZ0Lh0q tsI/0GBakDnOviGM6pIYUxfNqZ9hKKU98AT4bxyJnWUmWSJBfjIgki2x+WhCVqBi5j0d WQ/nCxS4/E8p0glqXmHKxXDD2aFHQ+WIRRspzxmxCAJNfjBfI+GVs0u7ER//bpMkFnWE +zo/CqQjUHtZjKZU/e0EdNQdDpSpacnP2fcSBQkqZB97oj0CiJFMSgL7PFJIhmkguLAy tfaEgxIKIQWpa8uFq2J8N9vOOwisiTqQzCOXcGcn+FO8VEx2c5zfFBgwOY6YhB3zYkL7 pJCA== 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=CmUmqtHg1IFpwoy43Nd2Z7NtHAZ+ERkzRcpajJzIriU=; b=j8FA/EHxQSchbzidvhFyKvCKLJ9H98NzAMJzH4P85aglAt+u/SLcI8QHyhyX5ICHjL er92DHSHe/tcc923gyloM4pjYNoPIbNIW/ksYbBuGtswYatAaaRtyanr3c2JEleQ971r ZfQhDrC3OA/OMuBNQN5ZHhcuAMor2qVdzoVRgNXWPzig4jFBwfDOeidW10snRaVrU6YK IJULBy2fLsIbjHKQEhmf8UKuugpW5j2fu7JFyNoZhDInmnk768aVVLRWdDD+qHGIeZ5/ aMBVv5n8ptk+CP7D2+EY4TZmduDNEby//h2JcIw3KDtd0bbgDYlpq8qp8UF60o48lZz9 7tYw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.141.98 as permitted sender) smtp.mailfrom=Vijaikumar_Kanagarajan@mentor.com Received: from esa2.mentor.iphmx.com (esa2.mentor.iphmx.com. [68.232.141.98]) by gmr-mx.google.com with ESMTPS id p10si389241plr.4.2021.11.21.23.28.37 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Nov 2021 23:28:37 -0800 (PST) Received-SPF: pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.141.98 as permitted sender) client-ip=68.232.141.98; IronPort-SDR: i8rzGY8xhEHn6u3aI/gVLgJl6wei7B1zlSYfz82Es9SxxmdLPajjknVxHpzcAt33Ko8ucOOdyH IhpI5cSvAL5LaYlXJDQpk4ENgZEIaXRu1LBuut6AGgXCMZYqXlpsJ+KhYgmZ3UC3KZIqafaOMS FTBg2FKGR+RBzkPOuDTYGiNHoN8hWIprX1i0QrK99ZGhzokI94tbN5id64pQJgLsdOUcD/hTae K7lmXTZLoFVvypqn4YWhJIm4w614mp131nXFE/VER9NFX9TwuB6xdnZYQUHwAnyzU/0WI+Jr5j zYrMI0xc+6jCKwiSXqGDjlnh X-IronPort-AV: E=Sophos;i="5.87,254,1631606400"; d="scan'208";a="68752161" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa2.mentor.iphmx.com with ESMTP; 21 Nov 2021 23:28:36 -0800 IronPort-SDR: WCoduXn6zTlek3KbCvs0LGFfxgb+cY9b3pIUXYvXnjK6E0WFH40lIO+UHCpH4k3IbLNynOlLWf sHxNLcb0DlyfzjbOO7dIrKEJqy98lnTGjaVdUBugZJj1zd0qBQI7ERP1Ll1DbRUU/j0uG0d4kU hEVirgMmylKBIrdSovJVJeLep88d3GXJUwmXoN8/fjy2T2GFwOd8YndKWuYqRfwMWQVKzElQJX 674UnA6OspN+6xsOy7TIgO1OEoKvj53rWRssQX3rtahL4gwx/iqor2hZOXce1/ugodcblTXLCX jaY= From: Vijai Kumar K To: , CC: Vijai Kumar K Subject: [PATCH 4/4] meta-isar: u-boot: Update to 2021.10 Date: Mon, 22 Nov 2021 12:58:05 +0530 Message-ID: <20211122072805.2123748-5-Vijaikumar_Kanagarajan@mentor.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211122072805.2123748-1-Vijaikumar_Kanagarajan@mentor.com> References: <20211122072805.2123748-1-Vijaikumar_Kanagarajan@mentor.com> MIME-Version: 1.0 X-ClientProxiedBy: SVR-ORW-MBX-05.mgc.mentorg.com (147.34.90.205) 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.141.98 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.8 required=5.0 tests=DKIMWL_WL_MED, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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-2021.10.inc} | 2 +- ...0.10.bb => u-boot-de0-nano-soc_2021.10.bb} | 0 .../u-boot/u-boot-stm32mp15x_2020.10.bb | 10 -- .../u-boot/u-boot-stm32mp15x_2021.10.bb | 6 + 6 files changed, 7 insertions(+), 195 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-2021.10.inc} (72%) rename meta-isar/recipes-bsp/u-boot/{u-boot-de0-nano-soc_2020.10.bb => u-boot-de0-nano-soc_2021.10.bb} (100%) 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_2021.10.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-2021.10.inc similarity index 72% rename from meta-isar/recipes-bsp/u-boot/u-boot-2020.10.inc rename to meta-isar/recipes-bsp/u-boot/u-boot-2021.10.inc index 604776a..f3f822a 100644 --- a/meta-isar/recipes-bsp/u-boot/u-boot-2020.10.inc +++ b/meta-isar/recipes-bsp/u-boot/u-boot-2021.10.inc @@ -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] = "cde723e19262e646f2670d25e5ec4b1b368490de950d4e26275a988c36df0bd4" 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_2021.10.bb similarity index 100% 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_2021.10.bb 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_2021.10.bb b/meta-isar/recipes-bsp/u-boot/u-boot-stm32mp15x_2021.10.bb new file mode 100644 index 0000000..6d95643 --- /dev/null +++ b/meta-isar/recipes-bsp/u-boot/u-boot-stm32mp15x_2021.10.bb @@ -0,0 +1,6 @@ +# +# Copyright (c) Siemens AG, 2020 +# +# SPDX-License-Identifier: MIT + +require u-boot-${PV}.inc