From patchwork Fri Jun 28 13:31:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: harsimransingh.tungal@arm.com X-Patchwork-Id: 45720 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5745CC3065B for ; Fri, 28 Jun 2024 13:31:56 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.16934.1719581514533974407 for ; Fri, 28 Jun 2024 06:31:54 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: harsimransingh.tungal@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id CF813106F; Fri, 28 Jun 2024 06:32:18 -0700 (PDT) Received: from e132995.arm.com (unknown [10.57.72.58]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 4AF913F73B; Fri, 28 Jun 2024 06:31:53 -0700 (PDT) From: harsimransingh.tungal@arm.com To: meta-arm@lists.yoctoproject.org Cc: Harsimran Singh Tungal Subject: [PATCH 1/3] arm-bsp/u-boot: corstone1000: fix U-Boot patch Date: Fri, 28 Jun 2024 14:31:43 +0100 Message-Id: <20240628133145.1444437-2-harsimransingh.tungal@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240628133145.1444437-1-harsimransingh.tungal@arm.com> References: <20240628133145.1444437-1-harsimransingh.tungal@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 28 Jun 2024 13:31:56 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/5849 From: Harsimran Singh Tungal Fix compilation issues with newer GCC version 14.1 in U-Boot patch Signed-off-by: Harsimran Singh Tungal --- .../corstone1000/0019-arm-corstone1000-esrt-support.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0019-arm-corstone1000-esrt-support.patch b/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0019-arm-corstone1000-esrt-support.patch index f8d4be86..0781e374 100644 --- a/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0019-arm-corstone1000-esrt-support.patch +++ b/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0019-arm-corstone1000-esrt-support.patch @@ -153,7 +153,7 @@ index c883e2ff0a..c6ab6e2182 100644 + return EFI_EXIT(ret); + + image_info_version_size_var -= image_info_name_size_var; -+ image_info->image_id_name = runner; ++ image_info->image_id_name = (u16*)runner; + runner += image_info_name_size_var; + + /* Consider changing the string modfication logic */ @@ -164,7 +164,7 @@ index c883e2ff0a..c6ab6e2182 100644 + if (ret != EFI_SUCCESS) + return EFI_EXIT(ret); + -+ image_info->version_name = runner; ++ image_info->version_name = (u16*)runner; + + *image_info_size = image_info_size_var; + From patchwork Fri Jun 28 13:31:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: harsimransingh.tungal@arm.com X-Patchwork-Id: 45719 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 46770C2BD09 for ; Fri, 28 Jun 2024 13:31:56 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.16935.1719581515868579904 for ; Fri, 28 Jun 2024 06:31:56 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: harsimransingh.tungal@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 61EBF106F; Fri, 28 Jun 2024 06:32:20 -0700 (PDT) Received: from e132995.arm.com (unknown [10.57.72.58]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D2E383F73B; Fri, 28 Jun 2024 06:31:54 -0700 (PDT) From: harsimransingh.tungal@arm.com To: meta-arm@lists.yoctoproject.org Cc: Harsimran Singh Tungal Subject: [PATCH 2/3] arm-bsp/trusted-services: corstone1000: fix compilation issues Date: Fri, 28 Jun 2024 14:31:44 +0100 Message-Id: <20240628133145.1444437-3-harsimransingh.tungal@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240628133145.1444437-1-harsimransingh.tungal@arm.com> References: <20240628133145.1444437-1-harsimransingh.tungal@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 28 Jun 2024 13:31:56 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/5850 From: Harsimran Singh Tungal Fix compilation issues with newer GCC version 14.1 for Trusted-Services patches by disabling some GCC flags for now. This is just to unblock the meta-arm master compilation issues. Signed-off-by: Harsimran Singh Tungal --- .../recipes-security/trusted-services/ts-arm-platforms.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-arm-bsp/recipes-security/trusted-services/ts-arm-platforms.inc b/meta-arm-bsp/recipes-security/trusted-services/ts-arm-platforms.inc index 837f6871..f67d5f62 100644 --- a/meta-arm-bsp/recipes-security/trusted-services/ts-arm-platforms.inc +++ b/meta-arm-bsp/recipes-security/trusted-services/ts-arm-platforms.inc @@ -22,5 +22,8 @@ SRC_URI:append:corstone1000 = " \ file://0018-Change-RSS_COMMS-cmake-variables-to-cahce-vars.patch \ " +# The patches above introduce errors with GCC 14.1, silence them for now +CFLAGS:append:corstone1000 = " -Wno-int-conversion -Wno-implicit-function-declaration" + COMPATIBLE_MACHINE:fvp-base = "fvp-base" TS_PLATFORM:fvp-base = "arm/fvp/fvp_base_revc-2xaemv8a" From patchwork Fri Jun 28 13:31:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: harsimransingh.tungal@arm.com X-Patchwork-Id: 45721 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 29AFEC3064D for ; Fri, 28 Jun 2024 13:32:06 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.17130.1719581518112941328 for ; Fri, 28 Jun 2024 06:31:58 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: harsimransingh.tungal@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B7B49106F; Fri, 28 Jun 2024 06:32:22 -0700 (PDT) Received: from e132995.arm.com (unknown [10.57.72.58]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 199AD3F766; Fri, 28 Jun 2024 06:31:56 -0700 (PDT) From: harsimransingh.tungal@arm.com To: meta-arm@lists.yoctoproject.org Cc: Harsimran Singh Tungal Subject: [PATCH 3/3] arm-bsp/trusted-services: fix compilation issues for ts-newlib Date: Fri, 28 Jun 2024 14:31:45 +0100 Message-Id: <20240628133145.1444437-4-harsimransingh.tungal@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240628133145.1444437-1-harsimransingh.tungal@arm.com> References: <20240628133145.1444437-1-harsimransingh.tungal@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 28 Jun 2024 13:32:06 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/5851 From: Harsimran Singh Tungal Fix compilation issues with newer GCC version 14.1 for ts-newlib package by disabling GCC flags for now. This is just to unblock meta-arm master compilation issues. Signed-off-by: Harsimran Singh Tungal --- .../recipes-security/trusted-services/ts-newlib_%.bbappend | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-arm-bsp/recipes-security/trusted-services/ts-newlib_%.bbappend b/meta-arm-bsp/recipes-security/trusted-services/ts-newlib_%.bbappend index 708f5986..e861426a 100644 --- a/meta-arm-bsp/recipes-security/trusted-services/ts-newlib_%.bbappend +++ b/meta-arm-bsp/recipes-security/trusted-services/ts-newlib_%.bbappend @@ -4,5 +4,6 @@ COMPATIBLE_MACHINE:corstone1000 = "corstone1000" SRC_URI:append:corstone1000 = " \ file://0001-newlib-memcpy-remove-optimized-version.patch;patchdir=../newlib \ " +export NEWLIB_CFLAGS_TARGET = "-Wno-implicit-function-declaration -Wno-int-conversion" COMPATIBLE_MACHINE:fvp-base = "fvp-base"