From unknown Sat Aug 09 18:42:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49550: Enable to boot from emmc on rockpro64 Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 13 Jul 2021 19:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49550 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 49550@debbugs.gnu.org Cc: Vagrant Cascadian X-Debbugs-Original-To: Bug guix Received: via spool by submit@debbugs.gnu.org id=B.162620501226360 (code B ref -1); Tue, 13 Jul 2021 19:37:01 +0000 Received: (at submit) by debbugs.gnu.org; 13 Jul 2021 19:36:52 +0000 Received: from localhost ([127.0.0.1]:42069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m3OD1-0006r1-Hq for submit@debbugs.gnu.org; Tue, 13 Jul 2021 15:36:51 -0400 Received: from lists.gnu.org ([209.51.188.17]:58344) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m3OCy-0006qq-9S for submit@debbugs.gnu.org; Tue, 13 Jul 2021 15:36:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53722) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m3OCx-0006kR-Px for bug-guix@gnu.org; Tue, 13 Jul 2021 15:36:43 -0400 Received: from mout.gmx.net ([212.227.17.22]:37467) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m3OCu-0003Rz-VO for bug-guix@gnu.org; Tue, 13 Jul 2021 15:36:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1626204994; bh=mKSYD2f/eeY7bdjrY7wYNSTsZDrXiBCCE5TUemXFp6Q=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=JsG74SqewEgqnk/in7UZzNfQdK4xKcgO9xg7mt9Lok3dgaJTiWbBg2xEsNpdLy9E+ cj0dO3vVPCr9/VqcJMD0A+JiWSNqlLk5Vy01IkopNBPgxLRs/g2SZOwU6j4ZKPW9RO Hpcm+FxRI8tkOanviR+JlxluXSmP9mzfGN3kVs0g= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from labiere ([82.69.64.142]) by mail.gmx.net (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MPXhK-1lqgc40KjS-00Mcfq; Tue, 13 Jul 2021 21:36:34 +0200 User-agent: mu4e 1.4.15; emacs 27.2 From: Pierre Langlois Date: Tue, 13 Jul 2021 20:36:28 +0100 Message-ID: <87eec2m2f7.fsf@gmx.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K1:MZDsHDAt6ZWvpDaqOHZyM8bmm6gs5OkAzUPrqwi6lNWkezQqVLH JoR/sI6DZjPuuZKyk/VbxkmaiBjOThf7t1bzP4d/LDqYSEbgpKjQ7fFx6FvqYA4HEvEtIBY +NXV60JmuWBkAKRbFaypO5oEuvu47yb6mFsvVkiKvSB7atEz8BXDIaQ+ZUJXafpOb9tppfy mCCvfwu+fF7ozRWGA1AGg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:hkhfhrRXSkA=:3bdQNvRVkhB/gh88cWUtSS ME4Ws3hUwE/KSIkqfzmBmT/5m5p145zb4TXAmNLBzsQy/jdkycBj+1x95LrwGWgj3cGIifq00 hMV32mCPx92viXXdLhBZsKM9Dwx+wUMG17pnVrbwP5krKtJu89EIPcmKcvZwPT3kyLnHB8KEi lBBjSn53iY1JE/GH817QcYm9PU56vhimUO4L9UnljbGjZeeWptGVMsuf1RVBCIFJ9SaE1nOZm tL6zsYQJVTbGVdxu56AkwKBwj8QhHtKgidDvJfH8Oxq+biVxaFaUJRRmL6JRN1nOtVWlEZy5Y 4+FGeAlFq+Qa0Zdu4uoSeQYq+Ic0ej1RTgheLOfN4Sb1TNP8xux8e/7h/XYvKjKEZvb38PAQy z2ysdTAgRgREWabh3vmfKo45qL6aIzQmB//UGkfuyRHw81HaG6iEfnk3tHsiZ7oj7tBxzxhzJ wz7wW0JNw4hPRmRC9Hvm1EvydIV9AhuHQlHac+RXV3F5dQpZYhp8OYTxLdo/F6KgW3Pfj1BMD Qt0Ge9g5xeau6FvDOBxPUjTPi8nVVomYUTUFo394npSZtFJzDaSw0QUmcQT+dkK1F1cZ1A5nR Usnc6/eo7FpTd6m5HjmMuq6YBkaRI8ETKxyFYZ/iMrz8zwHLnyj8GnbYPal7vibDEoIMvTC2w jYWzgNu1J3bX+IfUh/SmcrteBaS3mfZWB3GGd/vlE/Dzqc5USzKGGGC1+Reqhzw0xy1qoiJGk 87G+OLtfXhuq1BdRpzRbKYprNPMXY+eBYmkGNaG5/bnRYk2gJTPCRfgnJLoETzQqgFRDOucrK VqCbhG8LpSq+EMXgtwaD0/j0rAQvrlCQgaNJcN2ILb6srY9snc7tudwoto4GENNEjNEfS9SDe 5VhrN6ZQZhCUGrDD4avTymmGLN/waaqUutYtHYcddznpdnflZkqUaVQQOl71hRt6/cboSlKjN hooONtRVQP5elHOPLt7218UadEMynby4W1SvxGCkrA855Exar+OT9mdMrl3XJUbm9cc+xdPAK 3xCgSI/ISX1eGA5vFtHRlm33UcGGFPnlh4aUt5F/BnLpHfIyoL3pAW2o/RffqDDuHgpWr5r8U APanj08UghyQhXaDM/GTxMOJ82din1y5D0OTbTv0Ol2Y1V7vD3mQ99umg== Received-SPF: pass client-ip=212.227.17.22; envelope-from=pierre.langlois@gmx.com; helo=mout.gmx.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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain Hi guix! 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'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? Thanks, Pierre --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFMBAEBCgA2FiEEctU9gYy29KFyWDdMqPyeRH9PfVQFAmDt6zwYHHBpZXJyZS5s YW5nbG9pc0BnbXguY29tAAoJEKj8nkR/T31UtnwIALHiwVWGuADwCLuoZkP9TERZ s1aXim4QFe5Vaqd/5XKbEOqSwTNHtZ+pwVJCwJdUdME8hA87UPL89Uwsxh6xf3Of NzBMP8MFtSTa/4VZWxy/VnpUaVix6T7TbC2WjMIkjQR//FJfn3n5V/52wYw1pTaQ ruDj6+ARq7vXnKsHtAi/BsHv5sKBQDWDjFyLlfnDlv5Cxx1lIBDy5nz5h3afgy1+ ULphrTbXDy3mUeeOPhkp1Vhhdk5q3QWt+2chdi9V5NUKP6pxs+EDDnZYC41DgSYQ k+D+2ZcgCBhTqmSCdt5i8DC0QERh38X7qTc5V6WGyj60eiCl01v/AEz2lVLXYZ4= =wlaR -----END PGP SIGNATURE----- --==-=-=-- --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-u-boot-rockpro64-rk3399-Disable-USB-boot.patch Content-Transfer-Encoding: quoted-printable >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 the= 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 with = USB boot enabled. + ;; See https://gitlab.manjaro.org/manjaro-arm/packages/cor= e/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 "firmwar= e") - "/bl31.elf")) - #t)) + "/bl31.elf")))) ;; Phases do not succeed on the bl31 ELF. (delete 'strip) (delete 'validate-runpath))))) --=20 2.32.0 --=-=-= Content-Type: text/plain [0]: https://lists.gnu.org/archive/html/guix-commits/2021-05/msg00085.html --=-=-=-- From unknown Sat Aug 09 18:42:49 2025 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-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= 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----- --=-=-=-- From unknown Sat Aug 09 18:42:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49550: Enable to boot from emmc on rockpro64 Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 27 Jul 2021 19:30:02 +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: Vagrant Cascadian Cc: pierre.langlois@gmx.com, 49550@debbugs.gnu.org X-Debbugs-Original-Cc: Pierre Langlois , Bug guix Received: via spool by submit@debbugs.gnu.org id=B.16274141507426 (code B ref -1); Tue, 27 Jul 2021 19:30:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Jul 2021 19:29:10 +0000 Received: from localhost ([127.0.0.1]:53940 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m8SlF-0001ve-Uf for submit@debbugs.gnu.org; Tue, 27 Jul 2021 15:29:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:36242) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m8SlE-0001vW-20 for submit@debbugs.gnu.org; Tue, 27 Jul 2021 15:29:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33930) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m8SlD-0003Gi-N0 for bug-guix@gnu.org; Tue, 27 Jul 2021 15:29:03 -0400 Received: from mout.gmx.net ([212.227.17.20]:35421) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m8SlB-0006V9-4V for bug-guix@gnu.org; Tue, 27 Jul 2021 15:29:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1627414136; bh=IszRv1fYkQarub9tPxe27ffDYQjH7vJtYzn2BXLc/48=; h=X-UI-Sender-Class:References:From:To:Cc:Subject:In-reply-to:Date; b=jfLjv0yb/YhfbiLM9NChQTdYFLEpLUKLiB3trTMxmY4VHGIL48OoEmbqFlBpwz3ae ziwcjwSW+oBIRar0qucOOdEJL+syO9Nhv32gXneppGG6LjPEzudrJDg8K1xEgKh+3S VQRM6ZJ4N0s66WsyJ0EHg5B5YiWJK+Q/UADJMjWQ= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from labiere ([82.69.64.142]) by mail.gmx.net (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MVvPJ-1maCLN0FoD-00Rm87; Tue, 27 Jul 2021 21:28:56 +0200 References: <87eec2m2f7.fsf@gmx.com> <87sg0eqszi.fsf@yucca> User-agent: mu4e 1.4.15; emacs 27.2 From: Pierre Langlois In-reply-to: <87sg0eqszi.fsf@yucca> Date: Tue, 27 Jul 2021 20:28:54 +0100 Message-ID: <87bl6nh7yh.fsf@gmx.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K1:eECCH828LkiaPoYndn88wVln/Ap29F+4EmPmFC4TQkmbODzLTth j5Q3Cz5+RYxPdVKd2yNEoPo8sqsC9s1W43wW3V3aRuHf6YQRVOiD4Kakmc31G588HoDX9Wz tyl34tWAT2mczQbt7CMYBwepU0m30rJyjNwpjXr1ur3tGvlp5Us5TVgJa9Uy+GuoB31wKaC ktq5pTizHE5pMl0pFH85w== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:x4foel791VU=:t1GYyQDIGMB30w4OrM9D6N nEIn+tgUNdTQzi4W2WJYH/3++7xQmhf3qB41j7EZGLYbnqlvaW8J3wMQtlNRtDKps72U0e2EL 3Bx+gN3tadAr4nSwdbTcROVFdq5/tW0rsuo7d6vczI/2v/Ws5p0pH0VapZlJyAGeCa0LOCFln rxr3IykHylC1EO5l33Mqc96a1PTIx/yh13sfKQZaR01h5eT3CDej6ItOauitBWq3xAUKSWzrB Oj323chUC4U6MhSF53SHXFO7fFRjm4tKIBI3lpr39h+OJB+Hyqeloz39GFgyeospwhWE8RD1J 53vDd47q4V2mnZyZRpWe1uttEPBKVUA1WpiU13kvIa0NOfHXUglp65VipMwEz7LsnKqy7JpI/ LpAp3YlgQ0sRKmIB3PdYR7CSnXuGYYkL/wlKZgk6z/QwCbHFmIzTW+bR+X/YfpspF/FTcb0Xj OqCYWRNIBKMv8Rl+80ulHSZEnF6vIVaoIm7K8o0kTwwAT79m5yFPHfGp3WWGasI4xF23MdWaM jFcc03bwxkyqxdPVyWfNunTKRYtqajqANBksb+81Zdz+2F0SatxdEUL5HFZW+PHimwUh04jib CBt01xZ5KH718VFDrrMWgNdQLRugBtV5TobC1xpn1/PoAGblD8PtW+pe8DOkkv8U7kS8g54Zg wA9evDH6aHngXu8WAUS1p5y1bfa81qHa6jQvLSVlJwK4VYRt6ETcoQr4Edry5fRCi6dAbOfDy crm8GEYybdiuzd8RgIYidYW1IbLpxR04geLl35iRPf8RG8uOgXFtA0MoD90+gbgLq2Y/C7zEt GI9VI8GQekLO9Lgy9IWke6TObIzbuajTvtPm6mQ8UbM6MeTIF91UcilhHZxLwSO4AIDf0UJK7 cQhRVEnkWRzav/FS06AapkkgZBVrnnYj2+74fprk5iZOsl7EtvPP0nb7rZHuiRnxWpS8JgWt1 60VWbop4m0m0yEXv9LnqtemoFCgr14QwTr32MvIRn45SRYL+2/eRYgWDdifqm7mPbgJdkMk8n R5dBY6kmcgUYqUDFoK4Nd1/YEPOl/S021q61hcb7ByvKOhL11Xj6Q/8vfTErB4FfqmyACHKNW rpIL8C2m6ZnZRzKo+Hi/bjaQETg+2QihMgtpQZComEPWnOWdZm+4Rv+Uw== Received-SPF: pass client-ip=212.227.17.20; envelope-from=pierre.langlois@gmx.com; helo=mout.gmx.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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Vagrant, I just had a break-through with this! See inline. Vagrant Cascadian writes: > 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 = the 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 wi= th USB boot enabled. >> + ;; See https://gitlab.manjaro.org/manjaro-arm/packages/= core/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 Wait a minute, there was a bug here on master! The 'set-environment phase runs after 'patch-rockpro64-config phase, it should be 'unpack. This was the reason it was hanging on boot for me, it wasn't to do with PREBOOT, ah-ha! :-D That's nice, I was really confused about this issue, thinking I maybe had a faulty board. --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFMBAEBCgA2FiEEctU9gYy29KFyWDdMqPyeRH9PfVQFAmEAXnYYHHBpZXJyZS5s YW5nbG9pc0BnbXguY29tAAoJEKj8nkR/T31U96EH/jYtucjdw1C1n1pn38aZP8/c vyuz97VcExdRHD5mw3XBwRsKV6AUh54rHGIRvmGds0QewzN3a+CFPbtEiDxprzqI Ar1no4AaNAHT04oiXsu/GSrDogRjsxQqdqA4lbMvQgzdpHTrVGCAsMo/N/NLA6is hk6DBEvRE0JzxnYvAtgMmSMXc/u2w+9py6V7lHm7Z0AowYDcsYzrruAbN9jspQc5 72/ZV6HByaVU1w3Ln4vSQSw6SYNUPfqZrO+1JnjADAIOxG13FbwzDuyPEi/ul7uD SZqtNR8y/U9LX68EG/CiEUVgrL7QHeSv9uJNR8VAbMgDWOVt7/N75sA2qLAX+MY= =qF+Q -----END PGP SIGNATURE----- --==-=-=-- --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-u-boot-rockpro64-rk3399-Enable-set-environment-p.patch Content-Transfer-Encoding: quoted-printable =46rom 055d1d358c55811cafd4c56b919865b75e59d936 Mon Sep 17 00:00:00 2001 From: Pierre Langlois Date: Tue, 27 Jul 2021 20:15:55 +0100 Subject: [PATCH] gnu: u-boot-rockpro64-rk3399: Enable 'set-environment pha= se. * gnu/packages/bootloaders.scm (u-boot-rockpro64-rk3399)[arguments]: Run 'set-environment phase after 'unpack instead of non-existent 'patch-rockpro64-config phase. =2D-- gnu/packages/bootloaders.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm index 742992a119..4f7a8853e8 100644 =2D-- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm @@ -931,7 +931,7 @@ to Novena upstream, does not load u-boot.img from the = first partition.") (substitute-keyword-arguments (package-arguments base) ((#:phases phases) `(modify-phases ,phases - (add-after 'patch-rockpro64-config 'set-environment + (add-after 'unpack 'set-environment (lambda* (#:key inputs #:allow-other-keys) (setenv "BL31" (string-append (assoc-ref inputs "firmwa= re") "/bl31.elf")) =2D- 2.32.0 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable >> (lambda* (#:key inputs #:allow-other-keys) >> (setenv "BL31" (string-append (assoc-ref inputs "fir= mware") >> - "/bl31.elf")) >> - #t)) >> + "/bl31.elf")))) >> ;; Phases do not succeed on the bl31 ELF. >> (delete 'strip) >> (delete 'validate-runpath))))) >> -- >> 2.32.0 >> >> >> >> [0]: https://lists.gnu.org/archive/html/guix-commits/2021-05/msg00085.h= tml Thanks, Pierre --=-=-=-- From unknown Sat Aug 09 18:42:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49550: Enable to boot from emmc on rockpro64 Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 27 Jul 2021 19:39:02 +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: 49550@debbugs.gnu.org Cc: Vagrant Cascadian , Pierre Langlois Received: via spool by 49550-submit@debbugs.gnu.org id=B49550.16274147128373 (code B ref 49550); Tue, 27 Jul 2021 19:39:02 +0000 Received: (at 49550) by debbugs.gnu.org; 27 Jul 2021 19:38:32 +0000 Received: from localhost ([127.0.0.1]:53977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m8SuL-0002Av-0i for submit@debbugs.gnu.org; Tue, 27 Jul 2021 15:38:32 -0400 Received: from mout.gmx.net ([212.227.17.20]:42119) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m8SuI-0002Ai-L3 for 49550@debbugs.gnu.org; Tue, 27 Jul 2021 15:38:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1627414700; bh=Oqry8MJTTeH5Mh0c+ySPagZV5oLrCSdYu2BcQmvL0DA=; h=X-UI-Sender-Class:References:From:To:Cc:Subject:In-reply-to:Date; b=FqRHLJtgk96NDQlfsfSzfE+hJLxxaYyZF3jyl5qRnAm/AtNZzfy0DSTJMhbNhEkm8 6j+rWAS8FQQQ2CbQGRj/OmBLcHcgDkcqj4nQb0T5+UxYuTWOuF/616TkCRWqm96dUF uINbO42bwWMfp1/AcHO6oPAWYaaJV4H8PtXOSB7I= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from labiere ([82.69.64.142]) by mail.gmx.net (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MbAgq-1mk0Zv44q0-00bYqd; Tue, 27 Jul 2021 21:38:20 +0200 References: <87eec2m2f7.fsf@gmx.com> <87sg0eqszi.fsf@yucca> <87bl6nh7yh.fsf@gmx.com> User-agent: mu4e 1.4.15; emacs 27.2 From: Pierre Langlois In-reply-to: <87bl6nh7yh.fsf@gmx.com> Date: Tue, 27 Jul 2021 20:38:18 +0100 Message-ID: <878s1rh7it.fsf@gmx.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Provags-ID: V03:K1:TOHKDNwza0p1SkOHjuOA8KlxFZlOziCxyWpuy1HGDDe5ye1nnZR F3Rnvya8qOfixpRf5TRv0XlVyaYqfNhFQEJvH9SVqNVufaIzOTkblyqBa1DJbOSi+fhvnGh fOWJfm7DCaoUck6Zjsn0oyt7+r+eFK2UPAOiIA8Z4s45gaammRW4klR4fXH/ThnO8V1Ih09 XjawIdbirnVvf9wFo0OkA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:THXMUBi1IoU=:2m1nAzee8ROqhgGlKbwmTN KxIzwH7+HUkbgMaQIPdb7LfWcyopoigObGM/Eaf9DcDOETRwYSariEKCyeXn/fBzaCUIVsV3h h8i45dE40MLtqr4et22ZsmovZv5QdBPnY7/fZz917LNjOumL060E2V6dL4d1dCE2eBTzS7TFs tiX51H2EpHh0r1YbWwwN7tgE5xAjrV/n+vqy7cBpNzV7nwQQc50u8JMzIWmThwiLpnXzvEpOu KF5JCyQfRuyOG10c//viactQS/9YZVjbnWMlgR34OGNJI4tuBjpFA3GBA1687RT+HdlmLXUEe Z3pDKTO6N1Ji0BFZ5a6jppW/wFldJas4t8fTzpov7ebzagP492DWSZ7xKLQTU15gYpP3NLfki oUnuyQd6sidyeuYnVesGogvkyjRtuDrvWSW6rSeC3YtSSCnFoaTKyCBHdfLe1fsY9ILhuAOuu BCqyT8oLFq/TOVZZF0hEzuz0vk6dObFxUlteM9rhjlQ8sbWRv/rWUgWv2PD83YEdS5tcUnA7E Gknns35Ik+/DPHl/iBdyuSQDRUbw9kQ8bsbgEZzVbMbhofo1G6dVu4QERfSFo5Y71opf3ZA5l ZH7chT/+zYuVb/QCIE+kn8LSrkr5BKI7uAAuJfOPtS8dl4dJPqCYOpJKdw9Kkb+5Wg44qMk0D jbny+bV40PGHeoo+7nf5WFB93m9Ytm1ferVeaTh+7zOr/x/GrOfzABrqOPnq4/FGSfyicEn+q fjT2yBbYOm2WpmH1B0vzck24Mf4JEYfUNsCQNh6Or7U590Plargpay9uly1N9Bsh/ccceIVAS e7KAddopPHU3NeeLuEEmnG303mrVXNB+u/KSmTf+efjF5rfSev3OT5av/7IX2kan3jFdldtpK gbvWflLPHMVqwVT83Vq0wO926jU6UTITFAtylhn4WAIQfCj5///fezLhKbMGuE4kjG24vdeLJ JvD/kcWNgmjxIKYfA0eCz7ifvlf9ieqThJfPcgLVglXcj9OJEsGu6e38fMbrSolj1jmK+wXpC kKOXaTPHop/m8LorY7mQNqS9oST1QZ+BzLo+HrzDF66DPkYHf/4gO4J/UfLdLaGUmfL6pvMMp w5hW+EPV8OuxhJ6Q1pnQbyUu0bscP6HhJmnXMJo+Ut8fs4aH6zzH4WBXw== X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Whoops, I hadn't realised the bug email wasn't included in the email, sorry! Pierre Langlois writes: > Hi Vagrant, > > I just had a break-through with this! See inline. > > Vagrant Cascadian writes: > >> 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= the 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 w= ith USB boot enabled. >>> + ;; See https://gitlab.manjaro.org/manjaro-arm/packages= /core/uboot-rockpro64/-/issues/4 >>> + (lambda _ >>> + (substitute* "configs/rockpro64-rk3399_defconfig" >>> + (("CONFIG_USE_PREBOOT=3Dy") "CONFIG_USE_PREBOOT=3D= n")))) >>> (add-after 'patch-rockpro64-config 'set-environment > > Wait a minute, there was a bug here on master! The 'set-environment > phase runs after 'patch-rockpro64-config phase, it should be 'unpack. > This was the reason it was hanging on boot for me, it wasn't to do with > PREBOOT, ah-ha! :-D > > That's nice, I was really confused about this issue, thinking I maybe > had a faulty board. > > > >>> (lambda* (#:key inputs #:allow-other-keys) >>> (setenv "BL31" (string-append (assoc-ref inputs "fir= mware") >>> - "/bl31.elf")) >>> - #t)) >>> + "/bl31.elf")))) >>> ;; Phases do not succeed on the bl31 ELF. >>> (delete 'strip) >>> (delete 'validate-runpath))))) >>> -- >>> 2.32.0 >>> >>> >>> >>> [0]: https://lists.gnu.org/archive/html/guix-commits/2021-05/msg00085.h= tml > > Thanks, > Pierre --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFMBAEBCgA2FiEEctU9gYy29KFyWDdMqPyeRH9PfVQFAmEAYKoYHHBpZXJyZS5s YW5nbG9pc0BnbXguY29tAAoJEKj8nkR/T31UuVgIAIAPwOeueBk2K/EhZqdWJN+v CCfDGU5YOZw/zYx3owgmOXYpBh4rVWV/JjUA6DQMxkIuR7q3ulyqbds1C0RIXml1 9kyhjFeg+xBTTp5vKWa6kFXNUVGMqamgrJkObJaVTaAUY89bZBnENEIWGjADBNXR ymh1Qpg6otssY1cuiim6W3641e+QKmYSrsCPAeqr7/bwqDqO+n+9Sy8sKwgpR8BO t+aJa1fPpXbuLJ2aYJfua8dNZOHMtUG4TARygEP4/hTY9FJKrIZo15weFUv8N30m sxnys/vIITuzKVQeZX+hCP4qvk/Z8xWQLj6Kob4ECxPqIYgPkQ0sQ4sis62JiUw= =Fq3m -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Aug 09 18:42:49 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Pierre Langlois Subject: bug#49550: closed (Re: Enable to boot from emmc on rockpro64) Message-ID: References: <87a6m24sna.fsf@gmx.com> <87eec2m2f7.fsf@gmx.com> X-Gnu-PR-Message: they-closed 49550 X-Gnu-PR-Package: guix Reply-To: 49550@debbugs.gnu.org Date: Sat, 31 Jul 2021 11:42:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1627731722-5048-1" This is a multi-part message in MIME format... ------------=_1627731722-5048-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #49550: Enable to boot from emmc on rockpro64 which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 49550@debbugs.gnu.org. --=20 49550: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D49550 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1627731722-5048-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 49550-done) by debbugs.gnu.org; 31 Jul 2021 11:41:57 +0000 Received: from localhost ([127.0.0.1]:33373 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m9nNN-0001JA-H6 for submit@debbugs.gnu.org; Sat, 31 Jul 2021 07:41:57 -0400 Received: from mout.gmx.net ([212.227.15.19]:56391) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m9nNK-0001Iv-Oq for 49550-done@debbugs.gnu.org; Sat, 31 Jul 2021 07:41:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1627731707; bh=5oKL4qL7do1bLNLZMytQpshSkL6NXsdgIhcIAYyla7Q=; h=X-UI-Sender-Class:References:From:To:Cc:Subject:Date:In-reply-to; b=csK0JVAEfz592lJc28YxbkjwvJlz3EdG6gMWxLxG2mSk5YvUeM7IIVruAKdG8zbs3 BhRwK+MZ0Qu8rtxTP08/Un6fwECo64ZyyhSrhHlrEoRB4h07SI9NhFB791G5wD22pT VlYnmV9fTDmjhlACbRIX9mdy8tCct3/OMHndYA9c= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from labiere ([82.69.64.142]) by mail.gmx.net (mrgmx005 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MbzuH-1mkVZE0pup-00dTeU; Sat, 31 Jul 2021 13:41:47 +0200 References: <87eec2m2f7.fsf@gmx.com> <87sg0eqszi.fsf@yucca> <87bl6nh7yh.fsf@gmx.com> User-agent: mu4e 1.6.1; emacs 27.2 From: Pierre Langlois To: 49550-done@debbugs.gnu.org Subject: Re: Enable to boot from emmc on rockpro64 Date: Sat, 31 Jul 2021 12:38:09 +0100 In-reply-to: <87bl6nh7yh.fsf@gmx.com> Message-ID: <87a6m24sna.fsf@gmx.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Provags-ID: V03:K1:QX+J3yxGwI9aKxK/A0Vf5+mXsVAIh7RJvUtj/biOvhqqJ7UmlnH 4iy7juB0sbBvvpKu3WH3oLsLiyvQVnOuL2LTx5k7KHm5GINEcjzKu6iZ8izBWauNKBF0IZP aB4biZ5Q7tTuJF4C97FdG1dGmmUn3Xy7vSl8ZD8U2f4I5C+0dW6gTG0sTKw4Vjnw+biuIif /ILRf5trAYxNkC0XX57uQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:UzaeE+Z2Mg0=:fGgBFzo1UdffnBRowL6dH6 zXPiZ0iNHjaVCv2bmXeqaCGk7k7E6kfnMM+s9zHHyUmd73sm33BWWRNaA+j56uSmOSW6MiTm0 c9tNTi5YZm9NevnM79oDU1JPbsJwXbZYvDo7q0iLLVO0JsiT3RAxsQjGZuiVFcSHu/0mgNcM/ DvFW7Fc0e7C7TlPRK8Emal457wLzz6AqDmqjN9gtjmbQrgjX73J/Xj/yH/EqhDa486J/3ktQI ymtidtVVH6uPganBjWzMd6PgGarD8oTrVhzt6QV+5R8e1n3WXF2BXOsVUs0EEdzduxU5RH2hH DlyFbFijZLNiESgtEc2Ym/Lb11UUVePFyoauvMnEnfMbeHdQS2JQAcJQFLhw+C/PvHkTJfOxP jSJ84z+HDpvrbmWllaj/SRCExO2NBEh3LyLTzeB4dSW42GJSSLE48F4VWhMsrqTsobOigpvnP JZ+KYPUtNVjwEn2CB/G0RtP3GKdqBx/FMt2fFp3mLVEp5M8aFUejsmVRaA6Kfy/QFUxkN6lLr y+cx01vysjlFf/K2BpqOiU+sKYWlwKNIOFgkUlgxf1YpFr2WkYj8beXTS8Gb47G/6Z2tIQ1Gn MU++RSwcoLkBN4BdjoM0qaJ0owk4HZ5h2RPnxLoqFODv0n8aBbHTqD68Z/2JtkaoU0xwGDVAH UCPjzqLUSLLaVLD2A7vLWGYukQ+hHGo08+auC7KI6vo1pkwaedbX61mGq/RqwdiKN7aJhRUa0 H6X5xj0y6FP7SYVb+wxZ6n8HcAikECs2tECsnA4G/9KQXnkSmgoCEXbRJO6R4WHnmHIrrBUsY RtS1p8Jl6j1FFxegA1jo+1nQeN3Z+1alQdpBb4xgXTHb3AZJz96+HClwnGFmv/5AzMxVoU4AS SSeAex/VRk1sxCQLHcCALbZ5cEKDpfX8+9jRpi+O3k0hpd4qSWa8ItA3hLO6eRofOWbg68HFR xwDRRpuHOzSCjwE6a8du6HaGNtP9zhKHc0r8yFtM+IgXbDmDf3zMUysjTvWPH4CE/uuLBVNtg sqUsVfK6NfJtAqinbI9gkr+rOHjEfX0j1mOR1ZxVuJ19Jv/uehUt0PnrDvVv8vrdnk8wtro3l Pim3rv7l7vOhXoY1E4ZGIjuf4Q69NqZpovXYrWVtPQLfNsNdl/Lw/6X9Q== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 49550-done Cc: Vagrant Cascadian , Pierre Langlois X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Guix! Pierre Langlois writes: > [[PGP Signed Part:Undecided]] > Hi Vagrant, > > I just had a break-through with this! See inline. (snip) From=20055d1d358c55811cafd4c56b919865b75e59d936 Mon Sep 17 00:00:00 2001 From: Pierre Langlois Date: Tue, 27 Jul 2021 20:15:55 +0100 Subject: [PATCH] gnu: u-boot-rockpro64-rk3399: Enable 'set-environment phas= e. * gnu/packages/bootloaders.scm (u-boot-rockpro64-rk3399)[arguments]: Run 'set-environment phase after 'unpack instead of non-existent 'patch-rockpro64-config phase. =2D-- gnu/packages/bootloaders.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm index 742992a119..4f7a8853e8 100644 =2D-- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm @@ -931,7 +931,7 @@ to Novena upstream, does not load u-boot.img from the f= irst partition.") (substitute-keyword-arguments (package-arguments base) ((#:phases phases) `(modify-phases ,phases =2D (add-after 'patch-rockpro64-config 'set-environment + (add-after 'unpack 'set-environment (lambda* (#:key inputs #:allow-other-keys) (setenv "BL31" (string-append (assoc-ref inputs "firmwar= e") "/bl31.elf")) Given this turned out to be a simple bug-fix, I just pushed it with adb84ae8ea95a6f956d81fdac0b5c6508024a541 Closing! Thanks, Pierre --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFMBAEBCgA2FiEEctU9gYy29KFyWDdMqPyeRH9PfVQFAmEFNvkYHHBpZXJyZS5s YW5nbG9pc0BnbXguY29tAAoJEKj8nkR/T31UufIH/RRhq625k9MbztShY7sksgFt Tcq4NE+FDuMRwwUg7CWyYiL6OFZjta9jq+71SjynLgkDKJu8aBYceBR0Z9/DeKT7 +uxz/CohqiVOi2XCdgTMKgZZMAiqzDuqTAGDsCtA0G/s57DEXfnl6UXf1duPIh+4 a1XAO6xv43tz9U8duyyCmHUBLQiYZiXCqwaPXMVeT8is0PJPmb+T9X8Jh0o6cSMi xNJjoMAUo7IKosfQwHglZ1jd/kRqFzrFAOK3BHru1rxIpz/31ZcAZbv6+W0Ybibp MLx9ol8KMlH1RKvk+Q0EWKY8sHYURcefmF3UX9c+B/nUGAnaQ/xUb9oi6yJsoeU= =iWE2 -----END PGP SIGNATURE----- --=-=-=-- ------------=_1627731722-5048-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 13 Jul 2021 19:36:52 +0000 Received: from localhost ([127.0.0.1]:42069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m3OD1-0006r1-Hq for submit@debbugs.gnu.org; Tue, 13 Jul 2021 15:36:51 -0400 Received: from lists.gnu.org ([209.51.188.17]:58344) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m3OCy-0006qq-9S for submit@debbugs.gnu.org; Tue, 13 Jul 2021 15:36:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53722) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m3OCx-0006kR-Px for bug-guix@gnu.org; Tue, 13 Jul 2021 15:36:43 -0400 Received: from mout.gmx.net ([212.227.17.22]:37467) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m3OCu-0003Rz-VO for bug-guix@gnu.org; Tue, 13 Jul 2021 15:36:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1626204994; bh=mKSYD2f/eeY7bdjrY7wYNSTsZDrXiBCCE5TUemXFp6Q=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=JsG74SqewEgqnk/in7UZzNfQdK4xKcgO9xg7mt9Lok3dgaJTiWbBg2xEsNpdLy9E+ cj0dO3vVPCr9/VqcJMD0A+JiWSNqlLk5Vy01IkopNBPgxLRs/g2SZOwU6j4ZKPW9RO Hpcm+FxRI8tkOanviR+JlxluXSmP9mzfGN3kVs0g= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from labiere ([82.69.64.142]) by mail.gmx.net (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MPXhK-1lqgc40KjS-00Mcfq; Tue, 13 Jul 2021 21:36:34 +0200 User-agent: mu4e 1.4.15; emacs 27.2 From: Pierre Langlois To: Bug guix Subject: Enable to boot from emmc on rockpro64 Date: Tue, 13 Jul 2021 20:36:28 +0100 Message-ID: <87eec2m2f7.fsf@gmx.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K1:MZDsHDAt6ZWvpDaqOHZyM8bmm6gs5OkAzUPrqwi6lNWkezQqVLH JoR/sI6DZjPuuZKyk/VbxkmaiBjOThf7t1bzP4d/LDqYSEbgpKjQ7fFx6FvqYA4HEvEtIBY +NXV60JmuWBkAKRbFaypO5oEuvu47yb6mFsvVkiKvSB7atEz8BXDIaQ+ZUJXafpOb9tppfy mCCvfwu+fF7ozRWGA1AGg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:hkhfhrRXSkA=:3bdQNvRVkhB/gh88cWUtSS ME4Ws3hUwE/KSIkqfzmBmT/5m5p145zb4TXAmNLBzsQy/jdkycBj+1x95LrwGWgj3cGIifq00 hMV32mCPx92viXXdLhBZsKM9Dwx+wUMG17pnVrbwP5krKtJu89EIPcmKcvZwPT3kyLnHB8KEi lBBjSn53iY1JE/GH817QcYm9PU56vhimUO4L9UnljbGjZeeWptGVMsuf1RVBCIFJ9SaE1nOZm tL6zsYQJVTbGVdxu56AkwKBwj8QhHtKgidDvJfH8Oxq+biVxaFaUJRRmL6JRN1nOtVWlEZy5Y 4+FGeAlFq+Qa0Zdu4uoSeQYq+Ic0ej1RTgheLOfN4Sb1TNP8xux8e/7h/XYvKjKEZvb38PAQy z2ysdTAgRgREWabh3vmfKo45qL6aIzQmB//UGkfuyRHw81HaG6iEfnk3tHsiZ7oj7tBxzxhzJ wz7wW0JNw4hPRmRC9Hvm1EvydIV9AhuHQlHac+RXV3F5dQpZYhp8OYTxLdo/F6KgW3Pfj1BMD Qt0Ge9g5xeau6FvDOBxPUjTPi8nVVomYUTUFo394npSZtFJzDaSw0QUmcQT+dkK1F1cZ1A5nR Usnc6/eo7FpTd6m5HjmMuq6YBkaRI8ETKxyFYZ/iMrz8zwHLnyj8GnbYPal7vibDEoIMvTC2w jYWzgNu1J3bX+IfUh/SmcrteBaS3mfZWB3GGd/vlE/Dzqc5USzKGGGC1+Reqhzw0xy1qoiJGk 87G+OLtfXhuq1BdRpzRbKYprNPMXY+eBYmkGNaG5/bnRYk2gJTPCRfgnJLoETzQqgFRDOucrK VqCbhG8LpSq+EMXgtwaD0/j0rAQvrlCQgaNJcN2ILb6srY9snc7tudwoto4GENNEjNEfS9SDe 5VhrN6ZQZhCUGrDD4avTymmGLN/waaqUutYtHYcddznpdnflZkqUaVQQOl71hRt6/cboSlKjN hooONtRVQP5elHOPLt7218UadEMynby4W1SvxGCkrA855Exar+OT9mdMrl3XJUbm9cc+xdPAK 3xCgSI/ISX1eGA5vFtHRlm33UcGGFPnlh4aUt5F/BnLpHfIyoL3pAW2o/RffqDDuHgpWr5r8U APanj08UghyQhXaDM/GTxMOJ82din1y5D0OTbTv0Ol2Y1V7vD3mQ99umg== Received-SPF: pass client-ip=212.227.17.22; envelope-from=pierre.langlois@gmx.com; helo=mout.gmx.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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: submit Cc: Vagrant Cascadian X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain Hi guix! 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'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? Thanks, Pierre --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFMBAEBCgA2FiEEctU9gYy29KFyWDdMqPyeRH9PfVQFAmDt6zwYHHBpZXJyZS5s YW5nbG9pc0BnbXguY29tAAoJEKj8nkR/T31UtnwIALHiwVWGuADwCLuoZkP9TERZ s1aXim4QFe5Vaqd/5XKbEOqSwTNHtZ+pwVJCwJdUdME8hA87UPL89Uwsxh6xf3Of NzBMP8MFtSTa/4VZWxy/VnpUaVix6T7TbC2WjMIkjQR//FJfn3n5V/52wYw1pTaQ ruDj6+ARq7vXnKsHtAi/BsHv5sKBQDWDjFyLlfnDlv5Cxx1lIBDy5nz5h3afgy1+ ULphrTbXDy3mUeeOPhkp1Vhhdk5q3QWt+2chdi9V5NUKP6pxs+EDDnZYC41DgSYQ k+D+2ZcgCBhTqmSCdt5i8DC0QERh38X7qTc5V6WGyj60eiCl01v/AEz2lVLXYZ4= =wlaR -----END PGP SIGNATURE----- --==-=-=-- --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-u-boot-rockpro64-rk3399-Disable-USB-boot.patch Content-Transfer-Encoding: quoted-printable >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 the= 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 with = USB boot enabled. + ;; See https://gitlab.manjaro.org/manjaro-arm/packages/cor= e/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 "firmwar= e") - "/bl31.elf")) - #t)) + "/bl31.elf")))) ;; Phases do not succeed on the bl31 ELF. (delete 'strip) (delete 'validate-runpath))))) --=20 2.32.0 --=-=-= Content-Type: text/plain [0]: https://lists.gnu.org/archive/html/guix-commits/2021-05/msg00085.html --=-=-=-- ------------=_1627731722-5048-1--