diff options
| author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-12-09 00:27:09 -0500 |
|---|---|---|
| committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-01-18 21:25:25 -0500 |
| commit | 9530ee9f9c89cbbf35589727e9fdb373ed7f47fa (patch) | |
| tree | 807b7c551e2e8b35354d1997fdb9513ccbeb9d4e /gnu/bootloader/u-boot.scm | |
| parent | d393e89d45da79a3d48c6dae9d609b17fea25eec (diff) | |
gnu: Add u-boot-ts7970-q-2g-1000mhz-c-bootloader.
* gnu/bootloader/u-boot.scm (u-boot-ts7970-q-2g-1000mhz-c-bootloader): New
variable.
Diffstat (limited to 'gnu/bootloader/u-boot.scm')
| -rw-r--r-- | gnu/bootloader/u-boot.scm | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/bootloader/u-boot.scm b/gnu/bootloader/u-boot.scm index 6cad33b7416..65d79234655 100644 --- a/gnu/bootloader/u-boot.scm +++ b/gnu/bootloader/u-boot.scm | |||
| @@ -3,6 +3,7 @@ | |||
| 3 | ;;; Copyright © 2017, 2019 Mathieu Othacehe <m.othacehe@gmail.com> | 3 | ;;; Copyright © 2017, 2019 Mathieu Othacehe <m.othacehe@gmail.com> |
| 4 | ;;; Copyright © 2020 Julien Lepiller <julien@lepiller.eu> | 4 | ;;; Copyright © 2020 Julien Lepiller <julien@lepiller.eu> |
| 5 | ;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> | 5 | ;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> |
| 6 | ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com> | ||
| 6 | ;;; | 7 | ;;; |
| 7 | ;;; This file is part of GNU Guix. | 8 | ;;; This file is part of GNU Guix. |
| 8 | ;;; | 9 | ;;; |
| @@ -42,6 +43,7 @@ | |||
| 42 | u-boot-puma-rk3399-bootloader | 43 | u-boot-puma-rk3399-bootloader |
| 43 | u-boot-rock64-rk3328-bootloader | 44 | u-boot-rock64-rk3328-bootloader |
| 44 | u-boot-rockpro64-rk3399-bootloader | 45 | u-boot-rockpro64-rk3399-bootloader |
| 46 | u-boot-ts7970-q-2g-1000mhz-c-bootloader | ||
| 45 | u-boot-wandboard-bootloader)) | 47 | u-boot-wandboard-bootloader)) |
| 46 | 48 | ||
| 47 | (define install-u-boot | 49 | (define install-u-boot |
| @@ -127,6 +129,12 @@ | |||
| 127 | 129 | ||
| 128 | (define install-pinebook-pro-rk3399-u-boot install-rockpro64-rk3399-u-boot) | 130 | (define install-pinebook-pro-rk3399-u-boot install-rockpro64-rk3399-u-boot) |
| 129 | 131 | ||
| 132 | (define install-u-boot-ts7970-q-2g-1000mhz-c-u-boot | ||
| 133 | #~(lambda (bootloader device mount-point) | ||
| 134 | (let ((u-boot.imx (string-append bootloader "/libexec/u-boot.imx")) | ||
| 135 | (install-dir (string-append mount-point "/boot"))) | ||
| 136 | (install-file u-boot.imx install-dir)))) | ||
| 137 | |||
| 130 | 138 | ||
| 131 | 139 | ||
| 132 | ;;; | 140 | ;;; |
| @@ -255,3 +263,13 @@ | |||
| 255 | (inherit u-boot-bootloader) | 263 | (inherit u-boot-bootloader) |
| 256 | (package u-boot-pinebook-pro-rk3399) | 264 | (package u-boot-pinebook-pro-rk3399) |
| 257 | (disk-image-installer install-pinebook-pro-rk3399-u-boot))) | 265 | (disk-image-installer install-pinebook-pro-rk3399-u-boot))) |
| 266 | |||
| 267 | (define u-boot-ts7970-q-2g-1000mhz-c-bootloader | ||
| 268 | ;; This bootloader doesn't really need to be installed, as it is read from | ||
| 269 | ;; an SPI memory chip, not the SD card. It is copied to /boot/u-boot.imx | ||
| 270 | ;; for convenience and should be manually flashed at the U-Boot prompt. | ||
| 271 | (bootloader | ||
| 272 | (inherit u-boot-bootloader) | ||
| 273 | (package u-boot-ts7970-q-2g-1000mhz-c) | ||
| 274 | (installer install-u-boot-ts7970-q-2g-1000mhz-c-u-boot) | ||
| 275 | (disk-image-installer #f))) | ||
