From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 GBn9F5Nj9mLSkAAAbAwnHQ (envelope-from ) for ; Fri, 12 Aug 2022 16:28:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 4Fo/F5Nj9mIHYAAAG6o9tA (envelope-from ) for ; Fri, 12 Aug 2022 16:28:35 +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 D5A233DBF8 for ; Fri, 12 Aug 2022 16:28:34 +0200 (CEST) Received: from localhost ([::1]:39002 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oMVeL-0008Uj-N7 for larch@yhetil.org; Fri, 12 Aug 2022 10:28:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40390) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMVdq-0008DH-D1 for guix-patches@gnu.org; Fri, 12 Aug 2022 10:28:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40547) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oMVdq-0006M7-4R for guix-patches@gnu.org; Fri, 12 Aug 2022 10:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oMVdp-0002Yb-So for guix-patches@gnu.org; Fri, 12 Aug 2022 10:28:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48314] [PATCH v3] Install guix system on Raspberry Pi Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 12 Aug 2022 14:28: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 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.16603144519789 (code B ref 48314); Fri, 12 Aug 2022 14:28:01 +0000 Received: (at 48314) by debbugs.gnu.org; 12 Aug 2022 14:27:31 +0000 Received: from localhost ([127.0.0.1]:58529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMVdK-0002Xp-TH for submit@debbugs.gnu.org; Fri, 12 Aug 2022 10:27:31 -0400 Received: from mail-40131.protonmail.ch ([185.70.40.131]:60241) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMVdH-0002XZ-Tp for 48314@debbugs.gnu.org; Fri, 12 Aug 2022 10:27:29 -0400 Date: Fri, 12 Aug 2022 14:27:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1660314441; x=1660573641; bh=eTae+9b1qVMxTnoj2dIAd/VS0oroNNx3u9MbJHpEq/Q=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=r+RTOXDYikjjXMFTiQ5qBcYM2j8Eqcm5bIHVagWUNy62tmYfIzonvpp+pyuIsR412 ydbWoAk4r1fnYmSE45CQ7JEp1TU0Hh2InsM+m/rTHi6SGm5yzcaAz4mASbeuCu4T9z QZJQDiIKpBc+bu+p9yyDg9IRm9s4QoJn8Bx2chlarKRYvuaO3cjaXALLV6lkplO1Qe 4Y/VkQl4G7hWSUCBGq6E39a4IX0N3WbDW/h07pYa+fwEslDavt441rosqpqWdAYt0p eXJOXHrBNWQBd+C9BnkT8ksLjlX7VYWxbKNykY/rQDYxSTyi+akWEbk/85/1yoaAPw gbgZLUKha5ksA== Message-ID: In-Reply-To: <1707AE25-4041-462A-B7D0-8611A02B0E41@vodafonemail.de> References: <1707AE25-4041-462A-B7D0-8611A02B0E41@vodafonemail.de> Feedback-ID: 14143818:user:proton MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_M6hbOoaVhedf72dztRjagpwjIoB25Pecpfab12UrMA" 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: phodina X-ACL-Warn: , phodina via Guix-patches From: phodina 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=1660314515; 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: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=eTae+9b1qVMxTnoj2dIAd/VS0oroNNx3u9MbJHpEq/Q=; b=dr0Qzci4HiEalD3c88B91CN2jppbta9WDNBkwqKSxr3BG5/YlIA6XVzAPg/J25uMEFKiYo j6PMzUsahLLB9qUHDpK78/FGkVSYVNdtfbi4rd7NzPRhka/H2JRhdUFZN0FPmvIhJqgrIM kpXGVpqut5ZejoxabvhjtMUw90pJ0rKmWz4EvLarJETmokSzUvRMNO3y/1owzDK+zBiHSE zmMx5iCDTtr8H8+6VM+gciP7aZg3ZdvOCE7XCVLj2eT8Xz5wLJwY+e+oY/1VM5M41uiq3g cMkyWTKux52MqwMfrV19+g0MvOhB3PvDqyCFCN6OFImN8J8o9MeF3klgNtng/Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660314515; a=rsa-sha256; cv=none; b=rmnO+zbu00r+D+WW8+JRKyUo/LA795Mzk6P3Zi36okzULKBO6XaeGSE3FACwDHyECjf+de iZSG2KADlrS+G+RZGa3xbLJLHn28+89+2ewsOl+NoOg1cSMXxA7ZA3ypSj0s60ZYoiwKHq oISWGn/+8p/kCd85FYrPjxksLnDqJdgV1BxZKhlbPDpYdf0JSj2haKx8aOs2pev7L8tkYz Vx/PsZcq7kprclMXWH9Afan7ue3R5vsQ266J6+e8tcO6PPbpzOw4bUznwckjYCpICe4pKo iWCKeutpk41M1LXJHXW6RgOk445vFlQv4Mpta6W4FqUFNSg+zn05ZsLEuCCGRg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=r+RTOXDY; 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: -0.77 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=r+RTOXDY; 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: D5A233DBF8 X-Spam-Score: -0.77 X-Migadu-Scanner: scn1.migadu.com X-TUID: oXzvKEi67tzH This is a multi-part message in MIME format. --b1_M6hbOoaVhedf72dztRjagpwjIoB25Pecpfab12UrMA Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Stefan! Good news. I managed to run Guix libre kernel on the raspberry pi. Thanks f= or the help along the way! pi@raspberrypi-guix ~$ uname -a Linux raspberrypi-guix 5.18.16-gnu #1 SMP PREEMPT 1 aarch64 GNU/Linux The issue was in the firmware, therefore I'll post the hashes of the files = from the EFI partition: pi@raspberrypi-guix ~$ sha256sum /boot/efi/* 010beacf073dbf7a4be24288a5c8b93001f0d852387dce50bf50de51a7412cd6 /boot/efi= /bcm2711-rpi-400.dtb 489645357820f2e7e8f13841c901ba9571b779c07b3203f1627538d04ce45ad3 /boot/efi= /bcm2711-rpi-4-b.dtb c0f057eea9e357341265910000e56dab94b3200465b0556deb1eda3af117d3c9 /boot/efi= /bcm2837-rpi-3-a-plus.dtb df83b6dc6cda7e8eae62e8316b02a4c1659a6b0cf874c6caa075be9413a00b98 /boot/efi= /bcm2837-rpi-3-b.dtb c008e84ac57aa9c35aedabd1ed2cb4290088e33d85d1ef8ca56c5ef9b5f0d13c /boot/efi= /bcm2837-rpi-3-b-plus.dtb 6a1cc758d38edcf9f9213a8fcbc75d4bf06fbd86806b4430c15742b6ab427de9 /boot/efi= /bcm2837-rpi-cm3-io3.dtb 69309823da13dc96b89e3d82b44f820e4f84efa79d207adad2c8784559794f03 /boot/efi= /bootcode.bin 1ac38b353f924c56c5d5a587971f3f81d09c433787b99f889368fd342c4336da /boot/efi= /bootloader.txt df0ac4af19615f13ff7ffa395ae553c70813ef9d2a82fab0e1175adf80ed1294 /boot/efi= /cmdline.txt 9d4975d57f5eb54b08a430cb3d677e5dbf23ed48c73fe33a4e3efdfc35f8d41e /boot/efi= /config.txt bcc22553ef64d361270103e84c80ab5362bdb2ffba3c9eea13ee3de60f6cbaff /boot/efi= /dtb.txt 22db24c621c326d907c7b8c5975b1730e6ce78dea680bec3958d907093031638 /boot/efi= /fixup4cd.dat 7d28775bff4781bda065f37fbb64c88ed1b56d1f4af79d85f792032f55bb6de7 /boot/efi= /fixup4.dat b0d299dd46ddecd2c4eeeca61f42d114a0c464dcd6165861a662d118daa3afc0 /boot/efi= /fixup4db.dat 495076ed0488703ba59bd0d43bc577ad1695470379263854197a752cd1989330 /boot/efi= /fixup4x.dat 22db24c621c326d907c7b8c5975b1730e6ce78dea680bec3958d907093031638 /boot/efi= /fixup_cd.dat 8e90c8a379f3f99ee59370c50e48853db82669dbd6515d4ce08a24307d3dc4c5 /boot/efi= /fixup.dat 4f5d2433956f64cec640ae91dc47bdea3aa2c6c7cc579faafb779826bd7e554c /boot/efi= /fixup_db.dat 82bbf5a3f86f73a41e9f8975deb75e50ab4d7581500a43ec7f0fcc42214948dd /boot/efi= /fixup_x.dat 9756eca19be1a443fc6a6cd5f8ffb0759d8b5d68f24248829d39abdc59388490 /boot/efi= /manifest 9e1474d3b3078bb80e87f65a5122fd4a8a828b563de5652b37d8b40019b3a51a /boot/efi= /start4cd.elf 2dfb27b876ec00e54857e199e939def019b148010f03ce1947e4b48fa226e4f7 /boot/efi= /start4db.elf a607afd09523830bd524eafa2eb3f530d70cef643eb8eca14a80dcbd6830ec8f /boot/efi= /start4.elf 7ffa3ce1f93f61737fee68f61747b876fd1b15203553ebc096d2b64d79fb7da2 /boot/efi= /start4x.elf b21aeceec40aff935f70dfe3adc4d96963e61d4696f909ad910f299da978d8bb /boot/efi= /start_cd.elf 378e84616f28e63cb33c794e3430b7deeca5bb84067f79e71408f6aab587e0e7 /boot/efi= /start_db.elf e4a374d78f31d333b20ab128a614d3549f9dfe4103781c0938104fc0dd45d3fc /boot/efi= /start.elf dbdeb7c679566419035e70db8aff90954ca6ba45a579e990886ddc0b964b2621 /boot/efi= /start_x.elf f9c7d5534c787479601f1e70b4b108cd765445aecbc154296d0d35f423045ca4 /boot/efi= /sysconf.txt d47f45c6221ccaaf1ca0e66d01b90fca350a0b06b4c7a44a81b6f68a99f36607 /boot/efi= /u-boot.bin I'll test it also on RPi3 and I'll change the storage media to SSD on my RP= i4 to provide more space and faster reliable storage. - I just have question regarding the example if it wouldn't be better to pr= epare the whole image - partition the SD card and just copy it to the actua= l media? - Should there be some manual how to prepare the firmware files or format t= he SD card in case we prepare just the root filesystem and bootloader? 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 a= arch64 machine or resort to crosscompile. What do you think? Also there's small patch to fix deprecated calls in os-defintion files. ---- Petr =20 --b1_M6hbOoaVhedf72dztRjagpwjIoB25Pecpfab12UrMA Content-Type: text/x-patch; name=raspberry-guix.diff Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=raspberry-guix.diff ZGlmZiAtLWdpdCBhL2dudS9zeXN0ZW0vZXhhbXBsZXMvcmFzcGJlcnJ5LXBpLTY0LW5mcy1yb290 LnRtcGwgYi9nbnUvc3lzdGVtL2V4YW1wbGVzL3Jhc3BiZXJyeS1waS02NC1uZnMtcm9vdC50bXBs CnktcGktNjQtbmZzLXJvb3QudG1wbAppbmRleCBhMWU0MWUzMzk5Li4yNzk2MjBiMGZiIDEwMDY0 NAotLS0gYS9nbnUvc3lzdGVtL2V4YW1wbGVzL3Jhc3BiZXJyeS1waS02NC1uZnMtcm9vdC50bXBs CisrKyBiL2dudS9zeXN0ZW0vZXhhbXBsZXMvcmFzcGJlcnJ5LXBpLTY0LW5mcy1yb290LnRtcGwK QEAgLTMwLDcgKzMwLDcgQEAKICAgICh0aW1lem9uZSAiRXVyb3BlL0JlcmxpbiIpCiAgICAoYm9v dGxvYWRlciAoYm9vdGxvYWRlci1jb25maWd1cmF0aW9uCiAgICAgICAgICAgICAgICAgKGJvb3Rs b2FkZXIgZ3J1Yi1lZmktYm9vdGxvYWRlci1jaGFpbi1yYXNwaS02NCkKLSAgICAgICAgICAgICAg ICAodGFyZ2V0ICIvYm9vdC9lZmkiKQorICAgICAgICAgICAgICAgICh0YXJnZXRzIChsaXN0ICIv Ym9vdC9lZmkiKSkKICAgICAgICAgICAgICAgICAodGhlbWUgKGdydWItdGhlbWUgKHJlc29sdXRp b24gJygxOTIwIC4gMTA4MCkpCiAgICAgICAgICAgICAgICAgICAgICAgIChpbWFnZSAoZmlsZS1h cHBlbmQKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAlYXJ0d29yay1yZXBvc2l0b3J5 CkBAIC00OSw3ICs0OSwxMCBAQAogICAgICAgICAgICAgICAgICAgICAgICAgIChkZXZpY2UgIjov ZXhwb3J0L3Jhc3BiZXJyeXBpL2d1aXgiKQogICAgICAgICAgICAgICAgICAgICAgICAgIChvcHRp b25zICJhZGRyPTEwLjIwLjMwLjQwLHZlcnM9NC4xIikpCiAgICAgICAgICAgICAgICAgICAgICAg ICAlYmFzZS1maWxlLXN5c3RlbXMpKQotICAgKHN3YXAtZGV2aWNlcyAnKCIvcnVuL3N3YXBmaWxl IikpCisgICAgKHN3YXAtZGV2aWNlcworICAgICAobGlzdAorICAgICAgKHN3YXAtc3BhY2UKKyAg ICAgICAodGFyZ2V0ICIvcnVuL3N3YXBmaWxlIikpKSkKICAgICh1c2VycyAoY29ucyogKHVzZXIt YWNjb3VudAogICAgICAgICAgICAgICAgICAgKG5hbWUgInBpIikKICAgICAgICAgICAgICAgICAg IChncm91cCAidXNlcnMiKQpkaWZmIC0tZ2l0IGEvZ251L3N5c3RlbS9leGFtcGxlcy9yYXNwYmVy cnktcGktNjQudG1wbCBiL2dudS9zeXN0ZW0vZXhhbXBsZXMvcmFzcGJlcnJ5LXBpLTY0LnRtcGwK aW5kZXggN2UxOGYwMGQ4Ni4uMDczOTU4MmNmMCAxMDA2NDQKLS0tIGEvZ251L3N5c3RlbS9leGFt cGxlcy9yYXNwYmVycnktcGktNjQudG1wbAorKysgYi9nbnUvc3lzdGVtL2V4YW1wbGVzL3Jhc3Bi ZXJyeS1waS02NC50bXBsCkBAIC0yOSw3ICsyOSw3IEBACiAgICAodGltZXpvbmUgIkV1cm9wZS9C ZXJsaW4iKQogICAgKGJvb3Rsb2FkZXIgKGJvb3Rsb2FkZXItY29uZmlndXJhdGlvbgogICAgICAg ICAgICAgICAgIChib290bG9hZGVyIGdydWItZWZpLWJvb3Rsb2FkZXItY2hhaW4tcmFzcGktNjQp Ci0gICAgICAgICAgICAgICAgKHRhcmdldCAiL2Jvb3QvZWZpIikKKyAgICAgICAgICAgICAgICAo dGFyZ2V0cyAobGlzdCAiL2Jvb3QvZWZpIikpCiAgICAgICAgICAgICAgICAgKHRoZW1lIChncnVi LXRoZW1lIChyZXNvbHV0aW9uICcoMTkyMCAuIDEwODApKQogICAgICAgICAgICAgICAgICAgICAg ICAoaW1hZ2UgKGZpbGUtYXBwZW5kCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJWFy dHdvcmstcmVwb3NpdG9yeQpAQCAtNTMsNyArNTMsMTAgQEAKICAgICAgICAgICAgICAgICAgICAg ICAgICAodHlwZSAidmZhdCIpCiAgICAgICAgICAgICAgICAgICAgICAgICAgKGRldmljZSAoZmls ZS1zeXN0ZW0tbGFiZWwgIkVGSSIpKSkKICAgICAgICAgICAgICAgICAgICAgICAgICViYXNlLWZp bGUtc3lzdGVtcykpCi0gICAoc3dhcC1kZXZpY2VzICcoIi9ydW4vc3dhcGZpbGUiKSkKKyAgIChz d2FwLWRldmljZXMKKyAgICAobGlzdAorICAgICAoc3dhcC1zcGFjZQorICAgICAgKHRhcmdldCAi L3J1bi9zd2FwZmlsZSIpKSkpCiAgICAodXNlcnMgKGNvbnMqICh1c2VyLWFjY291bnQKICAgICAg ICAgICAgICAgICAgIChuYW1lICJwaSIpCiAgICAgICAgICAgICAgICAgICAoZ3JvdXAgInVzZXJz IikK --b1_M6hbOoaVhedf72dztRjagpwjIoB25Pecpfab12UrMA--