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.
This commit is contained in:
Danny Milosavljevic 2018-01-22 22:35:06 +01:00
parent 555773932d
commit c55c698594
No known key found for this signature in database
GPG Key ID: E71A35542C30BAA5
3 changed files with 15 additions and 0 deletions

View File

@ -28,6 +28,7 @@
#:use-module (guix records) #:use-module (guix records)
#:use-module (guix utils) #:use-module (guix utils)
#:export (u-boot-bootloader #:export (u-boot-bootloader
u-boot-a20-olinuxino-lime-bootloader
u-boot-a20-olinuxino-lime2-bootloader u-boot-a20-olinuxino-lime2-bootloader
u-boot-a20-olinuxino-micro-bootloader u-boot-a20-olinuxino-micro-bootloader
u-boot-banana-pi-m2-ultra-bootloader u-boot-banana-pi-m2-ultra-bootloader
@ -90,6 +91,11 @@
(inherit u-boot-allwinner-bootloader) (inherit u-boot-allwinner-bootloader)
(package u-boot-nintendo-nes-classic-edition))) (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 (define u-boot-a20-olinuxino-lime2-bootloader
(bootloader (bootloader
(inherit u-boot-allwinner-bootloader) (inherit u-boot-allwinner-bootloader)

View File

@ -430,6 +430,9 @@ also initializes the boards (RAM etc).")
(define-public u-boot-banana-pi-m2-ultra (define-public u-boot-banana-pi-m2-ultra
(make-u-boot-package "Bananapi_M2_Ultra" "arm-linux-gnueabihf")) (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 (define-public u-boot-a20-olinuxino-lime2
(make-u-boot-package "A20-OLinuXino-Lime2" "arm-linux-gnueabihf")) (make-u-boot-package "A20-OLinuXino-Lime2" "arm-linux-gnueabihf"))

View File

@ -44,6 +44,7 @@
#:use-module (ice-9 match) #:use-module (ice-9 match)
#:use-module (srfi srfi-26) #:use-module (srfi srfi-26)
#:export (installation-os #:export (installation-os
a20-olinuxino-lime-installation-os
a20-olinuxino-lime2-emmc-installation-os a20-olinuxino-lime2-emmc-installation-os
a20-olinuxino-micro-installation-os a20-olinuxino-micro-installation-os
banana-pi-m2-ultra-installation-os banana-pi-m2-ultra-installation-os
@ -416,6 +417,11 @@ The bootloader BOOTLOADER is installed to BOOTLOADER-TARGET."
'("omap_hsmmc"))) '("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 (define a20-olinuxino-lime2-emmc-installation-os
(embedded-installation-os u-boot-a20-olinuxino-lime2-bootloader (embedded-installation-os u-boot-a20-olinuxino-lime2-bootloader
"/dev/mmcblk1" ; eMMC storage "/dev/mmcblk1" ; eMMC storage