all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Fredrik Salomonsson <plattfot@posteo.net>
To: help-guix <help-guix@gnu.org>
Subject: Anyone built coreboot on a Guix system?
Date: Mon, 12 Aug 2024 17:33:30 +0000	[thread overview]
Message-ID: <87plqd8x3p.fsf@posteo.net> (raw)

Hi Guix,

I was trying to build coreboot for my wife's Lenovo x220 laptop this
weekend but I wasn't successful.  I've built it before for my own x220 a
few years ago but that was before I migrated most of my machines to
Guix.  It was quite straightforward (not taking configuring coreboot
into consideration😅).  Figured I'll do the same with my wife's x220 as
the brightness control does not work on her laptop after I installed
Guix.  It works perfectly fine on mine and only difference is the bios
(yay reproducible nature of Guix!).

Coreboot insists on building its own cross compilation of GCC for i686.
And it wants Ada support.  I looked into adding a `gcc-ada-toolchain` for
Guix but it looks like in order to build Ada for GCC you need GCC with
Ada support…

Has anyone manage to build coreboot on a Guix system?  And if so how did
you setup the build environment to be able to do so?

I did get it somewhat building by just jump into a Ubuntu container via
distrobox.  But it's a bit flaky with certificates, I need to hunt down
environment variables set in my Guix environment and unset them for
things to work properly in the Ubuntu environment.

Thanks!

-- 
s/Fred[re]+i[ck]+/Fredrik/g


             reply	other threads:[~2024-08-12 17:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-12 17:33 Fredrik Salomonsson [this message]
2024-08-12 17:39 ` Anyone built coreboot on a Guix system? Adrien 'neox' Bourmault
2024-08-15  6:00   ` Fredrik Salomonsson
2024-09-05 18:22     ` Adrien 'neox' Bourmault

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87plqd8x3p.fsf@posteo.net \
    --to=plattfot@posteo.net \
    --cc=help-guix@gnu.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.