Message ID | cover.1734645720.git.herman@rimm.ee |
---|---|
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8CCFA27BBEA; Thu, 19 Dec 2024 22:12:36 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 292D827BBE2 for <patchwork@mira.cbaines.net>; Thu, 19 Dec 2024 22:12:34 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1tOOkk-00034F-2o; Thu, 19 Dec 2024 17:12:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tOOkW-00031z-1c for guix-patches@gnu.org; Thu, 19 Dec 2024 17:12:07 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tOOkV-0007py-2Y for guix-patches@gnu.org; Thu, 19 Dec 2024 17:12:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=dkrd4YJnmSglT1BIDGWfKm6m+Z0YXH4k4EhaN3Nb4VE=; b=QMQo5H1rsIvhZMuZJgTkfC0WSpwOrj4qm/a4pFGad269ghr4i7L7oMKMwUt9uwMVZ9pjrO5ui5RcrfRapfx8rFELxzRInd9fR/BjNIuJcceye3hOlKpWL/9fXxann3DnsxObp/NVo5QFaQ2BzDyfjFAzMPPY8+uziwvCSYzeghCsivd7/SAiZG5B4aLExvEcmPSe+7eqU9Uw2PUo+RMKImziDcl9UuQJHOSbIyiChGwzpdIwS8FcWMIaAevZX0szsWPWqolmtawLBKY135s3xNYCzphm+EDQWYGUSUWmO0TQqAcjIHpCC6B7n5L2ExVcI4gcqPgn5yj9/YMFEY53sQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tOOkT-0007sy-Li; Thu, 19 Dec 2024 17:12:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74849] [PATCH v2 0/6] Update ARM Trusted Firmware. References: <cover.1734090979.git.herman@rimm.ee> In-Reply-To: <cover.1734090979.git.herman@rimm.ee> Resent-From: Herman Rimm <herman@rimm.ee> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: efraim@flashner.co.il, vagrant@debian.org, guix-patches@gnu.org Resent-Date: Thu, 19 Dec 2024 22:12:01 +0000 Resent-Message-ID: <handler.74849.B74849.173464630030205@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74849 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74849@debbugs.gnu.org Cc: Efraim Flashner <efraim@flashner.co.il>, Vagrant Cascadian <vagrant@debian.org> X-Debbugs-Original-Xcc: Efraim Flashner <efraim@flashner.co.il>, Vagrant Cascadian <vagrant@debian.org> Received: via spool by 74849-submit@debbugs.gnu.org id=B74849.173464630030205 (code B ref 74849); Thu, 19 Dec 2024 22:12:01 +0000 Received: (at 74849) by debbugs.gnu.org; 19 Dec 2024 22:11:40 +0000 Received: from localhost ([127.0.0.1]:40431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1tOOk7-0007r6-RJ for submit@debbugs.gnu.org; Thu, 19 Dec 2024 17:11:40 -0500 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:58395 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <herman@rimm.ee>) id 1tOOk4-0007qj-VB for 74849@debbugs.gnu.org; Thu, 19 Dec 2024 17:11:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1734646283; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=dkrd4YJnmSglT1BIDGWfKm6m+Z0YXH4k4EhaN3Nb4VE=; b=EfEWFP20tWGdq8R2W3Lbdt2P5vWQIHw/39+yM4+MEjnD0M8YIOcPE4L4+dV1eo/nTgLHzw YdJbc/qHWLJpWXT2DocmMZwUlsUFeQT7wExE3jQBiK9400GCL3EV6X/NHSMP+aF9YiFLrH H2fQcSDmUXVVwras3q+5Ia6cNt4Vmw4/cWKWzxkWTHJJRkUtKhZzeWQrWgS90CkIQ+RumH eFrhpSS/Po27WcuAYwwBjF38s5AF83FpCIGNCGZRs9zc/Ezx3G4VYf4oaSkC4h8Bg3rfIH ZNzgMQnMWbVpEutvXP895oJ68Otr/V1MextcIdOyL6ShiIf+8Rel/bA7jqLbQw== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 2510de4c (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <74849@debbugs.gnu.org>; Thu, 19 Dec 2024 22:11:23 +0000 (UTC) Date: Thu, 19 Dec 2024 23:10:29 +0100 Message-ID: <cover.1734645720.git.herman@rimm.ee> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Reply-to: Herman Rimm <herman@rimm.ee> X-ACL-Warn: , Herman Rimm via Guix-patches <guix-patches@gnu.org> From: Herman Rimm via Guix-patches via <guix-patches@gnu.org> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
Update ARM Trusted Firmware.
|
|
Message
Herman Rimm
Dec. 19, 2024, 10:10 p.m. UTC
Hello, This revision configures the ARM Trusted Firmware differently when doing a native build, which should fix the 'aarch64-none-elf-gcc' errors. I will give the guix-name procedure a more appropriate name in another patch (series). Cheers, Herman Herman Rimm (6): gnu: arm-trusted-firmware-rk3399: Reformat. gnu: arm-trusted-firmware: Reformat. import: utils: Move guix-name to (guix utils). gnu: make-arm-trusted-firmware: Use guix-name. gnu: make-arm-trusted-firmware: Update to 2.12. gnu: arm-trusted-firmware-imx8mq: Fix build. gnu/local.mk | 2 + gnu/packages/firmware.scm | 160 ++++++++---------- .../patches/8mq-enable-imx_hab_handler.patch | 36 ++++ .../patches/8mq-move-stack-to-ocram_s.patch | 88 ++++++++++ guix/import/elpa.scm | 1 + guix/import/texlive.scm | 10 +- guix/import/utils.scm | 10 -- guix/utils.scm | 9 + 8 files changed, 206 insertions(+), 110 deletions(-) create mode 100644 gnu/packages/patches/8mq-enable-imx_hab_handler.patch create mode 100644 gnu/packages/patches/8mq-move-stack-to-ocram_s.patch base-commit: 07b4b1d055c36c6c61d39273c26974771dbfe805
Comments
On 2024-12-19, Herman Rimm wrote: > This revision configures the ARM Trusted Firmware differently when doing > a native build, which should fix the 'aarch64-none-elf-gcc' errors. That does appear to work, nice! I had another working patch that added to native inputs: (cross-gcc "aarch64-none-elf") (cross-binutils "aarch64-none-elf") And passed CROSS_COMPILE=aarch64-none-elf- ... But those extra inputs are silly and your fix is much nicer! > I will give the guix-name procedure a more appropriate name in another > patch (series). Could the guix-name stuff just be submitted as it's own patch series? It seems more-or-less unrelated to this patch series, only resulting in a few small line changes... live well, vagrant
On 2024-12-19, Vagrant Cascadian wrote: > On 2024-12-19, Herman Rimm wrote: >> This revision configures the ARM Trusted Firmware differently when doing >> a native build, which should fix the 'aarch64-none-elf-gcc' errors. > > That does appear to work, nice! ... >> I will give the guix-name procedure a more appropriate name in another >> patch (series). > > Could the guix-name stuff just be submitted as it's own patch series? > It seems more-or-less unrelated to this patch series, only resulting in > a few small line changes... I reverted the guix-name stuff and pushed as: 91f50366e5bc54951851e99f5600f9abb628b6ec (origin/master) gnu: arm-trusted-firmware-imx8mq: Fix build. 29ff4a6ca836c0ee8fe052eda3ad9a5d2bb8d2af gnu: make-arm-trusted-firmware: Update to 2.12. c514002bd79eb49653857bddc14bd342f848cbcf gnu: arm-trusted-firmware: Reformat. 442c218c181734251ab671b29ef6bece998f6f04 gnu: arm-trusted-firmware-rk3399: Reformat. I pushed, though there are somethings included that should go upstream.... These two patches do not appear to be in upstream: * gnu/packages/patches/8mq-enable-imx_hab_handler.patch: Add file. * gnu/packages/patches/8mq-move-stack-to-ocram_s.patch: Add file. This phase should probably be reported and fixed upstream as well: - (delete 'configure) ;no configure script + (replace 'configure ;no configure script + ;; Fix ATF commit ffb7742125def3e0acca4c7e4d3215af5ce25a31 + (lambda _ + (unless #$(native-build?) + (substitute* "plat/rockchip/rk3399/drivers/m0/Makefile" + (("-oc") "-oc-default")) + (substitute* "make_helpers/build_macros.mk" + (("-oc") "-oc-default") + (("-od") "-od-default"))))) I do not see any fixes in upstream about this. Works fine without this for native building but not for cross-building. And now I catch myself after having pushed it, I meant to switch that back to deleting the configure phase and renaming it some other phase! It is not really configure functionality, probably should have been with (add-after 'unpack ... or something like that ... or just a full patch, to make it possible to submit upstream. Thanks for your contribution! live well, vagrant