From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EP+NIVPw7WDnawEAgWs5BA (envelope-from ) for ; Tue, 13 Jul 2021 21:58:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id QLpHHVPw7WD+MgAAB5/wlQ (envelope-from ) for ; Tue, 13 Jul 2021 19:58:11 +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 ED4B67BFA for ; Tue, 13 Jul 2021 21:58:10 +0200 (CEST) Received: from localhost ([::1]:50438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m3OXi-0006MX-0N for larch@yhetil.org; Tue, 13 Jul 2021 15:58:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57634) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m3OXa-0006M9-UZ for guix-patches@gnu.org; Tue, 13 Jul 2021 15:58:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58793) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m3OXa-0001DO-MC for guix-patches@gnu.org; Tue, 13 Jul 2021 15:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m3OXa-000189-Hx for guix-patches@gnu.org; Tue, 13 Jul 2021 15:58:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49552] [PATCH] gnu: u-boot: Update to 2021.07. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 13 Jul 2021 19:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49552 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49552@debbugs.gnu.org X-Debbugs-Original-To: Guix-patches Received: via spool by submit@debbugs.gnu.org id=B.16262062264278 (code B ref -1); Tue, 13 Jul 2021 19:58:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Jul 2021 19:57:06 +0000 Received: from localhost ([127.0.0.1]:42106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m3OWg-00016v-B4 for submit@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 ) id 1m3OWb-00016U-BC for submit@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 ) id 1m3OWb-0006Je-1i for guix-patches@gnu.org; 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 ) id 1m3OWZ-0000QJ-1y for guix-patches@gnu.org; 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 ; Tue, 13 Jul 2021 21:56:57 +0200 User-agent: mu4e 1.4.15; emacs 27.2 From: Pierre Langlois Date: Tue, 13 Jul 2021 20:56:55 +0100 Message-ID: <87mtqqkmwo.fsf@gmx.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K1:RcZ/NCN6zRworhT1xbALBWVhEeYXjX3hEaNV40BSCdwhbrl9wWd btFO36+JKgqOyFPkOjSmkynozuhSR/wPJHu5v8HT2YGfG9s3wVodEx2IfSPGntI9ZQoyeFF MZ/SFW4gNzBR6Cy3SZSYqTAAT6Oo4CUScvqqGVHd2KuuNSn9vM3xd2EPf2AlOAitdSFkuo/ ObEPm/m3ZFLgWPST0v2gQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:m1xxpMradck=:jlLeX+evJgMtA35xUfKptb e10XF4SpP36qAL1ZIy1uKNqj9T3vu4b5/D83JRASrmy9UMZBh1CfUFrsUZU86eni/u3VUv/ai EjMVAlhDTdNGqNYQ6IUnjKq89cRq6g5WJN1VUrvi6lB2ehZDA5gPXWZguEV9xiMJkw1aBw9Mj 76eQg/ZrxpEekD7iLs6ElgV6fsDWOQ8aixWN6Z/LMJmL1EQn23y1qd7H9XM2bzr6XKn35bbBN 6JInNXGe7T9IBWlbrVvm1AEi6/j7Knj4Y7doQvxPU2Eu/dqSI9dr7105TAwRQ0js6AacHLB2z bdahTCStGXrKykqTDnfYxS5+s2w6nMfDTOQYqff0F4dDGaeGAVW9IAo0jlDUR4+j81ZQ+9PpK 8Qvsi55F4NMecaGPU/xXFfXuq1uo3Z5mDfHgmcvtkHxM+gvJMBWZQRQAVZdNZ8ZhlTsTewH7S I4l6NKSe6ZJIWg3YzDCY/H0Xwerdn/9tALRD3AbiL/VQ+EvK0/bkKYPcbMoHUY0b7/UVmDCvx lXPwZAPZU59FEZfIr5twz9MUfxp04plIcz2egOoq0XBS6/iypD53EFT+6NObgBleK6BuTETae KhrdDQzOwO7ODwzrLsPh9/LxTDuzi3UMKgpsSyLhbUoMMTNajUSSMO/sWOi6/y4e1dQrv21R5 3nImOgNTc5+1rk1oR25yCMNLYkzopiE3sh9oQY2kFtP8Ezbdd6WPDYqbcyt7Ai0he1bfNOh5K 2RS/2YJVlu16A3ZmN5OLwcqOA0qsZMcKDakDN1vRt2amzvejg+GrSHYp4FE7tHd9aARSmGd87 FTiST5kgf9qYYuHwojiI4b1ph2Uko+cosl33RPoCnvARvAtcm1gntaW6dZqGZAPkinooVG8Bc gv2Rv3azlft0+dKvenRakbN88IGKcMh1bC0wYeMZTIRBI3MeAxMBvC1fMWPlaYR49liX+Smls jGovpnt7PLoGkfjz60eDBb3bxRNyqMnB7moKg4KLHnSMGiwcARru/NbBKdpTMmedSwCl17buI fawvN5cGdZx3aAQ80e9vZxoFnJJJzPsM1j+AnYgLA8343fhMQBkyjPfxRwG2TG0HL9HWtYFOW iCMkaLod7cvnULOB4tVtN+h2RiWk/9mGYXOcg+rV7KYS76EukxC0x3Osg== Received-SPF: pass client-ip=212.227.15.19; envelope-from=pierre.langlois@gmx.com; helo=mout.gmx.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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626206291; 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:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=NbpLvf2kDaLExfnV/Tp/MvFAa2n3+WK0QIhVleZFKec=; b=bZF0Ag5uqIloXokWoKn05U3AOgnhBPcAKfMbUSIZN5I6lNQmltSWEviN0J+YrTELrqfzYS 7l3/2wXqJo+DKqznRDHxhclQdj/ywJoRaG0slBhyN+At4186wLvWDmy5fCWaVIqoILkwqh 6ilb9OGf1CiPTFGjiIDjsVfmdJSHZmcFthW7awcT72TPhxNTf/HD4/24RDERDDmC9XxEKN K14zoC+xl0QM/CY2uKwbxQoxKVNr8ojI6Ni+b41WnF/30DNWY/ctF9i9j71CICg+UOQiXg w0eVTfr2kWUMnvZTq+wx1mRENyJ1UzehispzCppeJVIRjA4XrGjCPChs6ZU8/g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626206291; a=rsa-sha256; cv=none; b=RCsAeUietkwmFH80FtmChzWe0RcsT8ojc3gXfAY/oBW8cVRwZgNChyvPBcahJUVizV1FSr Svi5ajVDD7nXNyylKap0MhaKVRo2YQSrsBejalAfVG5pLzmCTcrFTlwrxVirIO+4qcC7ew +66jD2zCK2mOJz32mzOOOSJfnotJwMR01mgCse9XgPjqvRNaWK5seW1dEAXcDIiy6AVbEm +rP4UvYW5He8Ua7VGZii/lDaB3x1qkQpC+RO2/VOUhk1pgMGOZFpr7c99Kt1zpLuEFUyft 5YWBc4YjbZ1Fwr4/lEGUdv2a7DUaM0YFyw7yBC9QQREbPV6SbkNqF+r0CCLoHA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=AFvUZKyZ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -3.40 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=AFvUZKyZ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: ED4B67BFA X-Spam-Score: -3.40 X-Migadu-Scanner: scn0.migadu.com X-TUID: nKrwgvAanJeo --=-=-= 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 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 --=-=-=--