-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathopenkal-opensbi.lua
More file actions
74 lines (72 loc) · 3.66 KB
/
Copy pathopenkal-opensbi.lua
File metadata and controls
74 lines (72 loc) · 3.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
-- openkal-opensbi — openkal on the RISC-V Supervisor Binary Interface.
--
-- ⭐ The PORTABLE RISC-V backend, as distinct from a board's own. A board
-- backend writes to a device address, and that address is a board fact: the
-- same binary on a second RISC-V machine writes to something that is not a
-- UART and prints nothing. SBI's console is a call into firmware that already
-- knows the machine, so one image runs under OpenSBI on QEMU's `virt` and on a
-- real board without being rebuilt.
--
-- ⚠️ NO `deps`. The only mcpp dependency is the specification package, declared
-- in this package's own manifest; nothing needs installing.
package = {
spec = "1",
namespace = "mcpplibs",
name = "openkal-opensbi",
description = "An implementation of openkal on the RISC-V Supervisor Binary Interface, portable across every machine whose firmware provides one",
licenses = {"Apache-2.0"},
repo = "https://github.com/mcpplibs/openkal-opensbi",
type = "package",
xpm = {
linux = {
["0.1.1"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-opensbi/archive/refs/tags/0.1.1.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-opensbi/releases/download/0.1.1/openkal-opensbi-0.1.1.tar.gz",
},
sha256 = "5c8cc2479654139c14b9aa3d912aac980fa942fa2ad6abf74e6be7443901e02d",
},
["0.1.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-opensbi/archive/refs/tags/0.1.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-opensbi/releases/download/0.1.0/openkal-opensbi-0.1.0.tar.gz",
},
sha256 = "6b5b81be59171f6f0d8e5d2e586a7f502479a2f309efb7fb1ab17c77a7579884",
},
},
macosx = {
["0.1.1"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-opensbi/archive/refs/tags/0.1.1.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-opensbi/releases/download/0.1.1/openkal-opensbi-0.1.1.tar.gz",
},
sha256 = "5c8cc2479654139c14b9aa3d912aac980fa942fa2ad6abf74e6be7443901e02d",
},
["0.1.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-opensbi/archive/refs/tags/0.1.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-opensbi/releases/download/0.1.0/openkal-opensbi-0.1.0.tar.gz",
},
sha256 = "6b5b81be59171f6f0d8e5d2e586a7f502479a2f309efb7fb1ab17c77a7579884",
},
},
windows = {
["0.1.1"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-opensbi/archive/refs/tags/0.1.1.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-opensbi/releases/download/0.1.1/openkal-opensbi-0.1.1.tar.gz",
},
sha256 = "5c8cc2479654139c14b9aa3d912aac980fa942fa2ad6abf74e6be7443901e02d",
},
["0.1.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-opensbi/archive/refs/tags/0.1.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-opensbi/releases/download/0.1.0/openkal-opensbi-0.1.0.tar.gz",
},
sha256 = "6b5b81be59171f6f0d8e5d2e586a7f502479a2f309efb7fb1ab17c77a7579884",
},
},
},
-- The package's own manifest, inside the tarball's wrap directory.
mcpp = "*/mcpp.toml",
}