From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MDa0A+f+j2EZEAAAgWs5BA (envelope-from ) for ; Sat, 13 Nov 2021 19:07:35 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id ePTpOub+j2FUAgAAB5/wlQ (envelope-from ) for ; Sat, 13 Nov 2021 18:07:34 +0000 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 7ED153040C for ; Sat, 13 Nov 2021 19:07:34 +0100 (CET) Received: from localhost ([::1]:39512 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlxR6-0004Ro-M3 for larch@yhetil.org; Sat, 13 Nov 2021 13:07:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlxQc-0004RZ-40 for guix-patches@gnu.org; Sat, 13 Nov 2021 13:07:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36481) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mlxQb-0002yA-S5 for guix-patches@gnu.org; Sat, 13 Nov 2021 13:07:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mlxQb-0004Qr-N6 for guix-patches@gnu.org; Sat, 13 Nov 2021 13:07:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#48314] Patches to install guix system on Raspberry Pi Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 13 Nov 2021 18:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48314 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Stefan , 48314@debbugs.gnu.org Cc: Danny Milosavljevic Received: via spool by 48314-submit@debbugs.gnu.org id=B48314.163682678216979 (code B ref 48314); Sat, 13 Nov 2021 18:07:01 +0000 Received: (at 48314) by debbugs.gnu.org; 13 Nov 2021 18:06:22 +0000 Received: from localhost ([127.0.0.1]:48027 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlxPx-0004Pm-PS for submit@debbugs.gnu.org; Sat, 13 Nov 2021 13:06:22 -0500 Received: from cascadia.aikidev.net ([173.255.214.101]:38646) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlxPu-0004PY-2a for 48314@debbugs.gnu.org; Sat, 13 Nov 2021 13:06:20 -0500 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:21:21:0:100e]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 6B3971AC25; Sat, 13 Nov 2021 10:06:11 -0800 (PST) From: Vagrant Cascadian In-Reply-To: References: <20210619211026.5eb44073@scratchpost.org> <897B7FF7-24C1-4B96-8441-415596267E99@vodafonemail.de> Date: Sat, 13 Nov 2021 10:05:47 -0800 Message-ID: <87czn4aq2s.fsf@ponder> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636826854; 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=8l13grxjbh5J2IU+QB7JdapXjVkvT+TurU8sJ2WPENg=; b=HtVMobRQs7KCUSS0QTKIUoXspoDRuAMz43+HZqkaMT4EOn6d5ZS1ftY3aa5iTM5AxYlvL6 vfNH8sIgUSFzSU5g0yK9dCohlHlfhTlnPEvKJW5I4yzLMcq9YZY6nx4iufmSPnXfHnksjF PdmCJyyMrh0CabwPFdLwuNPyWGuQRo0mi81APMNOLqgA9spzsJ9njcRsFkUVOkY3NDg96v 5WCVepoysJaFTRDKJad381tHjPaWfk5h1j5Co8T67mNe11ptmTyLr1paJ6LsCu/Z+4r0jp okpVQX5Sro6rUx9OA3DNH+r0zUDoOlsDkYWecwfqd7G+3ZnkIXdtHdzxO4KAtQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636826854; a=rsa-sha256; cv=none; b=fjRYhdvlJnPXSZfn8LP8J4CadwwMzZ5mW+6wWbogym7DGHD4N40mvOS4L21+HOyDVqj4Jr oXVliLMJb5LAMPfCMVxHn6cER3w4oKHmA7Kc1Gh7DtStIS3wMApcnZA4qjTUsK0ZOWZg6b NdZKQFSclnRbalnFoRTlNjIJrzRmIssMr31SgNZBrss4gktC20TmWaiYik0qbNRZPlXu/O VXYZkWEoiWYaHuH9cNkwiWWZgjiat20rVVAqlJBU6gq3mplrSGsOlPHz5bwu9ftpGUiYFx r8LPq1NeuOKO7B3VPWGm9ji+Cc1r358NgvEu++xR5BJT0yZRGD8xIkC6u0ORvw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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: -4.44 Authentication-Results: aspmx1.migadu.com; dkim=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: 7ED153040C X-Spam-Score: -4.44 X-Migadu-Scanner: scn0.migadu.com X-TUID: Enn7yHvPLfnf --=-=-= Content-Type: text/plain On 2021-10-31, Stefan wrote: > I did a rebase of the patch series to avoid bit-rotting. One patch got obsolete meanwhile. > > This series applies on GIT commit 1a80b8909a521b91d30649a011b0257d0fadc18c. And still applies on master as of 193d7b5b450d2004c26720e488a9cce930542e9e :) Subject: [PATCH 3/8] * gnu/packages/bootloader.scm (make-u-boot-package): Add keyword parameters 'name' and 'description'. ... (u-boot-rpi-0-w, u-boot-rpi, u-boot-rpi-2, u-boot-rpi-3, u-boot-rpi-4, u-boot-rpi-64, u-boot-rpi-0-w-efi, u-boot-rpi-efi, u-boot-rpi-2-efi, u-boot-rpi-3-efi, u-boot-rpi-4-efi, u-boot-rpi-efi-64): New packages. The u-boot-rpi-0-w and u-boot-rpi variants are ARMv6 boards, and Guix's armhf baseline is ARMv7, so those won't work with guix system. Are there other use-cases for providing u-boot builds for these boards? Upstream provides defconfigs for these variants: armv6 variants (unsupported on guix's armhf, maybe other use-cases?): rpi_0_w rpi armhf-capable variants: rpi_2 rpi_3_32b rpi_4_32b aarch64 variants: rpi_3 rpi_3_b_plus rpi_4 rpi_arm64 (supports rpi 3 and 4 variants?) +(define-public u-boot-rpi-3 + (make-preinstalled-u-boot-package + "rpi_3_32b" + "arm-linux-gnueabihf" + #:name "rpi-3" + #:description %u-boot-rpi-description-32-bit)) I would name this "u-boot-rpi-3-32b" +(define-public u-boot-rpi-4 + (make-preinstalled-u-boot-package + "rpi_4_32b" + "arm-linux-gnueabihf" + #:name "rpi-4" + #:description %u-boot-rpi-description-32-bit)) And this "u-boot-rpi-4-32b". +(define-public u-boot-rpi-64 + (make-preinstalled-u-boot-package + "rpi_arm64" + "aarch64-linux-gnu" + #:name "rpi-64" + #:description %u-boot-rpi-description-64-bit)) And this "u-boot-rpi-arm64". In other words, keep names consistent with the upstream defconfig they are based on. I presume you didn't add the aarch64 rpi_3 and rpi_4 variants because they are supported by rpi_arm64? I think without addressing the rest of the patch series, adding to guix master the following packages could make the remaining diff smaller: u-boot-rpi-2 (rpi_2_defconfig) u-boot-rpi-3-32b (rpi_3_32b_defconfig) u-boot-rpi-4-32b (rpi_4_32b_defconfig) u-boot-rpi-arm64 (rpi_arm64_defconfig) We wouldn't have a relevent installation configuration, but at least it would allow building them and manually copying u-boot.bin to the firmware partition... live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYY/+gAAKCRDcUY/If5cW quCEAP4qWZUmOoFzSzr9IAEciGDq1GtmAkTpByfpGYp9N43UOAEA6qfQUtP/OWCl mY66LgQssmL/BipkXW6FXbQixP3Epwk= =Dw5b -----END PGP SIGNATURE----- --=-=-=--