Message ID | 8adc52de4128c73f365590349ccca41ec29b48fd.1742546953.git.efraim@flashner.co.il |
---|---|
State | New |
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 62BC527BBE2; Fri, 21 Mar 2025 08:54: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=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,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 B9D2827BBEA for <patchwork@mira.cbaines.net>; Fri, 21 Mar 2025 08:54:32 +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 1tvY8p-0006jm-18; Fri, 21 Mar 2025 04:54:11 -0400 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 1tvY8m-0006jA-MS for guix-patches@gnu.org; Fri, 21 Mar 2025 04:54:08 -0400 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 1tvY8m-0000lg-Ba for guix-patches@gnu.org; Fri, 21 Mar 2025 04:54:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=Nm0MTn3PuHb4/eGXsiLB1bZ0fhJqalnqK2uq+cs4OrQ=; b=YwC5xqLgiK+lfXmgNgRYa5HV0W8aPj7Hzg0CDA+Zu+m5OStnwL9oAyHYd8WphVgjz1mmZCvganG2uV77TJ5nlgPzJEZA84mGK7yzFVZK4rxQGaD0d/r/HGecZyj2AnKdS4JZjnm0jCHsIg2ytqa49ZztJSLak+TZk6bDY8HS3ckReAaF5Vjnx2qHvxr+ACLwKT5dIKvTmRkQt15c7/CO44kH/T7GZ+EAzghgJKZqC84VmMq6roDxPTSFDK8hlszx4UNsJhwnUaGnR0fXExCjGkaOTGz/XyFiQT2JbHfIMdxkaDwpHsLvfsRqC6BIFX1oDEKy5E5+8LcRSUrAbU5Vnw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tvY8m-000152-41; Fri, 21 Mar 2025 04:54:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77148] [PATCH 1/9] gnu: Add u-boot-qemu-ppce550. Resent-From: Efraim Flashner <efraim@flashner.co.il> 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: Fri, 21 Mar 2025 08:54:07 +0000 Resent-Message-ID: <handler.77148.B77148.17425472213876@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77148 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77148@debbugs.gnu.org Cc: Efraim Flashner <efraim@flashner.co.il>, Maxim Cournoyer <maxim.cournoyer@gmail.com>, 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 77148-submit@debbugs.gnu.org id=B77148.17425472213876 (code B ref 77148); Fri, 21 Mar 2025 08:54:07 +0000 Received: (at 77148) by debbugs.gnu.org; 21 Mar 2025 08:53:41 +0000 Received: from localhost ([127.0.0.1]:35022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1tvY8K-00010S-NI for submit@debbugs.gnu.org; Fri, 21 Mar 2025 04:53:41 -0400 Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]:49508) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <efraim.flashner@gmail.com>) id 1tvY8F-0000yF-0q for 77148@debbugs.gnu.org; Fri, 21 Mar 2025 04:53:39 -0400 Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-ab7430e27b2so351817666b.3 for <77148@debbugs.gnu.org>; Fri, 21 Mar 2025 01:53:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742547208; x=1743152008; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=Nm0MTn3PuHb4/eGXsiLB1bZ0fhJqalnqK2uq+cs4OrQ=; b=Aasyl0leTbea2BsrQ3ZWnGevV7ApNpqz1T9sP5S4g5bQtJl58BR94Lu47Y2w3GpqKq gm5cHY+DGkOYEPPuG6klMBBZOLpu/IYzRpWz+h+DPDEtc6emd3TQgWWDZRWlqSIY/5Uj nNh0NlI7ZTOZ8dIebhMDks8LOOqoD6k4yEWoKcKWYJH1szjf3DJ+37VErsaEYV1Me8dq CPVPN6EuEAXconF5MTOci/UcET2HP2URz0mc9Mgus6MOfiBgAOtG9nqI+LgK4Auzwu7V HWrwwjECqeABI99E1uaSgfTGys0BzNBHvseoekjDlnrX47x81XTWu++X6WL08Vv/Uw/J XK/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742547208; x=1743152008; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Nm0MTn3PuHb4/eGXsiLB1bZ0fhJqalnqK2uq+cs4OrQ=; b=Tji0p+dSMr0ZUh3Qid4TvjkhmYHJHX4Nc2K3FaxG+5QeT7hBueNu5G/hpeeOXDqTdk KsWREHJVByv/YxKr9tBk80vfdHZ05rfU7FmfA/Vh6LyqwS3SAwQ3kryUJ/fIUweUJ8cc B52wUKh5QCGqWJrq2edQhq0X9nlrPkTXoJePtWtGyP7QxXjoNokFoDF1H708dP4BSKDU 2dc8TeZBPGVuOly5MC0feKzzHRqKLT3nTXJ08VDZvMOhwsdI7qnyCG2LbwxibNvIXrNq tA9eiF2lZ4ick32cukwbg+biMB6oN83AzISdhdGEAYEc8hKEb9ZPSV6htIFLcjLM7ta5 jaMQ== X-Gm-Message-State: AOJu0YwmV4LBARmoYKxw+Wf6NRqtlsC+JlEHx/VAr+1Cy6OnDOEzASmu nwjzfmGTwfuDJqPJvMTTrcqRDa/Z1H7BYhmvUuimQXz5iA+35IblPJjkXn9J X-Gm-Gg: ASbGncvc6bip8JT6Kp8t9vYe0whDT6U8eoIYWYYhelECq4qrHrI/K9p7Jc9D0bQA03n h/zcSBPpMymZvaRCzoE4zbH0xY0yOfwq2IvC+RbW1j4x3SKBtQFKF/Lh0uqD25g7Vf/0GDngI1f 2dNkWdo7R5qxgH9OzQY8pL6SeFVivQTult+w2ApSLLH0hCFl4la8hVJp10cR1dZoxtpZHWoOjc7 iqCH8ibiRmjDNZujG5zglxXF8gOkKGBKuzBfmeYgUYnNoV+02DZFQS6lzMS+4jkTJ7vMyHO9Qh2 jeF3VpXqLeGTzFXYD9C5u2IpYP1JfasFaTWCSBWBiTdtvZtN X-Google-Smtp-Source: AGHT+IHXN3ilnBPLmHUlqe4Obxo2tx5BTG733xdtd/d4fi0Ki1Sw/DN6nbCRD+HGcJpV+z9AgF9+4g== X-Received: by 2002:a17:907:3ea7:b0:ac2:1c64:b0a with SMTP id a640c23a62f3a-ac3f212ad50mr210528066b.14.1742547207911; Fri, 21 Mar 2025 01:53:27 -0700 (PDT) Received: from localhost ([31.210.181.32]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ac3efb658f9sm109741766b.120.2025.03.21.01.53.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Mar 2025 01:53:27 -0700 (PDT) From: Efraim Flashner <efraim@flashner.co.il> Date: Fri, 21 Mar 2025 10:53:02 +0200 Message-ID: <8adc52de4128c73f365590349ccca41ec29b48fd.1742546953.git.efraim@flashner.co.il> X-Mailer: git-send-email 2.48.1 In-Reply-To: <cover.1742546953.git.efraim@flashner.co.il> References: <cover.1742546953.git.efraim@flashner.co.il> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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> 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 |
New firmware and updates
|
|
Commit Message
Efraim Flashner
March 21, 2025, 8:53 a.m. UTC
* gnu/packages/bootloaders.scm (u-boot-qemu-ppce550): New variable. Change-Id: I92ec83741a90dc9e0c3bdcbeeab0ff5eb47024bf --- gnu/packages/bootloaders.scm | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-)
Comments
Hi, Efraim Flashner <efraim@flashner.co.il> writes: > * gnu/packages/bootloaders.scm (u-boot-qemu-ppce550): New variable. > > Change-Id: I92ec83741a90dc9e0c3bdcbeeab0ff5eb47024bf > --- > gnu/packages/bootloaders.scm | 22 +++++++++++++++++++++- > 1 file changed, 21 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm > index fcdd3abbba1..8678e1c480a 100644 > --- a/gnu/packages/bootloaders.scm > +++ b/gnu/packages/bootloaders.scm > @@ -6,7 +6,7 @@ > ;;; Copyright © 2016-2018, 2021-2023 Marius Bakke <marius@gnu.org> > ;;; Copyright © 2016, 2017 Danny Milosavljevic <dannym@scratchpost.org> > ;;; Copyright © 2016, 2017 David Craven <david@craven.ch> > -;;; Copyright © 2017, 2018, 2020-2024 Efraim Flashner <efraim@flashner.co.il> > +;;; Copyright © 2017, 2018, 2020-2025 Efraim Flashner <efraim@flashner.co.il> > ;;; Copyright © 2018–2022 Tobias Geerinckx-Rice <me@tobias.gr> > ;;; Copyright © 2019 nee <nee@cock.li> > ;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com> > @@ -1330,6 +1330,26 @@ (define-public u-boot-qemu-arm64 > ;; details. > #:configs '("# CONFIG_FIT_SIGNATURE is not set"))) > > +(define-public u-boot-qemu-ppce550 > + (let ((base > + (make-u-boot-package "qemu-ppce500" "powerpc-linux-gnu" > + ;; Disable features that require OpenSSL due > + ;; to GPL/Openssl license incompatibilities. > + ;; See https://bugs.gnu.org/34717 for > + ;; details. > + #:configs '("# CONFIG_FIT_SIGNATURE is not set")))) I thought the GPL incompatibility had been resolved in recent years (see https://openssl-library.org/post/2017-03-20-license/) ? > + (package > + (inherit base) > + (arguments > + (substitute-keyword-arguments (package-arguments base) > + ((#:phases phases #~'%standard-phases) > + #~(modify-phases #$phases > + (replace 'install > + (lambda _ > + (mkdir-p (string-append #$output "/share/qemu")) > + (copy-file "u-boot" (string-append > + #$output "/share/qemu/u-boot.e500"))))))))))) I'm not sure why we need a qemu variant; just having u-boot-ppce550 with a libvirt/QEMU firmware descriptor should be enough, unless I'm missing something.
On Fri, Mar 21, 2025 at 11:12:07PM +0900, Maxim Cournoyer wrote: > Hi, > > Efraim Flashner <efraim@flashner.co.il> writes: > > > * gnu/packages/bootloaders.scm (u-boot-qemu-ppce550): New variable. > > > > Change-Id: I92ec83741a90dc9e0c3bdcbeeab0ff5eb47024bf > > --- > > gnu/packages/bootloaders.scm | 22 +++++++++++++++++++++- > > 1 file changed, 21 insertions(+), 1 deletion(-) > > > > diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm > > index fcdd3abbba1..8678e1c480a 100644 > > --- a/gnu/packages/bootloaders.scm > > +++ b/gnu/packages/bootloaders.scm > > @@ -6,7 +6,7 @@ > > ;;; Copyright © 2016-2018, 2021-2023 Marius Bakke <marius@gnu.org> > > ;;; Copyright © 2016, 2017 Danny Milosavljevic <dannym@scratchpost.org> > > ;;; Copyright © 2016, 2017 David Craven <david@craven.ch> > > -;;; Copyright © 2017, 2018, 2020-2024 Efraim Flashner <efraim@flashner.co.il> > > +;;; Copyright © 2017, 2018, 2020-2025 Efraim Flashner <efraim@flashner.co.il> > > ;;; Copyright © 2018–2022 Tobias Geerinckx-Rice <me@tobias.gr> > > ;;; Copyright © 2019 nee <nee@cock.li> > > ;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com> > > @@ -1330,6 +1330,26 @@ (define-public u-boot-qemu-arm64 > > ;; details. > > #:configs '("# CONFIG_FIT_SIGNATURE is not set"))) > > > > +(define-public u-boot-qemu-ppce550 > > + (let ((base > > + (make-u-boot-package "qemu-ppce500" "powerpc-linux-gnu" > > + ;; Disable features that require OpenSSL due > > + ;; to GPL/Openssl license incompatibilities. > > + ;; See https://bugs.gnu.org/34717 for > > + ;; details. > > + #:configs '("# CONFIG_FIT_SIGNATURE is not set")))) > > I thought the GPL incompatibility had been resolved in recent years (see > https://openssl-library.org/post/2017-03-20-license/) ? I just copied it from the config above it, but I think we can drop it. > > + (package > > + (inherit base) > > + (arguments > > + (substitute-keyword-arguments (package-arguments base) > > + ((#:phases phases #~'%standard-phases) > > + #~(modify-phases #$phases > > + (replace 'install > > + (lambda _ > > + (mkdir-p (string-append #$output "/share/qemu")) > > + (copy-file "u-boot" (string-append > > + #$output "/share/qemu/u-boot.e500"))))))))))) > > I'm not sure why we need a qemu variant; just having u-boot-ppce550 with > a libvirt/QEMU firmware descriptor should be enough, unless I'm missing > something. qemu_ppce550 is the name of the config and I figured for qemu it would be better to have the name of the file match the bundled firmware file. (ins)efraim@3900XT ~/workspace/u-boot$ ls configs/qemu* configs/qemu_arm64_defconfig configs/qemu-arm-sbsa_defconfig configs/qemu-riscv32_smode_defconfig configs/qemu-riscv64_smode_defconfig configs/qemu-x86_defconfig configs/qemu_arm64_lwip_defconfig configs/qemu-ppce500_defconfig configs/qemu-riscv32_spl_defconfig configs/qemu-riscv64_spl_defconfig configs/qemu-xtensa-dc233c_defconfig configs/qemu_arm_defconfig configs/qemu-riscv32_defconfig configs/qemu-riscv64_defconfig configs/qemu-x86_64_defconfig (ins)efraim@3900XT ~/workspace/u-boot$ ls configs/*ppc* configs/qemu-ppce500_defconfig
Hi Efraim! Efraim Flashner <efraim@flashner.co.il> writes: [...] >> > +(define-public u-boot-qemu-ppce550 >> > + (let ((base >> > + (make-u-boot-package "qemu-ppce500" "powerpc-linux-gnu" >> > + ;; Disable features that require OpenSSL due >> > + ;; to GPL/Openssl license incompatibilities. >> > + ;; See https://bugs.gnu.org/34717 for >> > + ;; details. >> > + #:configs '("# CONFIG_FIT_SIGNATURE is not set")))) >> >> I thought the GPL incompatibility had been resolved in recent years (see >> https://openssl-library.org/post/2017-03-20-license/) ? > > I just copied it from the config above it, but I think we can drop it. Yes! >> > + (package >> > + (inherit base) >> > + (arguments >> > + (substitute-keyword-arguments (package-arguments base) >> > + ((#:phases phases #~'%standard-phases) >> > + #~(modify-phases #$phases >> > + (replace 'install >> > + (lambda _ >> > + (mkdir-p (string-append #$output "/share/qemu")) >> > + (copy-file "u-boot" (string-append >> > + #$output "/share/qemu/u-boot.e500"))))))))))) >> >> I'm not sure why we need a qemu variant; just having u-boot-ppce550 with >> a libvirt/QEMU firmware descriptor should be enough, unless I'm missing >> something. > > qemu_ppce550 is the name of the config and I figured for qemu it would > be better to have the name of the file match the bundled firmware file. Makes sense. Thanks for the clarification.
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm index fcdd3abbba1..8678e1c480a 100644 --- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm @@ -6,7 +6,7 @@ ;;; Copyright © 2016-2018, 2021-2023 Marius Bakke <marius@gnu.org> ;;; Copyright © 2016, 2017 Danny Milosavljevic <dannym@scratchpost.org> ;;; Copyright © 2016, 2017 David Craven <david@craven.ch> -;;; Copyright © 2017, 2018, 2020-2024 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2017, 2018, 2020-2025 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2018–2022 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2019 nee <nee@cock.li> ;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com> @@ -1330,6 +1330,26 @@ (define-public u-boot-qemu-arm64 ;; details. #:configs '("# CONFIG_FIT_SIGNATURE is not set"))) +(define-public u-boot-qemu-ppce550 + (let ((base + (make-u-boot-package "qemu-ppce500" "powerpc-linux-gnu" + ;; Disable features that require OpenSSL due + ;; to GPL/Openssl license incompatibilities. + ;; See https://bugs.gnu.org/34717 for + ;; details. + #:configs '("# CONFIG_FIT_SIGNATURE is not set")))) + (package + (inherit base) + (arguments + (substitute-keyword-arguments (package-arguments base) + ((#:phases phases #~'%standard-phases) + #~(modify-phases #$phases + (replace 'install + (lambda _ + (mkdir-p (string-append #$output "/share/qemu")) + (copy-file "u-boot" (string-append + #$output "/share/qemu/u-boot.e500"))))))))))) + (define-public u-boot-qemu-riscv64 (make-u-boot-package "qemu-riscv64" "riscv64-linux-gnu"))