summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordan <i@dan.games>2025-11-03 13:40:44 +0800
committerVagrant Cascadian <vagrant@debian.org>2025-11-03 12:44:46 -0800
commit71ae514b81a4cfce0183c6edcf393b7c80cdd0aa (patch)
treea467101a49c26265dc4c351e15cb5eadf32af39c
parent0eb576635e36c1371dc6d104d84375b92d3eeaa7 (diff)
gnu: bootloader: Add nanopi-r4s-rk3399 bootloader.
* gnu/bootloader/u-boot.scm (u-boot-nanopi-r4s-rk3399-bootloader): Add variable. * gnu/packages/bootloaders.scm (u-boot-nanopi-r4s-rk3399): Add variable. Change-Id: Ib7af37fff02d7e5a83928949835c03a5949927da Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
-rw-r--r--gnu/bootloader/u-boot.scm7
-rw-r--r--gnu/packages/bootloaders.scm4
2 files changed, 11 insertions, 0 deletions
diff --git a/gnu/bootloader/u-boot.scm b/gnu/bootloader/u-boot.scm
index fc3e1baf162..b506244efdf 100644
--- a/gnu/bootloader/u-boot.scm
+++ b/gnu/bootloader/u-boot.scm
@@ -7,6 +7,7 @@
7;;; Copyright © 2023 Efraim Flashner <efraim@flashner.co.il> 7;;; Copyright © 2023 Efraim Flashner <efraim@flashner.co.il>
8;;; Copyright © 2023-2024 Herman Rimm <herman@rimm.ee> 8;;; Copyright © 2023-2024 Herman Rimm <herman@rimm.ee>
9;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> 9;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
10;;; Copyright © 2025 dan <i@dan.games>
10;;; 11;;;
11;;; This file is part of GNU Guix. 12;;; This file is part of GNU Guix.
12;;; 13;;;
@@ -46,6 +47,7 @@
46 u-boot-pine64-lts-bootloader 47 u-boot-pine64-lts-bootloader
47 u-boot-pinebook-bootloader 48 u-boot-pinebook-bootloader
48 u-boot-pinebook-pro-rk3399-bootloader 49 u-boot-pinebook-pro-rk3399-bootloader
50 u-boot-nanopi-r4s-rk3399-bootloader
49 u-boot-puma-rk3399-bootloader 51 u-boot-puma-rk3399-bootloader
50 u-boot-rock-4c-plus-rk3399-bootloader 52 u-boot-rock-4c-plus-rk3399-bootloader
51 u-boot-rock64-rk3328-bootloader 53 u-boot-rock64-rk3328-bootloader
@@ -273,6 +275,11 @@ is BLOCK-SIZE * COUNT, or FILE size if COUNT is not given."
273 (inherit u-boot-rockchip-bootloader) 275 (inherit u-boot-rockchip-bootloader)
274 (package u-boot-pinebook-pro-rk3399))) 276 (package u-boot-pinebook-pro-rk3399)))
275 277
278(define u-boot-nanopi-r4s-rk3399-bootloader
279 (bootloader
280 (inherit u-boot-rockchip-bootloader)
281 (package u-boot-nanopi-r4s-rk3399)))
282
276(define u-boot-ts7970-q-2g-1000mhz-c-bootloader 283(define u-boot-ts7970-q-2g-1000mhz-c-bootloader
277 ;; This bootloader doesn't really need to be installed, as it is read from 284 ;; This bootloader doesn't really need to be installed, as it is read from
278 ;; an SPI memory chip, not the SD card. It is copied to /boot/u-boot.imx 285 ;; an SPI memory chip, not the SD card. It is copied to /boot/u-boot.imx
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index 8a091cfcbe4..86efedde5f4 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -23,6 +23,7 @@
23;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> 23;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
24;;; Copyright © 2025 Esther Flashner <esther@flashner.co.il> 24;;; Copyright © 2025 Esther Flashner <esther@flashner.co.il>
25;;; Copyright © 2025 André Batista <nandre@riseup.net> 25;;; Copyright © 2025 André Batista <nandre@riseup.net>
26;;; Copyright © 2025 dan <i@dan.games>
26;;; 27;;;
27;;; This file is part of GNU Guix. 28;;; This file is part of GNU Guix.
28;;; 29;;;
@@ -1550,6 +1551,9 @@ Documentation} for more information (for example by running @samp{info
1550(define-public u-boot-pinebook-pro-rk3399 1551(define-public u-boot-pinebook-pro-rk3399
1551 (make-u-boot-rockchip-package "pinebook-pro" 'rk3399)) 1552 (make-u-boot-rockchip-package "pinebook-pro" 'rk3399))
1552 1553
1554(define-public u-boot-nanopi-r4s-rk3399
1555 (make-u-boot-rockchip-package "nanopi-r4s" 'rk3399))
1556
1553(define*-public (make-u-boot-bin-package u-boot-package 1557(define*-public (make-u-boot-bin-package u-boot-package
1554 #:key 1558 #:key
1555 (u-boot-bin "u-boot.bin")) 1559 (u-boot-bin "u-boot.bin"))