Received: from mail-qt1-f195.google.com (mail-qt1-f195.google.com [209.85.160.195]) by mx.groups.io with SMTP id smtpd.web11.37.1593102901901228466 for ; Thu, 25 Jun 2020 09:35:02 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@kudzu-us.20150623.gappssmtp.com header.s=20150623 header.b=XNYO7Ga2; spf=none, err=permanent DNS error (domain: kudzu.us, ip: 209.85.160.195, mailfrom: jdmason@kudzu.us) Received: by mail-qt1-f195.google.com with SMTP id g13so5095341qtv.8 for ; Thu, 25 Jun 2020 09:35:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kudzu-us.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=ODclmSjXWftYJT6KpZVCBr95f5b3IU08s6nuvriNwOA=; b=XNYO7Ga23QWzgWlebfTbdnJU7/DdRkJg1q5zsTXJ4gYx+aFbZFoDEIzxyBCqycFjPo 5l1EfsOZL3y5/B/0IIK9YuUW6M5xXco5ea/A895sleRiG056zTFn4ZKk7tTsCUA8nX78 59Py+sCDLSGXV9iO+wsfoAPJvQdGOVZl1bugLv7Xazr45tJN3Hjrd6fU4I+CWVNqlQLr boXZ3wXIGj73Bph6G9kYs5kqRPr1g+oRRJTa9+vTiLSQwRGTNvKTD5yjUDjx0LfyZwOb OyvsEsLSNd/3heIg025ymTEmPmMJaNK5Df6njBhRvE0ad9bdVjdExaAn5E1jjeRVhBmt UGlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=ODclmSjXWftYJT6KpZVCBr95f5b3IU08s6nuvriNwOA=; b=BgSQph+OqkTVofOQPwY8mH/aN2OcskI8QjnhqxQzqbB/bHk7TlFl9qADBXDO1MAXwc z3bfnDJGYsMIUm/I9qv1cRdKCJ7G1EU5AY1m9oxDiBIzqcMcRlXdkgJ1mgN41A2XgiI5 sjwNPEVaeNraGno7SFEWFCJKlilZyoUn1zB/RZXEIGwlBPJXC5NJtZj1d2wHslEYz4zt RywpDBtXwPX+q4sM+TwWpKbjPDAwSnGN5ePNQgGuolvE1bFN9P63S9iz2i31w93cBx/f dJnqBROoOci03uOsqdx6SbhDHQ8SGHlZ34h4qFPbps/eAuw9NKBkXE1cXxGM5cAqYMcj OzDA== X-Gm-Message-State: AOAM531ivHuZHqe9UwO+WqRCeSnuumBGsWlxnEx7j8YTQ7CCNO7uQz8j QdfTZ2gRMwLGWLco9ZfVDplV/Q== X-Google-Smtp-Source: ABdhPJwLDiBWjDrVQYlihpD3WzLkFPS48mO45xbwG3Y+MfQI9iS36gqnTu+gPBzGj+ey370ieWU2Hw== X-Received: by 2002:ac8:60c8:: with SMTP id i8mr22585972qtm.271.1593102900842; Thu, 25 Jun 2020 09:35:00 -0700 (PDT) Return-Path: Received: from kudzu.us ([2605:a601:a61a:4700:618e:7f32:eb8d:97af]) by smtp.gmail.com with ESMTPSA id o4sm6969245qtb.17.2020.06.25.09.35.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jun 2020 09:35:00 -0700 (PDT) Date: Thu, 25 Jun 2020 12:34:58 -0400 From: "Jon Mason" To: Khasim Mohammed Cc: Diego Sueiro , "meta-arm@lists.yoctoproject.org" Subject: Re: [meta-arm] [PATCH 1/2] arm/scp-firmware : allow setting scp log level to INFO or WARN Message-ID: <20200625163457.GA27139@kudzu.us> References: <20200622141735.4951-1-khasim.mohammed@arm.com> <31688.1592895943168936989@lists.yoctoproject.org> <20200624184026.GC5282@kudzu.us> <20200625031111.GA17463@kudzu.us> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jun 25, 2020 at 03:51:53AM +0000, Khasim Mohammed wrote: > Hi Jon, > > > ________________________________________ > From: Jon Mason > Sent: Thursday, June 25, 2020 8:41 AM > To: Khasim Mohammed > Cc: Diego Sueiro; meta-arm@lists.yoctoproject.org > Subject: Re: [meta-arm] [PATCH 1/2] arm/scp-firmware : allow setting scp log level to INFO or WARN > > On Wed, Jun 24, 2020 at 06:52:05PM +0000, Khasim Mohammed wrote: > > Hi Jon, > > > > ________________________________________ > > From: meta-arm@lists.yoctoproject.org on behalf of Jon Mason via lists.yoctoproject.org > > Sent: Thursday, June 25, 2020 12:10 AM > > To: Diego Sueiro > > Cc: meta-arm@lists.yoctoproject.org > > Subject: Re: [meta-arm] [PATCH 1/2] arm/scp-firmware : allow setting scp log level to INFO or WARN > > > > On Tue, Jun 23, 2020 at 12:05:43AM -0700, Diego Sueiro wrote: > > > On Mon, Jun 22, 2020 at 03:18 PM, Khasim Mohammed wrote: > > > > > > > > > > > SCP code has been updated with new logging framework. The patch > > > > is to allow setting of log level parameter to INFO or WARN. > > > > > > > > Change-Id: I20ec19a9aa1bdb7f59c067d2344c299c057a088b > > > > Issue-Id: PLATFORMS-3134 > > > > Signed-off-by: Khasim Syed Mohammed > > > > > > Reviewed-by: Diego Sueiro > > > > > Pulled into master. > > > > Can you please apply these three patches to dunfell branch as well ? > > > > https://lists.yoctoproject.org/g/meta-arm/topic/patch_2_2/75039153?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,75039153 > > https://lists.yoctoproject.org/g/meta-arm/topic/patch_1_2_arm_scp_firmware/75039137?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,75039137 > > https://lists.yoctoproject.org/g/meta-arm/topic/patch_arm_fiptool/75039113?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,75039113 > > > Looks like there is a problem on dunfell. When compiling for n1sdp, I > > get the following error: > > >ERROR: Nothing PROVIDES 'virtual/arm-none-eabi-gcc-native' (but /home/jdm/yocto/meta-arm/meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb DEPENDS on or otherwise requires it). Close matches: > > virtual/mesa-native > >ERROR: Required build target 'core-image-sato' has no buildable providers. > > Missing or unbuildable dependency chain was: ['core-image-sato', 'virtual/control-processor-firmware', 'virtual/arm-none-eabi-gcc-native'] > > > Can you confirm it compiles for you? > > You seem to have missed pushing your gcc patches to dunfell branch : > > http://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/commit/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_9-2019-q4-major.bb?id=f9ece576ad476e6ed069dfdfc376eb422c1c511c > > http://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/commit/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_9-2019-q4-major.bb?id=04eb583c4be5e7c36d457eb2d0dec35fef89ae52 > > Can you please push these to dunfell as well ? Exclusively the above doesn't apply cleanly. I think we need the following: commit 9af4348fa0b83b2f5b318692c745716de5de0545 (HEAD) Author: Denys Dmytriyenko Date: Fri Jun 5 18:57:10 2020 -0400 gcc-x86host.inc: properly link triplet-prefixed binaries Use the correct path for the binaries in ${datadir}, otherwise it results in a single incorrect symlink like gcc-arm-none-eabi-* Signed-off-by: Denys Dmytriyenko Signed-off-by: Jon Mason commit d5bc2633f2c203aebf372fc80f7cb87d7621bed9 Author: Denys Dmytriyenko Date: Fri Jun 5 18:57:09 2020 -0400 gcc-aarch64-none-elf: properly set ${S} that is different from default Also use ${BINNAME} and ${PV} variables for automatic substitution. Signed-off-by: Denys Dmytriyenko Signed-off-by: Jon Mason commit dfafcf9ec274330ad8ae5d602e208ac35aba4139 Author: Jon Mason Date: Thu May 28 09:33:17 2020 -0400 arm-toolchain: merge binary toolchain recipes Merge the majority of the binary toolchain recipes for building on an x86 host into a common include file. Also, found and fixed an error with both install commands where the name was double nested on the copy. For example, /usr/share/arm-none-eabi/arm-none-eabi/ due to the way it was being copied. Signed-off-by: Jon Mason Reviewed-by: Diego Sueiro commit 24181d47084cef34a794dfd88056fa9bc5583913 Author: Denys Dmytriyenko Date: Wed May 20 04:47:18 2020 -0400 arm-toolchain: gcc-aarch64-none-elf: Add recipe Adds a recipe to pull down the prebuilt GCC for compiling bare-metal targets for Aarch64 processors from ARM. Signed-off-by: Denys Dmytriyenko Signed-off-by: Jon Mason commit e6ff4eb1d6683e967e4ef81bf5b42a087a47f6d5 Author: Jon Mason Date: Thu May 14 21:36:20 2020 -0400 arm-toolchain: gcc-arm-none-eabi-native: Add recipe Adds a recipe to pull down the prebuilt GCC for compiling on Cortex-R and Cortex-M processors from ARM. This toolchain is required to build Arm Trusted Firmware for the Rockchip rk3399 SoC, since it must compile some firmware for the M0 coprocessor. This was originally taken from meta-rockchip, but has been modified from mailing list feedback. Signed-off-by: Joshua Watt Signed-off-by: Jon Mason Signed-off-by: Denys Dmytriyenko Reviewed-by: Diego Sueiro Signed-off-by: Jon Mason Please ack and I'll pull all 5 into dunfell. Thanks, Jon > > Regards, > Khasim > > > > > > > Thanks > > > > Khasim > > > > > Thanks, > > > Jon > > > > > > > > > --- > > > > meta-arm/recipes-bsp/scp-firmware/scp-firmware.inc | 2 ++ > > > > meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb | 2 +- > > > > 2 files changed, 3 insertions(+), 1 deletion(-) > > > > > > > > diff --git a/meta-arm/recipes-bsp/scp-firmware/scp-firmware.inc > > > > b/meta-arm/recipes-bsp/scp-firmware/scp-firmware.inc > > > > index 1873848..2db59d3 100644 > > > > --- a/meta-arm/recipes-bsp/scp-firmware/scp-firmware.inc > > > > +++ b/meta-arm/recipes-bsp/scp-firmware/scp-firmware.inc > > > > @@ -6,6 +6,7 @@ SCP_BUILD_RELEASE ?= "1" > > > > SCP_COMPILE_VERBOSE ?= "0" > > > > SCP_PLATFORM ?= "invalid" > > > > SCP_COMPILER ?= "arm-none-eabi" > > > > +SCP_LOG_LEVEL ?= "WARN" > > > > > > > > DEPENDS += "virtual/arm-none-eabi-gcc-native" > > > > > > > > @@ -39,6 +40,7 @@ EXTRA_OEMAKE = "${SCP_COMP_STR} \ > > > > BUILD_PATH='${B}' \ > > > > PRODUCT='${SCP_PLATFORM}' \ > > > > MODE='${SCP_BUILD_STR}' \ > > > > + LOG_LEVEL='${SCP_LOG_LEVEL}' \ > > > > CC='${SCP_COMPILER}-gcc' \ > > > > AR='${SCP_COMPILER}-ar' \ > > > > SIZE='${SCP_COMPILER}-size' \ > > > > diff --git a/meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb > > > > b/meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb > > > > index 5ff5859..9cb8b64 100644 > > > > --- a/meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb > > > > +++ b/meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb > > > > @@ -13,7 +13,7 @@ SRC_URI = "\ > > > > > > > > git://github.com/ARM-software/CMSIS_5.git;protocol=https;name=cmsis;destsuffix=src/cmsis;lfs=0;nobranch=1 > > > > \ > > > > " > > > > > > > > -SRCREV_scp = "db19910aca6d1032eb0329e5fbb70a92b997f6f2" > > > > +SRCREV_scp = "fd7c83561a7d76c7681d5d017fb23aa3664c028c" > > > > SRCREV_cmsis = "refs/tags/5.2.0" > > > > SRCREV_FORMAT = "scp_cmsis" > > > > > > > > -- > > > > 2.17.1 > > > > > > > > > > > > > > > > > IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. > IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.