From unknown Sun Jun 22 04:06:17 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34356] [PATCH] gnu: u-boot-novena: Allow booting from raw device offset. Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Feb 2019 22:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34356 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34356@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15494928678604 (code B ref -1); Wed, 06 Feb 2019 22:42:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Feb 2019 22:41:07 +0000 Received: from localhost ([127.0.0.1]:36316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1grVsQ-0002Ei-R2 for submit@debbugs.gnu.org; Wed, 06 Feb 2019 17:41:07 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56307) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1grVsO-0002E6-Jq for submit@debbugs.gnu.org; Wed, 06 Feb 2019 17:41:05 -0500 Received: from lists.gnu.org ([209.51.188.17]:51001) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1grVsJ-00044t-6G for submit@debbugs.gnu.org; Wed, 06 Feb 2019 17:40:59 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grVsI-0001cs-7x for guix-patches@gnu.org; Wed, 06 Feb 2019 17:40:58 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RCVD_IN_DNSWL_NONE autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1grVnZ-0002Uc-Jj for guix-patches@gnu.org; Wed, 06 Feb 2019 17:36:07 -0500 Received: from cascadia.aikidev.net ([173.255.214.101]:50084) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grVnX-0002U9-J4 for guix-patches@gnu.org; Wed, 06 Feb 2019 17:36:03 -0500 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:21:21:0:100e]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 524611AAC0 for ; Wed, 6 Feb 2019 14:36:00 -0800 (PST) From: Vagrant Cascadian Date: Wed, 06 Feb 2019 14:35:54 -0800 Message-ID: <87y36s1r5h.fsf@ponder> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 173.255.214.101 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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 Content-Transfer-Encoding: quoted-printable * gnu/packages/bootloaders.scm (u-boot-novena): Disable loading u-boot.img from FAT partition. =2D-- gnu/packages/bootloaders.scm | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm index 5bd784f73c..40b14fcce8 100644 =2D-- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm @@ -624,7 +624,20 @@ board-independent tools."))) (make-u-boot-package "mx6cuboxi" "arm-linux-gnueabihf")) =20 (define-public u-boot-novena =2D (make-u-boot-package "novena" "arm-linux-gnueabihf")) + (let ((base (make-u-boot-package "novena" "arm-linux-gnueabihf"))) + (package + (inherit base) + (arguments + (substitute-keyword-arguments (package-arguments base) + ((#:phases phases) + `(modify-phases ,phases + (add-after 'unpack 'patch-novena-defconfig + ;; Patch configuration to disable loading u-boot.img from F= AT partition, + ;; allowing it to be installed at a device offset. + (lambda _ + (substitute* "configs/novena_defconfig" + (("CONFIG_SPL_FAT_SUPPORT=3Dy") "# CONFIG_SPL_FAT_SUPPO= RT is not set")) + #t))))))))) =20 (define-public u-boot-cubieboard (make-u-boot-package "Cubieboard" "arm-linux-gnueabihf")) =2D-=20 2.20.1 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCXFthSgAKCRDcUY/If5cW qpBUAQCYIJolQ41EfBHjeC0a7P6o3ytJFhWc0N6oBgf9yRls8gEAuM3ljXGTEB5J e1tocD17yf3VZi+WO2Dzs9wn0oY12wI= =iWZ+ -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Jun 22 04:06:17 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34356] [PATCH] gnu: u-boot-novena: Allow booting from raw device offset. Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 10 Feb 2019 19:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34356 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Vagrant Cascadian Cc: 34356@debbugs.gnu.org Received: via spool by 34356-submit@debbugs.gnu.org id=B34356.15498252001815 (code B ref 34356); Sun, 10 Feb 2019 19:00:02 +0000 Received: (at 34356) by debbugs.gnu.org; 10 Feb 2019 19:00:00 +0000 Received: from localhost ([127.0.0.1]:42760 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsuKe-0000TD-F7 for submit@debbugs.gnu.org; Sun, 10 Feb 2019 14:00:00 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:40922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsuKd-0000T4-0K for 34356@debbugs.gnu.org; Sun, 10 Feb 2019 13:59:59 -0500 Received: from localhost (77.117.137.124.wireless.dyn.drei.com [77.117.137.124]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 84864336031B; Sun, 10 Feb 2019 19:59:57 +0100 (CET) Date: Sun, 10 Feb 2019 19:59:54 +0100 From: Danny Milosavljevic Message-ID: <20190210195954.107d21a0@scratchpost.org> In-Reply-To: <87y36s1r5h.fsf@ponder> References: <87y36s1r5h.fsf@ponder> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/Dc89mLzcQ/x+y4UQzWVbaIv"; protocol="application/pgp-signature" 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: -1.7 (-) --Sig_/Dc89mLzcQ/x+y4UQzWVbaIv Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Vagrant, On Wed, 06 Feb 2019 14:35:54 -0800 Vagrant Cascadian wrote: > (define-public u-boot-novena [...] > + ;; Patch configuration to disable loading u-boot.img from= FAT partition, > + ;; allowing it to be installed at a device offset. Hmm, why? https://www.kosagi.com/w/index.php?title=3DU-boot-novena specifies that it loads u-boot.img from the first partition. Is it incorrect? --Sig_/Dc89mLzcQ/x+y4UQzWVbaIv Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlxgdKoACgkQ5xo1VCww uqU66wf+I8uckfMy/Jdr5Nt1PfGnFhNSddgn1mSZZ04ds3Wh+ImcuDihcH8LOmSQ +3yCG/q6UKZBQbGP+jqjJoUzxBPXv01dq/Lgo3fhIKDWBX6zksZrYUEP0sC1i1AJ PEiuL25rVgpo73ez+fqxyKst5uSti0tzQogct2G7d0lGNyjcioDV0ZUvEHHmBmMh qe1Re+UDXJdaMBTai7set6WBkoX1JmKXKXtThBYBe4E9lqASO5611X3ScAsI5irX d9cHQpYPO1pdZP1WSKPQVvWFixUbim843sIqengPsZMa4oqy9CI8JapulsY/0Y5S aezREx2Ko6QrSVcsxEHAduJ7oj1EEQ== =22tA -----END PGP SIGNATURE----- --Sig_/Dc89mLzcQ/x+y4UQzWVbaIv-- From unknown Sun Jun 22 04:06:17 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34356] [PATCH] gnu: u-boot-novena: Allow booting from raw device offset. Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 11 Feb 2019 01:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34356 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Danny Milosavljevic Cc: 34356@debbugs.gnu.org Received: via spool by 34356-submit@debbugs.gnu.org id=B34356.154984825721378 (code B ref 34356); Mon, 11 Feb 2019 01:25:01 +0000 Received: (at 34356) by debbugs.gnu.org; 11 Feb 2019 01:24:17 +0000 Received: from localhost ([127.0.0.1]:42972 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gt0KX-0005Yk-8Z for submit@debbugs.gnu.org; Sun, 10 Feb 2019 20:24:17 -0500 Received: from cascadia.aikidev.net ([173.255.214.101]:36218) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gt0KU-0005YV-41 for 34356@debbugs.gnu.org; Sun, 10 Feb 2019 20:24:15 -0500 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:21:21:0:100e]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id A0A241AA27; Sun, 10 Feb 2019 17:24:07 -0800 (PST) From: Vagrant Cascadian In-Reply-To: <20190210195954.107d21a0@scratchpost.org> References: <87y36s1r5h.fsf@ponder> <20190210195954.107d21a0@scratchpost.org> Date: Sun, 10 Feb 2019 17:23:28 -0800 Message-ID: <87k1i73ypb.fsf@ponder> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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 On 2019-02-10, Danny Milosavljevic wrote: > On Wed, 06 Feb 2019 14:35:54 -0800 > Vagrant Cascadian wrote: >> (define-public u-boot-novena > [...] >> + ;; Patch configuration to disable loading u-boot.img from FAT partition, >> + ;; allowing it to be installed at a device offset. > > Hmm, why? > > https://www.kosagi.com/w/index.php?title=U-boot-novena specifies that it > loads u-boot.img from the first partition. Is it incorrect? It's not incorrect, per se, but this was a simple way to get the install-os functionality to work without significant refactoring. I just recenty booted and refreshed the guixsd installation on the novena I had, and was reminded that installation of the bootloader required manual intervention from the user, and could potentially result in an unbootable system of the SPL/u-boot.img were sufficiently out os sync. The more complicated way would be to make novena-installation-os and/or embedded-installation-os smart enough to drop "u-boot.img" in the correct place, on the first FAT or EXT* partition of the microSD. That is certainly currently over my head to attempt that at the moment. I think we had touched on this in the bugs where I introduced u-boot-novena in #31404. live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCXGDOkQAKCRDcUY/If5cW qt6pAQC5qzA62DU5zb7Hbhm23Y6wBqwAD7vqlTctvjpiidrr/QEAq4ottfPRqP92 4B+Rg9t7mBiIUW/e2WU0KbswBLxUXg4= =YdON -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Jun 22 04:06:17 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: Vagrant Cascadian Subject: bug#34356: closed (Re: [bug#34356] [PATCH] gnu: u-boot-novena: Allow booting from raw device offset.) Message-ID: References: <20190211110403.2c03580c@scratchpost.org> <87y36s1r5h.fsf@ponder> X-Gnu-PR-Message: they-closed 34356 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 34356@debbugs.gnu.org Date: Mon, 11 Feb 2019 10:05:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1549879502-12095-1" This is a multi-part message in MIME format... ------------=_1549879502-12095-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #34356: [PATCH] gnu: u-boot-novena: Allow booting from raw device offset. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 34356@debbugs.gnu.org. --=20 34356: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D34356 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1549879502-12095-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 34356-done) by debbugs.gnu.org; 11 Feb 2019 10:04:10 +0000 Received: from localhost ([127.0.0.1]:43137 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gt8Re-00037n-3N for submit@debbugs.gnu.org; Mon, 11 Feb 2019 05:04:10 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:58178) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gt8Rc-00037e-IT for 34356-done@debbugs.gnu.org; Mon, 11 Feb 2019 05:04:08 -0500 Received: from localhost (77.116.204.134.wireless.dyn.drei.com [77.116.204.134]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 4BB8A336237A; Mon, 11 Feb 2019 11:04:06 +0100 (CET) Date: Mon, 11 Feb 2019 11:04:03 +0100 From: Danny Milosavljevic To: Vagrant Cascadian Subject: Re: [bug#34356] [PATCH] gnu: u-boot-novena: Allow booting from raw device offset. Message-ID: <20190211110403.2c03580c@scratchpost.org> In-Reply-To: <87k1i73ypb.fsf@ponder> References: <87y36s1r5h.fsf@ponder> <20190210195954.107d21a0@scratchpost.org> <87k1i73ypb.fsf@ponder> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/qh.itm.vUUHcKhYEJ+JcVYV"; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 34356-done Cc: 34356-done@debbugs.gnu.org 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 (-) --Sig_/qh.itm.vUUHcKhYEJ+JcVYV Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Vagrant, On Sun, 10 Feb 2019 17:23:28 -0800 Vagrant Cascadian wrote: > The more complicated way would be to make novena-installation-os and/or > embedded-installation-os smart enough to drop "u-boot.img" in the > correct place, on the first FAT or EXT* partition of the microSD. That > is certainly currently over my head to attempt that at the moment. >=20 > I think we had touched on this in the bugs where I introduced > u-boot-novena in #31404. Fair enough. For something as basic as a bootloader, I guess it's better for it to be contained in one place anyway. I'm now reasonably sure that it works fine in this configuration. I've amended the description and applied your patch to guix master. (If we wanted to add the original functionality anyway, grub-efi already requires something like it and could be used as a template). --Sig_/qh.itm.vUUHcKhYEJ+JcVYV Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlxhSJMACgkQ5xo1VCww uqXhLwf/XPfw2E+bwINlzet2Qjxr9OgJ2RYBZpQIWiOVT6yaq9fNBaj04GAAkaJt oSZ9dUO5CDMwz98HeW4F+2RNyKJ0HHpLNGGL8xSPSyp5GOLgZHrUKoei/CD+4eR0 pbXicDT6Kg6X5CnDHBlN2x0bWo6NB0F6/uF7N/LfiJg53Uuo5SdQgytwE9fNNiih gDiO0NObbIiUgSJOtRMDCe+s9VL8A0axXvVNeDXQlrH7SOudsu+sJ56BlpA4ihg/ GXXNof8ObDH74M1hSkiqc+BhrgKbmNHol+2dsinCTgkgHJkibOxfujkEjdsjgXJF AoAyIel4TQBd8yFBuEaClcToUa4Uvw== =8EPR -----END PGP SIGNATURE----- --Sig_/qh.itm.vUUHcKhYEJ+JcVYV-- ------------=_1549879502-12095-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 6 Feb 2019 22:41:07 +0000 Received: from localhost ([127.0.0.1]:36316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1grVsQ-0002Ei-R2 for submit@debbugs.gnu.org; Wed, 06 Feb 2019 17:41:07 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56307) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1grVsO-0002E6-Jq for submit@debbugs.gnu.org; Wed, 06 Feb 2019 17:41:05 -0500 Received: from lists.gnu.org ([209.51.188.17]:51001) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1grVsJ-00044t-6G for submit@debbugs.gnu.org; Wed, 06 Feb 2019 17:40:59 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grVsI-0001cs-7x for guix-patches@gnu.org; Wed, 06 Feb 2019 17:40:58 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RCVD_IN_DNSWL_NONE autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1grVnZ-0002Uc-Jj for guix-patches@gnu.org; Wed, 06 Feb 2019 17:36:07 -0500 Received: from cascadia.aikidev.net ([173.255.214.101]:50084) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grVnX-0002U9-J4 for guix-patches@gnu.org; Wed, 06 Feb 2019 17:36:03 -0500 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:21:21:0:100e]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 524611AAC0 for ; Wed, 6 Feb 2019 14:36:00 -0800 (PST) From: Vagrant Cascadian To: guix-patches@gnu.org Subject: [PATCH] gnu: u-boot-novena: Allow booting from raw device offset. Date: Wed, 06 Feb 2019 14:35:54 -0800 Message-ID: <87y36s1r5h.fsf@ponder> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 173.255.214.101 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: submit 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 Content-Transfer-Encoding: quoted-printable * gnu/packages/bootloaders.scm (u-boot-novena): Disable loading u-boot.img from FAT partition. =2D-- gnu/packages/bootloaders.scm | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm index 5bd784f73c..40b14fcce8 100644 =2D-- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm @@ -624,7 +624,20 @@ board-independent tools."))) (make-u-boot-package "mx6cuboxi" "arm-linux-gnueabihf")) =20 (define-public u-boot-novena =2D (make-u-boot-package "novena" "arm-linux-gnueabihf")) + (let ((base (make-u-boot-package "novena" "arm-linux-gnueabihf"))) + (package + (inherit base) + (arguments + (substitute-keyword-arguments (package-arguments base) + ((#:phases phases) + `(modify-phases ,phases + (add-after 'unpack 'patch-novena-defconfig + ;; Patch configuration to disable loading u-boot.img from F= AT partition, + ;; allowing it to be installed at a device offset. + (lambda _ + (substitute* "configs/novena_defconfig" + (("CONFIG_SPL_FAT_SUPPORT=3Dy") "# CONFIG_SPL_FAT_SUPPO= RT is not set")) + #t))))))))) =20 (define-public u-boot-cubieboard (make-u-boot-package "Cubieboard" "arm-linux-gnueabihf")) =2D-=20 2.20.1 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCXFthSgAKCRDcUY/If5cW qpBUAQCYIJolQ41EfBHjeC0a7P6o3ytJFhWc0N6oBgf9yRls8gEAuM3ljXGTEB5J e1tocD17yf3VZi+WO2Dzs9wn0oY12wI= =iWZ+ -----END PGP SIGNATURE----- --=-=-=-- ------------=_1549879502-12095-1--