From: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
To: Maxime Devos <maximedevos@telenet.be>
Cc: 55343@debbugs.gnu.org
Subject: [bug#55343] [PATCH 2/2] image: Add new efi32-raw format for 32bit UEFI on 64bit systems
Date: Tue, 10 May 2022 23:39:10 +0200 [thread overview]
Message-ID: <20220510233910.683f8454@primarylaptop.localdomain> (raw)
In-Reply-To: <aadd9fde35d3cf6d15e3f65a6a479d843de0ef0e.camel@telenet.be>
[-- Attachment #1: Type: text/plain, Size: 1427 bytes --]
On Tue, 10 May 2022 11:32:52 +0200
Maxime Devos <maximedevos@telenet.be> wrote:
> Denis 'GNUtoo' Carikli schreef op di 10-05-2022 om 01:24 [+0200]:
> > + ((#:configure-flags flags
> > + ''()) `(cons* ,(cond ((target-x86?) "--target=i386")
> > + ((target-arm?) "--target=arm"))
> > + ,flags)))))))
>
> 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=i386) 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.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2022-05-10 21:38 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-09 23:18 [bug#55343] Add support for 32bit UEFI Denis 'GNUtoo' Carikli
2022-05-09 23:24 ` [bug#55343] [PATCH 1/2] utils: Define 'target-x86?' predicate Denis 'GNUtoo' Carikli
2022-05-09 23:24 ` [bug#55343] [PATCH 2/2] image: Add new efi32-raw format for 32bit UEFI on 64bit systems Denis 'GNUtoo' Carikli
2022-05-10 9:32 ` Maxime Devos
2022-05-10 21:39 ` Denis 'GNUtoo' Carikli [this message]
2022-05-11 9:07 ` Maxime Devos
2022-05-11 17:35 ` Denis 'GNUtoo' Carikli
2022-05-11 17:00 ` Denis 'GNUtoo' Carikli
2022-05-11 17:19 ` Maxime Devos
2022-05-11 17:25 ` Maxime Devos
2022-05-18 13:50 ` Denis 'GNUtoo' Carikli
2022-06-11 16:41 ` Denis 'GNUtoo' Carikli
2022-06-17 20:36 ` [bug#55343] Add support for 32bit UEFI Ludovic Courtès
2022-06-18 5:18 ` Timothy Sample
2022-06-19 19:02 ` Mathieu Othacehe
2022-06-24 8:23 ` bug#55343: " Mathieu Othacehe
2022-06-11 19:52 ` [bug#55343] [PATCH 2/2] image: Add new efi32-raw format for 32bit UEFI on 64bit systems Maxime Devos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220510233910.683f8454@primarylaptop.localdomain \
--to=gnutoo@cyberdimension.org \
--cc=55343@debbugs.gnu.org \
--cc=maximedevos@telenet.be \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).