From a7bb327e3c457cd99710c92b5d09f76b7ab45000 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Sat, 20 Jan 2018 20:55:52 +0100 Subject: 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. --- gnu/bootloader/u-boot.scm | 6 ++++++ gnu/packages/bootloaders.scm | 3 +++ gnu/system/install.scm | 17 +++++++++++++++++ 3 files changed, 26 insertions(+) (limited to 'gnu') diff --git a/gnu/bootloader/u-boot.scm b/gnu/bootloader/u-boot.scm index d45835c271..535573791b 100644 --- a/gnu/bootloader/u-boot.scm +++ b/gnu/bootloader/u-boot.scm @@ -29,6 +29,7 @@ (define-module (gnu bootloader u-boot) #:use-module (guix utils) #:export (u-boot-bootloader u-boot-a20-olinuxino-lime2-bootloader + u-boot-a20-olinuxino-micro-bootloader u-boot-banana-pi-m2-ultra-bootloader u-boot-beaglebone-black-bootloader)) @@ -88,6 +89,11 @@ (define u-boot-a20-olinuxino-lime2-bootloader (inherit u-boot-allwinner-bootloader) (package u-boot-a20-olinuxino-lime2))) +(define u-boot-a20-olinuxino-micro-bootloader + (bootloader + (inherit u-boot-allwinner-bootloader) + (package u-boot-a20-olinuxino-micro))) + (define u-boot-banana-pi-m2-ultra-bootloader (bootloader (inherit u-boot-allwinner-bootloader) diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm index b0fa2b54af..7a5a1d88ee 100644 --- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm @@ -431,6 +431,9 @@ (define-public u-boot-banana-pi-m2-ultra (define-public u-boot-a20-olinuxino-lime2 (make-u-boot-package "A20-OLinuXino-Lime2" "arm-linux-gnueabihf")) +(define-public u-boot-a20-olinuxino-micro + (make-u-boot-package "A20-OLinuXino_MICRO" "arm-linux-gnueabihf")) + (define-public vboot-utils (package (name "vboot-utils") 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 @@ (define-module (gnu system install) #: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 @@ (define a20-olinuxino-lime2-emmc-installation-os (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) -- cgit v1.2.3