From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8BZUE6KM8WCGCQEAgWs5BA (envelope-from ) for ; Fri, 16 Jul 2021 15:41:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id YAMLD6KM8WAPSQAAbx9fmQ (envelope-from ) for ; Fri, 16 Jul 2021 13:41:54 +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 8B02328FFF for ; Fri, 16 Jul 2021 15:41:53 +0200 (CEST) Received: from localhost ([::1]:47588 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m4O6C-0006EL-EN for larch@yhetil.org; Fri, 16 Jul 2021 09:41:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38716) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m4O3S-0003LT-7y for bug-guix@gnu.org; Fri, 16 Jul 2021 09:39:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39381) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m4O3R-00038p-Uj for bug-guix@gnu.org; Fri, 16 Jul 2021 09:39:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m4O3R-0003RC-QV for bug-guix@gnu.org; Fri, 16 Jul 2021 09:39:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#49550: Enable to boot from emmc on rockpro64 Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 16 Jul 2021 13:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49550 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: pierre.langlois@gmx.com, 49550@debbugs.gnu.org X-Debbugs-Original-To: Pierre Langlois , Bug guix Received: via spool by submit@debbugs.gnu.org id=B.162644272413188 (code B ref -1); Fri, 16 Jul 2021 13:39:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 Jul 2021 13:38:44 +0000 Received: from localhost ([127.0.0.1]:50927 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m4O35-0003Qa-EK for submit@debbugs.gnu.org; Fri, 16 Jul 2021 09:38:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:56862) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m4O30-0003QP-K0 for submit@debbugs.gnu.org; Fri, 16 Jul 2021 09:38:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38602) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m4O30-0001pE-Ar for bug-guix@gnu.org; Fri, 16 Jul 2021 09:38:34 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:57868) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m4O2y-0002qc-4H for bug-guix@gnu.org; Fri, 16 Jul 2021 09:38:34 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:21:21:0:100b]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id EB9841A9FD; Fri, 16 Jul 2021 06:38:26 -0700 (PDT) From: Vagrant Cascadian In-Reply-To: <87eec2m2f7.fsf@gmx.com> References: <87eec2m2f7.fsf@gmx.com> Date: Fri, 16 Jul 2021 06:38:09 -0700 Message-ID: <87sg0eqszi.fsf@yucca> 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: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626442914; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=1H9YZoTebwyLg8l16lMrTAVQHwxVLHnUCbDQ8sO9ZRM=; b=YbmJS5CTFWDrbgcaloUGkW5o1xocl0rSn0XwgwawtQeCCaQImbO9gbRxrg9nr4YL+webIK Svw+/3w2n2upKhGnxkdNPG/nP/1GucE/MRtfEaHXLDeoxmxwVBQLzxwcZFE5kI+OibOK0M f5zjWrNu6tswg/ZX0Hyl2KhubwakEpTMG0xlnFtHWJ/naUoybxED0TDeIIj9ILqPQhSTVW rRgYiLfFRtzhUpvo8Zy+ZspMVBemJ9U8dq+cPY3tIh9i7j1k4YRt7wSX6xRHgnPt3oCCom Rck1tlZhq6P7q2usegWiCqlglSA4otuymIiWWvsD5hi8exSv6rJbSKgFbXQO3w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626442914; a=rsa-sha256; cv=none; b=WwEcQRrUn3qk3kARtYNimaubKakjIrlfLwSww+ms9ADFdI7FjeguEkAgUFjUZfvs9JKDaY IeYjuNKUHGfkGDt8cKaQsB9ea2l5JUeHkBwmjp1vaO0krc02Kbc95m0jHXfGi7hxWzi/O9 OzPX4CNMhRd2Qgcnqkf6GLXrSsGqgTLcd+Bx/m6ItIXQ3Q4SKWUY6LPvBtFTJFCWAmXYNs sxfh5+pb48LhfuCVjqooTmH+XWcnTLOHxtf027hH9FYpJUWKT8cfgclUpKT9RDbsaEs5YJ t4JcssXZ1DD4Kc/pgzDeFbhnoB/UlHxVaEalm1FTjCpUcDIH81fpHkU7DdCA8w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -4.01 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 8B02328FFF X-Spam-Score: -4.01 X-Migadu-Scanner: scn0.migadu.com X-TUID: h7S76eKk6KXt --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2021-07-13, Pierre Langlois wrote: > I'm afraid since commit 3a851d45576e046d696fcf35b34d57b2cd28ea49 [0] > I've not been able to boot from eMMC on the rockpro64 board, it freezes > before loading the kernel. Re-introducing the work-around fixed the > issue for me (see patch attached). > > Did we mean to remove the work-around? I'm wondering if there's > something I'm missing, or if I should instead boot from a USB device. I definitely tested this on pinebook-pro and probably just assumed it would also fix the issue on rockpro64... > I've also updated u-boot to 2021.07 but I'm seeing the same boot issue > so it doesn't appear to be fixed upstream :-/ > > Anybody know of any other work around? If not, are you happy with the > patch attached? I'll try to test on rockpro64 and see if I can confirm the issue and your fix... live well, vagrant > From f3c647bb447706f465a3fb4b8d6e09cd089dbed9 Mon Sep 17 00:00:00 2001 > From: Pierre Langlois > Date: Sat, 8 May 2021 16:19:23 +0100 > Subject: [PATCH 1/3] gnu: u-boot-rockpro64-rk3399: Disable USB boot. > > * gnu/packages/bootloaders.scm (u-boot-rockpro64-rk3399)[arguments]: Add > 'patch-rockpro64-config phase. > --- > gnu/packages/bootloaders.scm | 11 ++++++++--- > 1 file changed, 8 insertions(+), 3 deletions(-) > > diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm > index 742992a119..75705a27c1 100644 > --- a/gnu/packages/bootloaders.scm > +++ b/gnu/packages/bootloaders.scm > @@ -12,7 +12,7 @@ > ;;; Copyright =C2=A9 2019 Mathieu Othacehe > ;;; Copyright =C2=A9 2020 Bj=C3=B6rn H=C3=B6fling > ;;; Copyright =C2=A9 2018, 2019, 2020 Vagrant Cascadian > -;;; Copyright =C2=A9 2020 Pierre Langlois > +;;; Copyright =C2=A9 2020, 2021 Pierre Langlois > ;;; Copyright =C2=A9 2021 Vincent Legoll > ;;; Copyright =C2=A9 2021 Brice Waegeneire > ;;; > @@ -931,11 +931,16 @@ to Novena upstream, does not load u-boot.img from t= he first partition.") > (substitute-keyword-arguments (package-arguments base) > ((#:phases phases) > `(modify-phases ,phases > + (add-after 'unpack 'patch-rockpro64-config > + ;; Fix regression in 2020.10 causing freezes on boot wit= h USB boot enabled. > + ;; See https://gitlab.manjaro.org/manjaro-arm/packages/c= ore/uboot-rockpro64/-/issues/4 > + (lambda _ > + (substitute* "configs/rockpro64-rk3399_defconfig" > + (("CONFIG_USE_PREBOOT=3Dy") "CONFIG_USE_PREBOOT=3Dn"= )))) > (add-after 'patch-rockpro64-config 'set-environment > (lambda* (#:key inputs #:allow-other-keys) > (setenv "BL31" (string-append (assoc-ref inputs "firmw= are") > - "/bl31.elf")) > - #t)) > + "/bl31.elf")))) > ;; Phases do not succeed on the bl31 ELF. > (delete 'strip) > (delete 'validate-runpath))))) > --=20 > 2.32.0 > > > > [0]: https://lists.gnu.org/archive/html/guix-commits/2021-05/msg00085.html --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYPGLwgAKCRDcUY/If5cW qiCoAP9ecft7QapctWsrlaQ2UVnmfgPkjSoygUy4uYkSjSJ5BwEAofrNpUXAgCe+ 3eLyKyb0pLZJ6y61gip9EVZAWjK77As= =aq0T -----END PGP SIGNATURE----- --=-=-=--