GNU bug report logs - #49552
[PATCH] gnu: u-boot: Update to 2021.07.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Pierre Langlois <pierre.langlois@HIDDEN>; Keywords: patch; dated Tue, 13 Jul 2021 19:58:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 13 Jul 2021 19:57:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 13 15:57:06 2021
Received: from localhost ([127.0.0.1]:42106 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m3OWg-00016v-B4
	for submit <at> debbugs.gnu.org; Tue, 13 Jul 2021 15:57:06 -0400
Received: from lists.gnu.org ([209.51.188.17]:37942)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pierre.langlois@HIDDEN>) id 1m3OWb-00016U-BC
 for submit <at> debbugs.gnu.org; Tue, 13 Jul 2021 15:57:04 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:57466)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <pierre.langlois@HIDDEN>)
 id 1m3OWb-0006Je-1i
 for guix-patches@HIDDEN; Tue, 13 Jul 2021 15:57:01 -0400
Received: from mout.gmx.net ([212.227.15.19]:56595)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <pierre.langlois@HIDDEN>)
 id 1m3OWZ-0000QJ-1y
 for guix-patches@HIDDEN; Tue, 13 Jul 2021 15:57:00 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1626206217;
 bh=tK11zAeMb0VHV87XSaj1uUmSeMitMB0/HupB5+dacwA=;
 h=X-UI-Sender-Class:From:To:Subject:Date;
 b=AFvUZKyZ8Xn3COlT6sM/hi47M0z8BS7Y2NGdIJzgp5zD3unlGqF9FaBHzJYdQros+
 CCxSR+shxDGByct5U3GKlZ++tTktrKJoP/SyNErMGNzHkr++4njg5xozxBOkCGlPct
 7gDpdR99NbhcZW9FNFv3kwewuvmocpD5FbSgPtQY=
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 1MStCe-1la9u23vZe-00UKJp for
 <guix-patches@HIDDEN>; Tue, 13 Jul 2021 21:56:57 +0200
User-agent: mu4e 1.4.15; emacs 27.2
From: Pierre Langlois <pierre.langlois@HIDDEN>
To: Guix-patches <guix-patches@HIDDEN>
Subject: [PATCH] gnu: u-boot: Update to 2021.07.
Date: Tue, 13 Jul 2021 20:56:55 +0100
Message-ID: <87mtqqkmwo.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Provags-ID: V03:K1:RcZ/NCN6zRworhT1xbALBWVhEeYXjX3hEaNV40BSCdwhbrl9wWd
 btFO36+JKgqOyFPkOjSmkynozuhSR/wPJHu5v8HT2YGfG9s3wVodEx2IfSPGntI9ZQoyeFF
 MZ/SFW4gNzBR6Cy3SZSYqTAAT6Oo4CUScvqqGVHd2KuuNSn9vM3xd2EPf2AlOAitdSFkuo/
 ObEPm/m3ZFLgWPST0v2gQ==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:m1xxpMradck=:jlLeX+evJgMtA35xUfKptb
 e10XF4SpP36qAL1ZIy1uKNqj9T3vu4b5/D83JRASrmy9UMZBh1CfUFrsUZU86eni/u3VUv/ai
 EjMVAlhDTdNGqNYQ6IUnjKq89cRq6g5WJN1VUrvi6lB2ehZDA5gPXWZguEV9xiMJkw1aBw9Mj
 76eQg/Zrx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.net
X-Spam_score_int: -25
X-Spam_score: -2.6
X-Spam_bar: --
X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7,
 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
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

--=-=-=
Content-Type: multipart/signed; boundary="==-=-=";
	micalg=pgp-sha512; protocol="application/pgp-signature"

--==-=-=
Content-Type: text/plain

Hi Guix!

Here's a patch to update u-boot to 2021.07. I've tested this by booting
a barebone image on the pinebook pro. I've also tested it on the
rockpro64 however that still requires another fix, see bug#49550 [0]
which is an existing issue.

Thanks,
Pierre

[0]: https://lists.gnu.org/archive/html/bug-guix/2021-07/msg00225.html


--==-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQFMBAEBCgA2FiEEctU9gYy29KFyWDdMqPyeRH9PfVQFAmDt8AcYHHBpZXJyZS5s
YW5nbG9pc0BnbXguY29tAAoJEKj8nkR/T31U3JAIALS0ASRIUdENNGgyC/ITsUtn
uEMOENGSCAsBq2MOGeQ2MxJF+WQZ3nTKtRh53fjPlhwBieXspjHViHgj1k1th6ii
UTdeRQpVVTEWdHFPEQrLIXeTjMLrKhGq6Xfq6q6ivQ+N9wHhjukwYWmjU2VooMsL
KmqaKdM//CWFH2rq5biAtqIq5mpKd/2s/cSMaccsa1xYG5XRzYs1gBcXfbY6ENcG
t6/gCSt8ZB/5InuV92pF8dfS5qzWoUoopR7YsC33eG0oYxRGieQRGw8E2cMPHIzV
c33c1wSivmzhJ3ZPEuHwX2PE5MwM/a1iAUHRtdlLH2cKuqIDjyNCvTpAlQ1mJn4=
=hye7
-----END PGP SIGNATURE-----
--==-=-=--

--=-=-=
Content-Type: text/x-patch
Content-Disposition: inline;
 filename=0001-gnu-u-boot-Update-to-2021.07.patch
Content-Transfer-Encoding: quoted-printable

