GNU bug report logs - #77148
[PATCH 0/9] New firmware and updates

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Efraim Flashner <efraim@HIDDEN>; Keywords: patch; dated Fri, 21 Mar 2025 08:51:06 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 77148 <at> debbugs.gnu.org:


Received: (at 77148) by debbugs.gnu.org; 27 Mar 2025 12:27:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 27 08:27:12 2025
Received: from localhost ([127.0.0.1]:48011 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1txmKG-0002Uo-6e
	for submit <at> debbugs.gnu.org; Thu, 27 Mar 2025 08:27:12 -0400
Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]:44131)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1txmKD-0002Th-Ud
 for 77148 <at> debbugs.gnu.org; Thu, 27 Mar 2025 08:27:10 -0400
Received: by mail-pl1-x636.google.com with SMTP id
 d9443c01a7336-2255003f4c6so18200065ad.0
 for <77148 <at> debbugs.gnu.org>; Thu, 27 Mar 2025 05:27:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1743078423; x=1743683223; darn=debbugs.gnu.org;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=vm50ZiBPtXJPItvfC7uM7UG5cthTtikxiWsmX+z/cJk=;
 b=XT+NHOsn95V+FmlfGIcyBssaBeo8/FxzDYLD60XUtzMx7dJ654eP62voq5MzdBa7Sf
 VxzdH2TQcrUaIXWcqZz+EssU93bmqYPEzfpTMy9owJlAQC2lhHMRGUidTUA94VBXKohk
 WOkuN6tWJ4yh361yQW2y0gzQXKQg0UI9RuYhy2+ovoLrPWXoONLLh//L564zj0FdSudu
 7j6sKs8MUbl+dohxguaOJHePzmL6GDLiYAP+NR6aGJfQKgOL4j/nybAg4g4E7T9e5ofH
 sml1MSSFoeS9BJs7OwQPojA650ildx/6cnM0DVkiYGMVxVbkyNt24cmIgGVZjcvZMf9G
 ZzqA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1743078423; x=1743683223;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=vm50ZiBPtXJPItvfC7uM7UG5cthTtikxiWsmX+z/cJk=;
 b=Jl1Pd7CWCeXLP5Kvn7FIXrsnyizMJ9dpd66craLvBwxjHOga0IpLXVyWFwaYLE5pOH
 lyqjvUwwGtJPLkbKP1JhE/qs9+6FLTwXOfqgncmi/QwWmOtqtQas/EVF0BAAarCQb6up
 5Dj0NtoISuIYN/hqfCHy6jTsDnatEh/hvdE3zhN5aX+Q61RLc40qdXBybRCwGf9q95Fy
 EYwCsIY0LWcfLwBcM45SseKpXHpAuB93bTyUHCiq/DRyByFQvk+0ygRJJelz/+pXhFnz
 WV8fHdmF44ZWWj9sfTnc3VpASxOwuJei1tHIuzbXwmAz88aI5hHCC2ZmgrHMnRRZnJTW
 KpSQ==
X-Gm-Message-State: AOJu0YznGXhsnXpIA+kW0pWkOmL5emxWvghaSAoMNp8AcGb/M11pFCxR
 6p6tpOG+quWICp1MdgLv9lL1rR5x/CMx/0vTRLPxbSwRjq2+YCL9mFof3g==
X-Gm-Gg: ASbGncscO4qRssr6IxPXisjSOH3BSJ7FUgfXvheeZ6iuMuxs3kLRgVQP+AWYfNvaWc/
 yFWPemw8e3J9vd2JTOzH2JEtW5OMTO96PXWzYDLNF6PoyKjkTTX79cAvaEGgZ7aXRNeOK0+1QnT
 8eYCPPExDHnoiwLewr/az4HPdtNfP7u86+ghKFVxi0DpJFjZms0tPqxBzJkpX+R9smh0d+jnu6I
 0bjK75Am5D2OdmSN9Ji88d8Hm+8fbv80uJW0UbncEyniBJ25JsRVg3BveVgQxF42udFeIleQtaR
 Y3j5nFMoJXu4RnarZs0vxPsylCjimvCBJ8jp9Xz/uaw=
X-Google-Smtp-Source: AGHT+IE/hmKSLTJOB6n8YZvHAzPVuw21FWzjLpIvKZ9asAIF18FB5WiFlv8PjN8VhtcTyCeSAXrHRg==
X-Received: by 2002:a05:6a20:2446:b0:1fd:f8dc:833e with SMTP id
 adf61e73a8af0-1fea2f63573mr8204812637.30.1743078423265; 
 Thu, 27 Mar 2025 05:27:03 -0700 (PDT)
Received: from terra ([2405:6586:be0:0:83c8:d31d:2cec:f542])
 by smtp.gmail.com with ESMTPSA id
 d2e1a72fcca58-73905fab592sm14652896b3a.19.2025.03.27.05.27.01
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 27 Mar 2025 05:27:02 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: Efraim Flashner <efraim@HIDDEN>
Subject: Re: [PATCH 9/9] gnu: Add ovmf-loongarch64.
In-Reply-To: <Z-AnandcRW92KtsR@3900XT> (Efraim Flashner's message of "Sun, 23
 Mar 2025 17:23:22 +0200")
References: <cover.1742546953.git.efraim@HIDDEN>
 <78e614438f4b7e4f07be2b764eeb71d41875607e.1742546953.git.efraim@HIDDEN>
 <87sen5jz8u.fsf@HIDDEN> <Z-AnandcRW92KtsR@3900XT>
Date: Thu, 27 Mar 2025 21:26:46 +0900
Message-ID: <87iknuwtfd.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 77148
Cc: 77148 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Efraim,

[...]

>> I think we should add the QEMU firmware descriptors everywhere so that
>> they'll be usable with the libvirt-configuration firmwares field I
>> proposed in bug#77110.  Perhaps we can apply that one first to make this
>> slightly easier (it provided some `ovmf-aux-file' procedure you'll
>> probably want to use to locate the a locally kept .json QEMU firmware
>> descriptor file).
>
> Sounds good to me.

I've now merged bug#77110, so feel free to go ahead and add the relevant
.json QEMU firmware descriptors that'll make the firmware usable with
our libvirt service.

-- 
Thanks,
Maxim




Information forwarded to guix-patches@HIDDEN:
bug#77148; Package guix-patches. Full text available.

Message received at 77148 <at> debbugs.gnu.org:


Received: (at 77148) by debbugs.gnu.org; 24 Mar 2025 00:29:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 23 20:29:05 2025
Received: from localhost ([127.0.0.1]:53159 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1twVge-0006iD-S6
	for submit <at> debbugs.gnu.org; Sun, 23 Mar 2025 20:29:05 -0400
Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]:51326)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1twVgc-0006hh-HV
 for 77148 <at> debbugs.gnu.org; Sun, 23 Mar 2025 20:29:03 -0400
Received: by mail-pl1-x62b.google.com with SMTP id
 d9443c01a7336-227aaa82fafso12238895ad.2
 for <77148 <at> debbugs.gnu.org>; Sun, 23 Mar 2025 17:29:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1742776136; x=1743380936; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=TZSG//0PF5jm5yYVEu5cuZ6Z7mEc5Lg8+vH5nSWQ16A=;
 b=bX9ualJG49OI1DnygQbM4OvtiY46DSUpDDoDf7OSNAoS6oxvGbJj+NygBJIU9R57cc
 9X2pDcxu11c2GzgB3eXGcivVPVzciKfCfrZ/T06bye+2j6DtFxE2y1PaMOvvPxmeFzQA
 F9ksac/8W8I0SICH5IJPIsHG4OYmc5p29IZxAY4FqlOiXtfcnrVghkPFEene1UfiIc8P
 eWwljFrDyIVfI3Kry1zlKp7m6j/OOXoZtWW4jvacZxm/8PatMg9xlsDC0uY54vXZlg6U
 Q5OmGEJsArAlL5B0YtVe6Lwz0/e14GUZ+CAk8PYU2t8vL9NnuOZUqCs50j2ibKfcYbSu
 EY9w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1742776136; x=1743380936;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from
 :to:cc:subject:date:message-id:reply-to;
 bh=TZSG//0PF5jm5yYVEu5cuZ6Z7mEc5Lg8+vH5nSWQ16A=;
 b=I54Un/1GSNiyS3eomEypqkQfTDEjqIosGlfdgytD+ICQkFIrB19ZxWo1PIy58QMbVj
 Jtl4HRHl8G3tMTKKumV11ACZ/j83ITwm4zzz7S5lZOPeCrmh5ybIjQlqabPW4rOP+Jvt
 k5R19Y2Z8JlwG+Dp18N2Eg5x3KHluBxQUNdUwJoUkQ7+Petk+9Oe4V1MTXeS843Z/8cQ
 kpJwI7A+TzmABqVB/MhP1zPJRq4GU5MJSJbSGUn7EZLrYhl3A0KLw97WCwHEusuCtUa+
 lsRskvzVcHYP0xDLQbVLosfjxdyvuksO2ZwgyIFlX2uZtGaLWge1RdoCHQdsARUBPNJD
 DMOg==
X-Gm-Message-State: AOJu0Yy25PVLNVuCM1BtYqracWab/jhskPBPMAMtsWI/C132WWnnOLOF
 ObWbF+Dctrcnb7Svf71wV5QBIUFEZWD2zKaEBtQeb9faYKukW64wCfXbJQ==
X-Gm-Gg: ASbGncstPGhRgF6HCZSoEV1l5flk7nC7P9TiaiE8rA+DpjQ5pS7V1ahWEDmODMALR3y
 P6Ve2IFxcM1jiS+ZY1FfyabGhAyt0mC4qomeWsjhuJNkVnDtNyz+oVDbc9frC8XMtkIWJbItu3n
 R+8PeoWko0W9Am+1JBznXaNT9Ojk3MN4Ju3zK42ICxCK/Ff8I4JIsVfzBtgD3KjMm3gJ+w5uwsh
 bIqTV4DEhMZgZliq494h/n6yL3XhIYYvR5cGT3QgcUp/hXHS3bMgJZc3i4UYlR5QJsV/B+3k7ju
 NOHJsbsjujU1O+10LPIIpyYK1bdqg7mkyzccjEEHcaw=
X-Google-Smtp-Source: AGHT+IGZt3qToGMjK6gHqWMXQfFWd28GVcitn1WZUKGYYj9op7P2d8pNDlvokm3f875/+RlastEWhg==
X-Received: by 2002:a17:903:4404:b0:223:64bb:f657 with SMTP id
 d9443c01a7336-22780e20a84mr179605525ad.46.1742776135634; 
 Sun, 23 Mar 2025 17:28:55 -0700 (PDT)
Received: from terra ([2405:6586:be0:0:83c8:d31d:2cec:f542])
 by smtp.gmail.com with ESMTPSA id
 d9443c01a7336-227811e214dsm57695195ad.203.2025.03.23.17.28.54
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 23 Mar 2025 17:28:55 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: Efraim Flashner <efraim@HIDDEN>
Subject: Re: [PATCH 5/9] gnu: ovmf-aarch64: Update installed firmware.
In-Reply-To: <Z-Am-Xjw6302h14A@3900XT> (Efraim Flashner's message of "Sun, 23
 Mar 2025 17:21:29 +0200")
References: <cover.1742546953.git.efraim@HIDDEN>
 <beb9363334633a274a50da8e027e9eafc20aee82.1742546953.git.efraim@HIDDEN>
 <871puplevd.fsf@HIDDEN> <Z-Am-Xjw6302h14A@3900XT>
Date: Mon, 24 Mar 2025 09:28:40 +0900
Message-ID: <87ldsvz2yv.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 77148
Cc: 77148 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi,

Efraim Flashner <efraim@HIDDEN> writes:

> On Sat, Mar 22, 2025 at 04:10:46PM +0900, Maxim Cournoyer wrote:
>> Hi,
>>=20
>> Efraim Flashner <efraim@HIDDEN> writes:
>>=20
>> > * gnu/packages/firmware.scm (ovmf-aarch64)[arguments]: Adjust the
>> > 'install phase to install another binary and to truncate the file to t=
he
>> > expected length.
>> >
>> > Change-Id: I53958d5f2ca392e1033630e1dfd29d86c25a74fc
>> > ---
>> >  gnu/packages/firmware.scm | 11 ++++++++---
>> >  1 file changed, 8 insertions(+), 3 deletions(-)
>> >
>> > diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
>> > index e7d2e390acc..049fd9246fb 100644
>> > --- a/gnu/packages/firmware.scm
>> > +++ b/gnu/packages/firmware.scm
>> > @@ -1190,9 +1190,14 @@ (define-public ovmf-aarch64
>> >                   (lambda _
>> >                     (let ((fmw (string-append #$output "/share/firmwar=
e")))
>> >                      (mkdir-p fmw)
>> > -                    (copy-file (string-append "Build/ArmVirtQemu-AARC=
H64/"
>> > -                                              "RELEASE_GCC/FV/QEMU_EF=
I.fd")
>> > -                               (string-append fmw "/ovmf_aarch64.bin"=
))))))))))))
>> > +                    (with-directory-excursion "Build/ArmVirtQemu-AARC=
H64/RELEASE_GCC/FV"
>> > +                      ;; Make the files the desired length and then i=
nstall them
>> > +                      (truncate-file "QEMU_EFI.fd" (* 64 1024 1024))
>> > +                      (truncate-file "QEMU_VARS.fd" (* 64 1024 1024))
>> > +                      (copy-file "QEMU_VARS.fd"
>> > +                                 (string-append fmw "/ovmf_vars_aarch=
64.bin"))
>> > +                      (copy-file "QEMU_EFI.fd"
>> > +                                 (string-append fmw "/ovmf_aarch64.bi=
n")))))))))))))
>>=20
>> It's surprising that the firmware files must be truncated; does it not
>> work if we leave them at their original size (and what would that be?).
>> Expounding the explanatory comment would help.
>
> ovmf_aarch64.bin is currently 2097152 bytes (2.0 Mb). I'll try to find
> an actual explanation somewhere, but Debian also uses truncate on their
> files=C2=B9
>
> =C2=B9 https://sources.debian.org/src/edk2/2024.11-5/debian/rules/#L249

That would mean that the truncate to 64 MiB is not useful?  I guess it's
an historical thing that can be removed then, unless you find a
satisfying explanation.

--=20
Thanks,
Maxim




Information forwarded to guix-patches@HIDDEN:
bug#77148; Package guix-patches. Full text available.

Message received at 77148 <at> debbugs.gnu.org:


Received: (at 77148) by debbugs.gnu.org; 24 Mar 2025 00:25:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 23 20:25:09 2025
Received: from localhost ([127.0.0.1]:53148 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1twVcr-0006VV-80
	for submit <at> debbugs.gnu.org; Sun, 23 Mar 2025 20:25:09 -0400
Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]:44200)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1twVco-0006Ur-BZ
 for 77148 <at> debbugs.gnu.org; Sun, 23 Mar 2025 20:25:07 -0400
Received: by mail-pl1-x635.google.com with SMTP id
 d9443c01a7336-2255003f4c6so69525625ad.0
 for <77148 <at> debbugs.gnu.org>; Sun, 23 Mar 2025 17:25:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1742775900; x=1743380700; darn=debbugs.gnu.org;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=4Aiy9gbzPP47tV8MxS557WNo5u6/0B0t7I3ZjsLPIM4=;
 b=Yid+mNHWZoKMLHto5zoclymbd9+zndcWX2KudmZ2/AhQE3GsIaLjrns9yhb7MTkuIG
 hMqxbTrjBLysNMsVm5rUiJ1Z+JL1J/Z1UEUoayzr16vbWsLtP6KmtFKEALRMkfeDpFCB
 8JvuE8g9Qx4nljqrVCxtChj4MEmYszwPHGf3x7crDT9uS/T8AXWZen/eKPyFLGRXb+vN
 +ZUcAWTPdK8sxTiA4hKF7PRC1s4SKou30yY+SualMFcItBZ0oiuX8L38k3bpCFd8BsfK
 YVJAdVZBZWlJPU5gwpLSFhFT1a8Azmpxi9oE4HlneuyLi01XJ2IUtEttWehqmAZoWYZD
 r9Ew==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1742775900; x=1743380700;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=4Aiy9gbzPP47tV8MxS557WNo5u6/0B0t7I3ZjsLPIM4=;
 b=X6ZIqQc3gcSelG7TNCB5j7v0esHzS0QfKR0DkGg2SyES1v1lGXOej8zCtbI4jgidXq
 /FfuUX0N+ndzqVhEtA9whd7nUFYg18lZuf2DEFAV64B/k7hsEKwitj2XDoZom+JNmR0O
 EJiUE4Qso+nrh34cUjeCWD4kpvVf6L6AvjpQKP0xnKseSzTUeq2/QH/qsPU8cVmVbxb4
 EFRKa7JOUM7ZHh4Ctl+gOU1W6EQplhiNtIYwc4uOjh4++eAwcRMVGIbxbZ6zZtuNOWML
 uBVz+xO1r9AYgQBIzZ7UorR7rQujmvmZ4tkzTUkdYuzPeX1ZkSIzJF3pqJU22CCzFNri
 bgww==
X-Gm-Message-State: AOJu0Yx+0wz87AtyN/6B+IJTeyDC+VHQjELfc4M3/Rr5BDmAa9xJGinO
 jqbmICpTuUVM676fOtjRxmSB8HQh0A+/K1K/sGEyXu2XqAkzu4ARF5+/Mw==
X-Gm-Gg: ASbGncvD9z40GeNdeL/qHHc9gq2SByHG5B/lvsoKP9kEIliXZk3cHEyqmORO5I01921
 j0NfP5i/39M1JEV01pguUYQP/trCt3PhmcBeeR/Z51tomF/uxJht2pcm5qr2GxEbbqpekz8npZO
 VfFJEAVebarm7VjcE+JzkfC9C7sGBMtO7kITGwJ0zhSh1ikDXcVBuJTpUc83kVmugSaac5vLtua
 ZejQZ+1WFdSix4wh3FsVnDfYH2KkRunTIUV+djzOvQ/RmSU/VQR7cj5y5eG/MNthGTJjbkuh0w3
 mi+XzeSsEEEWi1CZsagJewYD601ajV1S3oFbRULHSH6uQcBzI8/PoA==
X-Google-Smtp-Source: AGHT+IECWiTbaojVFDPujPE1ZO6Ab8hIVpgls9ivKrpHHMTe4kd83puAy/bnvUFxW8Ev9V3IVlwC0g==
X-Received: by 2002:a05:6a21:3393:b0:1f5:6e71:e45 with SMTP id
 adf61e73a8af0-1fe4300f80amr16255664637.27.1742775899475; 
 Sun, 23 Mar 2025 17:24:59 -0700 (PDT)
Received: from terra ([2405:6586:be0:0:83c8:d31d:2cec:f542])
 by smtp.gmail.com with ESMTPSA id
 d2e1a72fcca58-73905fd57e1sm6707163b3a.56.2025.03.23.17.24.57
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 23 Mar 2025 17:24:58 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: Efraim Flashner <efraim@HIDDEN>
Subject: Re: [PATCH 1/9] gnu: Add u-boot-qemu-ppce550.
In-Reply-To: <Z-AlMAiueza532Xa@3900XT> (Efraim Flashner's message of "Sun, 23
 Mar 2025 17:13:52 +0200")
References: <cover.1742546953.git.efraim@HIDDEN>
 <8adc52de4128c73f365590349ccca41ec29b48fd.1742546953.git.efraim@HIDDEN>
 <875xk2lbgo.fsf@HIDDEN> <Z-AlMAiueza532Xa@3900XT>
Date: Mon, 24 Mar 2025 09:24:43 +0900
Message-ID: <87wmcfz35g.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 77148
Cc: 77148 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Efraim!

Efraim Flashner <efraim@HIDDEN> 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.

-- 
Thanks,
Maxim




Information forwarded to guix-patches@HIDDEN:
bug#77148; Package guix-patches. Full text available.

Message received at 77148 <at> debbugs.gnu.org:


Received: (at 77148) by debbugs.gnu.org; 23 Mar 2025 15:23:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 23 11:23:32 2025
Received: from localhost ([127.0.0.1]:52089 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1twNAi-00060F-2q
	for submit <at> debbugs.gnu.org; Sun, 23 Mar 2025 11:23:32 -0400
Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:45137)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <efraim.flashner@HIDDEN>)
 id 1twNAg-0005zk-Du
 for 77148 <at> debbugs.gnu.org; Sun, 23 Mar 2025 11:23:31 -0400
Received: by mail-wm1-x32e.google.com with SMTP id
 5b1f17b1804b1-43cfebc343dso25634815e9.2
 for <77148 <at> debbugs.gnu.org>; Sun, 23 Mar 2025 08:23:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1742743404; x=1743348204; darn=debbugs.gnu.org;
 h=in-reply-to:content-disposition:mime-version:references
 :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to
 :cc:subject:date:message-id:reply-to;
 bh=wNorDwVWHMJt++vmVGFuGs1DhERgM4pgb5CxrrKPOfw=;
 b=ehq08/KbULP+FjUVQr6AHMwnrM7gBW5Py8+fpe/jY2NCorLzK9/K7Va45PGjRvyiW1
 2MiConEOloS9pa7e4bCdgzmbRLq6p3gM15jiI+G7ePs2AEO2GrnygOAg903M74sudEsy
 hec9hCaYqVCAgvIaQr5LXLzL9A4lWrZojMrQ0T2+CwU85bktnVpV9MmU5j0zI+VqvqSW
 3bah69QO8lPEausezIWWlEi5oOFzlIvfDQO05ZRwLCFGaVVn6S2kzf0uSluQjaej5Cbe
 vD9rnmEpX5JHkxfDLU+ep0+qBiAPzdqIgH+0Fr+dsHsf/bnwIh/yqWKFbq0zI9B4F/fU
 HXWw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1742743404; x=1743348204;
 h=in-reply-to:content-disposition:mime-version:references
 :mail-followup-to:message-id:subject:cc:to:from:date:sender
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=wNorDwVWHMJt++vmVGFuGs1DhERgM4pgb5CxrrKPOfw=;
 b=mAfBL10YxazWXZjILoO8svShuewyuPVuNvlVA1EHXTY3AVxTshuuosQo+HlmcC0Pwr
 LIl24sLvoYs1EzB1LeFcNES3UPNghoo2hqzkLsv2YQniidR5rnCZmqIwjJ3KyfUPGi5V
 aP9onzYixtlyMFL0OY5O5YOc+B22w+NAsjbwqQnmFvVsH3ESd+HujdI8MHcxN7rNc5UR
 77r94Fzhr0f2/UUYNIJyM+SHILJaFSbuXlF2pwh8i02KCWxOmKN85J2gr99y69RiUVkW
 6qJYTmx3DTqDAKiUA0e9gkeMxwqY9Jztqa6AKhsu2uT6+00h8quAeHHGGlw9l5CyCWXJ
 9U7A==
X-Gm-Message-State: AOJu0YzX9Ex7HO7jjBz4ulXRdWG4sTKzOLeKi2KQEk8Lze7ppice83o5
 dRfLOPcEw09XDcFk4X58blUBDe81k6NulKoYpYTSZVKJNEcAxjdJ
X-Gm-Gg: ASbGncvgzC8saeHwd+iiARC611bIOJK7phpdfV46MPa96/QdqIsEOYGv82fFIc/DOnm
 4q7JHKNMQnHyCvrS+rKf3km/Q8AFT+AErsJB5W+wHcPvzhn3lOmKEehYclVxdYYmfHAu0IQaQyr
 oNAruga3M+R232PWrAHXs3wPAX2hbU0+VL/kFwretVBW67BxNzPgF3RyP3wuUtsUPndcSAz20Ck
 DuQTq/egDX0f3Z7sOGyoM3efq1PXZMpu53nDqXG03KReYp1CKsX7mNYjC2/o93oMS6BQxX0wqnz
 upeqJ0WqVAOdhm+WPCeKqxfOlxV9bXuju9zRh0B6Woo=
X-Google-Smtp-Source: AGHT+IHE7fN4lUsOVfcgA1SMhnpQHhavehXCvlXJ3SHSMG+Dr3NsUmC8VLYj8kaW8db4j6dph2iA3Q==
X-Received: by 2002:a05:600c:4e94:b0:43c:fa0e:4713 with SMTP id
 5b1f17b1804b1-43d509e1b82mr70062585e9.2.1742743403882; 
 Sun, 23 Mar 2025 08:23:23 -0700 (PDT)
Received: from localhost ([141.226.15.94]) by smtp.gmail.com with ESMTPSA id
 5b1f17b1804b1-43d43d7c6a5sm141139435e9.0.2025.03.23.08.23.23
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 23 Mar 2025 08:23:23 -0700 (PDT)
Date: Sun, 23 Mar 2025 17:23:22 +0200
From: Efraim Flashner <efraim@HIDDEN>
To: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Subject: Re: [PATCH 9/9] gnu: Add ovmf-loongarch64.
Message-ID: <Z-AnandcRW92KtsR@3900XT>
Mail-Followup-To: Efraim Flashner <efraim@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@HIDDEN>, 77148 <at> debbugs.gnu.org
References: <cover.1742546953.git.efraim@HIDDEN>
 <78e614438f4b7e4f07be2b764eeb71d41875607e.1742546953.git.efraim@HIDDEN>
 <87sen5jz8u.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature"; boundary="+hFEyUtqlqZOQXmF"
Content-Disposition: inline
In-Reply-To: <87sen5jz8u.fsf@HIDDEN>
X-PGP-Key-ID: 0x41AAE7DCCA3D8351
X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc
X-PGP-Fingerprint: A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
X-Spam-Score: 0.1 (/)
X-Debbugs-Envelope-To: 77148
Cc: 77148 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.9 (/)


--+hFEyUtqlqZOQXmF
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Mar 22, 2025 at 04:33:37PM +0900, Maxim Cournoyer wrote:
> Hello,
>=20
> Efraim Flashner <efraim@HIDDEN> writes:
>=20
> > * gnu/packages/firmware.scm (ovmf-loongarch64): New variable.
> > (make-ovmf-firmware)[arguments]: Adjust the 'build phase to add a case
> > for loongarch64.
> >
> > Change-Id: Ibb916b50fd3dc7831ac895cb8b59695688750377
> > ---
> >  gnu/packages/firmware.scm | 21 +++++++++++++++++++++
> >  1 file changed, 21 insertions(+)
> >
> > diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
> > index fe2956fbfdf..6f784a281d3 100644
> > --- a/gnu/packages/firmware.scm
> > +++ b/gnu/packages/firmware.scm
> > @@ -1090,6 +1090,8 @@ (define* (make-ovmf-firmware arch)
> >                                  "ArmVirtPkg/ArmVirtQemu.dsc")
> >                                 ("riscv64"
> >                                  "OvmfPkg/RiscVVirt/RiscVVirtQemu.dsc")
> > +                               ("loongarch64"
> > +                                "OvmfPkg/LoongArchVirt/LoongArchVirtQe=
mu.dsc")
> >                                 (_ #t)))))
> >              (add-before 'install 'install-efi-shell
> >                (lambda _
> > @@ -1247,6 +1249,25 @@ (define-public ovmf-riscv64
> >                        (install-file "RISCV_VIRT_CODE.fd" fmw)
> >                        (install-file "RISCV_VIRT_VARS.fd" fmw))))))))))=
))
> > =20
> > +(define-public ovmf-loongarch64
> > +  (let ((base (make-ovmf-firmware "loongarch64")))
> > +    (package
> > +      (inherit base)
> > +      (arguments
> > +        (substitute-keyword-arguments (package-arguments base)
> > +          ((#:phases phases)
> > +           #~(modify-phases #$phases
> > +               (replace 'install
> > +                 (lambda _
> > +                   (let ((fmw (string-append #$output "/share/firmware=
")))
> > +                     (mkdir-p fmw)
>=20
> Nitpick: fw is more commond than fwm as an abbrevation.
>=20
> > +                     (with-directory-excursion "Build/LoongArchVirtQem=
u/RELEASE_GCC/FV"
>=20
> Other nitpick: I'd break the directory part on a newline to fit under 80
> columns, per our code style guidelines.
>=20
> Otherwise, my general comments elsewhere apply it too, but it LGTM
> otherwise.
>=20
> I think we should add the QEMU firmware descriptors everywhere so that
> they'll be usable with the libvirt-configuration firmwares field I
> proposed in bug#77110.  Perhaps we can apply that one first to make this
> slightly easier (it provided some `ovmf-aux-file' procedure you'll
> probably want to use to locate the a locally kept .json QEMU firmware
> descriptor file).

Sounds good to me.

--=20
Efraim Flashner   <efraim@HIDDEN>   =D7=90=D7=A4=D7=A8=D7=99=D7=9D =
=D7=A4=D7=9C=D7=A9=D7=A0=D7=A8
GPG key =3D A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

--+hFEyUtqlqZOQXmF
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmfgJ2oACgkQQarn3Mo9
g1Gjmg/9HjAAgxWV4mnkbBHydLPbjebD/ivdZZ3v7jP5KAxyO9mefNxccUEjV3w7
grIG6kyGGk5G8697H86aCniEL/OIL5/GL4KARX8xmjfjQIoorOIaQSsv0Ev6AMtX
Tid75tRNGrnpQA7Z2FHshBjyckIWxwqlZIwGeOEBRnaobN8vAlZJlIeZZ11OkrbC
mQcVShEAWMPU5IWdK4JcdHirSgOZfxdcUf6yLCdqJkjZvhEw+Ff1BU0hKkZWdIt/
BQ3nodJTCXkJiBQJNQgORVcoeA1Q81+XL2YcLVwV2MSgpr6NuqbCksPUvzXdRnNi
WifNBpsLGf598L02GDvfg1SL9WB2rs8kKhZuhACf5HE04Z0IV801KL56u5iVrxo1
kzkymvs+VL5RtQuKG7g+k3DTASHCZYXf7UHK2cYO6+wKbEiHpjYyfa1SyMthoc00
caVZEvF6JjaZCto0mxvlYBfv8DrKwbQ3JexBSR+AYMD3V10006lN4M1CUH1tOQ/w
HtqAhuczxnnCzXunmWCIWvRusqwtyFhJ3/qzHTAzNuNwnYMt5dgJOmsawkLxFMzP
6Cv7eRgjaoUZxeIRj1+IYgyUPYY2bMSzxz7xaf3Q1/H8CVb7rxs/mOfHqcCS8OYD
GiY4jW8EKC/xCbGA6yD5MLtGqo2Url8UkUdpi0FK+qgR/lcXgE4=
=79V5
-----END PGP SIGNATURE-----

--+hFEyUtqlqZOQXmF--




Information forwarded to guix-patches@HIDDEN:
bug#77148; Package guix-patches. Full text available.

Message received at 77148 <at> debbugs.gnu.org:


Received: (at 77148) by debbugs.gnu.org; 23 Mar 2025 15:23:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 23 11:23:04 2025
Received: from localhost ([127.0.0.1]:52083 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1twNAG-0005xE-CJ
	for submit <at> debbugs.gnu.org; Sun, 23 Mar 2025 11:23:04 -0400
Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]:52396)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <efraim.flashner@HIDDEN>)
 id 1twN9n-0005rm-1o
 for 77148 <at> debbugs.gnu.org; Sun, 23 Mar 2025 11:22:35 -0400
