summaryrefslogtreecommitdiff
path: root/gnu/system
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2018-01-19 00:25:13 +0100
committerDanny Milosavljevic <dannym@scratchpost.org>2018-01-20 20:33:10 +0100
commit30aeb846d7516d534aebeee76be4a920195e8d50 (patch)
tree5daa12e5e976c7a86a59c64567056b81b509910e /gnu/system
parented19fea0e54495788d8984d6b68b9f9aa89a257c (diff)
downloadpatches-30aeb846d7516d534aebeee76be4a920195e8d50.tar
patches-30aeb846d7516d534aebeee76be4a920195e8d50.tar.gz
system: Add Banana Pi M2 Ultra installer.
* gnu/bootloader/u-boot.scm (u-boot-banana-pi-m2-ultra-bootloader): New exported variable. (install-allwinner-u-boot): New variable. (u-boot-allwinner-bootloader): New variable. * gnu/packages/bootloaders.scm (u-boot-banana-pi-m2-ultra): New exported variable. * gnu/system/install.scm (banana-pi-m2-ultra-installation-os): New exported variable.
Diffstat (limited to 'gnu/system')
-rw-r--r--gnu/system/install.scm17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/system/install.scm b/gnu/system/install.scm
index 1cc3db1160..c7bfdb2595 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
+ banana-pi-m2-ultra-installation-os
beaglebone-black-installation-os))
;;; Commentary:
@@ -399,6 +400,22 @@ You have been warned. Thanks for being so brave.\x1b[0m
(tty "ttyO0"))))
(operating-system-user-services installation-os)))))
+(define banana-pi-m2-ultra-installation-os
+ (operating-system
+ (inherit installation-os)
+ (bootloader (bootloader-configuration
+ (bootloader u-boot-banana-pi-m2-ultra-bootloader)
+ (target "/dev/mmcblk1"))) ; eMMC storage
+ (kernel linux-libre)
+ (services (append
+ (list (agetty-service
+ (agetty-configuration
+ (extra-options '("-L"))
+ (baud-rate "115200")
+ (term "vt100")
+ (tty "ttyS0"))))
+ (operating-system-user-services installation-os)))))
+
;; Return the default os here so 'guix system' can consume it directly.
installation-os