From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id cCmQJpNHumZHDwAAqHPOHw:P1 (envelope-from ) for ; Mon, 12 Aug 2024 17:34:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id cCmQJpNHumZHDwAAqHPOHw (envelope-from ) for ; Mon, 12 Aug 2024 19:34:11 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=gOg4hew8; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1723484051; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=vLAIPIBIEiH8lFEQesiRA/ioERUqzYgiclNKg8871ok=; b=BEduz239pzW3CZp/E1hnoueXbrtAj2NHyDRCohN7A9W+iRc1b45CMoJlBtZe1wOpRVB9Mx PZQ/8HbL8hJGVay6+Virx5BDm3U0w4WZV7B6Gn2PjdsAhC5HpuhF/cAVVmRhvwzj+3IypJ Nt3b540P4+KoirsHhfSahGtx/A6EnPm9h3agrRyr6BUhE/iInX/IqS6V7fwAc4zotHKcm9 /9YRI1A6BH8xKAG1akpPCg5qIvpDeevYS4fnHczkW7pzUAzMw0tGJBcldrce7yH/WR+7uX W2CX6H9as9pCm4rJEb3z25BiPqBqSH+DO5F18Xyl4izRaJhhv7FXhPuHvRB72g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1723484051; a=rsa-sha256; cv=none; b=ruFb0L7A6slqTzCYbM6YOKxVgV1Sp5eSeMzldI5cJmC3FIDTVBUFvdcxOxkoL0JehCqTkY RwfTF51Q0x4hHOxGgeHfXWhcwg0OrFgVQrF5NZwzKaB4zCSx471RAAID60RcIV7HwLAwsi gKS0h2KyzCfnujRek3emKT7mUi+p284Wghyky/mhyP+24XY2ANB0PbGFHC0c1LfzDE6YKS blDF+zRrWcrt/0XcF4D1+aXW4uknDBUwLrua6U3I8hNrGZBQK6MH3xIRAHOtmW+Yf9JKin ZIgDIVNT1zXEbBufxnc3rOayTv1Gg62OB/ahqMeceF6ZJ+Oux9M7BMPCxzFWNQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=gOg4hew8; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" 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 7F2A968147 for ; Mon, 12 Aug 2024 19:34:11 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sdYvU-0007fO-K4; Mon, 12 Aug 2024 13:33:48 -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 ) id 1sdYvN-0007dY-EC for help-guix@gnu.org; Mon, 12 Aug 2024 13:33:42 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sdYvJ-00030h-Nx for help-guix@gnu.org; Mon, 12 Aug 2024 13:33:40 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 5902E240101 for ; Mon, 12 Aug 2024 19:33:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1723484013; bh=a6EijKLZ4+lZ3koA/7VE4iBB51VrY/2y//xqSwHWyGo=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=gOg4hew83nBkRUYG+SW6t0tFVGY8OCs5GslZ2tzerSDifIcSleGMHDEX3qz3YqDlz wAJwN6hZCcGLZ4/nnj9mPIeTfPBvkTMI4Ua7785Kltul31MpKwVIqsuGsow7LTRcsB pWrbGvhfz4UavMiOoPS/YqT/Dm9NPcKAIGmMriekgd1JER8797RxNb7AR+LZpUDcKH WCicuxFKJ+dr70iWLivlun7fYfqOGKp4ZbLTgtBhmvypp3qjmwaaOwasBnkZGtgC8o D36gdYsju04j+Rw5i/+mfiYLvMtcT6uV5zlSxHhTqPs2elXWKcAzpij9YE+JVIAkin rhoCraw/b3VdA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WjM7J50QHz6ty5 for ; Mon, 12 Aug 2024 19:33:32 +0200 (CEST) From: Fredrik Salomonsson To: help-guix Subject: Anyone built coreboot on a Guix system? Date: Mon, 12 Aug 2024 17:33:30 +0000 Message-ID: <87plqd8x3p.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=plattfot@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 7F2A968147 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.17 X-Spam-Score: -9.17 X-TUID: xCc+qzJr01El 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=F0=9F=98=85). Figured I'll do the same with my wife's x= 220 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=E2=80=A6 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! --=20 s/Fred[re]+i[ck]+/Fredrik/g