From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 QBpjAVy4H2L+3gAAgWs5BA (envelope-from ) for ; Wed, 02 Mar 2022 19:33:00 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id +G9OOlu4H2JfDAAA9RJhRA (envelope-from ) for ; Wed, 02 Mar 2022 19:32:59 +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 770A212807 for ; Wed, 2 Mar 2022 19:32:59 +0100 (CET) Received: from localhost ([::1]:39182 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nPTmU-0002zJ-5r for larch@yhetil.org; Wed, 02 Mar 2022 13:32:58 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33354) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nPTZR-0005RB-VX for help-guix@gnu.org; Wed, 02 Mar 2022 13:19:30 -0500 Received: from cascadia.aikidev.net ([173.255.214.101]:40670) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nPTZP-0001lM-P2 for help-guix@gnu.org; Wed, 02 Mar 2022 13:19:29 -0500 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:20]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 384EF1AA6D; Wed, 2 Mar 2022 10:19:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1646245164; bh=mVt6QdUnnGvXONVeGxSxys9Z1hUNigv4z156t4mFv5o=; h=From:To:Subject:In-Reply-To:References:Date:From; b=V9YOy/na5TQbOXIdp9o26mVb4wLBoql7gWNcDf9NvOP3KdF2KQ5IUjbny4eBz6atu tgLwtPy7xXNBS4Qrvv8ykrB6pLoNxqly/skjSrT7XOP/tcOs+RC8NKQR7r4Yq1Ta+S ZRe55OdfPwTGd8/70qPvcyK+pW1DEHBbcbpWf+MqWaxRGziGvlLM9Uh+Md7YhAtM/9 8ou13zsV7UX4JWP3E4kyZrUZpofo4pH7f3QADzFVmdxxYUCZ4YhByVtO/Hga6iN9MJ F7Yoxu0FnBoqObC7FvSKxnK+bKpqb8KUMjhhqJ1sfFbIpeNYkC1y3/bbsxZdksaGJS 3PZMDrH+1V4Hg== From: Vagrant Cascadian To: Ricardo Wurmus , help-guix@gnu.org Subject: Re: cannot boot from microSD card on aarch64 machine In-Reply-To: <87h78g1qu5.fsf@mdc-berlin.de> References: <87h78g1qu5.fsf@mdc-berlin.de> Date: Wed, 02 Mar 2022 10:19:20 -0800 Message-ID: <871qzkfc9j.fsf@contorta> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: none client-ip=173.255.214.101; envelope-from=vagrant@debian.org; helo=cascadia.aikidev.net X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=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=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1646245979; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=RWbzfHzXb55AS3EJp5//71krr3KMBBQxdQhKe49EZow=; b=P7CGfFZyoW6mRwHBYQRCiVqpKzfYGk4Rmt0Pbisebhos+utWExCZuIky31eyoKWNNO14qe hg/3neF0dOW4ryw94M9qneNz6jD8Rjel+njsoCuU+e1uiBmP3lcFA2FVehYxvgxJkUopWv u3uuInCQJFv63vz08SsCRgPGVcWYPcP8mkC5hi8p70xqRi83Mx3ZSHSoF5WH0krXZEpC+Y q+Y0tiQ198tuyhe7vYTLApNO1htrGY11q3MctgSWxMfVPEpr4mD1WDTHdX/zWCvs3qUhOG 7zx0rHNH6NppMNEGiGHD2mkrhd/BFzA1T/YeECVQzUzaS174dKW8NtC55hnbWQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646245979; a=rsa-sha256; cv=none; b=FNymLquOVYfH3Uf99smfErmFO5wAP2NW5V2ZCp0nbTRde3Nez+HkkGBSfHADEGAzBR9J1R q52vUarps/xttSsSgeSYcyNX3WnAZwoEuayIwv+fZQJwUoxUwSnioROs9ns/avTRKPU5wd bnMjhSPGl826LXL+waGqiLtzD1YuT4z2/I50wUPLQD9SsHPrzS7+BSw14TTeVk+IyZaFWg xObYo7OD5VXv8S7CsTdhmKbD/e5kd/Ysz1kBSz9aW/mMXFLgECgUBcZkFxR0DjauGQLjwB uLm4ePmrd2dM3xiLvl9SQmGtGwELh4bpB0zqkg8NyLxccIVtek6bYwBkATuCog== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debian.org header.s=1.vagrant.user header.b="V9YOy/na"; 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: -7.38 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debian.org header.s=1.vagrant.user header.b="V9YOy/na"; 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: 770A212807 X-Spam-Score: -7.38 X-Migadu-Scanner: scn1.migadu.com X-TUID: 6/jhJ5GsVuqI --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2022-03-02, Ricardo Wurmus wrote: > I got myself a rockpro64 board. ... > 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: ... > (bootloader (bootloader-configuration > (bootloader u-boot-rockpro64-rk3399-bootloader) > ;; SD card/eMMC (SD priority) storage > (target "/dev/mmcblk1"))) You need to leave a pretty generous gap at the partition table of your microSD, either a GPT partition table with various partitions for the various u-boot bits: http://opensource.rock-chips.com/wiki_Partitions or an MBR partition table with the first partition starting at sector 32768, and the previous sectors empty. Otherwise, the u-boot installation may clobber parts of your partition table or vice-versa. Also, if you have a different u-boot installed to SPI or eMMC, those will take priority over microSD on most rockchip platforms. > (kernel linux-libre) > (kernel-arguments > (list "console=3DttyS2")) ; UART2 connected on the Pi2 bus I assume you're using a serial console. The rockchip platforms usually default 1500000 for baud ... usually I use: screen /dev/ttyUSB0 1500000 Oh, now that I think about it, you might also want to set the speed for your console in kernel-arguments: (kernel-arguments (list "console=3DttyS2,1500000")) > Does it perhaps install the u-boot files at the wrong offsets? How > would I begin to debug this? It is also entirely possible something is wrong with rockpro64 u-boot offsets or u-boot itself ... been a while since I've tested. live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYh+1KAAKCRDcUY/If5cW qo88AQCMVttunUxIbjgOuUKzQuJ9Ph+pvJ0o/l+vMVDZCaQHXQEA0jSrIHXqgVDg xnlv6r2AhpTP6tILRyUMt9PC8sCKSAU= =UDLV -----END PGP SIGNATURE----- --=-=-=--