Browse Source

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.
version-0.15.0
Vagrant Cascadian 4 years ago
committed by Danny Milosavljevic
parent
commit
fd5536e32b
No known key found for this signature in database GPG Key ID: E71A35542C30BAA5
  1. 8
      gnu/bootloader/u-boot.scm
  2. 8
      gnu/system/install.scm

8
gnu/bootloader/u-boot.scm

@ -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)))

8
gnu/system/install.scm

@ -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

Loading…
Cancel
Save