From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 kBXcIwdlH2LMTQAAgWs5BA (envelope-from ) for ; Wed, 02 Mar 2022 13:37:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id oHapHAdlH2JCzQAAG6o9tA (envelope-from ) for ; Wed, 02 Mar 2022 13:37:27 +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 8BC19403A0 for ; Wed, 2 Mar 2022 13:37:26 +0100 (CET) Received: from localhost ([::1]:39080 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nPOEP-0002Vv-P6 for larch@yhetil.org; Wed, 02 Mar 2022 07:37:25 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48128) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nPO5n-0005l0-3A for help-guix@gnu.org; Wed, 02 Mar 2022 07:28:31 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21126) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nPO5k-0000yt-Bj for help-guix@gnu.org; Wed, 02 Mar 2022 07:28:30 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1646224105; cv=none; d=zohomail.com; s=zohoarc; b=B++rCgBMvJMXC9fxdirXZUweemJokfnm1eKy6++VW2JDP/+x0HVQ1+YJgreRC8d5StGDBSDee6KnzVFeSR1RGCgF0yzfDwo7LwJ3VyVPqONv94rX72Q4rw2iz5llZsoJaPhKJkos5V+rd7PieWQf1CYB3sE3WKacMLI43BjFiZo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1646224105; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To; bh=pyTYVEXoBCfx4Eo6mFi5pKpyk5LeOYJRhHoUnNcd0G8=; b=gBM3Lj+4LsKFRsqMQB9bEYfIUftI7xP/OChJS6Qmi4+1Xpc8DGbv6Iq0N7S88FZ3H4Lz7ZgejCJ4y48Pr2C/wGx3VhUt3g9Rz8N6A2+P/x0KHuchPb75bTnYx4G9GGZg2Daa11FY72YG30cYNOfbwGt5+LTILMsIk9LS/uH20eg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1646224105; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=pyTYVEXoBCfx4Eo6mFi5pKpyk5LeOYJRhHoUnNcd0G8=; b=DVh88PzWfQBKowqNebh5QoDeep7w7PHOAMb+g/qzldoLgt6ahvVIqSIzK7ds5YPK KIFHwCoJs74pu48HWtJynNxDCk6Em+0s9YfcsrnVD8AfNkhdQPPorxbOADIxafdyF5C otcAQaxRPiIP2Ri5RLJ4X4k4slIzzGPifahlnJQ0= Received: from localhost (p54ad4e6f.dip0.t-ipconnect.de [84.173.78.111]) by mx.zohomail.com with SMTPS id 1646224101731397.8485351740268; Wed, 2 Mar 2022 04:28:21 -0800 (PST) User-agent: mu4e 1.6.10; emacs 28.0.50 From: Ricardo Wurmus To: help-guix@gnu.org Subject: cannot boot from microSD card on aarch64 machine Date: Wed, 02 Mar 2022 12:37:53 +0100 X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <87h78g1qu5.fsf@mdc-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.com 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=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: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1646224647; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=pyTYVEXoBCfx4Eo6mFi5pKpyk5LeOYJRhHoUnNcd0G8=; b=qPIh6YB62FUH8pV7Efz11/USj6HhZUTs47sikQs/okfA+U4ztw1yCb/NETxuzGGzt3hj9U HwrgpDliiNHmGuLQbEKeuIAVBn4LmbgQjWk/SQ10gxAHMEiy77vVBkwOBS3r+2YZPPzNAK 9olilaBT87gRr22KAPh4YONCuAir0M+HW+HcyZu2zYAk/W5x0qJ40DChil9G53IbL9iafX t6uBTUS0LAHOmcQP6/VcsUj8uv9/VnNGbb1yDeOoaWH5N0VxBxHnxeTTZYmUcPKfvD+HZ+ 3CW6nD4zu1j8lKh958fzg0R5uRD/yWgIdKbwd/LHgsWmZhx8ndzgfbp8yf+JJQ== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1646224647; a=rsa-sha256; cv=pass; b=p7pFjFMLYmWcF4L6EBymbR0EDtkGgxakQKgHSr9hHB2LMnfKvNcST1r/XCJlV2m5lLW7Uv jLSZy4DGZBKeUcEiTCC7OBnKTKkQgMwM+dw6jdTRqnH4msxAvOfZjCCcuewP1TQ27v2Zqc u3YYFLiWweZ/wa0SIyOfNUkfFOXbxLaB+8uu7Dyw7W6jC5OaI5GGjdVKec+BLEs5qdguIW tlJtZmJQlHG5feaClKE/G7XbldrSVteqS6t+9gh0TthpKCueCqftUBzj8rRr1DzzOnaod/ s3bLWGrA3trgrISaIzKF/b3shGwjeBtoOgBlF4rlr778XW6ALFrA9t9/UOf/Bg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=DVh88PzW; arc=pass ("zohomail.com:s=zohoarc:i=1"); 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.78 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=DVh88PzW; arc=pass ("zohomail.com:s=zohoarc:i=1"); 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: 8BC19403A0 X-Spam-Score: -4.78 X-Migadu-Scanner: scn1.migadu.com X-TUID: ZSQ4uOke/4II Hi, I got myself a rockpro64 board. I put armbian (Armbian_21.08.1_Rockpro64_bullseye_current_5.10.60.img) on a microSD card to check that it=E2=80=99s all working correctly. Then I downloaded t= he latest Guix System image for a pinebook pro and dd=E2=80=99d it to a USB dr= ive. With the armbian microSD card inserted (which contains an old version of u-boot) I can boot from USB into Guix System. So I then decided to build my own system and install a new u-boot onto the microSD card. Here=E2=80=99s the system I built: --8<---------------cut here---------------start------------->8--- (operating-system (host-name "foo") (timezone "Europe/Berlin") (locale "en_US.utf8") (bootloader (bootloader-configuration (bootloader u-boot-rockpro64-rk3399-bootloader) ;; SD card/eMMC (SD priority) storage (target "/dev/mmcblk1"))) (kernel linux-libre) (kernel-arguments (list "console=3DttyS2")) ; UART2 connected on the Pi2 bus (file-systems (cons (file-system (device "my-root") (title 'label) (mount-point "/") (type "ext4")) %base-file-systems)) ...) --8<---------------cut here---------------end--------------->8--- The actual system also has one more initrd module, which I can=E2=80=99t remember now, but that shouldn=E2=80=99t matter. I mounted the target disk (an SSD) at /mnt, made sure that the microSD card was inserted, unmounted, and available at /dev/mmcblk1, and then ran guix system init config.scm /mnt This was successful. Unfortunately, rebooting failed. There is seemingly no activity at all when I power on the board, so something=E2=80=99s not right with how u-boot= was installed on the microSD card. Does it perhaps install the u-boot files at the wrong offsets? How would I begin to debug this? I=E2=80=99d appreciate any hints. --=20 Ricardo