From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yENTCoHt7WCJaAEAgWs5BA (envelope-from ) for ; Tue, 13 Jul 2021 21:46:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id +Nv9BYHt7WBhFgAA1q6Kng (envelope-from ) for ; Tue, 13 Jul 2021 19:46:09 +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 07948797B for ; Tue, 13 Jul 2021 21:46:08 +0200 (CEST) Received: from localhost ([::1]:60704 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m3OM2-0002As-K9 for larch@yhetil.org; Tue, 13 Jul 2021 15:46:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53982) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m3ODG-0006x1-Dr for bug-guix@gnu.org; Tue, 13 Jul 2021 15:37:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58759) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m3ODG-0003ju-4F for bug-guix@gnu.org; Tue, 13 Jul 2021 15:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m3ODF-0006ri-Th for bug-guix@gnu.org; Tue, 13 Jul 2021 15:37:01 -0400 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 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-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-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: , Cc: Vagrant Cascadian 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=1626205568; 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:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=VZ4c7/n0KcH/ull5fIYFdsVzxeXVxsHvdgGYWhCDX7g=; b=NOta8W4ZGvRPct3z6eyallqIATM5b1ytHYug+clz6Z0q+i0lqHVIdRXlo+6OPJBFVgbXws ueMw3GZqsP4/dPh6+Gwe+InQPM38aOFIVtaIJvqYRGqYXNVJ/lZeoOyuVXZ6255GpRj/t4 jmbd4vdRexGDaJVkebzsiER/EX291IzcsnYxf1S0mRRb23+y79olH5VQs2XG6pRKAeHCHp 9X2hJkAayzx1/xpZ5yz1r/eJKDwWQeP874IlSio8yjS5hy90f1x0ufLxYh445qwEWchDQA 4SpE2P45rBAgtpI6OYKoPESKNBjExRTQaWt9w36R4ZPL43reWpg60eVjOM9IOg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626205568; a=rsa-sha256; cv=none; b=Py3zIzQN1cJx35oYF77JjFJShKmRWmLf0flNATN3EltnGqIEiIlGecY9Bg+wufPf/B3Q3O RjsLHtXUoD6gLsoNIOlhOb5WSLug6iWtebyIzpBvR/TV5JAeq2n4idyr4zzg+hw+6TBJ6P RgkpFpDgyRLxESTEkAmNov0Y2EHFM3TXj94I3YS6HwPZAbHrSyGwu/8s7JF0tDPO8KklXA 086Wow6MY2pf5LfrsA0Fb/NS4XOv8dKrcGDFl+fxg2scM91AsyXCXZaPtr65WRCr8608yK YInxk5jUAOQaWNyPgUEs/fwlErFN/Sfrym+f02uZVDKZmieez5XNE7apYRF7Og== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=JsG74Sqe; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.com (policy=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: -3.38 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=JsG74Sqe; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.com (policy=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: 07948797B X-Spam-Score: -3.38 X-Migadu-Scanner: scn0.migadu.com X-TUID: sqquI2CXQc// --=-=-= 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 --=-=-=--