summary refs log tree commit diff
path: root/gnu/system/install.scm
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2018-01-20 20:55:52 +0100
committerDanny Milosavljevic <dannym@scratchpost.org>2018-01-20 22:50:55 +0100
commita7bb327e3c457cd99710c92b5d09f76b7ab45000 (patch)
tree3ceaa07ded0f8328f7823d08203ff733dc62245f /gnu/system/install.scm
parent4b9e9abb36db3c658cd915bcc580dc3da8938863 (diff)
downloadguix-a7bb327e3c457cd99710c92b5d09f76b7ab45000.tar.gz
system: Add A20 OLinuXino MICRO installer.
* gnu/bootloader/u-boot.scm (u-boot-a20-olinuxino-micro-bootloader): New
exported variable.
* gnu/packages/bootloaders.scm (u-boot-a20-olinuxino-micro): New exported
variable.
* gnu/system/install.scm (a20-olinuxino-micro-installation-os): New exported
variable.
Diffstat (limited to 'gnu/system/install.scm')
-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 22b297c736..56b6a99da7 100644
--- a/gnu/system/install.scm
+++ b/gnu/system/install.scm
@@ -45,6 +45,7 @@
   #:use-module (srfi srfi-26)
   #:export (installation-os
             a20-olinuxino-lime2-emmc-installation-os
+            a20-olinuxino-micro-installation-os
             banana-pi-m2-ultra-installation-os
             beaglebone-black-installation-os))
 
@@ -417,6 +418,22 @@ You have been warned.  Thanks for being so brave.\x1b[0m
                        (tty "ttyS0"))))
                (operating-system-user-services installation-os)))))
 
+(define a20-olinuxino-micro-installation-os
+  (operating-system
+    (inherit installation-os)
+    (bootloader (bootloader-configuration
+                 (bootloader u-boot-a20-olinuxino-lime2-bootloader)
+                 (target "/dev/mmcblk0"))) ; SD card 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)))))
+
 (define banana-pi-m2-ultra-installation-os
   (operating-system
     (inherit installation-os)