From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id yOdOKQRopV/RUAAA0tVLHw (envelope-from ) for ; Fri, 06 Nov 2020 15:13:08 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 2CMlJQRopV/WcwAAB5/wlQ (envelope-from ) for ; Fri, 06 Nov 2020 15:13:08 +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 1DFB494011A for ; Fri, 6 Nov 2020 15:13:08 +0000 (UTC) Received: from localhost ([::1]:51690 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kb3QH-0004RJ-O5 for larch@yhetil.org; Fri, 06 Nov 2020 10:13:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33226) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kb3Q0-0004QN-0L for help-guix@gnu.org; Fri, 06 Nov 2020 10:12:49 -0500 Received: from tobias.gr ([2a02:c205:2020:6054::1]:55378) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kb3Pu-0003nw-Um for help-guix@gnu.org; Fri, 06 Nov 2020 10:12:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018; bh=vv8UsV8XPxzLazscHYbhREPqMDEowedUBP0XpZZxU2s=; h=date:in-reply-to: references:subject:cc:to:from; b=QNDeieE/3ehUBS3e8LMMx4Br3qSPSxGiGrEAF fdfWz7qs6TifmE2tdRt1MB7iARKd2BY0msLv7gTle1GkMhRBmkEw9FIZTM2HHNLTUi6K9j VEOe+CYIjzdh9XOoFSADdhac68+zmcDE6mpKyuoLD+uEFNsO5Mx+mGqGn0zdNXP2pldWuK mRENDvxtjXz0Fgm8GdxZwqWMeeKj+olQHF/oFwL1VT7TA0QyKJTQVyeu8RM/xYlFs9ZcoM dw9+tZxrP1NW1x2w8KcNAbM9yNN+JItmEiYqlvoBLqYs/pVM4rZ7pv3vq+CI16i1I4CIPR 9deJpwH36CRcSiGXXp3eTPz/A== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 623650c7 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); Fri, 6 Nov 2020 15:12:41 +0000 (UTC) BIMI-Selector: v=BIMI1; s=default; From: Tobias Geerinckx-Rice To: Jesse Gibbons Cc: help-guix@gnu.org Subject: Re: Who has had success installing a Guix system on arm? References: <260d2ed2-2af6-73f0-be62-27d25098bef2@gmail.com> In-reply-to: <260d2ed2-2af6-73f0-be62-27d25098bef2@gmail.com> Date: Fri, 06 Nov 2020 16:12:38 +0100 Message-ID: <87o8kabjtl.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=QNDeieE/; dmarc=pass (policy=reject) header.from=tobias.gr; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -2.31 X-TUID: kmGHHmD69YVM --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Jesse, Jesse Gibbons =E5=86=99=E9=81=93=EF=BC=9A > Has anyone in this mailing list successfully used the Guix=20 > system > on an armhf or aarch64 computer? If so would you mind sharing=20 > details, such as: > > -> Which board did you get working with guix system (banana pi=20 > m2u, > novena, beaglebone black, pine64-plus, etc.)? I'm not much of an ARM person but did have success installing Guix=20 System onto two Overdrives 1000 currently part of the Berlin build=20 farm. They aren't =E2=80=98boards=E2=80=99 but proper computers using UEFI= , so=20 GRUB just works. > -> Did you build natively or cross-build from a different=20 > system? Both machines came with OpenSUSE installed, and were briefly=20 borged into Guix Systems simply by installing Guix (using the=20 official installer script) and running =E2=80=98guix system init /=E2=80=99. That worked but didn't last long. I booted an aarch64 Fedora=20 installer image, installed Guix into the live environment using=20 the same installer script, wiped & repartitioned the drives, wrote=20 a basic system configuration and ran =E2=80=98guix system init /mnt=E2=80= =99.=20 That's the system still running today. It must have been easy or it would have been more memorable. :-) I never (cross-)built anything custom. > -> What version of guix did you use? (what did guix describe=20 > say?) I don't remember. Whatever was master soon before Jul 24 2019. > -> If the board you got working can boot from an internal (emmc)=20 > or > external (microsd) drive, which one did you get working? These machines have a 1TB 3.5" SATA drive. > -> Would you mind sharing the operating-system definition that=20 > was > successful? It's probably not useful for =E2=80=98boards=E2=80=99, but sure. Kind regards, T G-R --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=system.scm Content-Transfer-Encoding: base64 KHVzZS1tb2R1bGVzIChnbnUpCgkgICAgIChndWl4KSkKKHVzZS1zZXJ2aWNlLW1vZHVsZXMgbWNy b24KICAgICAgICAgICAgICAgICAgICAgbmV0d29ya2luZwoJCSAgICAgc3NoKQoodXNlLXBhY2th Z2UtbW9kdWxlcyBsaW51eCkKCihkZWZpbmUgJWFjY291bnRzCiAgKGxpc3QgKHVzZXItYWNjb3Vu dAoJIChuYW1lICJuY2t4IikKCSAoY29tbWVudCAiVG9iaWFzIEdlZXJpbmNreC1SaWNlIikKCSAo Z3JvdXAgInVzZXJzIikKCSAoc3VwcGxlbWVudGFyeS1ncm91cHMgKGxpc3QgIndoZWVsIiAia3Zt IikpCgkgKGhvbWUtZGlyZWN0b3J5IChzdHJpbmctYXBwZW5kICIvaG9tZS8iIG5hbWUpKSkKICAg ICAgICAodXNlci1hY2NvdW50CiAgICAgICAgIChuYW1lICJoeWRyYSIpCiAgICAgICAgIChjb21t ZW50ICJIeWRyYSB1c2VyIikKICAgICAgICAgKGdyb3VwICJ1c2VycyIpCiAgICAgICAgIChob21l LWRpcmVjdG9yeSAoc3RyaW5nLWFwcGVuZCAiL2hvbWUvIiBuYW1lKSkpKSkKCihkZWZpbmUgZ2Mt am9iCiAgOzsgUnVuICdndWl4IGdjJyBhdCAzQU0gZXZlcnkgZGF5LgogICN+KGpvYiAnKG5leHQt aG91ciAnKDMpKSAiZ3VpeCBnYyAtRiA1MEciKSkKCihvcGVyYXRpbmctc3lzdGVtCiAgKGhvc3Qt bmFtZSAiZG1pdHJpIikKICAodGltZXpvbmUgIkV1cm9wZS9CcnVzc2VscyIpCiAgKGxvY2FsZSAi ZW5fR0IudXRmOCIpCgogIChib290bG9hZGVyIChib290bG9hZGVyLWNvbmZpZ3VyYXRpb24KICAg ICAgICAgICAgICAgKGJvb3Rsb2FkZXIgZ3J1Yi1lZmktYm9vdGxvYWRlcikKICAgICAgICAgICAg ICAgKHRhcmdldCAiL2Jvb3QvZWZpIikKCSAgICAgICAodGltZW91dCAzKSkpCiAgKGluaXRyZC1t b2R1bGVzIChjb25zKiAieGhjaS1wY2kiICJhaGNpX3BsYXRmb3JtIiAic2RfbW9kIgogICAgICAg ICAgICAgICAgICAgICAgICAgJWJhc2UtaW5pdHJkLW1vZHVsZXMpKQogIChmaWxlLXN5c3RlbXMg KGNvbnMqIChmaWxlLXN5c3RlbQogICAgICAgICAgICAgICAgICAgICAgICAgKGRldmljZSAoZmls ZS1zeXN0ZW0tbGFiZWwgIkdOVSIpKQogICAgICAgICAgICAgICAgICAgICAgICAgKG1vdW50LXBv aW50ICIvIikKICAgICAgICAgICAgICAgICAgICAgICAgICh0eXBlICJleHQ0IikpCiAgICAgICAg ICAgICAgICAgICAgICAgKGZpbGUtc3lzdGVtCgkJCSAoZGV2aWNlIChmaWxlLXN5c3RlbS1sYWJl bCAiRUZJIikpCgkJCSAobW91bnQtcG9pbnQgIi9ib290L2VmaSIpCgkJCSAodHlwZSAidmZhdCIp KQogICAgICAgICAgICAgICAgICAgICAgICViYXNlLWZpbGUtc3lzdGVtcykpCiAgKHN3YXAtZGV2 aWNlcyAnKCIvZGV2L3NkYTIiKSkKCiAgKHVzZXJzIChhcHBlbmQgJWFjY291bnRzICViYXNlLXVz ZXItYWNjb3VudHMpKQogIChzZXJ2aWNlcyAoY29ucyogKHNlcnZpY2Ugb3BlbnNzaC1zZXJ2aWNl LXR5cGUpCiAgICAgICAgICAgICAgICAgICAoc2VydmljZSBkaGNwLWNsaWVudC1zZXJ2aWNlLXR5 cGUpCiAgICAgICAgICAgICAgICAgICAoc2VydmljZSBtY3Jvbi1zZXJ2aWNlLXR5cGUKICAgICAg ICAgICAgICAgICAgICAgICAgICAgIChtY3Jvbi1jb25maWd1cmF0aW9uCiAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgKGpvYnMgKGxpc3QgZ2Mtam9iKSkpKQogICAgICAgICAgICAgICAgICAg KHNlcnZpY2UgYWdldHR5LXNlcnZpY2UtdHlwZQogICAgICAgICAgICAgICAgICAgICAgICAgICAg KGFnZXR0eS1jb25maWd1cmF0aW9uCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKHR0eSAi dHR5QU1BMCIpCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGtlZXAtYmF1ZD8gI3QpCiAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgKHRlcm0gInZ0MjIwIikKICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAoYmF1ZC1yYXRlICIxMTUyMDAsMzg0MDAsOTYwMCIpKSkKICAgICAgICAg ICAgICAgICAgIChzZXJ2aWNlIG9wZW5udHBkLXNlcnZpY2UtdHlwZQogICAgICAgICAgICAgICAg ICAgICAgICAgICAgKG9wZW5udHBkLWNvbmZpZ3VyYXRpb24KICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAoc2VydmVycyAobGlzdCAiMC5wb29sLm50cC5vcmciICIxLnBvb2wubnRwLm9yZyIp KQogICAgICAgICAgICAgICAgICAgICAgICAgICAgIChjb25zdHJhaW50cy1mcm9tIChsaXN0ICJ3 d3cub3BlbmJzZC5vcmciKSkpKQogICAgICAgICAgICAgICAgICAgKG1vZGlmeS1zZXJ2aWNlcyAl YmFzZS1zZXJ2aWNlcwoJCQkJICAgIChndWl4LXNlcnZpY2UtdHlwZQoJCQkJICAgICBjb25maWcg PT4gKGd1aXgtY29uZmlndXJhdGlvbgoJCQkJCQkoaW5oZXJpdCBjb25maWcpCgkJCQkJCSh1c2Ut c3Vic3RpdHV0ZXM/ICNmKQoJCQkJCQkobWF4LXNpbGVudC10aW1lIDE0NDAwKQoJCQkJCQkoYXV0 aG9yaXplZC1rZXlzCgkJCQkJCSAobGlzdCAobG9jYWwtZmlsZSAiL2V0Yy9ndWl4L21haW50ZW5h bmNlL2h5ZHJhL2tleXMvZ3VpeC9iZXJsaW4uZ3VpeHNkLm9yZy1leHBvcnQucHViIikpKQoJCQkJ CQkoZXh0cmEtb3B0aW9ucwoJCQkJCQkgJygiLS1tYXgtam9icz0zIiAiLS1jb3Jlcz0yIikpKSkp KSkKCiAgKHBhY2thZ2VzCiAgIChhcHBlbmQKICAgIChtYXAgc3BlY2lmaWNhdGlvbi0+cGFja2Fn ZStvdXRwdXQKCSAobGlzdCAiZHN0YXQiCiAgICAgICAgICAgICAgICJnaXQiCiAgICAgICAgICAg ICAgICJodG9wIgogICAgICAgICAgICAgICAicGljb2NvbSIgICAgICAgICAgICAgICAgOyB0byBk ZWJ1ZyBzaWJsaW5nICgvZGV2L3R0eUFDTTAqKQoJICAgICAgICJtb3NoIgoJICAgICAgICJuY3Vy c2VzIgkJOyByZXNldAoJICAgICAgICJuc3MtY2VydHMiCgkgICAgICAgIm9wZW5zc2giKSkKICAg ICViYXNlLXBhY2thZ2VzKSkpCg== --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCX6Vn5g0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15dVUBAO+BTD45Co5uQOV/wPJZeSyCPufPRjVL9hlmHCmR Wp01AP4tcprdRXQqWVKMUv2bsEY5BwgNB73owyypWokwJR5EBQ== =khs0 -----END PGP SIGNATURE----- --==-=-=--