fix regressions from litex 2022.08

This commit is contained in:
bunnie 2022-11-17 22:12:32 +08:00
parent 71df3a624b
commit 156e60d1dd
10 changed files with 333 additions and 157 deletions

264
Cargo.lock generated
View file

@ -31,7 +31,7 @@ dependencies = [
"cipher 0.4.3", "cipher 0.4.3",
"hex-literal", "hex-literal",
"log", "log",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
] ]
@ -65,7 +65,7 @@ version = "0.1.0"
dependencies = [ dependencies = [
"hex-literal", "hex-literal",
"log", "log",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
] ]
@ -175,11 +175,11 @@ dependencies = [
"num-derive", "num-derive",
"num-traits", "num-traits",
"trng", "trng",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-api-names", "xous-api-names",
"xous-api-ticktimer", "xous-api-ticktimer",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
@ -532,12 +532,12 @@ dependencies = [
"rkyv", "rkyv",
"trng", "trng",
"utralib", "utralib",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-api-names", "xous-api-names",
"xous-api-susres", "xous-api-susres",
"xous-api-ticktimer", "xous-api-ticktimer",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
@ -553,12 +553,12 @@ dependencies = [
"trng", "trng",
"typenum", "typenum",
"utralib", "utralib",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-api-names", "xous-api-names",
"xous-api-susres", "xous-api-susres",
"xous-api-ticktimer", "xous-api-ticktimer",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-semver", "xous-semver",
] ]
@ -611,7 +611,7 @@ dependencies = [
"graphics-server", "graphics-server",
"log", "log",
"rkyv", "rkyv",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-names", "xous-api-names",
] ]
@ -1046,11 +1046,11 @@ dependencies = [
"rkyv", "rkyv",
"trng", "trng",
"utralib", "utralib",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-api-names", "xous-api-names",
"xous-api-ticktimer", "xous-api-ticktimer",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
@ -1168,12 +1168,12 @@ dependencies = [
"num-traits", "num-traits",
"rkyv", "rkyv",
"utralib", "utralib",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-api-names", "xous-api-names",
"xous-api-susres", "xous-api-susres",
"xous-api-ticktimer", "xous-api-ticktimer",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
@ -1285,7 +1285,7 @@ dependencies = [
"num-derive", "num-derive",
"num-traits", "num-traits",
"utralib", "utralib",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-api-names", "xous-api-names",
"xous-api-susres", "xous-api-susres",
@ -1503,12 +1503,12 @@ dependencies = [
"trng", "trng",
"tts-frontend", "tts-frontend",
"utralib", "utralib",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-api-names", "xous-api-names",
"xous-api-susres", "xous-api-susres",
"xous-api-ticktimer", "xous-api-ticktimer",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
@ -1545,9 +1545,9 @@ dependencies = [
"wasi 0.11.0+wasi-snapshot-preview1", "wasi 0.11.0+wasi-snapshot-preview1",
"wasm-bindgen", "wasm-bindgen",
"wasm-bindgen-test", "wasm-bindgen-test",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-names", "xous-api-names",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
@ -1567,12 +1567,12 @@ dependencies = [
"num-traits", "num-traits",
"rkyv", "rkyv",
"utralib", "utralib",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-api-names", "xous-api-names",
"xous-api-susres", "xous-api-susres",
"xous-api-ticktimer", "xous-api-ticktimer",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
@ -1657,10 +1657,10 @@ dependencies = [
"num-derive", "num-derive",
"num-traits", "num-traits",
"tts-frontend", "tts-frontend",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-api-names", "xous-api-names",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
@ -1794,11 +1794,11 @@ dependencies = [
"rkyv", "rkyv",
"tts-frontend", "tts-frontend",
"utralib", "utralib",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-api-names", "xous-api-names",
"xous-api-ticktimer", "xous-api-ticktimer",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
@ -1810,9 +1810,9 @@ dependencies = [
"num-derive", "num-derive",
"num-traits", "num-traits",
"rkyv", "rkyv",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-names", "xous-api-names",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
@ -1825,11 +1825,11 @@ dependencies = [
"num-traits", "num-traits",
"rkyv", "rkyv",
"utralib", "utralib",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-api-names", "xous-api-names",
"xous-api-ticktimer", "xous-api-ticktimer",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
@ -1844,11 +1844,11 @@ dependencies = [
"rkyv", "rkyv",
"tts-frontend", "tts-frontend",
"utralib", "utralib",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-api-names", "xous-api-names",
"xous-api-ticktimer", "xous-api-ticktimer",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
@ -1928,12 +1928,12 @@ dependencies = [
"num-traits", "num-traits",
"rkyv", "rkyv",
"utralib", "utralib",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-api-names", "xous-api-names",
"xous-api-susres", "xous-api-susres",
"xous-api-ticktimer", "xous-api-ticktimer",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
@ -1948,7 +1948,7 @@ version = "0.1.0"
dependencies = [ dependencies = [
"log", "log",
"utralib", "utralib",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-api-ticktimer", "xous-api-ticktimer",
] ]
@ -1964,12 +1964,12 @@ dependencies = [
"rkyv", "rkyv",
"spinor", "spinor",
"utralib", "utralib",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-api-names", "xous-api-names",
"xous-api-susres", "xous-api-susres",
"xous-api-ticktimer", "xous-api-ticktimer",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
@ -2020,7 +2020,7 @@ dependencies = [
"num-derive", "num-derive",
"num-traits", "num-traits",
"utralib", "utralib",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-api-names", "xous-api-names",
"xous-api-ticktimer", "xous-api-ticktimer",
@ -2038,12 +2038,12 @@ dependencies = [
"num-traits", "num-traits",
"rkyv", "rkyv",
"utralib", "utralib",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-api-names", "xous-api-names",
"xous-api-susres", "xous-api-susres",
"xous-api-ticktimer", "xous-api-ticktimer",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-semver", "xous-semver",
] ]
@ -2203,11 +2203,11 @@ dependencies = [
"trng", "trng",
"tts-frontend", "tts-frontend",
"utralib", "utralib",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-api-names", "xous-api-names",
"xous-api-ticktimer", "xous-api-ticktimer",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
@ -2230,11 +2230,11 @@ dependencies = [
"serde", "serde",
"trng", "trng",
"ureq", "ureq",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-api-names", "xous-api-names",
"xous-api-ticktimer", "xous-api-ticktimer",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
@ -2270,12 +2270,12 @@ dependencies = [
"smoltcp", "smoltcp",
"trng", "trng",
"utralib", "utralib",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-api-names", "xous-api-names",
"xous-api-susres", "xous-api-susres",
"xous-api-ticktimer", "xous-api-ticktimer",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-semver", "xous-semver",
] ]
@ -2543,12 +2543,12 @@ dependencies = [
"trng", "trng",
"tts-frontend", "tts-frontend",
"utralib", "utralib",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-api-names", "xous-api-names",
"xous-api-susres", "xous-api-susres",
"xous-api-ticktimer", "xous-api-ticktimer",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"zeroize", "zeroize",
"zeroize_derive", "zeroize_derive",
] ]
@ -2576,7 +2576,7 @@ version = "0.1.0"
dependencies = [ dependencies = [
"log", "log",
"utralib", "utralib",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
@ -3018,11 +3018,11 @@ dependencies = [
"num-derive", "num-derive",
"num-traits", "num-traits",
"trng", "trng",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-api-names", "xous-api-names",
"xous-api-ticktimer", "xous-api-ticktimer",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
@ -3060,9 +3060,9 @@ dependencies = [
"spin 0.5.2", "spin 0.5.2",
"untrusted", "untrusted",
"winapi", "winapi",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-names", "xous-api-names",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
@ -3143,12 +3143,12 @@ dependencies = [
"tts-frontend", "tts-frontend",
"usb-device-xous", "usb-device-xous",
"utralib", "utralib",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-api-names", "xous-api-names",
"xous-api-susres", "xous-api-susres",
"xous-api-ticktimer", "xous-api-ticktimer",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-semver", "xous-semver",
"zeroize", "zeroize",
] ]
@ -3418,12 +3418,12 @@ dependencies = [
"rkyv", "rkyv",
"trng", "trng",
"utralib", "utralib",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-api-names", "xous-api-names",
"xous-api-susres", "xous-api-susres",
"xous-api-ticktimer", "xous-api-ticktimer",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
@ -3501,12 +3501,12 @@ dependencies = [
"utralib", "utralib",
"webpki-roots", "webpki-roots",
"x25519-dalek", "x25519-dalek",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-api-names", "xous-api-names",
"xous-api-susres", "xous-api-susres",
"xous-api-ticktimer", "xous-api-ticktimer",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
@ -3557,7 +3557,7 @@ dependencies = [
name = "spawn" name = "spawn"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
@ -3600,12 +3600,12 @@ dependencies = [
"rkyv", "rkyv",
"trng", "trng",
"utralib", "utralib",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-api-names", "xous-api-names",
"xous-api-susres", "xous-api-susres",
"xous-api-ticktimer", "xous-api-ticktimer",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
@ -3664,12 +3664,12 @@ dependencies = [
"trng", "trng",
"usb-device-xous", "usb-device-xous",
"utralib", "utralib",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-api-names", "xous-api-names",
"xous-api-susres", "xous-api-susres",
"xous-api-ticktimer", "xous-api-ticktimer",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-semver", "xous-semver",
] ]
@ -3701,7 +3701,7 @@ dependencies = [
[[package]] [[package]]
name = "svd2utra" name = "svd2utra"
version = "0.1.7" version = "0.1.8"
dependencies = [ dependencies = [
"convert_case", "convert_case",
"quick-xml", "quick-xml",
@ -3709,9 +3709,9 @@ dependencies = [
[[package]] [[package]]
name = "svd2utra" name = "svd2utra"
version = "0.1.7" version = "0.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a65cf81cff9ec9ad564103468224386dc7443afd1c2037de148bd2c51ca006dd" checksum = "eb7e91b601f902ab3b99a58e9b8530493723e6c83b79c335c78ac8ce428a8743"
dependencies = [ dependencies = [
"convert_case", "convert_case",
"quick-xml", "quick-xml",
@ -3773,7 +3773,7 @@ dependencies = [
name = "test-spawn" name = "test-spawn"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
@ -3886,7 +3886,7 @@ dependencies = [
"log", "log",
"pem", "pem",
"ring", "ring",
"svd2utra 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", "svd2utra 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
"xmas-elf", "xmas-elf",
"xous-semver", "xous-semver",
] ]
@ -3970,12 +3970,12 @@ dependencies = [
"rand_chacha 0.3.1", "rand_chacha 0.3.1",
"rkyv", "rkyv",
"utralib", "utralib",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-api-names", "xous-api-names",
"xous-api-susres", "xous-api-susres",
"xous-api-ticktimer", "xous-api-ticktimer",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
@ -3988,11 +3988,11 @@ dependencies = [
"num-traits", "num-traits",
"rkyv", "rkyv",
"utralib", "utralib",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-api-names", "xous-api-names",
"xous-api-ticktimer", "xous-api-ticktimer",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-tts-backend", "xous-tts-backend",
] ]
@ -4139,12 +4139,12 @@ dependencies = [
"usbd-human-interface-device 0.2.1", "usbd-human-interface-device 0.2.1",
"utralib", "utralib",
"vcell", "vcell",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-api-names", "xous-api-names",
"xous-api-susres", "xous-api-susres",
"xous-api-ticktimer", "xous-api-ticktimer",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-semver", "xous-semver",
] ]
@ -4164,7 +4164,7 @@ dependencies = [
"usbd-human-interface-device 0.1.1", "usbd-human-interface-device 0.1.1",
"utralib", "utralib",
"vcell", "vcell",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-api-names", "xous-api-names",
"xous-api-susres", "xous-api-susres",
@ -4213,11 +4213,11 @@ checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9"
[[package]] [[package]]
name = "utralib" name = "utralib"
version = "0.1.9" version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2a2981d46c235f61d0ff7905f3c7b982f5cbf8f0b87b9bf5fa87d296f62ab3ac" checksum = "4590cd5e8fe4673f0c67c9dd346c118bc6a0756bdf8ed4efd4ed363084e03589"
dependencies = [ dependencies = [
"svd2utra 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", "svd2utra 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
@ -4268,12 +4268,12 @@ dependencies = [
"usb-device-xous", "usb-device-xous",
"usbd-human-interface-device 0.2.1", "usbd-human-interface-device 0.2.1",
"utralib", "utralib",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-api-names", "xous-api-names",
"xous-api-susres", "xous-api-susres",
"xous-api-ticktimer", "xous-api-ticktimer",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
@ -4717,7 +4717,7 @@ checksum = "d2d7d3948613f75c98fd9328cfdcc45acc4d360655289d0a7d4ec931392200a3"
[[package]] [[package]]
name = "xous" name = "xous"
version = "0.9.24" version = "0.9.25"
dependencies = [ dependencies = [
"compiler_builtins", "compiler_builtins",
"lazy_static", "lazy_static",
@ -4726,99 +4726,99 @@ dependencies = [
[[package]] [[package]]
name = "xous" name = "xous"
version = "0.9.24" version = "0.9.25"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "51eaec3e40494097174d60a93d2c77569208246783066cee0e270771a923e730" checksum = "0aea89e46724a1988103ca924a786122b3a7c7a397339e042ea2477383aa569d"
dependencies = [ dependencies = [
"lazy_static", "lazy_static",
] ]
[[package]] [[package]]
name = "xous-api-log" name = "xous-api-log"
version = "0.1.18" version = "0.1.19"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "880fb22905cdaf24cd359f49c9532bee32b126b923f5f9e72a17cb60812d30ac" checksum = "aa7612f84085a96f4899fa8117c1279d651bd1bf43390d5ed3f771f7d388285c"
dependencies = [ dependencies = [
"log", "log",
"num-derive", "num-derive",
"num-traits", "num-traits",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
name = "xous-api-names" name = "xous-api-names"
version = "0.9.20" version = "0.9.21"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5809ddc9958b57d2fbf7981b5d129ea244e8aff2f4dda79ca68d19310c0df0b1" checksum = "fe765421d2834ac77598ba6b4a8b860c9291ddcbe00911e78a1d5e95fe207049"
dependencies = [ dependencies = [
"log", "log",
"num-derive", "num-derive",
"num-traits", "num-traits",
"rkyv", "rkyv",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
name = "xous-api-susres" name = "xous-api-susres"
version = "0.9.18" version = "0.9.19"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "692689670c9661470c26dab75af629e34acd9779049c17762a46935ac04deef8" checksum = "9620e359c86568ed3a78b0ce3b1351132ce796925c202219b8f3391c96e8d0dd"
dependencies = [ dependencies = [
"log", "log",
"num-derive", "num-derive",
"num-traits", "num-traits",
"rkyv", "rkyv",
"utralib", "utralib",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-api-names", "xous-api-names",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
name = "xous-api-ticktimer" name = "xous-api-ticktimer"
version = "0.9.18" version = "0.9.19"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec08c3120ceba64928718ba4ed6a55d20b62a3b3108cb80188280e615619c627" checksum = "c616cfe83f2b1b796dca170ca82c7819f1dd64a734f678591ef2f6a10605022c"
dependencies = [ dependencies = [
"log", "log",
"num-derive", "num-derive",
"num-traits", "num-traits",
"rkyv", "rkyv",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-api-names", "xous-api-names",
"xous-api-susres", "xous-api-susres",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-semver", "xous-semver",
] ]
[[package]] [[package]]
name = "xous-ipc" name = "xous-ipc"
version = "0.9.24" version = "0.9.25"
dependencies = [ dependencies = [
"bitflags", "bitflags",
"rkyv", "rkyv",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
name = "xous-ipc" name = "xous-ipc"
version = "0.9.24" version = "0.9.25"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3f82fff59dab2eb19e27349d8d8e32e98c4ea20fb6ab3d020a033ad3b286b55c" checksum = "723a2badcaa5b4a699c79237c9810783c13d2298bed7b05bf9c1c8fa9efa7ace"
dependencies = [ dependencies = [
"bitflags", "bitflags",
"rkyv", "rkyv",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
name = "xous-kernel" name = "xous-kernel"
version = "0.9.20" version = "0.9.21"
dependencies = [ dependencies = [
"bitflags", "bitflags",
"crossbeam-channel", "crossbeam-channel",
@ -4828,36 +4828,36 @@ dependencies = [
"rand_chacha 0.3.1", "rand_chacha 0.3.1",
"stats_alloc", "stats_alloc",
"utralib", "utralib",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-riscv", "xous-riscv",
] ]
[[package]] [[package]]
name = "xous-log" name = "xous-log"
version = "0.1.15" version = "0.1.16"
dependencies = [ dependencies = [
"log", "log",
"num-derive", "num-derive",
"num-traits", "num-traits",
"utralib", "utralib",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
name = "xous-names" name = "xous-names"
version = "0.9.24" version = "0.9.25"
dependencies = [ dependencies = [
"log", "log",
"num-derive", "num-derive",
"num-traits", "num-traits",
"rkyv", "rkyv",
"utralib", "utralib",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-api-names", "xous-api-names",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
@ -4878,6 +4878,22 @@ checksum = "6ed3278bb4e7be4895c1c597434e5269f7357ffb800ebc644f0398bb008a15ad"
[[package]] [[package]]
name = "xous-susres" name = "xous-susres"
version = "0.1.21"
dependencies = [
"log",
"num-derive",
"num-traits",
"rkyv",
"utralib",
"xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log",
"xous-api-names",
"xous-api-susres",
"xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "xous-ticktimer"
version = "0.1.20" version = "0.1.20"
dependencies = [ dependencies = [
"log", "log",
@ -4885,28 +4901,12 @@ dependencies = [
"num-traits", "num-traits",
"rkyv", "rkyv",
"utralib", "utralib",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log",
"xous-api-names",
"xous-api-susres",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "xous-ticktimer"
version = "0.1.19"
dependencies = [
"log",
"num-derive",
"num-traits",
"rkyv",
"utralib",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-log", "xous-api-log",
"xous-api-names", "xous-api-names",
"xous-api-susres", "xous-api-susres",
"xous-api-ticktimer", "xous-api-ticktimer",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-semver", "xous-semver",
] ]
@ -4920,9 +4920,9 @@ dependencies = [
"num-derive", "num-derive",
"num-traits", "num-traits",
"rkyv", "rkyv",
"xous 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
"xous-api-names", "xous-api-names",
"xous-ipc 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "xous-ipc 0.9.25 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
@ -4935,7 +4935,7 @@ dependencies = [
"rustc_version 0.4.0", "rustc_version 0.4.0",
"serde", "serde",
"serde_json", "serde_json",
"svd2utra 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", "svd2utra 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
"tempfile", "tempfile",
"ureq", "ureq",
"zip", "zip",

Binary file not shown.

Binary file not shown.

6
utralib/Cargo.lock generated
View file

@ -25,9 +25,9 @@ dependencies = [
[[package]] [[package]]
name = "svd2utra" name = "svd2utra"
version = "0.1.7" version = "0.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a65cf81cff9ec9ad564103468224386dc7443afd1c2037de148bd2c51ca006dd" checksum = "eb7e91b601f902ab3b99a58e9b8530493723e6c83b79c335c78ac8ce428a8743"
dependencies = [ dependencies = [
"convert_case", "convert_case",
"quick-xml", "quick-xml",
@ -35,7 +35,7 @@ dependencies = [
[[package]] [[package]]
name = "utralib" name = "utralib"
version = "0.1.9" version = "0.1.10"
dependencies = [ dependencies = [
"svd2utra", "svd2utra",
] ]

View file

@ -34,7 +34,7 @@ precursor-c809403 = []
precursor-a0912d6 = [] precursor-a0912d6 = []
precursor-c809403-perflib = [] precursor-c809403-perflib = []
precursor-2753c12-dvt = [] precursor-2753c12-dvt = []
precursor-b414f2b = [] # based on 2020.08 litex precursor-7447604 = [] # based on 2020.08 litex
# The SVD gitrev as specified above is only invoked to track fine-grained # The SVD gitrev as specified above is only invoked to track fine-grained
# changes between target revisions. Below is the overall target switch, # changes between target revisions. Below is the overall target switch,
@ -47,4 +47,4 @@ hosted = []
renode = [] renode = []
# Specify a Precusor default so that we can pass packaging CI tests. # Specify a Precusor default so that we can pass packaging CI tests.
default = ["precursor-b414f2b", "precursor"] default = ["precursor-7447604", "precursor"]

View file

@ -91,7 +91,7 @@ fn main() {
"precursor-c809403-perflib", "precursor-c809403-perflib",
"precursor-2753c12-dvt", "precursor-2753c12-dvt",
"precursor-a0912d6", "precursor-a0912d6",
"precursor-b414f2b" "precursor-7447604"
); );
// ----- select an SVD file based on a specific revision ----- // ----- select an SVD file based on a specific revision -----
@ -120,10 +120,10 @@ fn main() {
#[cfg(feature = "precursor-2753c12-dvt")] #[cfg(feature = "precursor-2753c12-dvt")]
let generated_filename = "src/generated/precursor_dvt_2753c12.rs"; let generated_filename = "src/generated/precursor_dvt_2753c12.rs";
#[cfg(feature = "precursor-b414f2b")] #[cfg(feature = "precursor-7447604")]
let svd_filename = "precursor/soc-b414f2b.svd"; let svd_filename = "precursor/soc-7447604.svd";
#[cfg(feature = "precursor-b414f2b")] #[cfg(feature = "precursor-7447604")]
let generated_filename = "src/generated/precursor_b414f2b.rs"; let generated_filename = "src/generated/precursor_7447604.rs";
// ----- control file generation and rebuild sequence ----- // ----- control file generation and rebuild sequence -----
// check and see if the configuration has changed since the last build. This should be // check and see if the configuration has changed since the last build. This should be

View file

@ -3,7 +3,7 @@
<device schemaVersion="1.1" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="CMSIS-SVD.xsd" > <device schemaVersion="1.1" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="CMSIS-SVD.xsd" >
<vendor>litex</vendor> <vendor>litex</vendor>
<name>SOC</name> <name>SOC</name>
<description><![CDATA[Litex SoC 2022-11-17 18:56:55]]></description> <description><![CDATA[Litex SoC 2022-11-17 21:48:11]]></description>
<addressUnitBits>8</addressUnitBits> <addressUnitBits>8</addressUnitBits>
<width>32</width> <width>32</width>
@ -1222,10 +1222,10 @@ register to disable individual events.]]></description>
<register> <register>
<name>GIT_GITREV</name> <name>GIT_GITREV</name>
<description><![CDATA[First 32-bits of the git revision. This documentation was built from git rev <description><![CDATA[First 32-bits of the git revision. This documentation was built from git rev
``b414f2b5``, so this value is 3021271733, which should be enough to check out ``74476049``, so this value is 1950834761, which should be enough to check out
the exact git version used to build this firmware.]]></description> the exact git version used to build this firmware.]]></description>
<addressOffset>0x0014</addressOffset> <addressOffset>0x0014</addressOffset>
<resetValue>0xb414f2b5</resetValue> <resetValue>0x74476049</resetValue>
<size>32</size> <size>32</size>
<fields> <fields>
<field> <field>
@ -1242,7 +1242,7 @@ the exact git version used to build this firmware.]]></description>
is ``1``, then the repository this was built from has one additional commit is ``1``, then the repository this was built from has one additional commit
beyond the tag indicated in `MAJOR`, `MINOR`, and `REVISION`.]]></description> beyond the tag indicated in `MAJOR`, `MINOR`, and `REVISION`.]]></description>
<addressOffset>0x0018</addressOffset> <addressOffset>0x0018</addressOffset>
<resetValue>0x06</resetValue> <resetValue>0x07</resetValue>
<size>32</size> <size>32</size>
<fields> <fields>
<field> <field>
@ -2283,10 +2283,62 @@ other requests.]]></description>
</field> </field>
</fields> </fields>
</register> </register>
<register>
<name>EV_STATUS</name>
<description><![CDATA[This register contains the current raw level of the alarm event trigger. Writes
to this register have no effect.]]></description>
<addressOffset>0x0014</addressOffset>
<resetValue>0x00</resetValue>
<size>32</size>
<fields>
<field>
<name>alarm</name>
<msb>0</msb>
<bitRange>[0:0]</bitRange>
<lsb>0</lsb>
<description><![CDATA[Level of the ``alarm`` event]]></description>
</field>
</fields>
</register>
<register>
<name>EV_PENDING</name>
<description><![CDATA[When a alarm event occurs, the corresponding bit will be set in this register.
To clear the Event, set the corresponding bit in this register.]]></description>
<addressOffset>0x0018</addressOffset>
<resetValue>0x00</resetValue>
<size>32</size>
<fields>
<field>
<name>alarm</name>
<msb>0</msb>
<bitRange>[0:0]</bitRange>
<lsb>0</lsb>
<description><![CDATA[`1` if a `alarm` event occurred. This Event is **level triggered** when the
signal is **high**.]]></description>
</field>
</fields>
</register>
<register>
<name>EV_ENABLE</name>
<description><![CDATA[This register enables the corresponding alarm events. Write a ``0`` to this
register to disable individual events.]]></description>
<addressOffset>0x001c</addressOffset>
<resetValue>0x00</resetValue>
<size>32</size>
<fields>
<field>
<name>alarm</name>
<msb>0</msb>
<bitRange>[0:0]</bitRange>
<lsb>0</lsb>
<description><![CDATA[Write a ``1`` to enable the ``alarm`` Event]]></description>
</field>
</fields>
</register>
</registers> </registers>
<addressBlock> <addressBlock>
<offset>0</offset> <offset>0</offset>
<size>0x14</size> <size>0x20</size>
<usage>registers</usage> <usage>registers</usage>
</addressBlock> </addressBlock>
<interrupt> <interrupt>
@ -2472,10 +2524,62 @@ suspend/resume from an interrupt context.]]></description>
</field> </field>
</fields> </fields>
</register> </register>
<register>
<name>EV_STATUS</name>
<description><![CDATA[This register contains the current raw level of the soft_int event trigger.
Writes to this register have no effect.]]></description>
<addressOffset>0x0028</addressOffset>
<resetValue>0x00</resetValue>
<size>32</size>
<fields>
<field>
<name>soft_int</name>
<msb>0</msb>
<bitRange>[0:0]</bitRange>
<lsb>0</lsb>
<description><![CDATA[Level of the ``soft_int`` event]]></description>
</field>
</fields>
</register>
<register>
<name>EV_PENDING</name>
<description><![CDATA[When a soft_int event occurs, the corresponding bit will be set in this
register. To clear the Event, set the corresponding bit in this register.]]></description>
<addressOffset>0x002c</addressOffset>
<resetValue>0x00</resetValue>
<size>32</size>
<fields>
<field>
<name>soft_int</name>
<msb>0</msb>
<bitRange>[0:0]</bitRange>
<lsb>0</lsb>
<description><![CDATA[`1` if a `soft_int` event occurred. This Event is triggered on a **falling**
edge.]]></description>
</field>
</fields>
</register>
<register>
<name>EV_ENABLE</name>
<description><![CDATA[This register enables the corresponding soft_int events. Write a ``0`` to this
register to disable individual events.]]></description>
<addressOffset>0x0030</addressOffset>
<resetValue>0x00</resetValue>
<size>32</size>
<fields>
<field>
<name>soft_int</name>
<msb>0</msb>
<bitRange>[0:0]</bitRange>
<lsb>0</lsb>
<description><![CDATA[Write a ``1`` to enable the ``soft_int`` Event]]></description>
</field>
</fields>
</register>
</registers> </registers>
<addressBlock> <addressBlock>
<offset>0</offset> <offset>0</offset>
<size>0x28</size> <size>0x34</size>
<usage>registers</usage> <usage>registers</usage>
</addressBlock> </addressBlock>
<interrupt> <interrupt>
@ -3473,7 +3577,7 @@ inject too fast.]]></description>
<name>SEED1</name> <name>SEED1</name>
<description><![CDATA[Bits 32-63 of `SEED_SEED`. Seed used for the build]]></description> <description><![CDATA[Bits 32-63 of `SEED_SEED`. Seed used for the build]]></description>
<addressOffset>0x0000</addressOffset> <addressOffset>0x0000</addressOffset>
<resetValue>0x37de9f06</resetValue> <resetValue>0x4163b882</resetValue>
<size>32</size> <size>32</size>
<fields> <fields>
<field> <field>
@ -3488,7 +3592,7 @@ inject too fast.]]></description>
<name>SEED0</name> <name>SEED0</name>
<description><![CDATA[Bits 0-31 of `SEED_SEED`.]]></description> <description><![CDATA[Bits 0-31 of `SEED_SEED`.]]></description>
<addressOffset>0x0004</addressOffset> <addressOffset>0x0004</addressOffset>
<resetValue>0x51857265</resetValue> <resetValue>0xb32b62f</resetValue>
<size>32</size> <size>32</size>
<fields> <fields>
<field> <field>

View file

@ -26,10 +26,10 @@ mod renode;
#[cfg(feature="renode")] #[cfg(feature="renode")]
pub use renode::*; pub use renode::*;
#[cfg(feature="precursor-b414f2b")] #[cfg(feature="precursor-7447604")]
mod precursor_b414f2b; mod precursor_7447604;
#[cfg(feature="precursor-b414f2b")] #[cfg(feature="precursor-7447604")]
pub use precursor_b414f2b::*; pub use precursor_7447604::*;
// Hosted mode includes nothing, as it relies on the abstract host // Hosted mode includes nothing, as it relies on the abstract host
// architecture for I/O; so this file is empty when the "hosted" // architecture for I/O; so this file is empty when the "hosted"

View file

@ -946,8 +946,11 @@ pub mod utra {
Time0 = 8, Time0 = 8,
MsleepTarget1 = 12, MsleepTarget1 = 12,
MsleepTarget0 = 16, MsleepTarget0 = 16,
EvStatus = 20,
EvPending = 24,
EvEnable = 28,
} }
pub const TICKTIMER_NUMREGS: usize = 5; pub const TICKTIMER_NUMREGS: usize = 8;
pub const CONTROL: crate::Register = crate::Register::new(0, 0x1); pub const CONTROL: crate::Register = crate::Register::new(0, 0x1);
pub const CONTROL_RESET: crate::Field = crate::Field::new(1, 0, CONTROL); pub const CONTROL_RESET: crate::Field = crate::Field::new(1, 0, CONTROL);
@ -964,6 +967,15 @@ pub mod utra {
pub const MSLEEP_TARGET0: crate::Register = crate::Register::new(4, 0xffffffff); pub const MSLEEP_TARGET0: crate::Register = crate::Register::new(4, 0xffffffff);
pub const MSLEEP_TARGET0_MSLEEP_TARGET: crate::Field = crate::Field::new(32, 0, MSLEEP_TARGET0); pub const MSLEEP_TARGET0_MSLEEP_TARGET: crate::Field = crate::Field::new(32, 0, MSLEEP_TARGET0);
pub const EV_STATUS: crate::Register = crate::Register::new(5, 0x1);
pub const EV_STATUS_ALARM: crate::Field = crate::Field::new(1, 0, EV_STATUS);
pub const EV_PENDING: crate::Register = crate::Register::new(6, 0x1);
pub const EV_PENDING_ALARM: crate::Field = crate::Field::new(1, 0, EV_PENDING);
pub const EV_ENABLE: crate::Register = crate::Register::new(7, 0x1);
pub const EV_ENABLE_ALARM: crate::Field = crate::Field::new(1, 0, EV_ENABLE);
pub const TICKTIMER_IRQ: usize = 8; pub const TICKTIMER_IRQ: usize = 8;
pub const HW_TICKTIMER_BASE: usize = 0xf0012000; pub const HW_TICKTIMER_BASE: usize = 0xf0012000;
} }
@ -982,8 +994,11 @@ pub mod utra {
Powerdown = 28, Powerdown = 28,
Wfi = 32, Wfi = 32,
Interrupt = 36, Interrupt = 36,
EvStatus = 40,
EvPending = 44,
EvEnable = 48,
} }
pub const SUSRES_NUMREGS: usize = 10; pub const SUSRES_NUMREGS: usize = 13;
pub const CONTROL: crate::Register = crate::Register::new(0, 0x3); pub const CONTROL: crate::Register = crate::Register::new(0, 0x3);
pub const CONTROL_PAUSE: crate::Field = crate::Field::new(1, 0, CONTROL); pub const CONTROL_PAUSE: crate::Field = crate::Field::new(1, 0, CONTROL);
@ -1017,6 +1032,15 @@ pub mod utra {
pub const INTERRUPT: crate::Register = crate::Register::new(9, 0x1); pub const INTERRUPT: crate::Register = crate::Register::new(9, 0x1);
pub const INTERRUPT_INTERRUPT: crate::Field = crate::Field::new(1, 0, INTERRUPT); pub const INTERRUPT_INTERRUPT: crate::Field = crate::Field::new(1, 0, INTERRUPT);
pub const EV_STATUS: crate::Register = crate::Register::new(10, 0x1);
pub const EV_STATUS_SOFT_INT: crate::Field = crate::Field::new(1, 0, EV_STATUS);
pub const EV_PENDING: crate::Register = crate::Register::new(11, 0x1);
pub const EV_PENDING_SOFT_INT: crate::Field = crate::Field::new(1, 0, EV_PENDING);
pub const EV_ENABLE: crate::Register = crate::Register::new(12, 0x1);
pub const EV_ENABLE_SOFT_INT: crate::Field = crate::Field::new(1, 0, EV_ENABLE);
pub const SUSRES_IRQ: usize = 9; pub const SUSRES_IRQ: usize = 9;
pub const HW_SUSRES_BASE: usize = 0xf0013000; pub const HW_SUSRES_BASE: usize = 0xf0013000;
} }
@ -3435,6 +3459,30 @@ mod tests {
let mut baz = ticktimer_csr.zf(utra::ticktimer::MSLEEP_TARGET0_MSLEEP_TARGET, bar); let mut baz = ticktimer_csr.zf(utra::ticktimer::MSLEEP_TARGET0_MSLEEP_TARGET, bar);
baz |= ticktimer_csr.ms(utra::ticktimer::MSLEEP_TARGET0_MSLEEP_TARGET, 1); baz |= ticktimer_csr.ms(utra::ticktimer::MSLEEP_TARGET0_MSLEEP_TARGET, 1);
ticktimer_csr.wfo(utra::ticktimer::MSLEEP_TARGET0_MSLEEP_TARGET, baz); ticktimer_csr.wfo(utra::ticktimer::MSLEEP_TARGET0_MSLEEP_TARGET, baz);
let foo = ticktimer_csr.r(utra::ticktimer::EV_STATUS);
ticktimer_csr.wo(utra::ticktimer::EV_STATUS, foo);
let bar = ticktimer_csr.rf(utra::ticktimer::EV_STATUS_ALARM);
ticktimer_csr.rmwf(utra::ticktimer::EV_STATUS_ALARM, bar);
let mut baz = ticktimer_csr.zf(utra::ticktimer::EV_STATUS_ALARM, bar);
baz |= ticktimer_csr.ms(utra::ticktimer::EV_STATUS_ALARM, 1);
ticktimer_csr.wfo(utra::ticktimer::EV_STATUS_ALARM, baz);
let foo = ticktimer_csr.r(utra::ticktimer::EV_PENDING);
ticktimer_csr.wo(utra::ticktimer::EV_PENDING, foo);
let bar = ticktimer_csr.rf(utra::ticktimer::EV_PENDING_ALARM);
ticktimer_csr.rmwf(utra::ticktimer::EV_PENDING_ALARM, bar);
let mut baz = ticktimer_csr.zf(utra::ticktimer::EV_PENDING_ALARM, bar);
baz |= ticktimer_csr.ms(utra::ticktimer::EV_PENDING_ALARM, 1);
ticktimer_csr.wfo(utra::ticktimer::EV_PENDING_ALARM, baz);
let foo = ticktimer_csr.r(utra::ticktimer::EV_ENABLE);
ticktimer_csr.wo(utra::ticktimer::EV_ENABLE, foo);
let bar = ticktimer_csr.rf(utra::ticktimer::EV_ENABLE_ALARM);
ticktimer_csr.rmwf(utra::ticktimer::EV_ENABLE_ALARM, bar);
let mut baz = ticktimer_csr.zf(utra::ticktimer::EV_ENABLE_ALARM, bar);
baz |= ticktimer_csr.ms(utra::ticktimer::EV_ENABLE_ALARM, 1);
ticktimer_csr.wfo(utra::ticktimer::EV_ENABLE_ALARM, baz);
} }
#[test] #[test]
@ -3532,6 +3580,30 @@ mod tests {
let mut baz = susres_csr.zf(utra::susres::INTERRUPT_INTERRUPT, bar); let mut baz = susres_csr.zf(utra::susres::INTERRUPT_INTERRUPT, bar);
baz |= susres_csr.ms(utra::susres::INTERRUPT_INTERRUPT, 1); baz |= susres_csr.ms(utra::susres::INTERRUPT_INTERRUPT, 1);
susres_csr.wfo(utra::susres::INTERRUPT_INTERRUPT, baz); susres_csr.wfo(utra::susres::INTERRUPT_INTERRUPT, baz);
let foo = susres_csr.r(utra::susres::EV_STATUS);
susres_csr.wo(utra::susres::EV_STATUS, foo);
let bar = susres_csr.rf(utra::susres::EV_STATUS_SOFT_INT);
susres_csr.rmwf(utra::susres::EV_STATUS_SOFT_INT, bar);
let mut baz = susres_csr.zf(utra::susres::EV_STATUS_SOFT_INT, bar);
baz |= susres_csr.ms(utra::susres::EV_STATUS_SOFT_INT, 1);
susres_csr.wfo(utra::susres::EV_STATUS_SOFT_INT, baz);
let foo = susres_csr.r(utra::susres::EV_PENDING);
susres_csr.wo(utra::susres::EV_PENDING, foo);
let bar = susres_csr.rf(utra::susres::EV_PENDING_SOFT_INT);
susres_csr.rmwf(utra::susres::EV_PENDING_SOFT_INT, bar);
let mut baz = susres_csr.zf(utra::susres::EV_PENDING_SOFT_INT, bar);
baz |= susres_csr.ms(utra::susres::EV_PENDING_SOFT_INT, 1);
susres_csr.wfo(utra::susres::EV_PENDING_SOFT_INT, baz);
let foo = susres_csr.r(utra::susres::EV_ENABLE);
susres_csr.wo(utra::susres::EV_ENABLE, foo);
let bar = susres_csr.rf(utra::susres::EV_ENABLE_SOFT_INT);
susres_csr.rmwf(utra::susres::EV_ENABLE_SOFT_INT, bar);
let mut baz = susres_csr.zf(utra::susres::EV_ENABLE_SOFT_INT, bar);
baz |= susres_csr.ms(utra::susres::EV_ENABLE_SOFT_INT, 1);
susres_csr.wfo(utra::susres::EV_ENABLE_SOFT_INT, baz);
} }
#[test] #[test]

View file

@ -12,7 +12,7 @@ use std::env;
/// gitrev of the current precursor SoC version targeted by this build. This must /// gitrev of the current precursor SoC version targeted by this build. This must
/// be manually updated every time the SoC version is bumped. /// be manually updated every time the SoC version is bumped.
const PRECURSOR_SOC_VERSION: &str = "b414f2b"; const PRECURSOR_SOC_VERSION: &str = "7447604";
/* /*
Some notes on kernel versions versus backups. Some notes on kernel versions versus backups.