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 oLPeDqBBc2JrBgAAbAwnHQ (envelope-from ) for ; Thu, 05 May 2022 05:16:48 +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 yPAzDqBBc2K/mQAAG6o9tA (envelope-from ) for ; Thu, 05 May 2022 05:16:48 +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 A2F4E18DCB for ; Thu, 5 May 2022 05:16:47 +0200 (CEST) Received: from localhost ([::1]:35082 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmRYe-0004Wq-P7 for larch@yhetil.org; Wed, 04 May 2022 22:49:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54218) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmRYU-0004VQ-2F for guix-devel@gnu.org; Wed, 04 May 2022 22:49:26 -0400 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:52605) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmRYR-0001VO-9v for guix-devel@gnu.org; Wed, 04 May 2022 22:49:24 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 369803200912; Wed, 4 May 2022 22:49:21 -0400 (EDT) Received: from imap46 ([10.202.2.96]) by compute2.internal (MEProxy); Wed, 04 May 2022 22:49:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= tom-fitzhenry.me.uk; h=cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1651718960; x= 1651805360; bh=n35RO/seDZBmaNeCshE79MtdWfpwtFioSBDktThEET4=; b=H TxqVc+ACAQaHHynMnaBFUAS+//sI4sRYNNhD3rORLROooucMZzkR9ejBb2Kr90so fKv3Z/eAthBKZuG5Eya2QMKG7HG1iSODXItWgJC6w/grIxobwYwDdP/ybH16cLmG Nj66jAq48lq1wc3jaZB+9muWZvIMp02IPYSSG3isnSgA0LnxWsCrs9tVWoZyDzy4 yDo9cb1dGtd8QN6486+QnEoWea0YxDY9R7VFRaY/UYea2TlAO0C/Yn/SvDOsBBLI 5MwK9UxpMPfziOrO0YDT4b5C7vK87o/PIQtV0o/jch/cxVYJJoxdM56Pm/hR2Tw4 SoEIWl0mMlH8INtU3p4iQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1651718960; x= 1651805360; bh=n35RO/seDZBmaNeCshE79MtdWfpwtFioSBDktThEET4=; b=S mniiF+ZptkvVmGxefyIbT8EyVN6jiFTf00HhqeDv5E0tI2wOzlGGhjuFDjLkgrRK v5TWeZDHpHAADRkVKU+3Fm82hET0dPhKtQGGifRAzJBoVDR3c4TMx/CmR420eAeZ ams1gHXsCFnxjQcX1WuWNtrqVMr0zPzJnMcp+tLN/WXg7rE6TnB3SMizTTDAIaFn Ti4sHoUmg0j07G1wwexawLfXdPi6nq8iW+u+R7RPjLaSPXBujT/7QAE87Q3Y6Ge+ 82KfgYaBXbGU4V2qhNPKW8a/1/uvTlanlYVZ6jME+O4wbddPYpi/+mw0pAxi563G DXYJfcb0NlEADQvpYiBiQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfedtgdeifecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtsehttdertderredtnecuhfhrohhmpedfvfhomhcu hfhithiihhgvnhhrhidfuceothhomhesthhomhdqfhhithiihhgvnhhrhidrmhgvrdhukh eqnecuggftrfgrthhtvghrnhepkedugeduvdeileehjefhleejheegffejiefhvdeggfff gfefvedtleetieeuudeknecuffhomhgrihhnpehgihhthhhusgdrtghomhenucevlhhush htvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehtohhmsehtohhmqdhf ihhtiihhvghnrhihrdhmvgdruhhk X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 3CB402A2005D; Wed, 4 May 2022 22:49:20 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-591-gfe6c3a2700-fm-20220427.001-gfe6c3a27 Mime-Version: 1.0 Message-Id: <8e5f7582-deb4-47ec-bb9e-101034979cf8@www.fastmail.com> In-Reply-To: <87r159w9zj.fsf@contorta> References: <9b8600147c093bbcf99e6d085f380b72c15399b2.camel@platen-software.de> <6cba8f1d-eca8-bbcd-a98f-1e6348491b0b@tom-fitzhenry.me.uk> <87r159w9zj.fsf@contorta> Date: Thu, 05 May 2022 12:48:57 +1000 From: "Tom Fitzhenry" To: "Vagrant Cascadian" , "Tobias Platen" , guix-devel Subject: Re: Guix System on RockPro64 Content-Type: text/plain Received-SPF: pass client-ip=64.147.123.24; envelope-from=tom@tom-fitzhenry.me.uk; helo=wout1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_PASS=-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: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" 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=1651720607; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=n35RO/seDZBmaNeCshE79MtdWfpwtFioSBDktThEET4=; b=jA6Q2lsvm0NINkxm/o4z4FHCMReAxeLA/igLJlq+iJHzZoQxjOm6Vsew5k86c57jQXaj77 d44zo+vMhzKsdWk4LyICYGAga6gq/LOm0wevYWOY+7VO71bBLHtYhbMnuUdNjwnEhaNDZC jr70789RhPSO02xPOLhYwHx3xowwjEK9Y2WbLp7+pVu18wAPflNacOGj4wCanjj5BqH4B2 fCKMh2zRo9p9WD09XDJrbDg6njYa2d30VTZCRP0rvm1wzEhVoEY+ZC5Uk1Gob4gQHgYKOD OkTr0boJZx6kvafUPXxv8ScOHyhNZ4P5hqMmeRx40bePmkMPJSGO0WLggtD7Hw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651720607; a=rsa-sha256; cv=none; b=ayDtIaa60nUHbvHZXRXC91r8B38FckbCgmmAt1jp5X2lX8/A7v8vZFxDlZN+FkZW64j1mp JyYPm4FwD4U44KY5AeCoPBBQhpXnrNJ4yxTzNeN55p9/8cPOvKSvACzXTw4nq823GNC70g FbyT5yxb8l/ZsNzVmooPvGPv9Zm4RRMELdX08QJyv+5qz7vFtCNC1MTi16hsoejPx9jGjX vKoR6YOOtER9VWSkpNsIPsQrqyURWYRw+QPXEfqptR0pbpQwtlMZOSf8BX/2Pyc7CAXqRb hYEUa07u7SkeT6x/R5QFjHyZ+X57Kemk+61jpjGY6Z5DBc/3nCNjFjkF5uyfrw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tom-fitzhenry.me.uk header.s=fm1 header.b="H TxqVc+"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="S mniiF+"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tom-fitzhenry.me.uk (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 6.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tom-fitzhenry.me.uk header.s=fm1 header.b="H TxqVc+"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="S mniiF+"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tom-fitzhenry.me.uk (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A2F4E18DCB X-Spam-Score: 6.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: Vc/tE3TpWCxq On Thu, 5 May 2022, at 2:14 AM, Vagrant Cascadian wrote: > You could create a "generic" image that supports UEFI or standard u-boot > methods, and the user can bring-their-own UEFI implementation > (e.g. tianocore, recent versions of u-boot with EFI) or install u-boot > or barebox or whatever manually. Yes, this is the idea behind Tow-Boot. Tow-Boot is an opinionated build of u-boot that implements enough of EFI to be able to boot a generic UEFI image. The same image would work for any aarch64 device supporting EFI: via Tianocore, via Tow-Boot, via ARM BBR, ... I intend to write this up in more detail with my patches. > My understanding was tow-boot was mostly, at this point, something to > avoid installing as part of the distro image. You can basically do the > same thing with mainline u-boot, if you install u-boot to media other > than the distro media. Or does tow-boot have fancier features working > yet (e.g. menu interfaces from the firmware) ? Yes, the distro is not responsible for installing Tow-Boot on the SPI. If a user's device doesn't support EFI, and they want to install Tow-Boot on SPI, they would need to do that themselves (by following Tow-Boot's installation instructions). PostmarketOS are working on delivering Tow-Boot updates via LVFS: https://github.com/fwupd/fwupd/issues/4294 The only thing Guix needs to do is provide a generic aarch64 image that supports UEFI. I have something WIP for that.