diff options
author | Marius Bakke <[email protected]> | 2019-02-11 19:25:16 +0100 |
---|---|---|
committer | Marius Bakke <[email protected]> | 2019-02-11 19:25:16 +0100 |
commit | c3f47e44cdcb9db3c70ef13526a33d538ed40aa9 (patch) | |
tree | cc9bc516924382932890a0a1cfec6bccd49e2d15 /gnu/packages/bootloaders.scm | |
parent | f9126dd404b61d7aeea8cf5ddcfb3b2829ac0f73 (diff) | |
parent | c8b69863eb479c3b9d8a59c2cee3226986e40d02 (diff) |
Merge branch 'master' into core-updates
Diffstat (limited to 'gnu/packages/bootloaders.scm')
-rw-r--r-- | gnu/packages/bootloaders.scm | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm index 5bd784f73c..a566001b07 100644 --- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm @@ -624,7 +624,25 @@ board-independent tools."))) (make-u-boot-package "mx6cuboxi" "arm-linux-gnueabihf")) (define-public u-boot-novena - (make-u-boot-package "novena" "arm-linux-gnueabihf")) + (let ((base (make-u-boot-package "novena" "arm-linux-gnueabihf"))) + (package + (inherit base) + (description "U-Boot is a bootloader used mostly for ARM boards. It +also initializes the boards (RAM etc). + +This U-Boot is built for Novena. Be advised that this version, contrary +to Novena upstream, does not load u-boot.img from the first patition.") + (arguments + (substitute-keyword-arguments (package-arguments base) + ((#:phases phases) + `(modify-phases ,phases + (add-after 'unpack 'patch-novena-defconfig + ;; Patch configuration to disable loading u-boot.img from FAT partition, + ;; allowing it to be installed at a device offset. + (lambda _ + (substitute* "configs/novena_defconfig" + (("CONFIG_SPL_FAT_SUPPORT=y") "# CONFIG_SPL_FAT_SUPPORT is not set")) + #t))))))))) (define-public u-boot-cubieboard (make-u-boot-package "Cubieboard" "arm-linux-gnueabihf")) |