mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
system: Add A20 OLinuXino LIME2 installer.
* gnu/bootloader/u-boot.scm (u-boot-a20-olinuxino-lime2-bootloader): New exported variable. * gnu/packages/bootloaders.scm (u-boot-a20-olinuxino-lime2): New exported variable. * gnu/system/install.scm (a20-olinuxino-lime2-emmc-installation-os): New exported variable.
This commit is contained in:
parent
e81c906647
commit
4b9e9abb36
3 changed files with 26 additions and 0 deletions
|
@ -28,6 +28,7 @@ (define-module (gnu bootloader u-boot)
|
|||
#:use-module (guix records)
|
||||
#:use-module (guix utils)
|
||||
#:export (u-boot-bootloader
|
||||
u-boot-a20-olinuxino-lime2-bootloader
|
||||
u-boot-banana-pi-m2-ultra-bootloader
|
||||
u-boot-beaglebone-black-bootloader))
|
||||
|
||||
|
@ -82,6 +83,11 @@ (define u-boot-allwinner-bootloader
|
|||
(inherit u-boot-bootloader)
|
||||
(installer install-allwinner-u-boot)))
|
||||
|
||||
(define u-boot-a20-olinuxino-lime2-bootloader
|
||||
(bootloader
|
||||
(inherit u-boot-allwinner-bootloader)
|
||||
(package u-boot-a20-olinuxino-lime2)))
|
||||
|
||||
(define u-boot-banana-pi-m2-ultra-bootloader
|
||||
(bootloader
|
||||
(inherit u-boot-allwinner-bootloader)
|
||||
|
|
|
@ -428,6 +428,9 @@ (define-public u-boot-odroid-c2
|
|||
(define-public u-boot-banana-pi-m2-ultra
|
||||
(make-u-boot-package "Bananapi_M2_Ultra" "arm-linux-gnueabihf"))
|
||||
|
||||
(define-public u-boot-a20-olinuxino-lime2
|
||||
(make-u-boot-package "A20-OLinuXino-Lime2" "arm-linux-gnueabihf"))
|
||||
|
||||
(define-public vboot-utils
|
||||
(package
|
||||
(name "vboot-utils")
|
||||
|
|
|
@ -44,6 +44,7 @@ (define-module (gnu system install)
|
|||
#:use-module (ice-9 match)
|
||||
#:use-module (srfi srfi-26)
|
||||
#:export (installation-os
|
||||
a20-olinuxino-lime2-emmc-installation-os
|
||||
banana-pi-m2-ultra-installation-os
|
||||
beaglebone-black-installation-os))
|
||||
|
||||
|
@ -400,6 +401,22 @@ (define beaglebone-black-installation-os
|
|||
(tty "ttyO0"))))
|
||||
(operating-system-user-services installation-os)))))
|
||||
|
||||
(define a20-olinuxino-lime2-emmc-installation-os
|
||||
(operating-system
|
||||
(inherit installation-os)
|
||||
(bootloader (bootloader-configuration
|
||||
(bootloader u-boot-a20-olinuxino-lime2-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)))))
|
||||
|
||||
(define banana-pi-m2-ultra-installation-os
|
||||
(operating-system
|
||||
(inherit installation-os)
|
||||
|
|
Loading…
Reference in a new issue