me
/
guix
Archived
1
0
Fork 0

gnu: Add opensbi-for-visionfive2.

* gnu/packages/firmware.scm (opensbi-for-visionfive2): New variable.

Change-Id: I27963937410a3900a63193ce2a1033ac20a79919
master
Zheng Junjie 2024-05-19 01:09:55 +08:00
parent eaa99648ff
commit 800b33786c
No known key found for this signature in database
GPG Key ID: 3B5AA993E1A2DFF0
1 changed files with 14 additions and 0 deletions

View File

@ -585,6 +585,20 @@ executing in M-mode.")
(description
"This package contains OpenSBI firmware files for use with QEMU.")))
(define-public opensbi-for-visionfive2
(package
(inherit opensbi-generic)
(name "opensbi-for-visionfive2")
(arguments
(substitute-keyword-arguments
(package-arguments opensbi-generic)
((#:make-flags flags)
;; visionfive2's u-boot need opensbi with the following flags.
;; see https://docs.u-boot.org/en/latest/board/starfive/visionfive2.html
#~(cons* "FW_TEXT_START=0x40000000"
"FW_OPTIONS=0"
#$flags))))))
(define-public seabios
(package
(name "seabios")