aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2018-01-22 22:35:06 +0100
committerDanny Milosavljevic <dannym@scratchpost.org>2018-01-22 22:53:08 +0100
commitc55c6985948b12a39cd5805bde95db9a80def3ba (patch)
tree087d3b39f415a7a063f18145fefc8973a0467c39 /gnu
parent555773932d6391aaf2285cbfdc9b4b99f86d4c19 (diff)
downloadpatches-c55c6985948b12a39cd5805bde95db9a80def3ba.tar
patches-c55c6985948b12a39cd5805bde95db9a80def3ba.tar.gz
system: Add A20 OLinuXino LIME installer.
* gnu/bootloader/u-boot.scm (u-boot-a20-olinuxino-lime-bootloader): New exported variable. * gnu/packages/bootloaders.scm (u-boot-a20-olinuxino-lime): New exported variable. * gnu/system/install.scm (a20-olinuxino-lime-installation-os): New exported variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/bootloader/u-boot.scm6
-rw-r--r--gnu/packages/bootloaders.scm3
-rw-r--r--gnu/system/install.scm6
3 files changed, 15 insertions, 0 deletions
diff --git a/gnu/bootloader/u-boot.scm b/gnu/bootloader/u-boot.scm
index d80ffdb963..21d0aecce2 100644
--- a/gnu/bootloader/u-boot.scm
+++ b/gnu/bootloader/u-boot.scm
@@ -28,6 +28,7 @@
#:use-module (guix records)
#:use-module (guix utils)
#:export (u-boot-bootloader
+ u-boot-a20-olinuxino-lime-bootloader
u-boot-a20-olinuxino-lime2-bootloader
u-boot-a20-olinuxino-micro-bootloader
u-boot-banana-pi-m2-ultra-bootloader
@@ -90,6 +91,11 @@
(inherit u-boot-allwinner-bootloader)
(package u-boot-nintendo-nes-classic-edition)))
+(define u-boot-a20-olinuxino-lime-bootloader
+ (bootloader
+ (inherit u-boot-allwinner-bootloader)
+ (package u-boot-a20-olinuxino-lime)))
+
(define u-boot-a20-olinuxino-lime2-bootloader
(bootloader
(inherit u-boot-allwinner-bootloader)
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index d16db455f0..f7aa21fa61 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -430,6 +430,9 @@ also initializes the boards (RAM etc).")
(define-public u-boot-banana-pi-m2-ultra
(make-u-boot-package "Bananapi_M2_Ultra" "arm-linux-gnueabihf"))
+(define-public u-boot-a20-olinuxino-lime
+ (make-u-boot-package "A20-OLinuXino-Lime" "arm-linux-gnueabihf"))
+
(define-public u-boot-a20-olinuxino-lime2
(make-u-boot-package "A20-OLinuXino-Lime2" "arm-linux-gnueabihf"))
diff --git a/gnu/system/install.scm b/gnu/system/install.scm
index fe330621ca..2864150521 100644
--- a/gnu/system/install.scm
+++ b/gnu/system/install.scm
@@ -44,6 +44,7 @@
#:use-module (ice-9 match)
#:use-module (srfi srfi-26)
#:export (installation-os
+ a20-olinuxino-lime-installation-os
a20-olinuxino-lime2-emmc-installation-os
a20-olinuxino-micro-installation-os
banana-pi-m2-ultra-installation-os
@@ -416,6 +417,11 @@ The bootloader BOOTLOADER is installed to BOOTLOADER-TARGET."
'("omap_hsmmc")))
+(define a20-olinuxino-lime-sd-installation-os
+ (embedded-installation-os u-boot-a20-olinuxino-lime-bootloader
+ "/dev/mmcblk0" ; SD card storage
+ "ttyS0"))
+
(define a20-olinuxino-lime2-emmc-installation-os
(embedded-installation-os u-boot-a20-olinuxino-lime2-bootloader
"/dev/mmcblk1" ; eMMC storage