From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6K57BuqB92IjEAEAbAwnHQ (envelope-from ) for ; Sat, 13 Aug 2022 12:50:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id aNV/BuqB92IPtgAA9RJhRA (envelope-from ) for ; Sat, 13 Aug 2022 12:50:18 +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 A97DC3AB75 for ; Sat, 13 Aug 2022 12:50:17 +0200 (CEST) Received: from localhost ([::1]:46842 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oMoie-0005tS-QS for larch@yhetil.org; Sat, 13 Aug 2022 06:50:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41778) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMoiQ-0005tE-Nu for guix-patches@gnu.org; Sat, 13 Aug 2022 06:50:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41826) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oMoiQ-0004Is-FH for guix-patches@gnu.org; Sat, 13 Aug 2022 06:50:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oMoiQ-0004bO-8Y for guix-patches@gnu.org; Sat, 13 Aug 2022 06:50:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48314] [PATCH v3] Install guix system on Raspberry Pi Resent-From: Stefan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 13 Aug 2022 10:50:02 +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: phodina Cc: Vagrant Cascadian , dannym@scratchpost.org, Ludovic =?UTF-8?Q?Court=C3=A8s?= , 48314@debbugs.gnu.org Received: via spool by 48314-submit@debbugs.gnu.org id=B48314.166038776217638 (code B ref 48314); Sat, 13 Aug 2022 10:50:02 +0000 Received: (at 48314) by debbugs.gnu.org; 13 Aug 2022 10:49:22 +0000 Received: from localhost ([127.0.0.1]:59808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMohl-0004aP-TH for submit@debbugs.gnu.org; Sat, 13 Aug 2022 06:49:22 -0400 Received: from mr6.vodafonemail.de ([145.253.228.166]:59142) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMohi-0004aB-Ic for 48314@debbugs.gnu.org; Sat, 13 Aug 2022 06:49:20 -0400 Received: from smtp.vodafone.de (unknown [10.0.0.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mr6.vodafonemail.de (Postfix) with ESMTPS id 4M4cjh3P92z1xyG; Sat, 13 Aug 2022 10:49:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vodafonemail.de; s=vfde-mb-mr2-21dec; t=1660387752; bh=KJMHkydOUi5E0YkwBzTp2/hAhQGn3thVKzYxWMZmxGM=; h=Content-Type:From:Subject:Date:Message-Id:References:In-Reply-To: To:X-Mailer:From; b=dl38nWXrpZomWTO3v4byAqCbgBmQlsYBSbvN1QiRhC0pGSRyRLOquz+iHaOc2PmJ7 toH0ehLURhFILtP/+js3PhahiKWOpCpDuU4Ao5IovVIMdYFaXzk8LxK1egAL+Vg+jW a8W887VwU7ze3tphfCsthZ+C4oSwdNqKUP89BKIc= Received: from smtpclient.apple (aftr-62-216-210-161.dynamic.mnet-online.de [62.216.210.161]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 4M4cjP0FpZz9sNm; Sat, 13 Aug 2022 10:48:53 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Date: Sat, 13 Aug 2022 12:48:52 +0200 Message-Id: References: In-Reply-To: X-Mailer: iPhone Mail (19G71) X-purgate-type: clean X-purgate: clean X-purgate-size: 2338 X-purgate-ID: 155817::1660387749-BA9E322F-616DC5FA/0/0 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" Reply-to: Stefan X-ACL-Warn: , Stefan via Guix-patches From: Stefan via Guix-patches via 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=1660387817; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: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:dkim-signature; bh=KJMHkydOUi5E0YkwBzTp2/hAhQGn3thVKzYxWMZmxGM=; b=XaR3/ajxYDXERpGLuLQFtK1FB6vSBpKYJKtooqDlPdZ/7rBNmSsG4ZHFiJ1AAIXn+d5h6r uor1/WQdf0hRzmT6S84OZsFyEcfy1L1MNjV/InO3uZ2hYEAcyuavy0EcJ9tTUSjUEo+VDK OY/SpnvsuAw+o9xakm26VJ5x/mDb600qcEvi2KDB8CdJCIN9qmACaRixuKuDgh82npn2iI yKYUWl7SAvPP7MpqU1vlTihebKyaNuHgI7We73ZIGx5IP0+CMeCPw7rCFvtXhAUJjX6InR 0hS0loktwvT3b4G1KNEXQlBXt2ujftFlcWSUaMcRp1WvE0qOvR4yZxM3OCYhUQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660387817; a=rsa-sha256; cv=none; b=LVEwhmm1aSqT8+F+i3MBJg1KCmeE+y5e7Lk9JgAALGT/e2cpCkzE0kRBZmnaubQqnTWY0A 7OrRodzboz0ks84MVVE6IX+00pnMby1+RtzyfT8RYcPwk6D045i46eNjeiYGChadIWpwEz GQ9ySQ11+Xs8Sq38BKZcdTJX93H1ia5kTxzKpw9dJDQUnupFo+j4D5u7x9zNW3dgBw1XQQ 1KV4MLbhRcVcuFvLMsp5MAcaOtfxhoud5QKqUbHqidea+wk8tD9FDMpv/cdfXc4Xj+EVYu BxrJmbJwyhz9h4bgZNjXLFYPkGuWugFP20tgzmi9hNO2h8TUjEWlBBKio11LMw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=vodafonemail.de header.s=vfde-mb-mr2-21dec header.b=dl38nWXr; dmarc=pass (policy=none) header.from=gnu.org; 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: -2.16 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=vodafonemail.de header.s=vfde-mb-mr2-21dec header.b=dl38nWXr; dmarc=pass (policy=none) header.from=gnu.org; 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: A97DC3AB75 X-Spam-Score: -2.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: 6nm7wpDnANpm Hi Petr! > Good news. I managed to run Guix libre kernel on the raspberry pi. Woot! Great! > The issue was in the firmware Good to know! > I'll test it also on RPi3 In the meantime I got everything compiled and installed for my Raspberry Pi 3= b as well. But there is some issue with the U-Boot. If I replace U-Boot with= an older version, it boots and the system is running fine. However, during b= oot the Linux-Libre-Gnus and early kernel messages are not visible, but afte= r boot all seems to be fine. Maybe the troubles stem from the firmware, as in your case =E2=80=93 I use a= different one =E2=80=93, or maybe the U-Boot only works on a Pi 4. I=E2=80=99m using the Linux-Libre kernel with the %bcmrpi3-defconfig from th= e Raspberry Pi Linux sources (removing a long list of unsupported configurat= ions) stefan@guix ~$ uname -a Linux guix 5.18.12-bcmrpi3-v8 #1 SMP PREEMPT 1 aarch64 GNU/Linux > I just have question regarding the example if it wouldn't be better to pre= pare the whole image Yes, certainly. As you may know I started with Guix on void with an NFS root= file-system and patched Guix to get to this point, still on NFS. So I have n= o experience yet to build an image.=20 =46rom what I saw in the code, I guess that more work needs to be done to ge= nerate an image. My personal focus is to first get the patches merged. > Should there be some manual how to prepare the firmware files or format th= e SD card in case we prepare just the root filesystem and bootloader? I think the comments in e.g. raspberry-pi-64.tmpl could be improved. A hint t= o the non-free firmware is certainly problematic. Not sure, if we should or e= ven can mention the Raspberry Pi in the manual. > IMHO having ISO image for Raspberry Pi 3,4 (aarch64) would be great as it w= ould allow them to run Guix easily without need to build it on some other aa= rch64 machine or resort to crosscompile. What do you think? Yes, I totally agree. I also think that it could help to spread Guix. It wou= ld be great to see something like e.g. Pi-hole in the future to be based on G= uix System. But first things first, the merge is still pending. > Also there's small patch to fix deprecated calls in os-defintion files. Thanks, much appreciated! Bye Stefan=