Received: by mail-wm1-x32b.google.com with SMTP id
 5b1f17b1804b1-43cfb6e9031so32959765e9.0
 for <77148 <at> debbugs.gnu.org>; Sun, 23 Mar 2025 08:22:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1742743349; x=1743348149; darn=debbugs.gnu.org;
 h=in-reply-to:content-disposition:mime-version:references
 :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to
 :cc:subject:date:message-id:reply-to;
 bh=RNzO6AwAsO1oPXM8AycxtIPD4njxRrdQVCeui/Sxtkw=;
 b=ICRnFck5Y5KMxCv4v3IbM6tN3uO7eGamjjLrBPDQ5oQ5jN2LH1RfWH7meBGkb9So6w
 e37cUoW/f1lfI62f6XzQmOmohrg00KZTONvNttwRJ21veeXpkiDRFjT3OpAtrgUTMC/F
 MxWh0HiASjhsrUmN4IJi7RXYEXdmLHsqCVMpikkYC55A4zJdI+kPw8G9lo4qfkYp7yfm
 4UKlf1D3UUq2IJ60MFfGMswRu+M8kIELgStQ9whEqTFi00fnWWZ1xsBmhS9Qs5OKI3BG
 ksC5Esv1dtlkeneqqxYA9cN86p0qFFa3413t/dJBal8yRAUzVKXLYQA0ymx9JTE87d16
 TNxg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1742743349; x=1743348149;
 h=in-reply-to:content-disposition:mime-version:references
 :mail-followup-to:message-id:subject:cc:to:from:date:sender
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=RNzO6AwAsO1oPXM8AycxtIPD4njxRrdQVCeui/Sxtkw=;
 b=sgNlSSv6h76Kl6hlqwYSa2i4Z0SGJgnHTcqfG9SZhG3lRrQp7mjfOZTA9SuSizQgSj
 St4zqeIRdwJi/CIzbrW6QwzZoIz6c+VSDVg1y2iO255ny+sf2hPoUzPUmmnTcIN1FlqW
 9PkDoTIkmp+tzF939ni2Ogt6bWRNrYYzTqz5muVHaAvB9ofPIXOPnFSuo9TsGYdHH5p2
 LqEC9pb1kKwtWgQpgpPTaU6ghHE/dYKHd81y3L7q+h4kEuvYHoHTyyBgJ3wDHcFFnKXv
 zgs4eT236OOYm5euu3n0L0xqD8om7K475NQzklTJn3Ut/ikrnA0ikZmQc8JNPqscHzp0
 QJ/Q==
X-Gm-Message-State: AOJu0YyekGGcMYCwBZh3qV7trh9NxW23DgqEYCNPajHHFks4lt5Tn5RP
 zh7qKQr48h7dZ+pSAgDI0Raf5RuKnNBOjPn652rLbBaLnMwJrwM7hU1fnsuFEnA=
X-Gm-Gg: ASbGncti+I0Tx02Rwuo1NYz2Ndg+bNTMOO1ti7UbzJ2/iTdM0O3qKy9+STmlpQUpEWX
 APY2H+G7YEQYTW2LMNwzC8DiVmtGZHda5p2aUOtRJhcSRUjx8Upoginup/0OZPS6TJVANIXVM+x
 XqoLQVXn7ficgQBzjQTX6ShrY0oo+NSaSSpzWzbSueyNFTD7eWVd6R61qGAUU7VrvLpsFjNvoZl
 qUr6SCQ54J3C+kOwD49+Rwy4GswTDHFJWBifGaf0f1cPX2WTLlCMjP0joCrLLws/2No2cPdrJo9
 ffEjRwo+sJ/UHI+7plBLcKh03FmI94WiYTg4qKp2xKo=
X-Google-Smtp-Source: AGHT+IGWqJ3ikFDYFiPG4rcmwNC9QODbpCh2T1Crv7QcKBhAIIr0Wk73C0iOT/ktrUZ2uSDYfzHBSw==
X-Received: by 2002:a05:600c:2e4c:b0:43c:f8fe:dd82 with SMTP id
 5b1f17b1804b1-43d5100ec57mr68708225e9.18.1742743348712; 
 Sun, 23 Mar 2025 08:22:28 -0700 (PDT)
Received: from localhost ([141.226.15.94]) by smtp.gmail.com with ESMTPSA id
 5b1f17b1804b1-43d4fd277d5sm89523885e9.19.2025.03.23.08.22.27
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 23 Mar 2025 08:22:28 -0700 (PDT)
Date: Sun, 23 Mar 2025 17:22:26 +0200
From: Efraim Flashner <efraim@HIDDEN>
To: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Subject: Re: [PATCH 8/9] gnu: edk2-tools: Update to 202502.
Message-ID: <Z-AnMuiOKVFeSR4p@3900XT>
Mail-Followup-To: Efraim Flashner <efraim@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@HIDDEN>, 77148 <at> debbugs.gnu.org
References: <cover.1742546953.git.efraim@HIDDEN>
 <24890fd7c8327bd2af4923b7adb09ab49458452d.1742546953.git.efraim@HIDDEN>
 <87wmchk078.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature"; boundary="ci+glfQxFbvJRj4M"
Content-Disposition: inline
In-Reply-To: <87wmchk078.fsf@HIDDEN>
X-PGP-Key-ID: 0x41AAE7DCCA3D8351
X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc
X-PGP-Fingerprint: A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
X-Spam-Score: 0.1 (/)
X-Debbugs-Envelope-To: 77148
Cc: 77148 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.9 (/)


