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 cLyfFcj1MWK/agAAgWs5BA (envelope-from ) for ; Wed, 16 Mar 2022 15:35:52 +0100 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 uKd0Esj1MWJ8cAEAauVa8A (envelope-from ) for ; Wed, 16 Mar 2022 15:35:52 +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 DA9143A1D6 for ; Wed, 16 Mar 2022 15:35:51 +0100 (CET) Received: from localhost ([::1]:37054 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nUUkg-00054t-Lp for larch@yhetil.org; Wed, 16 Mar 2022 10:35:50 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57682) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nUUjv-00052R-Fp for help-guix@gnu.org; Wed, 16 Mar 2022 10:35:03 -0400 Received: from [2607:f8b0:4864:20::f2c] (port=42873 helo=mail-qv1-xf2c.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nUUjt-0008Jb-RV for help-guix@gnu.org; Wed, 16 Mar 2022 10:35:03 -0400 Received: by mail-qv1-xf2c.google.com with SMTP id e22so1941889qvf.9 for ; Wed, 16 Mar 2022 07:35:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=ijr4DiCjR6gO/38f95Rn2IQOh8HwXLQMIY9YvqenLCo=; b=SqFZnyYs4AFAt+EY1yhELh2rGcZV4WPiB/texZvT7uQ/OUVxRP7PjAdJBHYg7FG7c3 /b0YFwGe/5ITm1BLheJ24zvY1dC7vxuQcXgf+Gxk2kejar6/ZRB6/7d+heiSQQRFAPNN rlb0zakRnFdl9FWd+GBb+vIGHAw70F5dRLYBNIGKoPQR2Yzig/HatjdRZztioHppfK2/ IjgRMlBJWPIv31Twe0hu3AlHK5NGSaqwszb4exuTtIiqxkRmpaPbn009HqJgBVjIH22L u0jB4LvoenghXa3zZWdy6r/NrvPClHeQT3TomNyHSOab2OL2vxth2ZuSMjHhPzxhH+4p uGxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=ijr4DiCjR6gO/38f95Rn2IQOh8HwXLQMIY9YvqenLCo=; b=6lLor6e6d4YIDENNKt9NTgIGoHBFKMnQyeR+3JzYDvdkZZjO3h0apeLkFw/Tay4sVE Nc8m3FtAMgXrS5f/7GKBffrKDySbzAPvCieOijgELrSHZG1XKpf8IHOoNKd1TLWKv3lI Suac1uOumE8sKdY+QLcu/iUBtdM7jbkLryThl/nk//thWZTcfy6IP7njFoMDOpiukMRC ne9xcvkh+bt5QLhrbaETK9z9up9AbJDqC5SiZKkJJCTsc9gRkVCkTLvL1s8XSKVB0LGu Bui2/TxTBuF/+xWoXyWJZoitIOeLrtmSfPntBzz+9EGgGExlei9vHcO/+O4GXEuMcNF5 htFA== X-Gm-Message-State: AOAM533zs2FsqpCUV6+pa1NX2TEW28VTZm+CfReiSU1xW0Bz5YXeWZJi zsuTQQi/iMf9niHkCXHi7tKMaPf9EVs= X-Google-Smtp-Source: ABdhPJwXzSp/30TDB13z6ZUbQTV4XvCYKCe6i9qXK5XDGMD8Ir2+C+RL1BTy548fRpj6jKW5cTupPA== X-Received: by 2002:a05:6214:27e2:b0:435:c330:a569 with SMTP id jt2-20020a05621427e200b00435c330a569mr64913qvb.35.1647441300210; Wed, 16 Mar 2022 07:35:00 -0700 (PDT) Received: from hurd (dsl-10-131-58.b2b2c.ca. [72.10.131.58]) by smtp.gmail.com with ESMTPSA id de26-20020a05620a371a00b0067dc7923b14sm920830qkb.132.2022.03.16.07.34.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 07:34:59 -0700 (PDT) From: Maxim Cournoyer To: Ricardo Wurmus Subject: Re: cannot boot from microSD card on aarch64 machine References: <87h78g1qu5.fsf@mdc-berlin.de> Date: Wed, 16 Mar 2022 10:34:59 -0400 In-Reply-To: <87h78g1qu5.fsf@mdc-berlin.de> (Ricardo Wurmus's message of "Wed, 02 Mar 2022 12:37:53 +0100") Message-ID: <87r172aru4.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::f2c (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::f2c; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qv1-xf2c.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 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, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: 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=1647441351; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=ijr4DiCjR6gO/38f95Rn2IQOh8HwXLQMIY9YvqenLCo=; b=SeLBrNuPJSRSylOcF2eO6WNvFdP0VwOVzNFFIbhrCq7Bk3NcpCtz3dbaShxW+65ygpgypD j4+Y9HjB06KhdYc+qrtZ4VcfZNLyMU0kbTPZB2F+uIfa/EEL4TBnz0OTMGzlkuk6jGmftc JsaRG9qz/e+ql/lgpkKRcTFy7Fctt/l5PNX+/Vb1ZFG15DiAR7mUKb6J+PcbbDsIcUKwyC jXHV7Wt1/QLGvzbdD2fxpmdmziSiYashmVbP7RuCBEoIitOAKVs4bND5LB0QlxpG3KclDZ LZvQtlDwGfdch/OPzyD3CjgV5ULycvwnzY5oRi+pXUZpyXrastmSZD0lWFzUfQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647441351; a=rsa-sha256; cv=none; b=HTjAAMe/BXk97CI/pEqqPbYrzgNEBgmI7Sgv5Ybm0Ojn0R0s0Qa4W/HqdMt40pQUfXH5mi 6ZpKeTrS4d7jVuuxbVAKo7rg9Z0hI33A3JcNC7wdWZqMMEo4fBGrvr8+wogJzG6fNrGg4J jHaIXrfESMqGedU2R4SDjQqmXim/iomZNS1tHRynHyZrsM4gVtoydC+HyvFc508US53WRq fejL+hJMZ2q+rG3rR8Euig44dhuSSUii8HdDlGlCyFBj9Cw0Cdg9cvS2fWyUwzXOW3XYin ReSZdGUubHbjowweJJW0vTUTMUPhWU1l3D/3QPSxTzmzdUjdq8BvIvhpAop0CA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=SqFZnyYs; dmarc=pass (policy=none) header.from=gmail.com; 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.16 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=SqFZnyYs; dmarc=pass (policy=none) header.from=gmail.com; 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: DA9143A1D6 X-Spam-Score: -4.16 X-Migadu-Scanner: scn1.migadu.com X-TUID: JNS2EGRjo73s Hi Ricardo, Ricardo Wurmus writes: > 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= the > latest Guix System image for a pinebook pro and dd=E2=80=99d it to a USB = drive. > 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: > > (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)) > ...) > > 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-bo= ot 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. Sorry, I don't have any clue to offer, but were you able to solve or workaround your problem? Thanks, Maxim