From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:42844) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grVtL-0002Qt-Bu for guix-patches@gnu.org; Wed, 06 Feb 2019 17:42:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1grVtK-0004Pz-JW for guix-patches@gnu.org; Wed, 06 Feb 2019 17:42:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37038) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1grVtK-0004Pt-Gg for guix-patches@gnu.org; Wed, 06 Feb 2019 17:42:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1grVtK-0002GH-8W for guix-patches@gnu.org; Wed, 06 Feb 2019 17:42:02 -0500 Subject: [bug#34356] [PATCH] gnu: u-boot-novena: Allow booting from raw device offset. Resent-Message-ID: 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 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" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 34356@debbugs.gnu.org --=-=-= 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----- --=-=-=--