From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sPNeNLuvXmNQJAAAbAwnHQ (envelope-from ) for ; Sun, 30 Oct 2022 18:09:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uNwxNLuvXmPUdwAA9RJhRA (envelope-from ) for ; Sun, 30 Oct 2022 18:09:15 +0100 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 88CBC3D7A for ; Sun, 30 Oct 2022 18:09:15 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1opBo0-0002i5-63; Sun, 30 Oct 2022 13:09:04 -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 1opBnz-0002hx-0G for guix-patches@gnu.org; Sun, 30 Oct 2022 13:09:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1opBny-0004KJ-Jm for guix-patches@gnu.org; Sun, 30 Oct 2022 13:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1opBny-0002I8-Aw for guix-patches@gnu.org; Sun, 30 Oct 2022 13:09:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48314] [PATCH v5] Install guix system on Raspberry Pi Resent-From: Stefan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 30 Oct 2022 17:09: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 , Danny Milosavljevic , Ludovic =?UTF-8?Q?Court=C3=A8s?= , 48314@debbugs.gnu.org Received: via spool by 48314-submit@debbugs.gnu.org id=B48314.16671497338794 (code B ref 48314); Sun, 30 Oct 2022 17:09:02 +0000 Received: (at 48314) by debbugs.gnu.org; 30 Oct 2022 17:08:53 +0000 Received: from localhost ([127.0.0.1]:38938 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1opBnp-0002Hm-4v for submit@debbugs.gnu.org; Sun, 30 Oct 2022 13:08:53 -0400 Received: from mr5.vodafonemail.de ([145.253.228.165]:34002) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1opBnZ-0002HH-2A for 48314@debbugs.gnu.org; Sun, 30 Oct 2022 13:08:52 -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 mr5.vodafonemail.de (Postfix) with ESMTPS id 4N0jRL6tKLz1yH6; Sun, 30 Oct 2022 17:08:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vodafonemail.de; s=vfde-mb-mr2-21dec; t=1667149711; bh=7B+Gq7aMI5+7V9dbD2nHy4mqh4VxImc9ySxiENDXVIA=; h=Content-Type:From:Subject:Date:Message-Id:References:In-Reply-To: To:X-Mailer:From; b=fjVnP+htuaikVXQ334tZkhwkkdmCFIuRTUuFOUx64y+FROZnPoqPj+wEOQyWR3Z44 ulfZmBr50SmaXVTXf2b/rRROyaVQYr3Mf8YnFEaNCB0aXjlBJ2H1D5vrnJgXiFLraA PuH9NjniaG6kBYj92WztLHXYJzKFtOhER0qlRF2o= Received: from smtpclient.apple (aftr-62-216-210-42.dynamic.mnet-online.de [62.216.210.42]) (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 4N0jR36fFKz9s8h; Sun, 30 Oct 2022 17:08:12 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Date: Sun, 30 Oct 2022 18:08:01 +0100 Message-Id: <4F035BC4-4316-44AE-BD67-DDA808C0F2DA@vodafonemail.de> References: In-Reply-To: X-Mailer: iPhone Mail (20A392) X-purgate-type: clean X-purgate: clean X-purgate-size: 1819 X-purgate-ID: 155817::1667149708-D57F94DE-D71758B3/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: , Sender: "Guix-patches" Reply-to: Stefan X-ACL-Warn: , Stefan via Guix-patches From: Stefan via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org 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=1667149755; 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=7B+Gq7aMI5+7V9dbD2nHy4mqh4VxImc9ySxiENDXVIA=; b=RNPbvkncvkApzVQx62nCg86aci+uKoVjOM3KoqtYWwnVIapb+ghMFLw6v3GHbSFDwpqmNp 35X1F1uSPyniuwQuYczR1lWj2jE1BhRM47ndc2NJJp+N2MMBxW/cmaJ0hR6LOwW4ElbK7I rKnxaF4W5v/KZ9//0OHuSX2YVEJLi8OydhcggRNHZzUGLbkI+MpaGPRv/2Z4SUd48sGL6m cnkFaviZJF7952fqR2l/fPT4CZxVBB9QNIAVlyiDTRLSKjYgIhns5J6uNkDIW3P17EN9wG Njgnqab+os0pGKoRh9+VwyqSPo1uZwGdPdpYi059rf7waE0WGSh8GjysIU7jcg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667149755; a=rsa-sha256; cv=none; b=m1TXFjg6ukZC6J3RvU8tjv7di6maY5kdXvR3Cbf4h1q1sig5/1aSvka58n615XEX/gxPtX +jgL4TcFa7LH/sdnoMLqJTTleypY7TJrpG+KsEiKANwRlcJ+DZhV6GLbwjMOCOBnzS06t2 snxuwTTzWZv2EB0wjNMeOWgkrQvLBNpe3pFZZIVkUEgEcLNZO0lSrQWKBOZU46T85bD/wb Pn3ePsf7X43DKybYjnq7PCd4ysQ1QakhR1cz8v2QVDL6lV7WbqY3aih+n3gxr8wQFyqRXc JEhE32TZYAqu2qaykQSYCoJIVfeR+AH6ldDKdZ7RI4s19oVd2CCA/ykWw1A6dw== 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=fjVnP+ht; 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: -3.05 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=vodafonemail.de header.s=vfde-mb-mr2-21dec header.b=fjVnP+ht; 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: 88CBC3D7A X-Spam-Score: -3.05 X-Migadu-Scanner: scn1.migadu.com X-TUID: cKt7HGBG641W Hi Petr! > Shoudn't the initrd be placed in the EFI partition? No. As on a PC, the /boot/grub/grub.cfg lists the location of the initrd in t= he store, as it does for the kernel as well. Grub is able to read from most f= ile-systems and load the initrd. > Should I copy it and modify the Grub entry? No. > Unfortunately I get error about missing file: >=20 > ``` > error: file /gnu/store/xxx-raw-initrd/initrd.cpio.gz not found > Press any key to continue ... > ``` Is this error from GRUB? Is that file actually existing? > I formatted it with fat32 and ext4. Ran `guix system init config.scm /init= `. >=20 > I selected `(initrd-modules (list "xhci_pci" "pcie_brcmstb"))` in the conf= ig and rebooted. Was there maybe some error message about missing kernel-modules? Was the GRUB screen as usual with a background graphic? Because that is load= ed from the store as well. If not, then GRUB is not able to access the store. Check the content of /boo= t/efi/efi/boot/grub.cfg. It contains two lines: one to search for the right f= ile-system containing the /boot/grub/grub.cfg, and another to load it. The search line is usually referring to an fs-uuid determined during the boo= tloader installation with the help of the grub-probe command. However, there= is the risk grub-probe does not find an fs-uuid. In that case as a fallback= the search command will look for a /boot/grub/grub.cfg on any readable file= -system. Maybe it found one on a wrong file-system? > The goal here is to run completly from USB then there won't be any need fo= r SD card. =46rom what you wrote, U-Boot is able to boot from USB and load GRUB. I=E2=80= =99m just not absolutely sure, if GRUB is able to boot from USB on the RPi 4= , but I would think so. Bye Stefan=