system: Add Nintendo NES Classic Edition installer.
* gnu/bootloader/u-boot.scm (u-boot-nintendo-nes-classic-edition-bootloader): New exported variable. * gnu/packages/bootloaders.scm (u-boot-nintendo-nes-classic-edition): New exported variable. * gnu/system/install.scm (nintendo-nes-classic-edition-installation-os): New exported variable.
This commit is contained in:
parent
df8a909660
commit
84ee33787e
|
@ -31,7 +31,8 @@
|
||||||
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
|
||||||
u-boot-beaglebone-black-bootloader))
|
u-boot-beaglebone-black-bootloader
|
||||||
|
u-boot-nintendo-nes-classic-edition-bootloader))
|
||||||
|
|
||||||
(define install-u-boot
|
(define install-u-boot
|
||||||
#~(lambda (bootloader device mount-point)
|
#~(lambda (bootloader device mount-point)
|
||||||
|
@ -84,6 +85,11 @@
|
||||||
(inherit u-boot-bootloader)
|
(inherit u-boot-bootloader)
|
||||||
(installer install-allwinner-u-boot)))
|
(installer install-allwinner-u-boot)))
|
||||||
|
|
||||||
|
(define u-boot-nintendo-nes-classic-edition-bootloader
|
||||||
|
(bootloader
|
||||||
|
(inherit u-boot-allwinner-bootloader)
|
||||||
|
(package u-boot-nintendo-nes-classic-edition)))
|
||||||
|
|
||||||
(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)
|
||||||
|
|
|
@ -436,6 +436,9 @@ also initializes the boards (RAM etc).")
|
||||||
(define-public u-boot-a20-olinuxino-micro
|
(define-public u-boot-a20-olinuxino-micro
|
||||||
(make-u-boot-package "A20-OLinuXino_MICRO" "arm-linux-gnueabihf"))
|
(make-u-boot-package "A20-OLinuXino_MICRO" "arm-linux-gnueabihf"))
|
||||||
|
|
||||||
|
(define-public u-boot-nintendo-nes-classic-edition
|
||||||
|
(make-u-boot-package "Nintendo_NES_Classic_Edition" "arm-linux-gnueabihf"))
|
||||||
|
|
||||||
(define-public vboot-utils
|
(define-public vboot-utils
|
||||||
(package
|
(package
|
||||||
(name "vboot-utils")
|
(name "vboot-utils")
|
||||||
|
|
|
@ -47,7 +47,8 @@
|
||||||
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
|
||||||
beaglebone-black-installation-os))
|
beaglebone-black-installation-os
|
||||||
|
nintendo-nes-classic-edition-installation-os))
|
||||||
|
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
;;;
|
;;;
|
||||||
|
@ -430,6 +431,11 @@ The bootloader BOOTLOADER is installed to BOOTLOADER-TARGET."
|
||||||
"/dev/mmcblk1" ; eMMC storage
|
"/dev/mmcblk1" ; eMMC storage
|
||||||
"ttyS0"))
|
"ttyS0"))
|
||||||
|
|
||||||
|
(define nintendo-nes-classic-edition-installation-os
|
||||||
|
(embedded-installation-os u-boot-nintendo-nes-classic-edition-bootloader
|
||||||
|
"/dev/mmcblk0" ; SD card (solder it yourself)
|
||||||
|
"ttyS0"))
|
||||||
|
|
||||||
;; Return the default os here so 'guix system' can consume it directly.
|
;; Return the default os here so 'guix system' can consume it directly.
|
||||||
installation-os
|
installation-os
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue