From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kE7JL6ETTmJkAQAAgWs5BA (envelope-from ) for ; Thu, 07 Apr 2022 00:26:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id iIKbLKETTmIWsAAAauVa8A (envelope-from ) for ; Thu, 07 Apr 2022 00:26:41 +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 4AA0C3EF08 for ; Thu, 7 Apr 2022 00:26:41 +0200 (CEST) Received: from localhost ([::1]:42648 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncE6p-0001yG-P3 for larch@yhetil.org; Wed, 06 Apr 2022 18:26:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36124) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncE6a-0001xr-Mm for help-guix@gnu.org; Wed, 06 Apr 2022 18:26:24 -0400 Received: from cyberdimension.org ([2001:910:1314:ffff::1]:41690 helo=gnutoo.cyberdimension.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1ncE6Y-0002St-FN for help-guix@gnu.org; Wed, 06 Apr 2022 18:26:24 -0400 Received: from gnutoo.cyberdimension.org (localhost [127.0.0.1]) by cyberdimension.org (OpenSMTPD) with ESMTP id 592bd24c; Wed, 6 Apr 2022 22:23:18 +0000 (UTC) Received: from primarylaptop.localdomain (localhost [::1]) by gnutoo.cyberdimension.org (OpenSMTPD) with ESMTP id 1af95193; Wed, 6 Apr 2022 22:23:18 +0000 (UTC) Date: Thu, 7 Apr 2022 00:26:55 +0200 From: Denis 'GNUtoo' Carikli To: Ricardo Wurmus Subject: Re: cannot boot from microSD card on aarch64 machine Message-ID: <20220407002655.23ceae11@primarylaptop.localdomain> In-Reply-To: <874k4g18x3.fsf@elephly.net> References: <87h78g1qu5.fsf@mdc-berlin.de> <871qzkfc9j.fsf@contorta> <874k4g18x3.fsf@elephly.net> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/HdRw+H_duGuw4LKAoNKu1SE"; protocol="application/pgp-signature"; micalg=pgp-sha256 Received-SPF: pass client-ip=2001:910:1314:ffff::1; envelope-from=GNUtoo@cyberdimension.org; helo=gnutoo.cyberdimension.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vagrant Cascadian , help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" 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=1649284001; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=WefvtVx9JAWU+oiJQ76muVOXReLJiRBrrygzJhjswNs=; b=C1pCjfXaNHQTYmRJuBXUdVduJBw2M59nNrKvFxnMQ0UznLlFeWuspvMvMOMYDBlxYwtNjW WC8quTFbMt4/PnVaVBqJcmYvBJdc8lbQnlkHGPjI1FjwGeBXjGxEw5oaRDiFVGqj48coxf VvInKVWM+r7+582RP+XyxGCcRuoUM97YF25kk37hRDn5gFvQM6Kk+/FNqhSdCYhO/H+H+u PZvCDverSCHJ3hmiRBsCVz0cQuk6onMWuB5kJQ1Hs2Stb62+YuUXscmOFg2rz68MKxYU0E OItzdsAoyTp1ww/NWxWQw3PE7NjcW/sOeOqNVziXQT0+aEKxI8a3cvIKKLa8LQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649284001; a=rsa-sha256; cv=none; b=qI7gbxCuroHDpLio6vRZxA+HIP243p5eK8w+Le1zC4j1MtImcmdYq5euSqtDxOagDSl8qs lAQDUv+aXhUNIHoGsW3kWuMf2gACWLBdzQogjDSvykFSQNiIKg/yO85190i+sCwtH4v3wl YEnxMVn6m8SMYsVNiXY2hp11lEdac7ZPTwRnq98zuesVnC5PefauXWrUMRk/74YQK6pvjk tB6Yh7Rdq/qxSgOODMWmhfvWFvEtCRehH5nNhK+ey5TrzrFYucZ8jrT2DHYxkdTNxWvy6O rJKGcM4Zo3RMbz0MofP7+2aYnjz7nZ/38w7XBBuAc9VCys307VQv3q/PPYODzw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.97 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4AA0C3EF08 X-Spam-Score: -4.97 X-Migadu-Scanner: scn1.migadu.com X-TUID: KBm2i3AYQ2rs --Sig_/HdRw+H_duGuw4LKAoNKu1SE Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, 02 Mar 2022 19:52:18 +0100 Ricardo Wurmus wrote: > Do I need to prepare the microSD card at all? There=E2=80=99s no > documentation in the manual, so I have no idea what to do with it > prior to =E2=80=9Cguix system init=E2=80=9D. Looking at the code I assum= ed that the > disk-image-installer procedures take care of placing whatever blobs > are needed at the expected locations. Long time ago I managed to boot Guix on a Lime 1 A20 and it worked.=20 I used a command similar to this one (probably the equivalent with guix image that is now deprecated or removed): > guix system image --target=3Darm-linux-gnueabihf -t raw-with-offset \ > system.scm This takes care of writing the bootloader at the right location on the image. However I'm not sure what happens if the bootloader gets too big and get overwritten by the GPT or MBR partition table. With the command above, you'll have to adjust the target for ARM 64bit. The issue for me is that at some point the boot broke: I saw u-boot and the kernel and the init on the serial port, but the init never completed and I didn't find enough time to correctly investigate the issue. But at least the bootloader is probably still working fine. In my TODO list I also wanted to add u-boot for qemu_arm (qemu_arm_defconfig) and qemu_arm64 (qemu_arm64_defconfig) to be able to enable people to more easily test ARM support without any special hardware, but that doesn't advance fast at all due to the lack of time. Denis. --Sig_/HdRw+H_duGuw4LKAoNKu1SE Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEeC+d2+Nrp/PU3kkGX138wUF34mMFAmJOE7AACgkQX138wUF3 4mPW4Q/+POpUNTf3IFI0V8wZ6KEIYMy5vm+aEr9vYc4fmqZyW28QBCnKIwP+OR6X 7yhDGdXJgq4dlGfEDY5NnXwOGuWpCMW6/nFP2j0oYPhrLfbKg5gYhLv6K+8bUPPz z8l3cndjo94oxIlcXQ3+DNGR52SAU4EPBikceyF/M3fafgv0bq98hUdzixgCRRf5 qieAJqC+GNCTSNhAdsWyX1y6OmuUp/1g2wiH9lMYqOITumf3l1ImVLrY7ZOo3PEa rHcKEzvQzDxBH1qv9jEtUgtH6LdD09UDOjZxKW3ub7cl5gFsZv+jFHBbwv7DyDTN e5Y96ajBVqQUlzEkiChmyxII4PPgibBBYRO0jEmVc0UULVX6c1sTg97+xyii3s6G gRHYI//mMj0dYmPP23QGTdFMol/LX92tY5tPHZroPDt9kNOPYIrQhOnT4xwJgMFu ppszoGUACdpFc378c1PLpHTw5w7lCf8nygGX5B5BIzKA5y4vsSETDJB8kj7hPHTR saWLNXt83y2pJ6EXLw10+mbBogfo+v3hJhXsVSLUz5HdGD811s9YUNtbJYpaPRbj WAWXEdI6i1scmWDzqCJ+Qy8/gBITTtqrfG+LT+4x6s+Gu/KlE/FzmFN2MHhybZip /UxnZeaPis9hpWaU0FGOl9eCxfu2kWRTTCFg0wdT5XtMnBEC2Dc= =ARLF -----END PGP SIGNATURE----- --Sig_/HdRw+H_duGuw4LKAoNKu1SE--