--ci+glfQxFbvJRj4M
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Mar 22, 2025 at 04:12:59PM +0900, Maxim Cournoyer wrote:
> Hi,
>=20
> Efraim Flashner <efraim@HIDDEN> writes:
>=20
> > * gnu/packages/firmware.scm (edk2-tools): Update to 202502.
> > [arguments]: When building on armhf-linux add a phase to adjust the
> > compiler flags.
>=20
> [...]
>=20
> > +            #$@(if (target-arm32?)
> > +                   #~((add-before 'configure 'fix-armhf-flags
> > +                        (lambda _
> > +                          (substitute* "BaseTools/Conf/tools_def.templ=
ate"
> > +                            (("(DEFINE GCC_ARM_CC_FLAGS.*)-mstack-prot=
ector-guard=3Dglobal" _ gcc-arm)
> > +                             (string-append gcc-arm "-fstack-protector=
-all"))))))
> > +                   #~())
>=20
> Is this problem known upstream?  If yes, it'd be nice to cross-reference
> it here; otherwise, it'd be nice to report it to them (and
> cross-reference the opened issue).

I'll check, but it's probably based on our GCC version.  It only happens
for the armhf firmware when built on armhf.

--=20
Efraim Flashner   <efraim@HIDDEN>   =D7=90=D7=A4=D7=A8=D7=99=D7=9D =
=D7=A4=D7=9C=D7=A9=D7=A0=D7=A8
GPG key =3D A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

--ci+glfQxFbvJRj4M
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmfgJzIACgkQQarn3Mo9
g1H9sg/+LQZoiDbMulaojwOl1U+qBGkQ6K4iVRvtVd+XXHs6HozptFO8NTpM8GO2
0OoNkxuq+jArm4cSZVfXfxlOpBBy0DcCRy0GFjBZ9GpwhIacbYxG9kS/aX8+VZBA
TjwzgbCVXg91pBhAehTxqMFCy0T6nJsYNdQnM0YTPWxtZOrbZYBu07QIfcbCOTlc
uwP9hDqdCT0doqcGU2iRO9JrWb/gqhFLOa1s2Qv5XZ9irdd/ccjjRjpLqAgs5I0H
PdE0tomJ6OPGwoA0Y8ynsLye8eD6/S8tLeXmwvrQEWT7bQ0kGNSc0FmQR3E9s81e
KvmgfswLPZWcznVGsPKYkn0chUyxWY9nifvJ9rO6+9NlK6TEoKQoow0yAR0Y0Dz5
qK865SrGvwKJp0k8nlu/Eo8v18qFzhWv9a2AykAhrodRHjkLFhbK/u5iPHb18voq
2oDeF+daYs8bIV3soHrD1O6cFB3hvHlcfCQ8hI8XpjIjy3iKaKmyW+AXlQQ4k9AU
nL/fUN3vBfjkEHu5F5IwbbLMmnFia6IaQxvCPZH11BQKoPM/lDoC+KwIJsJQSisv
4nIJlmQTfd/Sci/ms91XlJ3fyZ76n83w34UQn3iFqezNADnNEpEjdB+IBKY7R4sl
1vs/1Z1NPxHA5lPE6NyEx1BfyOtkX1J0ZSgSCi6GWt07opQWM2w=
=de67
-----END PGP SIGNATURE-----

--ci+glfQxFbvJRj4M--




Information forwarded to guix-patches@HIDDEN:
bug#77148; Package guix-patches. Full text available.

Message received at 77148 <at> debbugs.gnu.org:


Received: (at 77148) by debbugs.gnu.org; 23 Mar 2025 15:21:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 23 11:21:43 2025
Received: from localhost ([127.0.0.1]:52071 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1twN8u-0005l0-KA
	for submit <at> debbugs.gnu.org; Sun, 23 Mar 2025 11:21:43 -0400
Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:46229)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <efraim.flashner@HIDDEN>)
 id 1twN8r-0005jX-Bi
 for 77148 <at> debbugs.gnu.org; Sun, 23 Mar 2025 11:21:38 -0400
Received: by mail-wm1-x329.google.com with SMTP id
 5b1f17b1804b1-4394a823036so35934925e9.0
 for <77148 <at> debbugs.gnu.org>; Sun, 23 Mar 2025 08:21:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1742743291; x=1743348091; darn=debbugs.gnu.org;
 h=in-reply-to:content-disposition:mime-version:references
 :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to
 :cc:subject:date:message-id:reply-to;
 bh=wqzl+85FN1HDMMLpsLtguF63kWq75xNiCrqcc//+r5w=;
 b=NkCxUxrLhoaBcc96lkmlQjdGfTMumW3+rodhvJ5jghqCOwRVUvCnNRpUi2hJGX1EI/
 qIjdPV03HH5n/jv2F3CvNJ9CNATV9GRABaDtISI4fpbMa1JcAYlaGgaJi3/yxauQe2ds
 DBrVs+xvhBE0/WaoDdQLT5/MkFZNvwMAb+yg2keS7FbrVVFiN4DZ69wav7M1lBTSlzRQ
 Zs3c0Y6V8lqdyalUWXspKN4IFgGCQ8c5AccY+7sD0eFDF2LLh/Il8XACI3rkB87oojdq
 QZrDCnWKr+3+dlc1EfUHHQECgd2GlX8Efbn5kIBKyhUZRRcdt5ndyxchTfzaxLA/Wn7Z
 QUaQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1742743291; x=1743348091;
 h=in-reply-to:content-disposition:mime-version:references
 :mail-followup-to:message-id:subject:cc:to:from:date:sender
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=wqzl+85FN1HDMMLpsLtguF63kWq75xNiCrqcc//+r5w=;
 b=qKG0I6vE8nay1wOUNRn3meSyuUKzk9Aa3cKn8vPnAvSC3PVczojw3m1Ok6ASveE9lN
 Oc3kldKW0QGcAfsMuWuSiD9731CRyUucfYAzuy6tGggN15UcMPN5JXi9o5kn9jkDMpIM
 ZcyKz5uaJWB25YiFZRTRpKbnkVG9w/O/hkImCkXlIrGteGAyCmrY97Kv8vNrubNllihj
 UeysD5GqSHqYxAyOqrMnYnU7r+VtRUKYsxMOHeIiFkd37JUARkarZ3b20nw1luctKzn7
 GcznBoIX6mZYDklxL4s2bqBXLv3D2CRcCF2YqO3okGeNsf/A2/vsS9OXER2GxTv74WdT
 jb6g==
X-Gm-Message-State: AOJu0Ywt73JpYNKvxNcgKE1jzX0yisVbnd3A35r8VvomjuC3wWiTf7xS
 4DhU49UqiOYQLYB4k0ccNFk33VdDwWwxHauzxijawtEw4rRPX4Rc
X-Gm-Gg: ASbGncuyvXziSy2CiTCGFOom9exdGvIMjTRtVTPchLNm3FC2pDuAPpMS1B+juiS3zuq
 O7HCiu8NpogPSCUXOZsrHLEv4iqwOTk5QJre2SXSkAv0D2vPgO48FAW/sgKPt5iYXjtkRBk3GdN
 3zbrprTxVHUWOIgjea992FvmYr3NsjbkxMawDvnxf/gUgdp4OV0ftarclBFpRlHe/4wFl/1IwlT
 QS6sF4FAEtuP4sTM1GjP8uM6p5vwAnrCnABFXjd+4rlhuu0mMUkseOnvGnVD90Od0fWl696K7I1
 nHgxAcrES8hfA7cIPlrmTgezJ6g3BCNoFX2XmL3T1Vk=
X-Google-Smtp-Source: AGHT+IGpkFBZrA0iMmAjcenxnzOxxrq52qpilZAzKvASsd2QGESwor81/987i/iD/XttEVYlXm/dIg==
X-Received: by 2002:a05:600c:4f12:b0:43d:40b0:5b with SMTP id
 5b1f17b1804b1-43d50a35ab9mr64931675e9.25.1742743291004; 
 Sun, 23 Mar 2025 08:21:31 -0700 (PDT)
Received: from localhost ([141.226.15.94]) by smtp.gmail.com with ESMTPSA id
 5b1f17b1804b1-43d4fceafacsm90532695e9.6.2025.03.23.08.21.29
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 23 Mar 2025 08:21:30 -0700 (PDT)
Date: Sun, 23 Mar 2025 17:21:29 +0200
From: Efraim Flashner <efraim@HIDDEN>
To: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Subject: Re: [PATCH 5/9] gnu: ovmf-aarch64: Update installed firmware.
Message-ID: <Z-Am-Xjw6302h14A@3900XT>
Mail-Followup-To: Efraim Flashner <efraim@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@HIDDEN>, 77148 <at> debbugs.gnu.org
References: <cover.1742546953.git.efraim@HIDDEN>
 <beb9363334633a274a50da8e027e9eafc20aee82.1742546953.git.efraim@HIDDEN>
 <871puplevd.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature"; boundary="fYCP+2OLt5KsdYP8"
Content-Disposition: inline
In-Reply-To: <871puplevd.fsf@HIDDEN>
X-PGP-Key-ID: 0x41AAE7DCCA3D8351
X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc
X-PGP-Fingerprint: A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
X-Spam-Score: 0.1 (/)
X-Debbugs-Envelope-To: 77148
Cc: 77148 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.9 (/)


--fYCP+2OLt5KsdYP8
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Mar 22, 2025 at 04:10:46PM +0900, Maxim Cournoyer wrote:
> Hi,
>=20
> Efraim Flashner <efraim@HIDDEN> writes:
>=20
> > * gnu/packages/firmware.scm (ovmf-aarch64)[arguments]: Adjust the
> > 'install phase to install another binary and to truncate the file to the
> > expected length.
> >
> > Change-Id: I53958d5f2ca392e1033630e1dfd29d86c25a74fc
> > ---
> >  gnu/packages/firmware.scm | 11 ++++++++---
> >  1 file changed, 8 insertions(+), 3 deletions(-)
> >
> > diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
> > index e7d2e390acc..049fd9246fb 100644
> > --- a/gnu/packages/firmware.scm
> > +++ b/gnu/packages/firmware.scm
> > @@ -1190,9 +1190,14 @@ (define-public ovmf-aarch64
> >                   (lambda _
> >                     (let ((fmw (string-append #$output "/share/firmware=
")))
> >                      (mkdir-p fmw)
> > -                    (copy-file (string-append "Build/ArmVirtQemu-AARCH=
64/"
> > -                                              "RELEASE_GCC/FV/QEMU_EFI=
=2Efd")
> > -                               (string-append fmw "/ovmf_aarch64.bin")=
)))))))))))
> > +                    (with-directory-excursion "Build/ArmVirtQemu-AARCH=
64/RELEASE_GCC/FV"
> > +                      ;; Make the files the desired length and then in=
stall them
> > +                      (truncate-file "QEMU_EFI.fd" (* 64 1024 1024))
> > +                      (truncate-file "QEMU_VARS.fd" (* 64 1024 1024))
> > +                      (copy-file "QEMU_VARS.fd"
> > +                                 (string-append fmw "/ovmf_vars_aarch6=
4.bin"))
> > +                      (copy-file "QEMU_EFI.fd"
> > +                                 (string-append fmw "/ovmf_aarch64.bin=
")))))))))))))
>=20
> It's surprising that the firmware files must be truncated; does it not
> work if we leave them at their original size (and what would that be?).
> Expounding the explanatory comment would help.

ovmf_aarch64.bin is currently 2097152 bytes (2.0 Mb). I'll try to find
an actual explanation somewhere, but Debian also uses truncate on their
files=C2=B9

=C2=B9 https://sources.debian.org/src/edk2/2024.11-5/debian/rules/#L249

--=20
Efraim Flashner   <efraim@HIDDEN>   =D7=90=D7=A4=D7=A8=D7=99=D7=9D =
=D7=A4=D7=9C=D7=A9=D7=A0=D7=A8
GPG key =3D A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

--fYCP+2OLt5KsdYP8
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmfgJvgACgkQQarn3Mo9
g1G6+A//cpHixDoaeo6Y5s7v41HTkUR/1J3a1NINr6qsiXiw8jNWUz0DPY/C9VZf
LUaDOwHXjpxPhf4t+Cw2Ix0BE7VyRZfHQDQUOl9uO+ZPXPcX2ce83zFojCk7tUfL
g5KGoJsPjh4wEh1dpY1QUPY9aTRKhAbLsHeht/MUB1lfeq/Ho3FPfXbZUWEVKrrI
Bigy2IylP2Smuka4P8rTxAuVC8BZ+98DJbidm9B4qHCWoIZ4EI25Jp5ZXzHU6/8D
ry1U7EmnVS7KnyS6BBOKXQLEaxo22lQZI/fWS60204AcciyzPca0TYsyUXjwromK
AT8tGDt5hxEl9dVueTOgI/u7Qd4JoQQSTkmsLwfcyvdOr6iqOn/wQ2XlCwz19mal
SfpUz66YI9B/vmkBHdw3Vu7li78K9jx6JthAvagskY/COu8bl+9+vRDh4bEh0qkH
0Q764bnP7q5uE7dxoembx1P/da2tseIYdubankW28QEeNqqnMadgbTI5LNVrK/Wp
9m60jpsBc8HMsLcaOl8mSy9KUw6yhL2ELvKXVTxrjJgIhVsQYMh5ZKPo61VCsQmd
88MTuZK9DCmExE8eTrMysv4Kuv6BzTbjpaGDVc1DC/aVLV3t3W5McjufJcB8wCPG
MCb/D2GuaE+Mq7lNBLvRmBo4TTNJRYnHTJjrSFTiLg5RU7L2TYQ=
=a9p9
-----END PGP SIGNATURE-----

--fYCP+2OLt5KsdYP8--




Information forwarded to guix-patches@HIDDEN:
bug#77148; Package guix-patches. Full text available.

Message received at 77148 <at> debbugs.gnu.org:


Received: (at 77148) by debbugs.gnu.org; 23 Mar 2025 15:14:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 23 11:14:06 2025
Received: from localhost ([127.0.0.1]:52049 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1twN1Z-0004Xz-JZ
	for submit <at> debbugs.gnu.org; Sun, 23 Mar 2025 11:14:06 -0400
Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:59627)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <efraim.flashner@HIDDEN>)
 id 1twN1W-0004WO-46
 for 77148 <at> debbugs.gnu.org; Sun, 23 Mar 2025 11:14:03 -0400
Received: by mail-wr1-x42d.google.com with SMTP id
 ffacd0b85a97d-3914bc3e01aso2113782f8f.2
 for <77148 <at> debbugs.gnu.org>; Sun, 23 Mar 2025 08:14:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1742742835; x=1743347635; darn=debbugs.gnu.org;
 h=in-reply-to:content-disposition:mime-version:references
 :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to
 :cc:subject:date:message-id:reply-to;
 bh=Ow3mAbOxg6qoNr4rz4UXkn6owJMQOFs1FF9skGpjFGk=;
 b=jiQpfbOg/8EjMNd++8k17RbV+myX8O2rIXPR+TWM/iyYX73VfgJPBzwbKd9lib4E0c
 jN0HTn82YQTepMVomXf5t4xsZJG9SILrlIGbgdeY7vmQwp/xIg/SUwPIRFfcirhrqnyY
 OxFFLYw/Tvn4f27AQsk3ROJj8y7Meap9wM1J0tCA6+30KLbInhTN9tVzXDCdDh3ZoDiC
 ipl6o/OtEgII7fsS+nvGyOJLRuWLUiHab1d9LPpZL6UyswIXtaCN9umz+0Us346zfeWO
 Xa1fMtlZMYvj6KPrOxHiOl10faVunHa1FMsNC8pwO6HvH0fNQZiOk4v8ksv/rHlCqCNM
 uVvg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1742742835; x=1743347635;
 h=in-reply-to:content-disposition:mime-version:references
 :mail-followup-to:message-id:subject:cc:to:from:date:sender
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=Ow3mAbOxg6qoNr4rz4UXkn6owJMQOFs1FF9skGpjFGk=;
 b=H6QSUr9vA/7Npm6oSoPI0xpOBDJjjIROWGUmaGfSThm2HiYva+VAmjwEFAt8jpvcgO
 qBY/6+cNvxWm326SO7/9HGgdSmriOnEz+pNpminxRv2DZSDodZLUaA7as2UuqxLtaxZU
 RzSbPkeYHnT7q47sy3l+1zvyuXYZeSCSWaqaGmSevJLYfU5dXWcMubV8g+FJLYgHzZax
 Vw2z4HVnrMMz1Y6IgeZJcmHDxSIPjDI072/yvcWJjaY9moclSFajqWPhsNYIoaTMGTPQ
 lGJe7zaS81xY8HexP1XCzvl156+cOpo0LoK+qGhtKkE8RwKeDnDtJlRiGy8QdZcm7nwb
 Lqew==
X-Gm-Message-State: AOJu0YzaY77QKd2unguM+lJTOpXYADBC6hYRzCB4CRygrt9d7NQ0DbTb
 sJJ2tFaZaM90BHqQPcK7xvBJAGoZvnNSINUkZa+Z6rKyiLW7a+S9
X-Gm-Gg: ASbGncsR9JTO+v7OHPSJJ9u7BWtMqz7dKoOgyPi2mARKat/xN2xJBpNCbPHmfglSPkq
 jpB+9U2QNheoZlLQDMx9+rmDheV55BoJe1cl7i7NkzqyEfJP93D3lWbvstJ0akJ9zF//Hk2pJqu
 qKrcKdBBcoVfHIRMvl2t9f0TZRkjuAlJ64/8TRloDrYDKBVvlZE7zsfL+ez4ooxmAN+67Y8/D17
 d0vUM6Dny3TrrvXq0pt+pJIiDOSKtIn8hnWO9vI++hJz/ZDyZbmQayvSzXTMtkCZeQaDxPkVNMg
 IIm0I1Db1KVqy7aB+dumJ+YQ+d349x8zTOSmdwNCkIk=
X-Google-Smtp-Source: AGHT+IH0QSquhTe87Sn4VZtC6NO079lRwmFPvl6HRGrJEZyQjE/repBe78oyKvYxCMqUJZn/gfaJvQ==
X-Received: by 2002:a5d:6d88:0:b0:391:32b1:9458 with SMTP id
 ffacd0b85a97d-3997f8f5de5mr8211164f8f.3.1742742835226; 
 Sun, 23 Mar 2025 08:13:55 -0700 (PDT)
Received: from localhost ([141.226.15.94]) by smtp.gmail.com with ESMTPSA id
 5b1f17b1804b1-43d4fdbd1c7sm90549645e9.40.2025.03.23.08.13.53
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 23 Mar 2025 08:13:54 -0700 (PDT)
Date: Sun, 23 Mar 2025 17:13:52 +0200
From: Efraim Flashner <efraim@HIDDEN>
To: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Subject: Re: [PATCH 1/9] gnu: Add u-boot-qemu-ppce550.
Message-ID: <Z-AlMAiueza532Xa@3900XT>
Mail-Followup-To: Efraim Flashner <efraim@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@HIDDEN>, 77148 <at> debbugs.gnu.org
References: <cover.1742546953.git.efraim@HIDDEN>
 <8adc52de4128c73f365590349ccca41ec29b48fd.1742546953.git.efraim@HIDDEN>
 <875xk2lbgo.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature"; boundary="3s+yKZRYu0OoTJlD"
Content-Disposition: inline
In-Reply-To: <875xk2lbgo.fsf@HIDDEN>
X-PGP-Key-ID: 0x41AAE7DCCA3D8351
X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc
X-PGP-Fingerprint: A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
X-Spam-Score: 0.1 (/)
X-Debbugs-Envelope-To: 77148
Cc: 77148 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.9 (/)


--3s+yKZRYu0OoTJlD
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Mar 21, 2025 at 11:12:07PM +0900, Maxim Cournoyer wrote:
> Hi,
>=20
> Efraim Flashner <efraim@HIDDEN> writes:
>=20
> > * 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 =C2=A9 2016-2018, 2021-2023 Marius Bakke <marius@HIDDEN>
> >  ;;; Copyright =C2=A9 2016, 2017 Danny Milosavljevic <dannym@scratchpos=
t.org>
> >  ;;; Copyright =C2=A9 2016, 2017 David Craven <david@HIDDEN>
> > -;;; Copyright =C2=A9 2017, 2018, 2020-2024 Efraim Flashner <efraim@fla=
shner.co.il>
> > +;;; Copyright =C2=A9 2017, 2018, 2020-2025 Efraim Flashner <efraim@fla=
shner.co.il>
> >  ;;; Copyright =C2=A9 2018=E2=80=932022 Tobias Geerinckx-Rice <me@tobia=
s.gr>
> >  ;;; Copyright =C2=A9 2019 nee <nee@HIDDEN>
> >  ;;; Copyright =C2=A9 2019 Mathieu Othacehe <m.othacehe@HIDDEN>
> > @@ -1330,6 +1330,26 @@ (define-public u-boot-qemu-arm64
> >                         ;; details.
> >                         #:configs '("# CONFIG_FIT_SIGNATURE is not set"=
)))
> > =20
> > +(define-public u-boot-qemu-ppce550
> > +  (let ((base
> > +          (make-u-boot-package "qemu-ppce500" "powerpc-linux-gnu"
> > +                               ;; Disable features that require OpenSS=
L due
> > +                               ;; to GPL/Openssl license incompatibili=
ties.
> > +                               ;; See https://bugs.gnu.org/34717 for
> > +                               ;; details.
> > +                               #:configs '("# CONFIG_FIT_SIGNATURE is =
not set"))))
>=20
> 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.e=
500")))))))))))
>=20
> 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


--=20
Efraim Flashner   <efraim@HIDDEN>   =D7=90=D7=A4=D7=A8=D7=99=D7=9D =
=D7=A4=D7=9C=D7=A9=D7=A0=D7=A8
GPG key =3D A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

--3s+yKZRYu0OoTJlD
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmfgJSwACgkQQarn3Mo9
g1F3RhAAuEBbb7Y45z7ui6roCx46vpXv7S2i2XYPN42znDC8gpsRV9J2BO6gSEnA
H4jnoUMa2BvK9VoMo53J1zEzvTATb4Jh3bY4+LGdpqFeFoVEPezVvv5IbFoOCx4E
xe1/rShK2mZp4YFohi62srAiIuvgjTr7pwFPB5LB4Yotlq/f4fimiVc3oZ9Qbz7A
HGqBOXUqbk1yS3rby5VV9L6GtNlc/Uhq4DSIyu9VjC83/imvedC4sMTjTCxG/qEL
29t5h/hmbLDZxBboAsJy4iSrXvwJPcFPNFvtKPYeOwpMOg34x0HHGg19EyPQaqTF
NknnpmY4LdRShE8FLELmuxI8mfHqdBnQx5UNmV2evQ0/qxFzHMqhLaczHMagYbbS
dKbID1jDi+O3vtC2uGBKT/PHTngOmXilMYKT0spqrkVRWPKaZ0hE3UkUs23TPrJA
vHE1NJqL/vpXFPnEMmbUT2W9z/q1ClVhGFJKdVD442QCK9JzgqpvJSnPeOF8brsI
503bWGrWSDVNMMnnYSo1YS2HV70XeV4EldsRrYnGB46JMt6Mq6Jd8ACvgY4sqDLz
5NL1kXUOk9pdk5+nalNyH0UQFMnFyNaTYXWNZRR9r1jGYmjwN20EzzcWTMvbBFOp
VWum/4TOI6nJJ6B+gyUrM13mRD5xH9MyQxvisunE52ipJm4uVhU=
=uRw+
-----END PGP SIGNATURE-----

--3s+yKZRYu0OoTJlD--




Information forwarded to guix-patches@HIDDEN:
bug#77148; Package guix-patches. Full text available.

Message received at 77148 <at> debbugs.gnu.org:


Received: (at 77148) by debbugs.gnu.org; 22 Mar 2025 07:34:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 22 03:34:03 2025
Received: from localhost ([127.0.0.1]:40607 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tvtMo-00029W-HH
	for submit <at> debbugs.gnu.org; Sat, 22 Mar 2025 03:34:03 -0400
Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]:53723)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1tvtMl-000290-IH
 for 77148 <at> debbugs.gnu.org; Sat, 22 Mar 2025 03:34:00 -0400
Received: by mail-pl1-x632.google.com with SMTP id
 d9443c01a7336-224191d92e4so54329445ad.3
 for <77148 <at> debbugs.gnu.org>; Sat, 22 Mar 2025 00:33:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1742628833; x=1743233633; darn=debbugs.gnu.org;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=mk0fmHnM6treGRAxS7AhVsKAjN/2y9aJ51yOcQi5A40=;
 b=D7sjRlEdxaEIn55o5qCA46BfpqaKEWP7zA38J+Me3aJWEqZSPpN6aejUWkl0v62fex
 uMVpd+nrZXQcec1kT/QL6x15n+XYC/119LTy5N8m1eBTsE3CXokfIohXLXMOa46HZ/XG
 9X8/vgD4GY8UYewIw6BpgSZDqLuke8R4IEwqghS/KohkH5IkFzzIcwprk6OyuWuAWcP2
 oixt15Bghwm0bAQ/rZPs4tL78MkO5Npo/zg/Orh15cut7oaRqQRkyQxt8QmEtDJiNPLp
 0hkED4R97JQRme6Z2L0ddC+0zCAAqjVa8dx/UXoYowmopDBjQLGUdVvSXTefT58/9B6u
 EIVQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1742628833; x=1743233633;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=mk0fmHnM6treGRAxS7AhVsKAjN/2y9aJ51yOcQi5A40=;
 b=or+sxYT2T00Ganu/vJH3KwcZNpXpJiQZO0tKcgfB/7nITt20dVaWFXSfH5TDFtc2bY
 Wy5DddNTZx/kJaor2s065YHOy97OBi8+mTiz5h2sd7SSJf69TzYByYNh0Nh+knSU5O0x
 hBv7/u0DAolzWesbimUliiA1Zh1UHlDmNj156WYfhXLFH5hxxrFwT00oswfsV7EktmhB
 agyQ073Rt02SUXW3mnrnZviHNy7eI6D6l+Shc41pDxjiJmpOAsu1IXqmOFpb4fUGg5yG
 wf60prIIruMZ4U/xV2jbnqsKbNoAKdcuAmEozbe4UdJhM/BD75n1nN4dOu9drg0IT7A4
 CTTQ==
X-Gm-Message-State: AOJu0Yw6DYbMCzc1h7foFVE+ZNMJ8tnNFbQgXnXbGBpM5dZ+F8oSE1xW
 4NyOvgTX5mHD5YW+ofsPOdlZMWxAU8gHSm00QvrVR4etQMHwcvvAwoCSmQ==
X-Gm-Gg: ASbGncusWJnW/MMC/ycH3sUFTKsqgIUPZAN6Lfql4UziiH6z7MGynn2/8QXQF8B4fcR
 XczTXy6RqrrsH3U4poER9XXrxfG5T5OMoZx9J8BZKPBaohLW1/JTD6oZk+qV90qFc/MPMZylgAc
 7KLmstCXnQAwcKI5lGmazm3UFV5mbjWh22rcMX6q5jN2DEDpAj1nx3qQtlc00rjFAT5gyhfLpWO
 CS9qJOY6GOx/ALw2cgaXR5wGVFVEcZmOki/aEyJswq3gQ9OvrEbZJTzB7uagV7WFyn/k/i1dXQa
 vSZLIlX7BdIPap65iPi5Dbg6QiigqYVltk/Ic/2Pquk=
X-Google-Smtp-Source: AGHT+IGbzsdGYv/zsbVauAhqWg7bU9DRjqeziXqrxCF6MesTa5ywhEsMDhQ9ghLv8+QlpKk0NQtfrw==
X-Received: by 2002:a17:902:fc43:b0:216:794f:6d7d with SMTP id
 d9443c01a7336-22780e60ad9mr117975315ad.48.1742628832461; 
 Sat, 22 Mar 2025 00:33:52 -0700 (PDT)
Received: from terra ([2405:6586:be0:0:83c8:d31d:2cec:f542])
 by smtp.gmail.com with ESMTPSA id
 d9443c01a7336-227811da9dbsm29912635ad.179.2025.03.22.00.33.50
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 22 Mar 2025 00:33:51 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: Efraim Flashner <efraim@HIDDEN>
Subject: Re: [PATCH 9/9] gnu: Add ovmf-loongarch64.
In-Reply-To: <78e614438f4b7e4f07be2b764eeb71d41875607e.1742546953.git.efraim@HIDDEN>
 (Efraim Flashner's message of "Fri, 21 Mar 2025 10:53:10 +0200")
References: <cover.1742546953.git.efraim@HIDDEN>
 <78e614438f4b7e4f07be2b764eeb71d41875607e.1742546953.git.efraim@HIDDEN>
Date: Sat, 22 Mar 2025 16:33:37 +0900
Message-ID: <87sen5jz8u.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 77148
Cc: 77148 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello,

Efraim Flashner <efraim@HIDDEN> writes:

> * gnu/packages/firmware.scm (ovmf-loongarch64): New variable.
> (make-ovmf-firmware)[arguments]: Adjust the 'build phase to add a case
> for loongarch64.
>
> Change-Id: Ibb916b50fd3dc7831ac895cb8b59695688750377
> ---
>  gnu/packages/firmware.scm | 21 +++++++++++++++++++++
>  1 file changed, 21 insertions(+)
>
> diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
> index fe2956fbfdf..6f784a281d3 100644
> --- a/gnu/packages/firmware.scm
> +++ b/gnu/packages/firmware.scm
> @@ -1090,6 +1090,8 @@ (define* (make-ovmf-firmware arch)
>                                  "ArmVirtPkg/ArmVirtQemu.dsc")
>                                 ("riscv64"
>                                  "OvmfPkg/RiscVVirt/RiscVVirtQemu.dsc")
> +                               ("loongarch64"
> +                                "OvmfPkg/LoongArchVirt/LoongArchVirtQemu.dsc")
>                                 (_ #t)))))
>              (add-before 'install 'install-efi-shell
>                (lambda _
> @@ -1247,6 +1249,25 @@ (define-public ovmf-riscv64
>                        (install-file "RISCV_VIRT_CODE.fd" fmw)
>                        (install-file "RISCV_VIRT_VARS.fd" fmw))))))))))))
>  
> +(define-public ovmf-loongarch64
> +  (let ((base (make-ovmf-firmware "loongarch64")))
> +    (package
> +      (inherit base)
> +      (arguments
> +        (substitute-keyword-arguments (package-arguments base)
> +          ((#:phases phases)
> +           #~(modify-phases #$phases
> +               (replace 'install
> +                 (lambda _
> +                   (let ((fmw (string-append #$output "/share/firmware")))
> +                     (mkdir-p fmw)

Nitpick: fw is more commond than fwm as an abbrevation.

> +                     (with-directory-excursion "Build/LoongArchVirtQemu/RELEASE_GCC/FV"

Other nitpick: I'd break the directory part on a newline to fit under 80
columns, per our code style guidelines.

Otherwise, my general comments elsewhere apply it too, but it LGTM
otherwise.

I think we should add the QEMU firmware descriptors everywhere so that
they'll be usable with the libvirt-configuration firmwares field I
proposed in bug#77110.  Perhaps we can apply that one first to make this
slightly easier (it provided some `ovmf-aux-file' procedure you'll
probably want to use to locate the a locally kept .json QEMU firmware
descriptor file).

-- 
Thanks,
Maxim




Information forwarded to guix-patches@HIDDEN:
bug#77148; Package guix-patches. Full text available.

Message received at 77148 <at> debbugs.gnu.org:


Received: (at 77148) by debbugs.gnu.org; 22 Mar 2025 07:13:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 22 03:13:23 2025
Received: from localhost ([127.0.0.1]:40558 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tvt2p-0001EY-Gs
	for submit <at> debbugs.gnu.org; Sat, 22 Mar 2025 03:13:23 -0400
Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]:61661)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1tvt2n-0001EJ-EN
 for 77148 <at> debbugs.gnu.org; Sat, 22 Mar 2025 03:13:21 -0400
Received: by mail-pl1-x636.google.com with SMTP id
 d9443c01a7336-22580c9ee0aso56425285ad.2
 for <77148 <at> debbugs.gnu.org>; Sat, 22 Mar 2025 00:13:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1742627594; x=1743232394; darn=debbugs.gnu.org;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=RI58XhpsxLgTjRFVRGDUv5ozOFyGNxmn26f8eH1SK9M=;
 b=IQ7kkReUpMShlude60KKiPp4H5RxYM+IyAB7bQwEL84ZLUHLSAXWaFKc8nHgD846B/
 9xFmPm32T+yOfZq2pViP1kqhTwul/nVjFGEEF3rLM4vmZwKQPrStml/DVohELHfwImW5
 B8ahuGlJXhlPjBda/b4L1HdRYQVfg+NAAK9wJtsUEhdXM6PqPNn8iEOmWws11UDDh/5Q
 Xn1bWuGNjcVfPQzEcyinLypppg65oHgw8ptYcKUtOIzjhQpALTswepRyYroRbwl3Tu3S
 X6D+aCn/LdCck5It/30DR/CSpaMG8s7I0YeIf/BPaZFMWFK5ymhHRmBUwSc1Xb9j5Zw0
 i1gg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1742627594; x=1743232394;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=RI58XhpsxLgTjRFVRGDUv5ozOFyGNxmn26f8eH1SK9M=;
 b=MRsYEsLIQerlHjUC0vG0K51CR5ZqECLNrbJFSvU4qPGthKMIRP3xwQDkH88d6bvFe4
 4m+5kwQnfNbdThe8IgZ/a0aM37PAgbJxeNeOCeIR6M+Skgm2ONQpX1/eD8Q1VolS1eyZ
 /TawWukgGUwVysK+ikMM1yUHVqcnyxkR7g2N5MIYgalOKoDfFzKWa8WebSpJCfkIUCh8
 hWGjaqZeyioSiODtqnD9UcSWFkLwzQdeJWAcrmNWBkSFXG5TLg/KP7Kw/AAkXjGOIKBO
 JSoHda2sGweB74ETkE8+yAIx7Yr6oPefVBjfmzioq8d0X65UCJzhOZBNyTexK8ItxsMx
 6jDA==
X-Gm-Message-State: AOJu0YxcBNFD4gzHjvAz8khlf0jeU/16K3fS77aOcYuvlb4j9ksrkaG1
 5Kj/upO3FmVPARv4/+sdlwV9706iHDbFWaaZLP1U0AOQay5q6oqDuWO1Ug==
X-Gm-Gg: ASbGncv2C7t2gtc6yG9rKsCLg6oGy5c19FeSpBrBG3b966tB9++y0NHktkwuss8tRxN
 163dBJbOX+eGevz+RtCAm+G1ISoXrdRyq5/b/ZYk3VcRmI46XoSga0RsWDZHDekkansNuC1e8tm
 IiWoIN1l2KUOhJ2DannI4AIQWR3BwQzgxdkkWjk7MvDV4dypnZ4fx2opKeNF2c15I01ycqiRjwY
 UZf2+RLExogJ4zzcqPlhTjoSoLe0Iq8WUAP40JlOEimipJb+HN/ezDfEYJEZe4ZQF6SaylB5dPK
 f58gP79fXgts0MJQgqnns7kmgJuwFu6Fa68OPIP/kuM=
X-Google-Smtp-Source: AGHT+IGebWR7qfm4RiaX+8qYU3KwQQ22Hq/+0ifB9pKkOAUChfGUrNoBvhIZwEPXd6xXYBihNrotlQ==
X-Received: by 2002:a17:902:cf11:b0:224:1943:c5c with SMTP id
 d9443c01a7336-22780c7bfb1mr93170645ad.15.1742627594007; 
 Sat, 22 Mar 2025 00:13:14 -0700 (PDT)
Received: from terra ([2405:6586:be0:0:83c8:d31d:2cec:f542])
 by smtp.gmail.com with ESMTPSA id
 d9443c01a7336-22780f4c500sm29856245ad.83.2025.03.22.00.13.12
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 22 Mar 2025 00:13:13 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: Efraim Flashner <efraim@HIDDEN>
Subject: Re: [PATCH 8/9] gnu: edk2-tools: Update to 202502.
In-Reply-To: <24890fd7c8327bd2af4923b7adb09ab49458452d.1742546953.git.efraim@HIDDEN>
 (Efraim Flashner's message of "Fri, 21 Mar 2025 10:53:09 +0200")
References: <cover.1742546953.git.efraim@HIDDEN>
 <24890fd7c8327bd2af4923b7adb09ab49458452d.1742546953.git.efraim@HIDDEN>
Date: Sat, 22 Mar 2025 16:12:59 +0900
Message-ID: <87wmchk078.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 77148
Cc: 77148 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi,

Efraim Flashner <efraim@HIDDEN> writes:

> * gnu/packages/firmware.scm (edk2-tools): Update to 202502.
> [arguments]: When building on armhf-linux add a phase to adjust the
> compiler flags.

[...]

> +            #$@(if (target-arm32?)
> +                   #~((add-before 'configure 'fix-armhf-flags
> +                        (lambda _
> +                          (substitute* "BaseTools/Conf/tools_def.template"
> +                            (("(DEFINE GCC_ARM_CC_FLAGS.*)-mstack-protector-guard=global" _ gcc-arm)
> +                             (string-append gcc-arm "-fstack-protector-all"))))))
> +                   #~())

Is this problem known upstream?  If yes, it'd be nice to cross-reference
it here; otherwise, it'd be nice to report it to them (and
cross-reference the opened issue).

-- 
Thanks,
Maxim




Information forwarded to guix-patches@HIDDEN:
bug#77148; Package guix-patches. Full text available.

Message received at 77148 <at> debbugs.gnu.org:


Received: (at 77148) by debbugs.gnu.org; 22 Mar 2025 07:11:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 22 03:11:12 2025
Received: from localhost ([127.0.0.1]:40554 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tvt0h-0001B6-O2
	for submit <at> debbugs.gnu.org; Sat, 22 Mar 2025 03:11:12 -0400
Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]:61794)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1tvt0e-0001Ap-R8
 for 77148 <at> debbugs.gnu.org; Sat, 22 Mar 2025 03:11:10 -0400
Received: by mail-pl1-x62c.google.com with SMTP id
 d9443c01a7336-2260c915749so38002535ad.3
 for <77148 <at> debbugs.gnu.org>; Sat, 22 Mar 2025 00:11:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1742627462; x=1743232262; darn=debbugs.gnu.org;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=NcSfgyMAcOTcJ1qlRPrXYblJfcEQTl2HAEyqO+ZFTlA=;
 b=iJQIvuunQ/QDWn41JxX9MEmJqD9dw0NxYgT3KnoGgU5YG7iJHXMNaynpfubf8lrD2Z
 Fzax2daE8Po7mPSdFCGKnJGJNL6Ct3gl1l2DtdlSGhXk+jf+AZCMdFpDg4LoCoWYk3Z9
 PXuu9EVD9mOI+vb0m8yjKRk+G/eMLHWoChU+8lP07ON3+beuQBD0wCPTSmNyfgMH3/F5
 ev6mCyUzxyu6qus+vrot2Hb5rit3fTYeK67Y1lTfmwe//OBIXY0oi1Nc/zzhSn0abiKx
 Jaa6jkQwyOQyptjC7688YZMkK2mDhrJCGc0kgDMPvNsuQ8rkRFZodDUTXmbw0h1pK8Mx
 MQaA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1742627462; x=1743232262;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=NcSfgyMAcOTcJ1qlRPrXYblJfcEQTl2HAEyqO+ZFTlA=;
 b=DyzNeKMmFv7RR9g1enli66nwJ5XD3O7GKiidTDBf7mNDo/rf8bXOfbn8jdf80ND6wn
 Avh1/zmB6gADscG1k2Xj93mvEUrtuSpq0QVIz3/Bp7+AWr81wFMI/S94KX2hnMRnjk0g
 rwRuAi/SPv7ZnhpuJL5SPFCMBpf7DRI3JkTzQ2YJLfeS4bMhEiJcJIPYoUGuC6e+ukZX
 iRquSjMGMauWKkDceBlmiWTzy5c2XKu+vACIDfrxro+JDWf2Qe+KUH1VNpJYrO+wrsz+
 lIyN6GN2pDGDDT7/uFelqbloYZysnPtZWHRqWXz+tDdL+YDaUnL/ElmyLlszfDdqRlLj
 LQJw==
X-Gm-Message-State: AOJu0Yx2zp17Lq9chhepH/T2PS46nuK1kdxU+lLiJLeBowr8xSbRBkU3
 sEKFQcCcMGPD1VHJkOWXTWN6dXLGk+hxxQiwnrgSIAK13DzKodGKSs5/1g==
X-Gm-Gg: ASbGnctsRH4IXv345U+Hb4/242mNkXr3alAVCvBZyb4LfEj24G005RRasQmn4MhgDmT
 lQLDH1jENMaUL2Z+VWoMBn7opeEpoPVJhwxK76zcl/MZUJlh5IUbZi4jVq0UExz33mzh7NlWAWk
 P48Q2DtZc/kf+Mfbn9QL7UqbKHa9fdLlYllMo+EPhsxAavC7zk4tl7LGpu8NZuQV1F+tFXGgsGY
 2dzySkAFCgbYRH3bNB6/JLgb2NVDeBOqMYDFS+3s0n4z4A+hZIVcUXypaOQVaY3uiy5NGcmENm4
 Oy63J11vrs/rgOZF4mTVgXTWmXpSWWqenvKhtnBn5pk=
X-Google-Smtp-Source: AGHT+IGJomVkAmzd+9X49Y+WAokz2yL1VF8F4T7LlrYH5lw8F2IJmPQW/wIFIoq42j8AjDFegV5oWw==
X-Received: by 2002:a17:902:d484:b0:223:6657:5003 with SMTP id
 d9443c01a7336-22780e121cemr96226795ad.32.1742627461436; 
 Sat, 22 Mar 2025 00:11:01 -0700 (PDT)
Received: from terra ([2405:6586:be0:0:83c8:d31d:2cec:f542])
 by smtp.gmail.com with ESMTPSA id
 d9443c01a7336-227811b2bc2sm29411015ad.118.2025.03.22.00.10.59
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 22 Mar 2025 00:11:00 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: Efraim Flashner <efraim@HIDDEN>
Subject: Re: [PATCH 5/9] gnu: ovmf-aarch64: Update installed firmware.
In-Reply-To: <beb9363334633a274a50da8e027e9eafc20aee82.1742546953.git.efraim@HIDDEN>
 (Efraim Flashner's message of "Fri, 21 Mar 2025 10:53:06 +0200")
References: <cover.1742546953.git.efraim@HIDDEN>
 <beb9363334633a274a50da8e027e9eafc20aee82.1742546953.git.efraim@HIDDEN>
Date: Sat, 22 Mar 2025 16:10:46 +0900
Message-ID: <871puplevd.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 77148
Cc: 77148 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi,

Efraim Flashner <efraim@HIDDEN> writes:

> * gnu/packages/firmware.scm (ovmf-aarch64)[arguments]: Adjust the
> 'install phase to install another binary and to truncate the file to the
> expected length.
>
> Change-Id: I53958d5f2ca392e1033630e1dfd29d86c25a74fc
> ---
>  gnu/packages/firmware.scm | 11 ++++++++---
>  1 file changed, 8 insertions(+), 3 deletions(-)
>
> diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
> index e7d2e390acc..049fd9246fb 100644
> --- a/gnu/packages/firmware.scm
> +++ b/gnu/packages/firmware.scm
> @@ -1190,9 +1190,14 @@ (define-public ovmf-aarch64
>                   (lambda _
>                     (let ((fmw (string-append #$output "/share/firmware")))
>                      (mkdir-p fmw)
> -                    (copy-file (string-append "Build/ArmVirtQemu-AARCH64/"
> -                                              "RELEASE_GCC/FV/QEMU_EFI.fd")
> -                               (string-append fmw "/ovmf_aarch64.bin"))))))))))))
> +                    (with-directory-excursion "Build/ArmVirtQemu-AARCH64/RELEASE_GCC/FV"
> +                      ;; Make the files the desired length and then install them
> +                      (truncate-file "QEMU_EFI.fd" (* 64 1024 1024))
> +                      (truncate-file "QEMU_VARS.fd" (* 64 1024 1024))
> +                      (copy-file "QEMU_VARS.fd"
> +                                 (string-append fmw "/ovmf_vars_aarch64.bin"))
> +                      (copy-file "QEMU_EFI.fd"
> +                                 (string-append fmw "/ovmf_aarch64.bin")))))))))))))

It's surprising that the firmware files must be truncated; does it not
work if we leave them at their original size (and what would that be?).
Expounding the explanatory comment would help.

-- 
Thanks,
Maxim




Information forwarded to guix-patches@HIDDEN:
bug#77148; Package guix-patches. Full text available.

Message received at 77148 <at> debbugs.gnu.org:


Received: (at 77148) by debbugs.gnu.org; 21 Mar 2025 14:12:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 21 10:12:39 2025
Received: from localhost ([127.0.0.1]:38452 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tvd6v-0001U8-Hy
	for submit <at> debbugs.gnu.org; Fri, 21 Mar 2025 10:12:38 -0400
Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]:60579)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1tvd6r-0001Sl-LD
 for 77148 <at> debbugs.gnu.org; Fri, 21 Mar 2025 10:12:31 -0400
Received: by mail-pl1-x62d.google.com with SMTP id
 d9443c01a7336-22403cbb47fso38758125ad.0
 for <77148 <at> debbugs.gnu.org>; Fri, 21 Mar 2025 07:12:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1742566343; x=1743171143; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=5cyIGQBDfVlEOS6fSzjvAfINo3/KWtynNFtGAAtgUf0=;
 b=jOXBUaRqdyFL5QvTtXnwlRh3bz8Gn4lm+uXRuLfSBGfDpoqXGFwKABah5ll2kS0LZt
 RaALEPZ+OTeplSZ1WgbhoXuLAcHN90PJWui8WzTQfMT+mAEtsuCglum78F8qaJuzOPzR
 RF9Wn07feYfokoYtrhj9+AH+zGeyzTUi0XCIZSPQcHxwxQ6XNrPi0w56Umjus49sMslN
 upYWF2kgdVdVg2vCh8X81lSK8j25kx3dZpoBhZa1WGOpWmMMvd0fUInXGAud2raqn1nW
 EiPRjUnDDZsv/Mh2/sCDREYeYiwla9eAAAXBWA/OWtskkt8VYwaY+xZGVLaGgyhdhZxX
 6HRQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1742566343; x=1743171143;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from
 :to:cc:subject:date:message-id:reply-to;
 bh=5cyIGQBDfVlEOS6fSzjvAfINo3/KWtynNFtGAAtgUf0=;
 b=QmFCkH5hi8YCbWzwJAvfjG8yDDG9iheTlf1L8d6z+yhDJTnEDQ/4aiikXJXNqBdFN7
 CQwtlOpRSACpZ9Im/KqLKaooZEbDDh30Uk3Ybt+SuL1tpzyrYQ2nk1AdFtZA+jJAdlit
 z/SIg6o0wTj2IyIp1QsDI3ocuIIjicoLOO5+SpXP0BEXANTJgotYVA/C4emSluOojlAp
 owWHoAXRV2vePmkN2XoHsi2Ks3Wvp1u+vTNXNvy8kYe//R1PqDba2I6JyQI/ImuEwLKU
 FpaKafSgEb/YRwKHG9S43Qg51UbFrvxF33mepA70Sy++oG5A6JA7sGUAX/x9VykTt9gD
 W97g==
X-Gm-Message-State: AOJu0YxO+uV85xHCYnPqs5E4fYTv58hxdKtgStgxWCjolCKtJxYobD5M
 zMwJ6BIhrjDVQ8Uj/h5dEyeB/8+a56FCGAFxPGIjHPBsHPBQ4k7aqOePAw==
X-Gm-Gg: ASbGncto55fA9dYliGQCEncUKkiBtJSTyRhBosd6tDMFf72pN5gdMfM788i0Ij/xE5v
 dEMG7OJn6g3ciCaADvpo20bZ2AI2W5rpGR2JxfTTz1MjIL81N7ygJjHQ0o2sUY4EEn2DUBDkfk0
 v6rFoftgqdqqKeZk4SHLeYOCkWtPP9TrdSCXZhnRPgt6e2SPMwvwGhFr6G6W921jSiL61oCwjNl
 1CdSE399pQpCniHPvtp5m/BK6aad8bboXWb2YmsEYMx4ZGCPpXNtiiiVeM8aNsiY7h6AahPgbNm
 OSqaHhuCtNpLQucqgZUvD58QTNA4lELwK6fAwD155bU=
X-Google-Smtp-Source: AGHT+IFupUi4YDmph/hbwKiLI7XA9LFCr2BTWNp+0TwfjQTf65lNy1offg7peeLp05wl5Mxe1hc20Q==
X-Received: by 2002:a17:902:f605:b0:224:2207:5130 with SMTP id
 d9443c01a7336-22780e260d3mr54023365ad.45.1742566342476; 
 Fri, 21 Mar 2025 07:12:22 -0700 (PDT)
Received: from terra ([2405:6586:be0:0:83c8:d31d:2cec:f542])
 by smtp.gmail.com with ESMTPSA id
 d9443c01a7336-227811f6731sm16707335ad.233.2025.03.21.07.12.20
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 21 Mar 2025 07:12:21 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: Efraim Flashner <efraim@HIDDEN>
Subject: Re: [PATCH 1/9] gnu: Add u-boot-qemu-ppce550.
In-Reply-To: <8adc52de4128c73f365590349ccca41ec29b48fd.1742546953.git.efraim@HIDDEN>
 (Efraim Flashner's message of "Fri, 21 Mar 2025 10:53:02 +0200")
References: <cover.1742546953.git.efraim@HIDDEN>
 <8adc52de4128c73f365590349ccca41ec29b48fd.1742546953.git.efraim@HIDDEN>
Date: Fri, 21 Mar 2025 23:12:07 +0900
Message-ID: <875xk2lbgo.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 77148
Cc: 77148 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi,

Efraim Flashner <efraim@HIDDEN> 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 =C2=A9 2016-2018, 2021-2023 Marius Bakke <marius@HIDDEN>
>  ;;; Copyright =C2=A9 2016, 2017 Danny Milosavljevic <dannym@scratchpost.=
org>
>  ;;; Copyright =C2=A9 2016, 2017 David Craven <david@HIDDEN>
> -;;; Copyright =C2=A9 2017, 2018, 2020-2024 Efraim Flashner <efraim@flash=
ner.co.il>
> +;;; Copyright =C2=A9 2017, 2018, 2020-2025 Efraim Flashner <efraim@flash=
ner.co.il>
>  ;;; Copyright =C2=A9 2018=E2=80=932022 Tobias Geerinckx-Rice <me@tobias.=
gr>
>  ;;; Copyright =C2=A9 2019 nee <nee@HIDDEN>
>  ;;; Copyright =C2=A9 2019 Mathieu Othacehe <m.othacehe@HIDDEN>
> @@ -1330,6 +1330,26 @@ (define-public u-boot-qemu-arm64
>                         ;; details.
>                         #:configs '("# CONFIG_FIT_SIGNATURE is not set")))
>=20=20
> +(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 incompatibiliti=
es.
> +                               ;; See https://bugs.gnu.org/34717 for
> +                               ;; details.
> +                               #:configs '("# CONFIG_FIT_SIGNATURE is no=
t 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.e50=
0")))))))))))

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.

--=20
Thanks,
Maxim




Information forwarded to guix-patches@HIDDEN:
bug#77148; Package guix-patches. Full text available.

Message received at 77148 <at> debbugs.gnu.org:


Received: (at 77148) by debbugs.gnu.org; 21 Mar 2025 08:54:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 21 04:54:36 2025
Received: from localhost ([127.0.0.1]:35056 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tvY9E-00017X-2m
	for submit <at> debbugs.gnu.org; Fri, 21 Mar 2025 04:54:36 -0400
Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]:50510)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <efraim.flashner@HIDDEN>)
 id 1tvY8W-00011Y-1V
 for 77148 <at> debbugs.gnu.org; Fri, 21 Mar 2025 04:53:54 -0400
Received: by mail-ed1-x530.google.com with SMTP id
 4fb4d7f45d1cf-5e535e6739bso2718813a12.1
 for <77148 <at> debbugs.gnu.org>; Fri, 21 Mar 2025 01:53:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1742547226; x=1743152026; 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=9+381lkr/m2fK/me/mA14S40l9E6BpapMyQXWw3aJks=;
 b=bkVVMApMe+5Z1nupmSoKLmuea/QKHm/J9GqK16x5N+JZ/CWAHC4YZHzYbKu43U6DTc
 2ESrLPOIiedFdcdTN0yBaJQewqQVAWhu/sB5ivdGWHP4g99US8kvi0iIEpgesWe5gZGc
 rD+r9Am1Pk+K5VC3dBFfX7SFFFYPylXJEenZYR7fYkjIriQVVsrmo6TQAOIbZZOyaeju
 L2RrOClyp2Ei8sQvvt3teX4K1RUTqZwa/dx2EfcT5KVinDSq0oQfvjsQviziG1c0wB87
 yLYzB9aOHCMItRqMt/+G4jYOezzOi1dqhr5/2lLH0ROTFG9BloBfYPKCGhk0rbCecfvV
 icDw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1742547226; x=1743152026;
 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=9+381lkr/m2fK/me/mA14S40l9E6BpapMyQXWw3aJks=;
 b=LwF5GWCiagTcwjStfyV9HS1+iB/BdWjzoElGUZ723nUZFxjajHpmnijuEC99IJ4TiK
 CtEaD4rTgQK+KX6tPAGdDJ/zFy/PwjzlRzPn4dmwgllfqjc50Smh0GtfCvt5AKiLhxMH
 HtvWcA1ZoOJ++QF93L3swpfkYddkF38ViXheKN93VXoCRrxC3y3yfwEEdIhsbbkXk05J
 siECfJL0LH2HRIyW95AbAMtRxcdODg9ZXR8L/nugrJI6TYt0QJ2mlWDdBNF6GrwWdpXE
 CIEQAguOv13AneuLjFpfp8zrNP6pciILVGuvh1u8TewSXdUW8g0GWkznc9q5gIdJXkmt
 zzPQ==
X-Gm-Message-State: AOJu0Ywsx5LHVR68sPre8KiQsHGmvt0DwZdY/2RjCS8i2fJmvjYxeiry
 DpYzBEd+3egKjqS/yVfLCkwCWL3gySi2+SDcRidcosM/ARtPnwsBFjMley9w
X-Gm-Gg: ASbGnctu4JyXnNfTmjjPDHV8yS8TBqzUTkQLif/JAxLP86OaSga+rXYnw8uMHv3rLw4
 cbFAG+7cxsN5TR9MIcNOddLJJoxvcxLxYOmZP6jSwP6QqC1xOopXNF1er8ILppE5B0YRu8/vctf
 7QdR2sAvDn38bNcBB4dqqwLiRvDfiifCEFHMPfNm7JUkXts2wffHIzo0EDUXqAAFnW9A9Q4lI9e
 lXz7w0C15XiGG1IPd/I0FVdilraRnK6/E9KBci/8hvUuDFWLHZkkJJVlKlpDM/MpAJ7U9ntF41e
 EshjbmPs4z2kaQp2E/bcFRArBFtVb5I5sQZzzCOJhHw8XNmV
X-Google-Smtp-Source: AGHT+IF+dKfwYAjglEtMz1QnRHdGbcUnTxLrV12p5lComR32b53bbeLvC+pKA+GJIYSQAM/aTvzAdA==
X-Received: by 2002:a05:6402:5211:b0:5e7:b02b:6430 with SMTP id
 4fb4d7f45d1cf-5ebcd4f0dcemr1908575a12.23.1742547225554; 
 Fri, 21 Mar 2025 01:53:45 -0700 (PDT)
Received: from localhost ([31.210.181.32]) by smtp.gmail.com with ESMTPSA id
 4fb4d7f45d1cf-5ebccf87341sm994326a12.26.2025.03.21.01.53.44
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 21 Mar 2025 01:53:45 -0700 (PDT)
From: Efraim Flashner <efraim@HIDDEN>
To: 77148 <at> debbugs.gnu.org
Subject: [PATCH 9/9] gnu: Add ovmf-loongarch64.
Date: Fri, 21 Mar 2025 10:53:10 +0200
Message-ID: <78e614438f4b7e4f07be2b764eeb71d41875607e.1742546953.git.efraim@HIDDEN>
X-Mailer: git-send-email 2.48.1
In-Reply-To: <cover.1742546953.git.efraim@HIDDEN>
References: <cover.1742546953.git.efraim@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Efraim Flashner <efraim@HIDDEN>,
 Vagrant Cascadian <vagrant@HIDDEN>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 77148
Cc: Efraim Flashner <efraim@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/firmware.scm (ovmf-loongarch64): New variable.
(make-ovmf-firmware)[arguments]: Adjust the 'build phase to add a case
for loongarch64.

Change-Id: Ibb916b50fd3dc7831ac895cb8b59695688750377
---
 gnu/packages/firmware.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index fe2956fbfdf..6f784a281d3 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -1090,6 +1090,8 @@ (define* (make-ovmf-firmware arch)
                                 "ArmVirtPkg/ArmVirtQemu.dsc")
                                ("riscv64"
                                 "OvmfPkg/RiscVVirt/RiscVVirtQemu.dsc")
+                               ("loongarch64"
+                                "OvmfPkg/LoongArchVirt/LoongArchVirtQemu.dsc")
                                (_ #t)))))
             (add-before 'install 'install-efi-shell
               (lambda _
@@ -1247,6 +1249,25 @@ (define-public ovmf-riscv64
                       (install-file "RISCV_VIRT_CODE.fd" fmw)
                       (install-file "RISCV_VIRT_VARS.fd" fmw))))))))))))
 
+(define-public ovmf-loongarch64
+  (let ((base (make-ovmf-firmware "loongarch64")))
+    (package
+      (inherit base)
+      (arguments
+        (substitute-keyword-arguments (package-arguments base)
+          ((#:phases phases)
+           #~(modify-phases #$phases
+               (replace 'install
+                 (lambda _
+                   (let ((fmw (string-append #$output "/share/firmware")))
+                     (mkdir-p fmw)
+                     (with-directory-excursion "Build/LoongArchVirtQemu/RELEASE_GCC/FV"
+                       ;; Make the files the desired length and then install them
+                       (truncate-file "QEMU_EFI.fd" (* 16 1024 1024))
+                       (truncate-file "QEMU_VARS.fd" (* 16 1024 1024))
+                       (install-file "QEMU_EFI.fd" fmw)
+                       (install-file "QEMU_VARS.fd" fmw))))))))))))
+
 (define-public ovmf
   (deprecated-package "ovmf" ovmf-x86-64))
 
-- 
Efraim Flashner   <efraim@HIDDEN>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted





Information forwarded to efraim@HIDDEN, vagrant@HIDDEN, guix-patches@HIDDEN:
bug#77148; Package guix-patches. Full text available.

Message received at 77148 <at> debbugs.gnu.org:


Received: (at 77148) by debbugs.gnu.org; 21 Mar 2025 08:54:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 21 04:54:36 2025
Received: from localhost ([127.0.0.1]:35054 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tvY9D-00017P-Ki
	for submit <at> debbugs.gnu.org; Fri, 21 Mar 2025 04:54:36 -0400
Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]:59610)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <efraim.flashner@HIDDEN>)
 id 1tvY8U-00011D-2F
 for 77148 <at> debbugs.gnu.org; Fri, 21 Mar 2025 04:53:52 -0400
Received: by mail-ej1-x62b.google.com with SMTP id
 a640c23a62f3a-ac34257295dso363904466b.2
 for <77148 <at> debbugs.gnu.org>; Fri, 21 Mar 2025 01:53:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1742547224; x=1743152024; 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=ta3zsjJ8hNBVEsjXky7VgLhH7N0K3ypdaQyDOQiPLSQ=;
 b=H1sut+GesFp2+gZCyXBSDXeNitHcsBIija4VHBynDAvxXyV8/qDX03Ox0UNfGH7cZa
 LSLuPqg8laveRtOFpYE8w3CUdJisUV0HHn5Dm44mWkUKZ0OR/SznV14tkAM5f4v6n8jE
 tX+cAsLSzM8WjzJ8jAHhU0rAw/JOoZ6NJU5KQgN6jljf5cTcM5GApiEwvpVNkse9Pnxg
 hTZAnxw5+qNg/epdClIZNbNf3wvGZjBKLnDK6nwPRKT0It2+gKxGFNPR7ujlhO/GE2rJ
 W49NdAO21hYgobxj2m42paaFTaeOrTz9lg5ePptB656SEuX8WIYrVt2waH4WcW1/iOfk
 p0og==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1742547224; x=1743152024;
 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=ta3zsjJ8hNBVEsjXky7VgLhH7N0K3ypdaQyDOQiPLSQ=;
 b=sg5s289j/vnY/eF71/fbwyDunrcyiXe0FmpPh1k78Hj6nZka0X8zG/DiC4NCBL6LqA
 8KJ/aigwFeWHmrygnf6XZDmcC9BDayCFkP9S2vjEG8mvmXZqNdaWDtQdTuYRLTKYksNC
 3ikpSMIgau0dCKM40XjiCmeILM/eq96i3ICoEslEa8TizezDbteLplbeR6Xa/dQ5nb8T
 WJMPdf3sIRuRMgqyqc3jechl05yMByygN+WqTE5vPtFa9tjMaY1HX3oktgiTXMUxDheU
 G3QI+VAZyHskP/u3dOIOPfsF11qE7pvEQJl3fbpgciP8Zy9S485j+LSqSS4IhhJTVjGX
 5ysg==
X-Gm-Message-State: AOJu0YwVdchGfSGPtX8IWTuUB1aYrqATWjGtG4XUbMCnOwG775jlE4NW
 SG6bnAFDi0OjEb2JZIurlIGHRpojYNKk5ulumoTBIFa61HiDObkTW2lirns/
X-Gm-Gg: ASbGnctJW/cOYH8KR3/zSIxTFxOSeREg61jvx8qId0zkvmGLgPvY3eATxfzz90b9AIR
 j6ruGfSB/uNOc0iRuK4oiF2Hhhxsn4s6DwwFCVu3ft5QhC6Rp5cnIrtW7xgYgtfzyTwbY44QrTg
 weuDrVMspCS1JYIu2xmm/aai6+21L0zDYeZxe4yxVB8J5DzZ0zgDlzP90/rwRiAi9/A1JhU0pNn
 PuT+JP/M7LrSflSODu0YIlTlz6ZigehtigrbDCabhrqYj62hmaObXegtgmCdZQAsubgI9WXZUvV
 Ml2/a5luagrh1LManWsGhfzulud4X7m/FxiqzXkkRaXb1otT
X-Google-Smtp-Source: AGHT+IGpLp5FSvWaRnckqq5DoT7v4VMtBTKnaXBwK5nmy9e1eSZDZRrDJJ0T8l7Ss4qNR1IZ7aO5dw==
X-Received: by 2002:a17:907:2cc7:b0:ac2:7d72:c2aa with SMTP id
 a640c23a62f3a-ac3f25833fdmr212542266b.51.1742547223553; 
 Fri, 21 Mar 2025 01:53:43 -0700 (PDT)
Received: from localhost ([31.210.181.32]) by smtp.gmail.com with ESMTPSA id
 a640c23a62f3a-ac3efbdc7d0sm110027366b.133.2025.03.21.01.53.42
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 21 Mar 2025 01:53:43 -0700 (PDT)
From: Efraim Flashner <efraim@HIDDEN>
To: 77148 <at> debbugs.gnu.org
Subject: [PATCH 8/9] gnu: edk2-tools: Update to 202502.
Date: Fri, 21 Mar 2025 10:53:09 +0200
Message-ID: <24890fd7c8327bd2af4923b7adb09ab49458452d.1742546953.git.efraim@HIDDEN>
X-Mailer: git-send-email 2.48.1
In-Reply-To: <cover.1742546953.git.efraim@HIDDEN>
References: <cover.1742546953.git.efraim@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Efraim Flashner <efraim@HIDDEN>,
 Vagrant Cascadian <vagrant@HIDDEN>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 77148
Cc: Efraim Flashner <efraim@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/firmware.scm (edk2-tools): Update to 202502.
[arguments]: When building on armhf-linux add a phase to adjust the
compiler flags.

Change-Id: Ia0586cb748194e4ec0fa35c2a04cee64f1ad6521
---
 gnu/packages/firmware.scm | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index 0becefb3b08..fe2956fbfdf 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -947,7 +947,7 @@ (define-public slof-qemu
 (define-public edk2-tools
   (package
     (name "edk2-tools")
-    (version "202402")
+    (version "202502")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -958,7 +958,7 @@ (define-public edk2-tools
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0y7jfpijgi099znhzjklnsczn0k0vm1d1qznq9x2a2sa0glydsin"))))
+                "026h7hadzj1zflgf4qzdby3gmgcqh3m5rvn2yr92jjwn4z8c51la"))))
     (build-system gnu-build-system)
     (arguments
      (list #:make-flags
@@ -1047,6 +1047,13 @@ (define* (make-ovmf-firmware arch)
                           "riscv64-linux-gnu-")
                   (setenv (string-append #$toolchain "_LOONGARCH64_PREFIX")
                           "loongarch64-linux-gnu-"))))
+            #$@(if (target-arm32?)
+                   #~((add-before 'configure 'fix-armhf-flags
+                        (lambda _
+                          (substitute* "BaseTools/Conf/tools_def.template"
+                            (("(DEFINE GCC_ARM_CC_FLAGS.*)-mstack-protector-guard=global" _ gcc-arm)
+                             (string-append gcc-arm "-fstack-protector-all"))))))
+                   #~())
             (replace 'configure
               (lambda _
                 (let* ((cwd (getcwd))
-- 
Efraim Flashner   <efraim@HIDDEN>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted





Information forwarded to efraim@HIDDEN, vagrant@HIDDEN, guix-patches@HIDDEN:
bug#77148; Package guix-patches. Full text available.

Message received at 77148 <at> debbugs.gnu.org:


Received: (at 77148) by debbugs.gnu.org; 21 Mar 2025 08:54:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 21 04:54:35 2025
Received: from localhost ([127.0.0.1]:35051 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tvY9C-00017M-Si
	for submit <at> debbugs.gnu.org; Fri, 21 Mar 2025 04:54:35 -0400
Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]:51482)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <efraim.flashner@HIDDEN>)
 id 1tvY8N-0000zl-29
 for 77148 <at> debbugs.gnu.org; Fri, 21 Mar 2025 04:53:45 -0400
Received: by mail-ed1-x52a.google.com with SMTP id
 4fb4d7f45d1cf-5dc89df7eccso2981279a12.3
 for <77148 <at> debbugs.gnu.org>; Fri, 21 Mar 2025 01:53:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1742547217; x=1743152017; 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=zgAsJsHPFnO7tCgaqLkxal6rB8RpcRZCj05pq1ODdEw=;
 b=Vzkzg7DjnAk8OfhDWKKkvCeh8dFwsiD/uu7bL6CGwdsTq6Q089Y6YTd566w8j4Z/Nf
 UwRjPVQrgHgQ7p/odpT7ecmjghK1Nnr5u6wF6o1/f8IhxA2CURvU1UbqQTFvkjXetq0V
 Rj669uk8xeHkohw6FKz8PeofpK/TKEeMW1BZj26zjM7ZvTGi+/pqOgLoePiPbwQ3Epm8
 U62i1S1AKo1/mkW5p/7wEqGLgzp5ykLQUBifj/uXuyKOGEXUClefVjyvo9RsSjUtMVqZ
 LoS19ppt+8P3oaCQzJ7ljsHg/PKMELlE7Mr72tPG/zAbNXNAwBHQNdDKDDZzLC0Hz7C1
 stiw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1742547217; x=1743152017;
 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=zgAsJsHPFnO7tCgaqLkxal6rB8RpcRZCj05pq1ODdEw=;
 b=f8+zeGwubYZ+KA55HfZJRoKqlc1AW/Jwba6brrM8C8hFj9Abr1rNeGBV4B29uNiOKV
 lAZh66cC5ofC80c0OD3RwFdzvKqcVW4JRXFnwp2vfMZNVjGLNau304E9723vCS4r7gsq
 l8oXu307mcYxyU4PdYCdB5qUABTBFosO7oTOMbX8vs3kf0oO39wGC4EG7z+hnj7bI0dP
 QPqZX7w2P7VwXWzG2QQUp3gry21J9QcSgkyaskBl/v8+UyiwQJE7/6kPmcuDZSRSvigM
 FqKYAq5caT+xxavZHC0xKCLQrZQqEHAgu4zgGmMoTbgDsia213Sj/2RwmPtuKblo3zPv
 5PbA==
X-Gm-Message-State: AOJu0Yzqfv2vi1Hjr0jRZXOd4sG1fouEOZv6Mg5++hjpcvaPnD49yVpp
 a7aBYhad1d+mzR5t4DctqSdZsze1Zmst1ggTw5K+K/xgmzejXEjYbPTvHjy2
X-Gm-Gg: ASbGncuXu5+ssu69sE5EuCsaggEtt5LTL8B33F/wqyofTStajbuQFZin7lexbLT8Ea/
 Vyy7cy0JWDcr832Jk9T0fCP5ZmFjUbhx3L8kw2XgtzsWyQzIW1ahhV8/q7nXMCOUWVmo6je+0Y9
 xNALjaU0ZbeabdfRdoYe2aTnsGwF5sam6JVZP5GThQbCtOGzUYMIvIPaDjGoMTt14pTzimiR7pG
 LPUvVUniLbpOcs9CLKyEkg/g/KTAW84fnrX9W7HPCFNc4jCjNwB87BPbAl55l2hjCRLaB5DXR/T
 q9NaA/Ib0Y8BrJ5obecjD4rCoHU+MiI2t+xtYQFn+fHcrQd5S4nDRSmOr5s=
X-Google-Smtp-Source: AGHT+IFZW0ek0l5m2Q6CXrYcH4eNYlXUaT+tsxE9/7oGeZ8uTOhqEZGgV1GLeHaex7uGpj+35k4PiQ==
X-Received: by 2002:a05:6402:51cd:b0:5e6:14ac:30f with SMTP id
 4fb4d7f45d1cf-5ebcd40a83fmr1953597a12.2.1742547216739; 
 Fri, 21 Mar 2025 01:53:36 -0700 (PDT)
Received: from localhost ([31.210.181.32]) by smtp.gmail.com with ESMTPSA id
 4fb4d7f45d1cf-5ebcd0dfdcesm940148a12.65.2025.03.21.01.53.36
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 21 Mar 2025 01:53:36 -0700 (PDT)
From: Efraim Flashner <efraim@HIDDEN>
To: 77148 <at> debbugs.gnu.org
Subject: [PATCH 5/9] gnu: ovmf-aarch64: Update installed firmware.
Date: Fri, 21 Mar 2025 10:53:06 +0200
Message-ID: <beb9363334633a274a50da8e027e9eafc20aee82.1742546953.git.efraim@HIDDEN>
X-Mailer: git-send-email 2.48.1
In-Reply-To: <cover.1742546953.git.efraim@HIDDEN>
References: <cover.1742546953.git.efraim@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Efraim Flashner <efraim@HIDDEN>,
 Vagrant Cascadian <vagrant@HIDDEN>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 77148
Cc: Efraim Flashner <efraim@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/firmware.scm (ovmf-aarch64)[arguments]: Adjust the
'install phase to install another binary and to truncate the file to the
expected length.

Change-Id: I53958d5f2ca392e1033630e1dfd29d86c25a74fc
---
 gnu/packages/firmware.scm | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index e7d2e390acc..049fd9246fb 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -1190,9 +1190,14 @@ (define-public ovmf-aarch64
                  (lambda _
                    (let ((fmw (string-append #$output "/share/firmware")))
                     (mkdir-p fmw)
-                    (copy-file (string-append "Build/ArmVirtQemu-AARCH64/"
-                                              "RELEASE_GCC/FV/QEMU_EFI.fd")
-                               (string-append fmw "/ovmf_aarch64.bin"))))))))))))
+                    (with-directory-excursion "Build/ArmVirtQemu-AARCH64/RELEASE_GCC/FV"
+                      ;; Make the files the desired length and then install them
+                      (truncate-file "QEMU_EFI.fd" (* 64 1024 1024))
+                      (truncate-file "QEMU_VARS.fd" (* 64 1024 1024))
+                      (copy-file "QEMU_VARS.fd"
+                                 (string-append fmw "/ovmf_vars_aarch64.bin"))
+                      (copy-file "QEMU_EFI.fd"
+                                 (string-append fmw "/ovmf_aarch64.bin")))))))))))))
 
 (define-public ovmf-arm
   (let ((base (make-ovmf-firmware "armhf")))
-- 
Efraim Flashner   <efraim@HIDDEN>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted





Information forwarded to efraim@HIDDEN, vagrant@HIDDEN, guix-patches@HIDDEN:
bug#77148; Package guix-patches. Full text available.

Message received at 77148 <at> debbugs.gnu.org:


Received: (at 77148) by debbugs.gnu.org; 21 Mar 2025 08:54:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 21 04:54:18 2025
Received: from localhost ([127.0.0.1]:35046 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tvY8w-00015p-AZ
	for submit <at> debbugs.gnu.org; Fri, 21 Mar 2025 04:54:18 -0400
Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]:42407)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <efraim.flashner@HIDDEN>)
 id 1tvY8L-0000zM-0a
 for 77148 <at> debbugs.gnu.org; Fri, 21 Mar 2025 04:53:41 -0400
Received: by mail-ej1-x62c.google.com with SMTP id
 a640c23a62f3a-ac2a089fbbdso311788466b.1
 for <77148 <at> debbugs.gnu.org>; Fri, 21 Mar 2025 01:53:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1742547215; x=1743152015; 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=Axgk+w7LABuh8ZqCTqxN3cdv+MB7k9FoROH3qpJ6bjM=;
 b=kCivIDXFkLXVhDq9rHrLEKrxlvaO69MtbmExWF5IQQ8tguZ0s9+tMLhjkpUEv+BFsF
 M+p6QJQHjCyq64Ax3BBNY9zAtCdRDCtkqza/jjEqsGmaWAsp6JpJTaTNCX2z8qaxMvZB
 ykGSY0/ilJ5x585mPnpwRs1EZfxwZVnJExsHv48aGOTerHJsVifW9VsHDpisAoTeqdbq
 VY1Ri5LgjYHIn/LZGsouQnn0Z0DfJznu37lwdVVmG0GHYjN7jdf5I5Ducz4ybnOuvxCa
 l6+a4yD/slxNJvYSnWgb7PPHu68aTiCQ7k91MdDty0ve75p0rlxh+axCR+UOiqjiW9a0
 vOEA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1742547215; x=1743152015;
 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=Axgk+w7LABuh8ZqCTqxN3cdv+MB7k9FoROH3qpJ6bjM=;
 b=M3R48M3UXpS3C/eVFThd7YApOSoV5UdZrGikDeizwK5D4DjXh/fyKjIibXmamqPS65
 nZQQEYoO13bfJAMQcrcOnv0hD4j3sBxkS6siriUmkOlBPMNnz4VmIUgKBiKX7djy6BMd
 1Q0UyFDG3mFyqJdh+v0Y5PrSKd5+Uouc5TMy6Jwn9+HKxyWhJcMw/c+HH5Ji6odkIGsY
 y9yrMpzrvSz1Y2tdKwIRoIMNC5VesUpOHF87P38Ws7n5wiQ+jUOnIA5NaU+5zqnKTBUV
 XDaRzY83LMaF3fzQ/3s60ROoQf5MTS7PRRYjP+oaxmKTQGjf3zijAq5+9zwgCzkSwMSZ
 gkQw==
X-Gm-Message-State: AOJu0Yx7LOyAh3gymFdbYLaOR2AnGVu96ghlHRAN7Mg/0uNR3mVN8hO8
 5Q37zQUO9AEFlSm7c8HJ+LD47XGtROoj/dmPoCe6vB0/yKh+WnSGIr8OOyFL
X-Gm-Gg: ASbGncuxIzZmhq8PBUTP2VAZqOrG2QvbyuonN6bXl2F9AdK/fBWj0O7FUddcRAMKNPv
 M10clXMtcNRGzflGB3QTN7y9xwehUwOKVEV0tOJkejgkTe4dHNpnNex0x4KnDIgTSt9r7VZk0vp
 Q6lDAqdhvt2sgU1POMYwanHHcT83keNC77lg7C9yoMmLd9uQoRxWPk0wmTf0JQRR+Hr0SIJ9e0z
 h+Htu8XfTGtx34nE2L62o+++PDcVkayKq8KleV5TFNISyhojltbEAe3PkCeH0nI7UMWbjyyG9AG
 Ag6e4w2d623igHV2+0x0ld/BN/v5tpgeqQeAWchJ+anVVN8j
X-Google-Smtp-Source: AGHT+IHCSk2IK40BE/ofY2gZOw+3h02CxKMM3wdeWeWel+c8qvpOTUWsQyJRGuLfG2+F/gpgz7psIQ==
X-Received: by 2002:a17:907:86ab:b0:ac3:b50c:c94d with SMTP id
 a640c23a62f3a-ac3f042fc1bmr250384266b.28.1742547214781; 
 Fri, 21 Mar 2025 01:53:34 -0700 (PDT)
Received: from localhost ([31.210.181.32]) by smtp.gmail.com with ESMTPSA id
 a640c23a62f3a-ac3efda3684sm108530366b.181.2025.03.21.01.53.34
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 21 Mar 2025 01:53:34 -0700 (PDT)
From: Efraim Flashner <efraim@HIDDEN>
To: 77148 <at> debbugs.gnu.org
Subject: [PATCH 4/9] gnu: Add ovmf-x86-64-microvm.
Date: Fri, 21 Mar 2025 10:53:05 +0200
Message-ID: <7a84fad119f972bd7135d3c6dddafde4c6d03d07.1742546953.git.efraim@HIDDEN>
X-Mailer: git-send-email 2.48.1
In-Reply-To: <cover.1742546953.git.efraim@HIDDEN>
References: <cover.1742546953.git.efraim@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Efraim Flashner <efraim@HIDDEN>,
 Vagrant Cascadian <vagrant@HIDDEN>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 77148
Cc: Efraim Flashner <efraim@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/firmware.scm (ovmf-x86-64-microvm): New variable.

Change-Id: I1c8d7b037a84d7855d53def4c639a037c429aedb
---
 gnu/packages/firmware.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index 35bfa6425ac..e7d2e390acc 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -1138,6 +1138,24 @@ (define-public ovmf-x86-64
                            "OVMF_CODE"
                            "OVMF_VARS"))))))))))))
 
+(define-public ovmf-x86-64-microvm
+  (let ((base (make-ovmf-firmware "x86_64")))
+    (package
+      (inherit base)
+      (name "ovmf-x86-64-microvm")
+      (arguments
+       (substitute-keyword-arguments (package-arguments base)
+         ((#:phases phases)
+          #~(modify-phases #$phases
+              (replace 'build
+                (lambda _
+                  (invoke "build" "-a" "X64" "-t" "GCC" "-p"
+                          "OvmfPkg/Microvm/MicrovmX64.dsc")))
+              (replace 'install
+                (lambda _
+                  (install-file "Build/MicrovmX64/RELEASE_GCC/FV/MICROVM.fd"
+                                (string-append #$output "/share/firmware")))))))))))
+
 (define-public ovmf-i686
   (let ((base (make-ovmf-firmware "i686")))
     (package
-- 
Efraim Flashner   <efraim@HIDDEN>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted





Information forwarded to efraim@HIDDEN, vagrant@HIDDEN, guix-patches@HIDDEN:
bug#77148; Package guix-patches. Full text available.

Message received at 77148 <at> debbugs.gnu.org:


Received: (at 77148) by debbugs.gnu.org; 21 Mar 2025 08:54:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 21 04:54:18 2025
Received: from localhost ([127.0.0.1]:35044 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tvY8v-00015i-U8
	for submit <at> debbugs.gnu.org; Fri, 21 Mar 2025 04:54:18 -0400
Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]:56322)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <efraim.flashner@HIDDEN>)
 id 1tvY8R-00010Z-4Y
 for 77148 <at> debbugs.gnu.org; Fri, 21 Mar 2025 04:53:49 -0400
Received: by mail-ed1-x536.google.com with SMTP id
 4fb4d7f45d1cf-5e4d50ed90aso2407519a12.0
 for <77148 <at> debbugs.gnu.org>; Fri, 21 Mar 2025 01:53:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1742547221; x=1743152021; 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=yrfwCrhQu6ZgJ5g0ShTDc78EtCx4iTCJO/iDygoEXvI=;
 b=D1PAk9KC2QJxDi01kjDw0/DxEOh13HxBfdVQkGLWVxXjxEqg44WBYG2OMl6bO78EVR
 nAk6V+Gd5zzk0QI2UO7zSm1atVUz50zli9XaU/B00/YlSKhgNaMOFC/WulRNAGfjUy4A
 WiSGoB0z2bbx50ZMrZw5KTIwi+0wQdUZvrlAUvZJ7cdYiQv9MVZgWAGa8LBfZ3LtjPFq
 j1OEmyenXnfqtK8r/OtdJUVBebjHawZ11yL7HMSUC1HUVPcZGe6bhd/8ouuQgmWcX+Cq
 iDKg4LL6m3evj4RSKxNDmvo1Keb1iNlLxEbAkpZXn7eXDU2wahLXalKvE+2fGpDOIo0D
 hSsg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1742547221; x=1743152021;
 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=yrfwCrhQu6ZgJ5g0ShTDc78EtCx4iTCJO/iDygoEXvI=;
 b=XSfk9ST8jOTLyUPaGa/rU2k7mM0ClqgH7emz7UPEMCzPw/lilLOgTU31KC7Sg4sYtj
 +Nbhj+hogX/4cfDkBBEoV+MN0fdIdkKikWqFqqcfByAMNB8/ceWsbBUIXNNb+p30byy0
 9hdq/y/pG2uH+AUOXW9BtFddirnFan9Eh3OPFuD36ZJMG27l9pxIEJk7tYitQqAr8blm
 UXboAI8bv0Ifmb2BxjYELvCAIBCJN5d5ybQWVAz3R3yN31JBXGS8+BoJs5E3hEYZo/93
 60sg5h3zlCOdlFp1MmnGRFvJnzoasT/E7jsKY0BKrYekEMnUINL7fItqtAw1cTyFoxEX
 iZVA==
X-Gm-Message-State: AOJu0Yy6UTBfD8M4/e6xT002PNLkoqMCummCQ3NPOLxsafuE9O3O3XOM
 t4AOWJXrqHQQFiqQp1VDEyxXQzElUhYa51xA5czWlCFcQECgCiDhH/k/PEAq
X-Gm-Gg: ASbGncvP9b5fLfgwBkxFl2x1o0GwzCBV8hNgWAqAETD6ucXVcf9JxnULP3qNc5TAqR4
 A6IX1RwqzrOAgl+0Xiswzd4O5PYfqZKh+XlzlzKkbuu/9Vj7Hg6O6prtnxVV+fctpvezWeP9HUZ
 qD4m+VoLbyKKhIooXgrycjLvVE552/zxCVJfxclkSkvNkHw44IOk7uR64fpMtVcTx0eYCF0b15g
 paohx36dT5mYGu/hZSI24WBPDdatZkbZV/sRtr5K7m0XiB8fb9gjS3abM3PUlbq9Fo4NHVNsmF8
 9g3zg87Uet9gmG6yQFyu7trTPTdaJ3p4pUraQnt3YF7P7HWu
X-Google-Smtp-Source: AGHT+IFAFxdwExQiiCVsmdiyBQjxatbROQKw01nwUB2Mgy8B+p4ShdEy0JIHY3yL1glOZQqHMM0Hpg==
X-Received: by 2002:a05:6402:354a:b0:5e5:3610:8b59 with SMTP id
 4fb4d7f45d1cf-5ebcd40607emr2084519a12.1.1742547220789; 
 Fri, 21 Mar 2025 01:53:40 -0700 (PDT)
Received: from localhost ([31.210.181.32]) by smtp.gmail.com with ESMTPSA id
 4fb4d7f45d1cf-5ebcd0c6f25sm945618a12.57.2025.03.21.01.53.40
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 21 Mar 2025 01:53:40 -0700 (PDT)
From: Efraim Flashner <efraim@HIDDEN>
To: 77148 <at> debbugs.gnu.org
Subject: [PATCH 7/9] gnu: ovmf-riscv64: Adjust the installed firmware.
Date: Fri, 21 Mar 2025 10:53:08 +0200
Message-ID: <abb2d7995c63a107511f4a2285d5ff2708422bfd.1742546953.git.efraim@HIDDEN>
X-Mailer: git-send-email 2.48.1
In-Reply-To: <cover.1742546953.git.efraim@HIDDEN>
References: <cover.1742546953.git.efraim@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Efraim Flashner <efraim@HIDDEN>,
 Vagrant Cascadian <vagrant@HIDDEN>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 77148
Cc: Efraim Flashner <efraim@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/firmware.scm (ovmf-riscv64)[arguments]: Adjust the
'install phase to truncate the files to their expected lengths.

Change-Id: Idb524a7e2ca8b8a8fe8a70a893f57a13ff1e0b56
---
 gnu/packages/firmware.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index c8220fe3d66..0becefb3b08 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -1234,6 +1234,9 @@ (define-public ovmf-riscv64
                    (let ((fmw (string-append #$output "/share/firmware")))
                     (mkdir-p fmw)
                     (with-directory-excursion "Build/RiscVVirtQemu/RELEASE_GCC/FV"
+                      ;; Make the files the desired length and then install them
+                      (truncate-file "RISCV_VIRT_CODE.fd" (* 32 1024 1024))
+                      (truncate-file "RISCV_VIRT_VARS.fd" (* 32 1024 1024))
                       (install-file "RISCV_VIRT_CODE.fd" fmw)
                       (install-file "RISCV_VIRT_VARS.fd" fmw))))))))))))
 
-- 
Efraim Flashner   <efraim@HIDDEN>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted





Information forwarded to efraim@HIDDEN, vagrant@HIDDEN, guix-patches@HIDDEN:
bug#77148; Package guix-patches. Full text available.

Message received at 77148 <at> debbugs.gnu.org:


Received: (at 77148) by debbugs.gnu.org; 21 Mar 2025 08:54:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 21 04:54:17 2025
Received: from localhost ([127.0.0.1]:35042 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tvY8v-00015f-Aw
	for submit <at> debbugs.gnu.org; Fri, 21 Mar 2025 04:54:17 -0400
Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]:52732)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <efraim.flashner@HIDDEN>)
 id 1tvY8P-00010E-AV
 for 77148 <at> debbugs.gnu.org; Fri, 21 Mar 2025 04:53:47 -0400
Received: by mail-ej1-x633.google.com with SMTP id
 a640c23a62f3a-ac298c8fa50so310188566b.1
 for <77148 <at> debbugs.gnu.org>; Fri, 21 Mar 2025 01:53:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1742547219; x=1743152019; 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=BOgAEKiNRW+VTR3/PvvcUstToh5xLwsfIeQOW4EpJn4=;
 b=Ulgtnhgmt4AKuDntHMlCHEee5d0KiPni7S38wpVyUsXuYaVmyq+YzBZk52m+MSZA9u
 xhwiXNhKF4q7mYZ4i05Qan4TglM6Ms2sAZZBG2jcmV1qHnMzHSQhofGPeURa6/lUozbN
 2DaQnfL9PDogu8a86m/tVjYG4SwsfoVJKbJrz9246XQo5mBV/lbjt3XetiV82+DdCUd/
 LLLudwDi8h7zq/vnBoUrKZB+l99uslRpQaqiXBUZEeVSWkSyOPuNn5oHq8zxgPsltWnC
 f53a6mkk4O1DSoQJjMhQ++Drx/F9VHYLT3S7Hfs1TxISAl0pTWZjBPcAHyCawNkYXU59
 qJYg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1742547219; x=1743152019;
 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=BOgAEKiNRW+VTR3/PvvcUstToh5xLwsfIeQOW4EpJn4=;
 b=KmmVJxuE6fnltLUAMRDDC/xIPlXrQYsYxYPE31k+LAyYHtZOXh1gi0jaNh+6lm76yQ
 n/K960WIjcEQ/QM/c+4pV5pXE4PT5vxP3MWWUBcXo7NVzc98X/Flz2DdPlVxAqGDYWNQ
 Uy7l+S7eTU0wG3ccwv4XvLZW+R2fMWyBBligvJxpwjlFmg+YFfR/o6h/ppyHnekLbgOp
 S7TASX/dZ2jNlbYkHerCGCI0s2vasu4CAwvN9bU6aUTVS6vOoZnUXkQQQy9QMjyTN9Ty
 kk50MD+Iaj4okeVLlVOag+WRRs6j70ljbaC9rbh6Sz//+yK5dc+l4Y4xHQ9X6mFQLM+N
 fgPg==
X-Gm-Message-State: AOJu0YzhumG1bMpXv+3h3mBUN6I7PUs2SGcG3FS+b11uK+Ip/+s6gwd+
 OUIQwua5DGuDUPQV5QEjQxhk3jIpnZoa6QLf/6qhZSe3nKUFus8P5erKyera
X-Gm-Gg: ASbGncu8FCMT11OeF4q/smQiTa2HjQCx2oju2l3c7r1NV0vZFd8jMzoBSuXV4/n/gTu
 v9o8jwP0SpqTVKjVtQfLlqMpqmUWWrRgW+vKwRog44MXPkeERV0tYOw6aY0d7bcV9tG1UY4ROME
 H+9yZ7JN9vUUDNI8Xxx8QgwjUNnx4vGOCoZHb0wO51Rc4MzHI6l+Rm4Ts0eYYNeV2mC4k767G6g
 TAl4XgM04U7Btvk0h3Juh401x+ApoCz3rxYXANe4omj2MPOqaw8iuPSXS98FEEcB+pMS3ZB6lJf
 ++MakmZaCZUyokE+8B4e9UTeRqqqfUU6mCZiJrQmQpNvypLH
X-Google-Smtp-Source: AGHT+IHG4yUnXDy6mbHr64lIDlMdQnMLqCRDr+mM2C5sqDJTlwQPJ9cWfP6Py2lUiLRMhTVU6DQhtA==
X-Received: by 2002:a17:907:c88a:b0:ac3:c91b:7461 with SMTP id
 a640c23a62f3a-ac3f26abe3emr249886666b.46.1742547218764; 
 Fri, 21 Mar 2025 01:53:38 -0700 (PDT)
Received: from localhost ([31.210.181.32]) by smtp.gmail.com with ESMTPSA id
 a640c23a62f3a-ac3ef86f1c1sm111166666b.8.2025.03.21.01.53.38
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 21 Mar 2025 01:53:38 -0700 (PDT)
From: Efraim Flashner <efraim@HIDDEN>
To: 77148 <at> debbugs.gnu.org
Subject: [PATCH 6/9] gnu: ovmf-arm: Update installed firmware.
Date: Fri, 21 Mar 2025 10:53:07 +0200
Message-ID: <98dd0a2a69547fc403323d9027a25f87d84cdaba.1742546953.git.efraim@HIDDEN>
X-Mailer: git-send-email 2.48.1
In-Reply-To: <cover.1742546953.git.efraim@HIDDEN>
References: <cover.1742546953.git.efraim@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Efraim Flashner <efraim@HIDDEN>,
 Vagrant Cascadian <vagrant@HIDDEN>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 77148
Cc: Efraim Flashner <efraim@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/firmware.scm (ovmf-arm)[arguments]: Adjust the 'install
phase to install another binary and to truncate the file to the expected
length.

Change-Id: Ic3319c88ed03c9c80e466ef78eae60837158a456
---
 gnu/packages/firmware.scm | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index 049fd9246fb..c8220fe3d66 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -1212,9 +1212,14 @@ (define-public ovmf-arm
                  (lambda _
                    (let ((fmw (string-append #$output "/share/firmware")))
                     (mkdir-p fmw)
-                    (copy-file (string-append "Build/ArmVirtQemu-ARM/"
-                                              "RELEASE_GCC/FV/QEMU_EFI.fd")
-                               (string-append fmw "/ovmf_arm.bin"))))))))))))
+                    (with-directory-excursion "Build/ArmVirtQemu-ARM/RELEASE_GCC/FV"
+                      ;; Make the files the desired length and then install them
+                      (truncate-file "QEMU_EFI.fd" (* 64 1024 1024))
+                      (truncate-file "QEMU_VARS.fd" (* 64 1024 1024))
+                      (copy-file "QEMU_VARS.fd"
+                                 (string-append fmw "/ovmf_vars_arm.bin"))
+                      (copy-file "QEMU_EFI.fd"
+                                 (string-append fmw "/ovmf_arm.bin")))))))))))))
 
 (define-public ovmf-riscv64
   (let ((base (make-ovmf-firmware "riscv64")))
-- 
Efraim Flashner   <efraim@HIDDEN>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted





Information forwarded to efraim@HIDDEN, vagrant@HIDDEN, guix-patches@HIDDEN:
bug#77148; Package guix-patches. Full text available.

Message received at 77148 <at> debbugs.gnu.org:


Received: (at 77148) by debbugs.gnu.org; 21 Mar 2025 08:53:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 21 04:53:44 2025
Received: from localhost ([127.0.0.1]:35026 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tvY8M-00010h-BS
	for submit <at> debbugs.gnu.org; Fri, 21 Mar 2025 04:53:44 -0400
Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]:55612)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <efraim.flashner@HIDDEN>)
 id 1tvY8J-0000z4-7a
 for 77148 <at> debbugs.gnu.org; Fri, 21 Mar 2025 04:53:40 -0400
Received: by mail-ej1-x629.google.com with SMTP id
 a640c23a62f3a-ac2dfdf3c38so56080066b.3
 for <77148 <at> debbugs.gnu.org>; Fri, 21 Mar 2025 01:53:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1742547213; x=1743152013; 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=UBJ3UDR4TOidH2BD10HWxIF5cBv3Ro02LG+2VKtPd08=;
 b=R2/KfD7ZZRKu9wpCaeZvhguPr5/1mFslE0LNwCo1Ch9GaZjXghzHoS3eo4fKkXJZm4
 oyFrdBlffio1qO4siFIOcoKfJIv706DjO973E2MNaVL0/t+pALyGhbWZD96lUJ7cVGdI
 TZf2X7cnQ5M3CHwyw6E2EEjAnGbdlhOe6lW+/cmdkRTRtgY4tAJ1Ah/K2avXSjV7ldTE
 cxSOCLO4Plf34PDqDAEzThuFFK1Pv2tO4R8ciHxwuERIyK8ooaSCaDkJRncAIkicGxrM
 GWwlLIYxobjapi1IWqWvBiSzkd0ibmB6VF33T0vsYyf97nW1aS5NCeR9fze5XQTpJjM+
 XeVw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1742547213; x=1743152013;
 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=UBJ3UDR4TOidH2BD10HWxIF5cBv3Ro02LG+2VKtPd08=;
 b=sbo24chJA6nHWbTK0OfcRNabcOZN+A2eLe4cTNqvQI/9i0zgYq7O7y9xlu7D4U4c3S
 O9bVOKOqRGeQcZGdvIcq865Fsso3cFBwWao/hEu00CRaJ68tmgaCej+EteoU5/N0IhcH
 pISnLt2DNyPMszEvSulxZJuI3rKiN8zY2fw5XG+0Ouj/y73pFDsmd5ilZ8LYuG0AEzW6
 6o40HGJtxhh59swAHcye8osKKccrcuXzTjXu+tNrDjs6yfacTLbMhHOqJSMkoJ7RMXYZ
 t4SVrZN9s0Ejf0YPhhXvshuYkFb4eapokoZ3nMlIbgDvrCzGcZLrhMErDic5a/DKM/o7
 Njsg==
X-Gm-Message-State: AOJu0YzwGi9kqyFPAG12RuzU8gG3Zy3laeCmx76LFtgRWhaJYFty6CKC
 XkMNe4sr79vBJwcN9AeLSYXRaP9WcP4uYVn5xNOLK2DVRUVy4IB512cu2m1l
X-Gm-Gg: ASbGncsXZrfSGT9BLEFlmtyB0nyFb2M3EqMR7F345a6oK9XSsPKkdhHgRYqWMlx8Kfd
 CN9/jj9Tv9h0161MSdJ2nrZtTvNBAPTNClRkHVDyPzr/ROJFyfQGuBj0TvJy9Pw1ADx6ehEEA58
 Z9epQmIiWAzlbhXdNzDG07hVxRjYCNyBAEJhrxOWcLswq5BBeV7UdmdYnnwYYkB2QhiLIeDBc5b
 7/6atOZC5rFPxEdhwXrVRvN15v0HysoymOs7YpmowjoaS22qCwujBNeg9H7GUhagXFme6QNup13
 JI7NaJZj2KhEGEkS+T7JrsrsoG11QkIEztYgLg3DQJOz/NdK
X-Google-Smtp-Source: AGHT+IGyQgdd4V8fqkFxgVyrmUg84jNBOYT2nDeE8j4nMoRzihdXweVZHvwOlVLpfOcIIWSgLdXoig==
X-Received: by 2002:a17:907:3f14:b0:ac2:d0e6:2b99 with SMTP id
 a640c23a62f3a-ac3f24c8369mr256665466b.36.1742547212732; 
 Fri, 21 Mar 2025 01:53:32 -0700 (PDT)
Received: from localhost ([31.210.181.32]) by smtp.gmail.com with ESMTPSA id
 a640c23a62f3a-ac3ef869f32sm111268866b.26.2025.03.21.01.53.31
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 21 Mar 2025 01:53:31 -0700 (PDT)
From: Efraim Flashner <efraim@HIDDEN>
To: 77148 <at> debbugs.gnu.org
Subject: [PATCH 3/9] gnu: Add skiboot-qemu.
Date: Fri, 21 Mar 2025 10:53:04 +0200
Message-ID: <da678710fb86e3832304ed106f4ac15c0aee3ca5.1742546953.git.efraim@HIDDEN>
X-Mailer: git-send-email 2.48.1
In-Reply-To: <cover.1742546953.git.efraim@HIDDEN>
References: <cover.1742546953.git.efraim@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Efraim Flashner <efraim@HIDDEN>,
 Vagrant Cascadian <vagrant@HIDDEN>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 77148
Cc: Efraim Flashner <efraim@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/firmware.scm (skiboot-qemu): New variable.

Change-Id: Ieb90171de7e74a4617e2c50b62c317b152d3a0c5
---
 gnu/packages/firmware.scm | 65 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)

diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index 88ee0f5777c..35bfa6425ac 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -55,6 +55,7 @@ (define-module (gnu packages firmware)
   #:use-module (gnu packages base)
   #:use-module (gnu packages bash)
   #:use-module (gnu packages bison)
+  #:use-module (gnu packages bootloaders)
   #:use-module (gnu packages check)
   #:use-module (gnu packages cmake)
   #:use-module (gnu packages compression)
@@ -830,6 +831,70 @@ (define-public sgabios
 after an operating system boots.")
       (license license:asl2.0))))
 
+(define-public skiboot-qemu
+  (package
+    (name "skiboot")
+    (version "7.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/open-power/skiboot")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1gpgviphai9biw6cmq1bl50i1419b0q6n5c8vjmq7zx3a46mjwqv"))))
+    (build-system gnu-build-system)
+    (arguments
+     (list #:make-flags
+           #~(list (string-append "SKIBOOT_VERSION=" #$version)
+                   #$@(if (target-little-endian?)
+                          #~("HOSTEND=LITTLE")
+                          #~("HOSTEND=BIG"))
+                   "USE_VALGRIND=0")
+           #:target #f              ; Package produces firmware.
+           #:parallel-tests? #f
+           #:phases
+           #~(modify-phases %standard-phases
+               (delete 'configure)  ; No configure script.
+               (add-after 'unpack 'patch-files
+                 (lambda _
+                   (substitute* "external/common/get_arch.sh"
+                     (("/bin/sh") (which "sh")))))
+               (add-before 'check 'pre-check
+                 (lambda _
+                   (delete-file "external/pflash/test/tests/01-info")
+                   (substitute* "libc/test/run-time.c"
+                     (("/usr/include/assert\\.h")
+                      (search-input-file %build-inputs "include/assert.h")))
+                   (substitute* "external/test/test.sh"
+                     (("/bin/true") (which "true")))
+                   (substitute* "libstb/secvar/test/Makefile.check"
+                     (("check: secvar-check") "check:\n"))))
+               (replace 'install
+                 (lambda _
+                   (install-file "skiboot.lid"
+                                 (string-append #$output "/share/qemu")))))))
+    (native-inputs
+     (append
+       (if (not (string-prefix? "powerpc64" (%current-system)))
+           (list (cross-gcc "powerpc64-linux-gnu")
+                 (cross-binutils "powerpc64-linux-gnu")))
+       (list dtc perl)))
+    (inputs (list openssl))
+    (home-page "https://github.com/open-power/skiboot/")
+    (synopsis "OPAL boot and runtime firmware for POWER")
+    (description
+     "@acronym{OPAL, OpenPower Abstraction Layer} firmware comes in several parts.
+The OPAL image is three parts:
+@enumerate
+@item skiboot (includes OPAL runtime services)
+@item skiroot - the bootloader environment, with the kernel and initramfs
+(containing the petitboot bootloader)
+@end enumerate
+They may be all part of one payload or three separate images.")
+    (license license:asl2.0)))
+
 (define-public slof-qemu
   (package
     (name "slof")
-- 
Efraim Flashner   <efraim@HIDDEN>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted





Information forwarded to efraim@HIDDEN, vagrant@HIDDEN, guix-patches@HIDDEN:
bug#77148; Package guix-patches. Full text available.

Message received at 77148 <at> debbugs.gnu.org:


Received: (at 77148) by debbugs.gnu.org; 21 Mar 2025 08:53:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 21 04:53:41 2025
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 <at> debbugs.gnu.org>)
	id 1tvY8K-00010S-NI
	for submit <at> 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@HIDDEN>)
 id 1tvY8F-0000yF-0q
 for 77148 <at> 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 <at> 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@HIDDEN>
To: 77148 <at> debbugs.gnu.org
Subject: [PATCH 1/9] gnu: Add u-boot-qemu-ppce550.
Date: Fri, 21 Mar 2025 10:53:02 +0200
Message-ID: <8adc52de4128c73f365590349ccca41ec29b48fd.1742546953.git.efraim@HIDDEN>
X-Mailer: git-send-email 2.48.1
In-Reply-To: <cover.1742546953.git.efraim@HIDDEN>
References: <cover.1742546953.git.efraim@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Efraim Flashner <efraim@HIDDEN>,
 Vagrant Cascadian <vagrant@HIDDEN>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 77148
Cc: Efraim Flashner <efraim@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* 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@HIDDEN>
 ;;; Copyright © 2016, 2017 Danny Milosavljevic <dannym@HIDDEN>
 ;;; Copyright © 2016, 2017 David Craven <david@HIDDEN>
-;;; Copyright © 2017, 2018, 2020-2024 Efraim Flashner <efraim@HIDDEN>
+;;; Copyright © 2017, 2018, 2020-2025 Efraim Flashner <efraim@HIDDEN>
 ;;; Copyright © 2018–2022 Tobias Geerinckx-Rice <me@HIDDEN>
 ;;; Copyright © 2019 nee <nee@HIDDEN>
 ;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@HIDDEN>
@@ -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"))
 
-- 
Efraim Flashner   <efraim@HIDDEN>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted





Information forwarded to efraim@HIDDEN, vagrant@HIDDEN, guix-patches@HIDDEN:
bug#77148; Package guix-patches. Full text available.

Message received at 77148 <at> debbugs.gnu.org:


Received: (at 77148) by debbugs.gnu.org; 21 Mar 2025 08:53:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 21 04:53:40 2025
Received: from localhost ([127.0.0.1]:35020 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tvY8J-000107-DQ
	for submit <at> debbugs.gnu.org; Fri, 21 Mar 2025 04:53:40 -0400
Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]:56332)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <efraim.flashner@HIDDEN>)
 id 1tvY8G-0000yW-Hh
 for 77148 <at> debbugs.gnu.org; Fri, 21 Mar 2025 04:53:38 -0400
Received: by mail-ej1-x632.google.com with SMTP id
 a640c23a62f3a-ac2bdea5a38so279231566b.0
 for <77148 <at> debbugs.gnu.org>; Fri, 21 Mar 2025 01:53:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1742547210; x=1743152010; 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=waVI0mF1q0BJJfadkWmQFrdrQmLRxwp/H58NGh6PUFc=;
 b=ALZ7m2an5jwk3w00zBIGJi2rphM7+nM2RC7ZJ2bFY8BYnNUmT+T9dabs47oKFb8T5U
 ajfpmyVkCBnGGuV1QSG8vic7ewimd92MNyjFsWxySwDwd1N9QNvWYxWjqvU6H6iwJLJg
 nqpNZLYn0ZRKg5WeJPukFB+o9Q7kjDXE2QWSwffiwGdhvR7dCKEcai9tkVUJmsVE4xoK
 x6mOkAaGvUEk6JK2fokD7XpdxbFuZMYJgm89S1h1a/2b9h/+NRkOPckHwucPw7X2UWQ7
 27dlVJbqwrcxGMDDyU/oVgBq2/UO8Z93thZgMqFhMXLJK2ecWTIxxsiWZjC6YS+SONfL
 YYVA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1742547210; x=1743152010;
 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=waVI0mF1q0BJJfadkWmQFrdrQmLRxwp/H58NGh6PUFc=;
 b=oxmpbnHgnwU6ZF7VRlBGRT0yVjCb5fhZp6JXQMIDz7/l9Ap+NIzs8FFAN+pg25Jbqd
 zXp9dNUtMyOIFZ5ueqltzLAxCFA/+7J6X8MYmZwLWaECwz9aPw9pI3C25bkE5mJxQK1J
 FcQ2/TYICVA03lChdi2M13giTPhNlfTTvnOPrhlf7LTtCgx74FxRuqDL8KIDtJDWH1we
 0WfrD1P7mrbS2C3ogvyfOwRE1LrapUn1xtG75n3xRSm3wUPFfh8P3Gbr+MeoVt+c0flR
 X/4NqIvhBx/acnkdTSoWPGV4V5rDw/fAYhwTrjwbaHdahI+m4iLD1L7VdIj05ydhnI2B
 3iSg==
X-Gm-Message-State: AOJu0Yy3CJMC6P5uDvVJ8O/ADhHL4kMKHP3ocz8BUITgCd7w1p4d5bKg
 YZnikV6SQykwPCmSVwD6g6+byc2n0skTBZ5Jo8wBEwo5Tt8D9mQhhAFpPkla
X-Gm-Gg: ASbGncuKp7M5iHpEyNNrX0yuRUjbC2ascBS5CllHIoRHWuMXI/vZSYOR8/E3AX2uqyR
 k5eKV0QTf71RIPSrNI8yvJqpv4crGQBUMPkovaBT6WcAJVRtz2YXkrgh3HG1AbDSkQISMu08Ugn
 Fm5E5DPoTawBgXw39JzW09w8eo9LtiZ+b9wZdILTsSyRd8rhH3RmPrN9iKB7pH6T6BuSTVJYf7/
 F0SXQL2T7C2g5tdzSO4pdTb7CvK68YBqoME6Uo376NAYDT6wQujKM7bBL6ZXN4zRc8R4VAOdSl4
 5vG7wzxbG0AuYmqZ0pxv0RIxnEbQw0l7l20WEFM6NcqKNUe4qB2vpYnzFng=
X-Google-Smtp-Source: AGHT+IEj98en10EBzg36BRutwVMJ6K8ydF2jgOfIo5apPmIvn9ZKGf2ewYQPpBsm7OhKWfspqRivHQ==
X-Received: by 2002:a17:907:2ce6:b0:ac2:b086:88ec with SMTP id
 a640c23a62f3a-ac3f2089ff7mr236867266b.5.1742547210039; 
 Fri, 21 Mar 2025 01:53:30 -0700 (PDT)
Received: from localhost ([31.210.181.32]) by smtp.gmail.com with ESMTPSA id
 a640c23a62f3a-ac3efb52bffsm110433066b.89.2025.03.21.01.53.29
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 21 Mar 2025 01:53:29 -0700 (PDT)
From: Efraim Flashner <efraim@HIDDEN>
To: 77148 <at> debbugs.gnu.org
Subject: [PATCH 2/9] gnu: Add slof-qemu.
Date: Fri, 21 Mar 2025 10:53:03 +0200
Message-ID: <57c58c9ff4122ff61e15250d842ddd1d699a2b97.1742546953.git.efraim@HIDDEN>
X-Mailer: git-send-email 2.48.1
In-Reply-To: <cover.1742546953.git.efraim@HIDDEN>
References: <cover.1742546953.git.efraim@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Efraim Flashner <efraim@HIDDEN>,
 Vagrant Cascadian <vagrant@HIDDEN>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 77148
Cc: Efraim Flashner <efraim@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/firmware.scm (slof-qemu): New variable.

Change-Id: I01664bae53c79c46b9e293c0cf4287338134bab0
---
 gnu/packages/firmware.scm | 51 ++++++++++++++++++++++++++++++++++++++-
 1 file changed, 50 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index 63f767f72bf..88ee0f5777c 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -2,7 +2,7 @@
 ;;; Copyright © 2014-2016, 2024 Ludovic Courtès <ludo@HIDDEN>
 ;;; Copyright © 2016 Eric Bavier <bavier@HIDDEN>
 ;;; Copyright © 2017 David Craven <david@HIDDEN>
-;;; Copyright © 2017, 2018, 2022-2024 Efraim Flashner <efraim@HIDDEN>
+;;; Copyright © 2017, 2018, 2022-2025 Efraim Flashner <efraim@HIDDEN>
 ;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice <me@HIDDEN>
 ;;; Copyright © 2018 Vagrant Cascadian <vagrant@HIDDEN>
 ;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@HIDDEN>
@@ -830,6 +830,55 @@ (define-public sgabios
 after an operating system boots.")
       (license license:asl2.0))))
 
+(define-public slof-qemu
+  (package
+    (name "slof")
+    (version "20241106")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/aik/SLOF")
+                    (commit (string-append "qemu-slof-" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1gfqnaxgvdv6s2gkkzrazijgs7rrvigmm878q81l9m5vnyyj12kx"))
+              (snippet
+               #~(begin (use-modules (guix build utils))
+                        (for-each delete-file-recursively
+                                  (cons* "FlashingSLOF.pdf"
+                                         (find-files "." "\\.oco$")))))))
+    (build-system gnu-build-system)
+    (arguments
+     (list #:make-flags
+           #~(list #$@(if (not (string-prefix? "powerpc64" (%current-system)))
+                          `("CROSS=powerpc64-linux-gnu-")
+                          `())
+                   "qemu")
+           #:target #f              ; Package produces firmware.
+           #:tests? #f              ; No tests.
+           #:phases
+           #~(modify-phases %standard-phases
+               (delete 'configure)  ; No configure script.
+               (replace 'install
+                 (lambda _
+                   (copy-file "boot_rom.bin" "slof.bin")
+                   (install-file "slof.bin"
+                                 (string-append #$output "/share/qemu")))))))
+    (native-inputs
+     (append
+       (if (not (string-prefix? "powerpc64" (%current-system)))
+           (list (cross-gcc "powerpc64-linux-gnu")
+                 (cross-binutils "powerpc64-linux-gnu")))
+       (list perl)))
+    (home-page "https://openbios.info/SLOF")
+    (synopsis "Implementation of IEEE1275 Open Firmware for some POWER ISA systems")
+    (description
+     "@acronym{SLOF, Slimline Open Firmware} is an implementation of the IEEE
+1275 standard.  It can be used as partition firmware for pSeries machines running
+on QEMU or KVM.")
+    (license license:bsd-3)))
+
 (define-public edk2-tools
   (package
     (name "edk2-tools")
-- 
Efraim Flashner   <efraim@HIDDEN>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted





Information forwarded to efraim@HIDDEN, vagrant@HIDDEN, guix-patches@HIDDEN:
bug#77148; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 21 Mar 2025 08:50:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 21 04:50:57 2025
Received: from localhost ([127.0.0.1]:34997 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tvY5h-0000eR-Au
	for submit <at> debbugs.gnu.org; Fri, 21 Mar 2025 04:50:57 -0400
Received: from lists.gnu.org ([2001:470:142::17]:46276)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <efraim.flashner@HIDDEN>)
 id 1tvY5e-0000dF-3x
 for submit <at> debbugs.gnu.org; Fri, 21 Mar 2025 04:50:54 -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 <efraim.flashner@HIDDEN>)
 id 1tvY5Y-0006KC-HL
 for guix-patches@HIDDEN; Fri, 21 Mar 2025 04:50:48 -0400
Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <efraim.flashner@HIDDEN>)
 id 1tvY5W-0007OY-OI
 for guix-patches@HIDDEN; Fri, 21 Mar 2025 04:50:48 -0400
Received: by mail-wr1-x42a.google.com with SMTP id
 ffacd0b85a97d-3913d129c1aso1210386f8f.0
 for <guix-patches@HIDDEN>; Fri, 21 Mar 2025 01:50:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1742547045; x=1743151845; darn=gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:sender:from:to:cc:subject:date:message-id:reply-to;
 bh=N6Ya0cJOg2nLX01+bUybj/9fDO8n1gWoJSRgrtqWpnE=;
 b=lPSN7n8hz7vI4oOGQSPf1xwsPhj9tFVvMpTU4EnZ8JUs5DBuVfvbjt3xUzR6kJoRoB
 A+jtkKvoRsvAiCsf9bOU7KseBzDl12GSFZ2UCmSeQubxK2b+6j/bXClPB/ZJbKVNON+V
 yT8PoNhkvOq0rL5ZymkTv0R4A5FMHMqzjBA8XEQ2QxZwbY0JJOZGz1B2OvhJM0k2HjD7
 WvIoUhJARivVTRtSw5Csu5r7D3xK87wZVLI4dmKOm6KfwDAIo2AWzEJl2epovCJ9QR+r
 PAYkeyExqJ4Dv1F5+82uC3jb/tRdsGMPskrRL7TyNtvLPbKrH1fWEcocelLVQW8lhqfF
 vrrA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1742547045; x=1743151845;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:sender:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=N6Ya0cJOg2nLX01+bUybj/9fDO8n1gWoJSRgrtqWpnE=;
 b=i8nP8fze5+vvowF7YduExNN/hdM+R9WpoRRvQ75+Ym0MhvzI03fqhxFr2FCz+/cDl/
 CCa2KWWBjHA9kpjQMm9a5XO9xosqMlrxmMnDZuOXTxtFh/3XQPa8uFWMDgx+pdmt+SUV
 w2VpPiCZca0FFcW3IKgCq6d57+9kdutTSBLdMY+sF7J5dgiOf0/F3OWFFTf5XIq7FsTZ
 6sdU3+ACVxU+qm61uoiBrg00ok+LDtINfeZLn18yxNlQgR2xZNRKH9aUArxo7xnoJvMg
 w3SeYY8VjHkx23ExPZ/K4Rm+sefcUITxGlkC01ypLqBW2ZhrqIl9au4r2AX5QQcBDris
 72rQ==
X-Gm-Message-State: AOJu0YyHHFjYaGRSmvflfmAI5IXR9SaPVrs+Iyi1a9EPt1E023IC+xZS
 XGpXpI/v5kpG+rbDdbuqSaAj6QONkPtd+iNHbt48ohzYrJvzBII5irvgxhzd
X-Gm-Gg: ASbGncu+IVZiqFDxjG8Exlm7CcQJ5Wvn6pcsehiNXb2lWTiVofmQAyGCa8vkeOeEb+A
 f3Wah80J4BYXRKrgc28AlROZ+dTl3KAuY47u4SEG1566zPUl0I8wR1Jf9N9+QjNdqFLQRf+AQ7f
 h47bK2VtKEA1p624NpJvzqPYgHBsPn4nTHokwO4W3dx0HcgK6cjzSlLUXkqbL/h2NrRtZlcqlZo
 StmWeW1EvwhZw9MYVUKEWwLLbm9kEKdt83OQVX6ISPxPk387RIGPn+j73UxnBJfh2Cwlm3U/RIb
 nytDYG6QG/22PecyEfrGFjZayK2kAn3KFWFZunQxZ+JNSdQG
X-Google-Smtp-Source: AGHT+IGWQYW8IYf0qwrveykQsy1pSkScmBPrTB7Gpdc7SNLtfPaqwknZiMCTd28+PGO710q8uOFaOg==
X-Received: by 2002:a5d:6daa:0:b0:38d:ae1e:2f3c with SMTP id
 ffacd0b85a97d-3997f93c45dmr2348856f8f.25.1742547044588; 
 Fri, 21 Mar 2025 01:50:44 -0700 (PDT)
Received: from localhost ([31.210.181.32]) by smtp.gmail.com with ESMTPSA id
 ffacd0b85a97d-3997f9b55cdsm1788079f8f.52.2025.03.21.01.50.43
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 21 Mar 2025 01:50:44 -0700 (PDT)
From: Efraim Flashner <efraim@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH 0/9] New firmware and updates
Date: Fri, 21 Mar 2025 10:50:29 +0200
Message-ID: <cover.1742546953.git.efraim@HIDDEN>
X-Mailer: git-send-email 2.48.1
MIME-Version: 1.0
X-Debbugs-Cc: Efraim Flashner <efraim@HIDDEN>,
 Vagrant Cascadian <vagrant@HIDDEN>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=2a00:1450:4864:20::42a;
 envelope-from=efraim.flashner@HIDDEN; helo=mail-wr1-x42a.google.com
X-Spam_score_int: -19
X-Spam_score: -2.0
X-Spam_bar: --
X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
 FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
Cc: Efraim Flashner <efraim@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

This adds 3 more firmware bits that are bundled by qemu and updates the
edk2 firmware to the latest version.

Efraim Flashner (9):
  gnu: Add u-boot-qemu-ppce550.
  gnu: Add slof-qemu.
  gnu: Add skiboot-qemu.
  gnu: Add ovmf-x86-64-microvm.
  gnu: ovmf-aarch64: Update installed firmware.
  gnu: ovmf-arm: Update installed firmware.
  gnu: ovmf-riscv64: Adjust the installed firmware.
  gnu: edk2-tools: Update to 202502.
  gnu: Add ovmf-loongarch64.

 gnu/packages/bootloaders.scm |  22 +++-
 gnu/packages/firmware.scm    | 191 +++++++++++++++++++++++++++++++++--
 2 files changed, 203 insertions(+), 10 deletions(-)


base-commit: e12455a5e8d524c5c3fba1ae56ebc6819b4f9320
-- 
Efraim Flashner   <efraim@HIDDEN>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted





Acknowledgement sent to Efraim Flashner <efraim@HIDDEN>:
New bug report received and forwarded. Copy sent to efraim@HIDDEN, vagrant@HIDDEN, guix-patches@HIDDEN. Full text available.
Report forwarded to efraim@HIDDEN, vagrant@HIDDEN, guix-patches@HIDDEN:
bug#77148; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 27 Mar 2025 12:30:05 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.