From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sHSQCUTbemJnpgAAbAwnHQ (envelope-from ) for ; Tue, 10 May 2022 23:38:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SDy+CETbemL3UgAAG6o9tA (envelope-from ) for ; Tue, 10 May 2022 23:38:12 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8B552C1EB for ; Tue, 10 May 2022 23:38:11 +0200 (CEST) Received: from localhost ([::1]:57666 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1noXYY-0001d6-8t for larch@yhetil.org; Tue, 10 May 2022 17:38:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36702) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1noXYQ-0001cj-BU for guix-patches@gnu.org; Tue, 10 May 2022 17:38:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41441) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1noXYQ-0005I4-2i for guix-patches@gnu.org; Tue, 10 May 2022 17:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1noXYP-0007eT-V2 for guix-patches@gnu.org; Tue, 10 May 2022 17:38:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55343] [PATCH 2/2] image: Add new efi32-raw format for 32bit UEFI on 64bit systems Resent-From: Denis 'GNUtoo' Carikli Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 10 May 2022 21:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55343 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Maxime Devos Cc: 55343@debbugs.gnu.org Received: via spool by 55343-submit@debbugs.gnu.org id=B55343.165221867329398 (code B ref 55343); Tue, 10 May 2022 21:38:01 +0000 Received: (at 55343) by debbugs.gnu.org; 10 May 2022 21:37:53 +0000 Received: from localhost ([127.0.0.1]:35338 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1noXYH-0007e5-B2 for submit@debbugs.gnu.org; Tue, 10 May 2022 17:37:53 -0400 Received: from cyberdimension.org ([80.67.179.20]:35814 helo=gnutoo.cyberdimension.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1noXYF-0007dx-Pw for 55343@debbugs.gnu.org; Tue, 10 May 2022 17:37:52 -0400 Received: from gnutoo.cyberdimension.org (localhost [127.0.0.1]) by cyberdimension.org (OpenSMTPD) with ESMTP id 720a23a6; Tue, 10 May 2022 21:36:53 +0000 (UTC) Received: from primarylaptop.localdomain (localhost [::1]) by gnutoo.cyberdimension.org (OpenSMTPD) with ESMTP id bbbee57e; Tue, 10 May 2022 21:36:53 +0000 (UTC) Date: Tue, 10 May 2022 23:39:10 +0200 From: Denis 'GNUtoo' Carikli Message-ID: <20220510233910.683f8454@primarylaptop.localdomain> In-Reply-To: References: <20220510011812.15710e0b@primarylaptop.localdomain> <20220509232451.30605-1-GNUtoo@cyberdimension.org> <20220509232451.30605-2-GNUtoo@cyberdimension.org> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/OUDjcvkTNe8QYgWx0TX9g.b"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652218691; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=MNAu9J9/Bvhhvrn+QQipr9Yb7ezxO3AclUDWl4tzDZ8=; b=LBE5uD5Bn5y2sHMXEGgVMbXIPOGAOXoSV4mIvCxJVuTVQ4cJ2Ez5JDrJ9w1vZEO4Uo705a Pz4vIp4QAm6NjS6J/WlsvR3HSgzVuO3LAURIOCp/Ve1ICLXCA9RZDwO9DEuH2D7pSfPTvd eluEsXVFhZtrOdssZ/DPO+bGt6HxcApXbmB9zRGf2VDnBsa+4NCaCPjy8kult5a3miOR40 HPkX4qFqFAOQGTaoVAb2KjfDCmNF2vrSSZmZhwh4G/Wl5TfqWJWyX13Ri8SK79TDjYqIEK fM/8Mqayy2qpsN3ABaHpaZybixoSdv0McxK2OUEfUivSnTTVWLOViDeBEQ4qYg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652218691; a=rsa-sha256; cv=none; b=q+zb9gBbemBKkMu4GEg/O0g6SxPkFv8+CK9yb5XcuQstpB1L8sUTSJynM3HWsqZoOuRF1B G2QVCajkMw1/6W7uI9rErVztFSmw9ErjDOS9KKQae6ZK+oBv1UC9Pfd6PUSNpSU/oRTmsh 7bIjIJuZdzwDcR5Ag+B5z1eHE37RktDD2Fou5mSUrsqf6tYZjq1spHPw3fCKb3+jInQP2A shJ1/tYoQA64507Al1Nv55UX7qYV++ytZd6wd+5jqp8pThYLCvw5gHN9HtDYX5gqHinCY1 I95tRx3Ek/g6GyQC4qStdMuHXB0+Bu8LRPGljYuGVt/+aKDmJWu+EyghUn+4Hw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.61 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 8B552C1EB X-Spam-Score: -5.61 X-Migadu-Scanner: scn0.migadu.com X-TUID: mNp8VFUBvmQ3 --Sig_/OUDjcvkTNe8QYgWx0TX9g.b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, 10 May 2022 11:32:52 +0200 Maxime Devos wrote: > Denis 'GNUtoo' Carikli schreef op di 10-05-2022 om 01:24 [+0200]: > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ((#:confi= gure-flags flags > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 ''()) `(cons* ,(cond ((target-x86?) "--target=3Di386") > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ((target-arm?) "--ta= rget=3Darm")) > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 ,flags))))))) >=20 > Isn't this just grub but compiled for the 32-bit variant of the > system? > Or do you mean to use 'grub' as a cross-compiler here (instead of > something that is being cross-compiled), like 'gcc'? Apparently the modification I did (passing --target=3Di386) results in a 64bit grub-mkimage and 32bit modules in lib/grub/i386-efi so I think it's more like a cross-compiler. I verified that by installing grub-efi32 and using file on the mentioned files. It's also possible to have something like multiple target/architectures with GRUB by compiling it for each target/architecture and then shipping the modules in lib/grub/* but that would require way more work, so it would make more sense to do that as a separate patch set if needed. Though for now I'm just interested in adding 32bit UEFI support because I did the work for testing/learning, and I would prefer if that work results in Guix supporting 32bit UEFI somehow. Denis. --Sig_/OUDjcvkTNe8QYgWx0TX9g.b Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEeC+d2+Nrp/PU3kkGX138wUF34mMFAmJ6234ACgkQX138wUF3 4mMpjQ/+P++b6QVnIDwXIt/2HELmpfTSZK1npA/88qK7gBFzDYANT7mqrtmX188T CNXvxjugkOTJi69lRuvq8p+O6oIlTnHXa60GLy9liJ7L3eDtoeaMZdHjjnSxyGK9 BfzKy4+ey7j+mUTwNRXQORAazB5W5jmyTxuspJ/xRyW9Py5++wL3T/Fdw0WhSE8S smHPL8eLFkXfdM1EN/gqNl4xT/kIZ3oRZvUY9m4W247SrxxurXuEMoZvSIM/Z++0 dmC8MIJm9XSYJNBazV45veRGv1xlbNmH/P5u1w420t8+mQYAPAZw/CYQc0wQ3a/1 HV8/nQnxChFGX0Ldagxy9a7MCCgeefh+QiihIjInFT+lWAXxfIUQIcD2QjbsWzfj whpSp5EDMkbawhCX0I82WM9++Jy5cyZu6oh8vmt2VPrce2vPbqPYhK7FiOkIZW+i ypt3z2mwDr66lkUfu4WUP5V4dNAadZkb/S+OMIWg44ZoWAhhxn0YzkiFBIgtsuN9 o4ySw2t1b1Z4UqWxXGvWWvnKNWJOnAKKO5tkBr2wwabGzgdojwwfkNdpqH/1cVgS MAUGtd9KiwgfbAfoyDaYsKL0dwGim6vItlAkUuZn8gz8Ka1Wfswme5eI1GtzrEGL +d88EuhoCEsi23DSWzhVB52HNq+ryInrr4SFUXz1br2F5tDvM7g= =68aZ -----END PGP SIGNATURE----- --Sig_/OUDjcvkTNe8QYgWx0TX9g.b--