me
/
guix
Archived
1
0
Fork 0

system: Add wandboard installer.

* gnu/bootloader/u-boot.scm (u-boot-wandboard-bootloader):
  New exported variable.
* gnu/system/install.scm (wandboard-installation-os):
  New exported variable.
master
Vagrant Cascadian 2018-05-07 14:34:43 +00:00 committed by Danny Milosavljevic
parent 07ca90458f
commit fd5536e32b
No known key found for this signature in database
GPG Key ID: E71A35542C30BAA5
2 changed files with 14 additions and 2 deletions

View File

@ -34,7 +34,8 @@
u-boot-banana-pi-m2-ultra-bootloader
u-boot-beaglebone-black-bootloader
u-boot-mx6cuboxi-bootloader
u-boot-nintendo-nes-classic-edition-bootloader))
u-boot-nintendo-nes-classic-edition-bootloader
u-boot-wandboard-bootloader))
(define install-u-boot
#~(lambda (bootloader device mount-point)
@ -130,3 +131,8 @@
(bootloader
(inherit u-boot-imx-bootloader)
(package u-boot-mx6cuboxi)))
(define u-boot-wandboard-bootloader
(bootloader
(inherit u-boot-imx-bootloader)
(package u-boot-wandboard)))

View File

@ -50,7 +50,8 @@
banana-pi-m2-ultra-installation-os
beaglebone-black-installation-os
mx6cuboxi-installation-os
nintendo-nes-classic-edition-installation-os))
nintendo-nes-classic-edition-installation-os
wandboard-installation-os))
;;; Commentary:
;;;
@ -440,6 +441,11 @@ The bootloader BOOTLOADER is installed to BOOTLOADER-TARGET."
"/dev/mmcblk0" ; SD card (solder it yourself)
"ttyS0"))
(define wandboard-installation-os
(embedded-installation-os u-boot-wandboard-bootloader
"/dev/mmcblk0" ; SD card storage
"ttymxc0"))
;; Return the default os here so 'guix system' can consume it directly.
installation-os