From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52762) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fCgme-0008Bg-9p for guix-patches@gnu.org; Sun, 29 Apr 2018 03:30:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fCgmZ-0004hR-Am for guix-patches@gnu.org; Sun, 29 Apr 2018 03:30:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:34576) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fCgmZ-0004hD-5e for guix-patches@gnu.org; Sun, 29 Apr 2018 03:30:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fCgmY-0003DI-QA for guix-patches@gnu.org; Sun, 29 Apr 2018 03:30:02 -0400 Subject: [bug#31308] [PATCH 0/3] Support u-boot on wandboard and mx6cuboxi Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52671) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fCglk-00082M-UW for guix-patches@gnu.org; Sun, 29 Apr 2018 03:29:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fCglg-0003ug-0d for guix-patches@gnu.org; Sun, 29 Apr 2018 03:29:12 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:39808) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fCglf-0003fe-Mn for guix-patches@gnu.org; Sun, 29 Apr 2018 03:29:07 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:21:21:0:100b]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 6C7791B6D9 for ; Sun, 29 Apr 2018 00:28:43 -0700 (PDT) From: Vagrant Cascadian Date: Sun, 29 Apr 2018 00:28:26 -0700 Message-ID: <87k1sqo4it.fsf@aikidev.net> 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: 31308@debbugs.gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain The following patches enable u-boot builds for wandboard and mx6cuboxi. Both u-boot builds require the inclusion of the "SPL" file. Tested on Wandboard Solo and Hummingboard-i1. live well, vagrant Vagrant Cascadian (3): gnu: make-u-boot-package: Install 'SPL' files also. gnu: Add u-boot-wandboard. gnu: Add u-boot-mx6cuboxi. gnu/packages/bootloaders.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-gnu-make-u-boot-package-Install-SPL-files-also.patch Content-Transfer-Encoding: quoted-printable From=201e1705ae3167c1e3eb149a7e30837b6fdca2aed1 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Sun, 29 Apr 2018 04:33:00 +0000 Subject: [PATCH 1/3] gnu: make-u-boot-package: Install 'SPL' files also. * gnu/packages/bootloaders.scm (make-u-boot-package)[arguments]: Add 'SPL' files to the files installed during custom 'install phase. =2D-- gnu/packages/bootloaders.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm index 4350ff3a5..fc4570c2e 100644 =2D-- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm @@ -408,7 +408,7 @@ also initializes the boards (RAM etc).") (libexec (string-append out "/libexec")) (uboot-files (append (find-files "." ".*\\.(bin|efi|img|spl= |itb|dtb)$") =2D (find-files "." "^MLO$")))) + (find-files "." "^(MLO|SPL)$")))) (mkdir-p libexec) (install-file ".config" libexec) (for-each =2D-=20 2.17.0 --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0002-gnu-Add-u-boot-wandboard.patch Content-Transfer-Encoding: quoted-printable From=2030a21d289cf6a49f2a80ff66fb969b3bac511a08 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Sun, 29 Apr 2018 04:38:05 +0000 Subject: [PATCH 2/3] gnu: Add u-boot-wandboard. * gnu/packages/bootloaders.scm (u-boot-wandboard): New variable. =2D-- gnu/packages/bootloaders.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm index fc4570c2e..6a9fa36f2 100644 =2D-- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm @@ -463,6 +463,9 @@ also initializes the boards (RAM etc).") (define-public u-boot-nintendo-nes-classic-edition (make-u-boot-package "Nintendo_NES_Classic_Edition" "arm-linux-gnueabihf= ")) =20 +(define-public u-boot-wandboard + (make-u-boot-package "wandboard" "arm-linux-gnueabihf")) + (define-public vboot-utils (package (name "vboot-utils") =2D-=20 2.17.0 --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0003-gnu-Add-u-boot-mx6cuboxi.patch Content-Transfer-Encoding: quoted-printable From=20d86d0b14a4885328f09b4454d078a2b0df6c041a Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Sun, 29 Apr 2018 06:39:10 +0000 Subject: [PATCH 3/3] gnu: Add u-boot-mx6cuboxi. * gnu/packages/bootloaders.scm (u-boot-mx6cuboxi): New variable. =2D-- gnu/packages/bootloaders.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm index 6a9fa36f2..0db6ad3f6 100644 =2D-- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm @@ -466,6 +466,9 @@ also initializes the boards (RAM etc).") (define-public u-boot-wandboard (make-u-boot-package "wandboard" "arm-linux-gnueabihf")) =20 +(define-public u-boot-mx6cuboxi + (make-u-boot-package "mx6cuboxi" "arm-linux-gnueabihf")) + (define-public vboot-utils (package (name "vboot-utils") =2D-=20 2.17.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEcDardHbDotegGFCHt4uC1IFLkbYFAlrldBoACgkQt4uC1IFL kbYLOBAAhzux3ovS/6JvxljibOJGVdANVXiTODDahd4+TNxMtmh/7sQ1Y4H9aur+ wGvXSeZ4dJaMAqVuK8kXFJV4Hxrau3KT6H+gf/BnBOCTfXMSdPQWoOuKuz1XdkQL d0qXjCTNcyOnQdkrQHuzi8snO3yDOGfdEjfEYiRYq9EJe/QZi0RXdKBG7rlJTrxs WIM1jWC7V5zsoAiQBuyuEdYUstNH6u2xMZUzaZzzmzVO0mtuDE69XVXmLI9dMV+f ejpLj8V3uG6b3pT0Wlfj4rulfwWB18m4X7XbFS3G4xiRl3X3mhm96sSnoIHkEvVv JYFSd/aLkDMVMiHGb7KEDprpJa3ZqLTOu3Hpx+dMTUfw1z3tUJS/euzauFkFdhns q2+iz7tejXDtHT1abzkZWUKJTT3T+tpiCFcAijrWcQzTUEp0PUH04cF5ckpHEKdj LeKa8Q9DsSHgOa/lNgjeuF46+H1XrIM8AsZPt1+WfgiCdQ8v6owBtf4fEHkGRTB+ mGD3DK9sv4Ycr9PQi+WBahlOTY9tZ9gc6aA1jL0A3dOcgaZA+GV3839CJg0E48pk LATLmTzBbHa9XdKXFvaxj+6gPhlm0/hHRHZqmLTh2IFzwJrAYf3wyW4vboc5wIcF wlzoFvPF/6whnEQj5OHiMGCjETnkiv6C6e4PxeTr6RC+z5OxS9A= =CV5G -----END PGP SIGNATURE----- --==-=-=--