From: Vagrant Cascadian <vagrant@debian.org>
To: 31308@debbugs.gnu.org
Subject: [bug#31308] [PATCH 0/3] Support u-boot on wandboard and mx6cuboxi
Date: Sun, 29 Apr 2018 00:28:26 -0700 [thread overview]
Message-ID: <87k1sqo4it.fsf@aikidev.net> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 431 bytes --]
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(-)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-make-u-boot-package-Install-SPL-files-also.patch --]
[-- Type: text/x-diff, Size: 1175 bytes --]
From 1e1705ae3167c1e3eb149a7e30837b6fdca2aed1 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@debian.org>
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.
---
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
--- 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)$")
- (find-files "." "^MLO$"))))
+ (find-files "." "^(MLO|SPL)$"))))
(mkdir-p libexec)
(install-file ".config" libexec)
(for-each
--
2.17.0
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.3: 0002-gnu-Add-u-boot-wandboard.patch --]
[-- Type: text/x-diff, Size: 915 bytes --]
From 30a21d289cf6a49f2a80ff66fb969b3bac511a08 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@debian.org>
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.
---
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
--- 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"))
+(define-public u-boot-wandboard
+ (make-u-boot-package "wandboard" "arm-linux-gnueabihf"))
+
(define-public vboot-utils
(package
(name "vboot-utils")
--
2.17.0
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.4: 0003-gnu-Add-u-boot-mx6cuboxi.patch --]
[-- Type: text/x-diff, Size: 877 bytes --]
From d86d0b14a4885328f09b4454d078a2b0df6c041a Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@debian.org>
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.
---
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
--- 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"))
+(define-public u-boot-mx6cuboxi
+ (make-u-boot-package "mx6cuboxi" "arm-linux-gnueabihf"))
+
(define-public vboot-utils
(package
(name "vboot-utils")
--
2.17.0
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next reply other threads:[~2018-04-29 7:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-29 7:28 Vagrant Cascadian [this message]
2018-04-29 15:26 ` bug#31308: [PATCH 0/3] Support u-boot on wandboard and mx6cuboxi Danny Milosavljevic
2018-04-30 5:41 ` [bug#31308] " Vagrant Cascadian
2018-04-30 21:01 ` Ludovic Courtès
2018-04-30 21:18 ` Vagrant Cascadian
2018-05-01 19:55 ` Ludovic Courtès
2018-05-01 20:42 ` Danny Milosavljevic
2018-05-01 21:41 ` Vagrant Cascadian
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k1sqo4it.fsf@aikidev.net \
--to=vagrant@debian.org \
--cc=31308@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).