=46rom 82c2422ea06013ca8914c2628cdd2569ffb43973 Mon Sep 17 00:00:00 2001
From: Pierre Langlois <pierre.langlois@HIDDEN>
Date: Sat, 10 Jul 2021 14:12:02 +0100
Subject: [PATCH] gnu: u-boot: Update to 2021.07.

* gnu/packages/bootloaders.scm (u-boot): Update to 2021.07.
[native-inputs]: Add python-pycryptodomex.
(u-boot-2021.07): Delete variable.
(u-boot-tools)[arguments]: Adapt 'patch phase, disable failing test_spl te=
st.
(u-boot-sifive-unmatched): Use default u-boot package.
(u-boot-pinebook-pro-rk3328): Use default u-boot package.
=2D--
 gnu/packages/bootloaders.scm | 38 +++++++++++-------------------------
 1 file changed, 11 insertions(+), 27 deletions(-)

diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index 75705a27c1..448853a7da 100644
=2D-- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -56,6 +56,7 @@
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
+  #:use-module (gnu packages python-crypto)
   #:use-module (gnu packages texinfo)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages sdl)
@@ -496,7 +497,7 @@ tree binary files.  These are board description files =
used by Linux and BSD.")
 (define u-boot
   (package
     (name "u-boot")
-    (version "2021.04")
+    (version "2021.07")
     (source (origin
 	      (patches
                (list %u-boot-rockchip-inno-usb-patch))
@@ -506,7 +507,7 @@ tree binary files.  These are board description files =
used by Linux and BSD.")
                     "u-boot-" version ".tar.bz2"))
               (sha256
                (base32
-                "06p1vymf0dl6jc2xy5w7p42mpgppa46lmpm2ishmgsycnldqnhqd")))=
)
+                "0zm7igkdnz0w4ir8rfl2dislfrl0ip104grs5hvd30a5wkm7wari")))=
)
     (native-inputs
      `(("bc" ,bc)
        ("bison" ,bison)
@@ -516,6 +517,7 @@ tree binary files.  These are board description files =
used by Linux and BSD.")
        ("perl" ,perl)
        ("python" ,python)
        ("python-coverage" ,python-coverage)
+       ("python-pycryptodomex" ,python-pycryptodomex)
        ("python-pytest" ,python-pytest)
        ("swig" ,swig)))
     (build-system  gnu-build-system)
@@ -525,21 +527,6 @@ tree binary files.  These are board description files=
 used by Linux and BSD.")
 also initializes the boards (RAM etc).")
     (license license:gpl2+)))

-(define-public u-boot-2021.07
-  (package
-   (inherit u-boot)
-   (version "2021.07-rc4")
-   (source (origin
-             (patches
-               (list %u-boot-rockchip-inno-usb-patch))
-            (method url-fetch)
-            (uri (string-append
-                  "https://ftp.denx.de/pub/u-boot/"
-                  "u-boot-" version ".tar.bz2"))
-            (sha256
-             (base32
-              "0bnsywgy2b0jxim5h9dc807lqk5kq8hvgf4lcsmffnc0hf4isv8p")))))=
)
-
 (define-public u-boot-tools
   (package
     (inherit u-boot)
@@ -568,9 +555,12 @@ also initializes the boards (RAM etc).")
               ;; This test would require git.
               (("\\./tools/patman/patman") (which "true"))
               ;; FIXME: test fails, needs further investiation
-              (("run_test \"binman\"") ": run_test \"binman\"")
+              (("run_test \"binman\"") "# run_test \"binman\"")
+              ;; FIXME: test_spl fails, needs further investiation
+              (("test_ofplatdata or test_handoff or test_spl")
+                "test_ofplatdata or test_handoff")
               ;; FIXME: code coverage not working
-              (("run_test \"binman code coverage\"") ": run_test \"binman=
 code coverage\"")
+              (("run_test \"binman code coverage\"") "# run_test \"binman=
 code coverage\"")
               ;; This test would require internet access.
               (("\\./tools/buildman/buildman") (which "true")))
              (substitute* "test/py/tests/test_sandbox_exit.py"
@@ -879,11 +869,7 @@ to Novena upstream, does not load u-boot.img from the=
 first partition.")
   (make-u-boot-package "sifive_fu540" "riscv64-linux-gnu"))

 (define-public u-boot-sifive-unmatched
-  (let ((base (make-u-boot-package "sifive_unmatched" "riscv64-linux-gnu"=
)))
-    (package
-      (inherit base)
-      (version (package-version u-boot-2021.07))
-      (source (package-source u-boot-2021.07)))))
+  (make-u-boot-package "sifive_unmatched" "riscv64-linux-gnu"))

 (define-public u-boot-rock64-rk3328
   (let ((base (make-u-boot-package "rock64-rk3328" "aarch64-linux-gnu")))
@@ -951,9 +937,7 @@ to Novena upstream, does not load u-boot.img from the =
first partition.")
 (define-public u-boot-pinebook-pro-rk3399
   (let ((base (make-u-boot-package "pinebook-pro-rk3399" "aarch64-linux-g=
nu")))
     (package
-     (inherit base)
-      (version (package-version u-boot-2021.07))
-      (source (package-source u-boot-2021.07))
+      (inherit base)
       (arguments
         (substitute-keyword-arguments (package-arguments base)
           ((#:phases phases)
=2D-
2.32.0


--=-=-=--




Acknowledgement sent to Pierre Langlois <pierre.langlois@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#49552; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 13 Jul 2021 20:00:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.