Sean Cross
3c917d9be4
xtask: offer to download the toolchain
...
If the toolchain does not exist, offer to download it for the user.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-19 11:58:55 +08:00
Sean Cross
05801f3f06
xtask: add simple check for toolchain
...
This adds a simple check for the proper Rust toolchain. A more advance
test will advise on toolchain installation.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-18 18:30:35 +08:00
Sean Cross
e96d356e15
xtask: build kernel using riscv32imac-unknown-xous-elf
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-18 18:22:50 +08:00
Sean Cross
80bf296382
xtask: fix clippy warnings
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-16 12:26:28 +08:00
bunnie
ccc577f8d7
clean up the update flow
2021-08-16 02:46:54 +08:00
bunnie
35e7cfe89e
jtag server now reporting ID
2021-08-10 22:46:00 +08:00
bunnie
bdd70f9502
stash to figure out build issue
2021-08-10 22:41:22 +08:00
bunnie
04dc6a4c2b
refactor engine-sha512 to be named sha2
...
this makes patch.crates-io much easier to debug, we now
have the hardware hasher working in all the places i expect it to.
2021-08-09 04:40:33 +08:00
Sean Cross
207662414e
locales: generate locales as part of normal build
...
This makes `locales` its own package. As a result, the system will not
rebuild the locales unless necessary.
Additionally, the `generate-locales` command has been updated to simply
force a rebuild of this file in order to keep the previous behavior.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-04 12:19:06 +08:00
Sean Cross
183caae75d
Merge branch 'main' of github.com:betrusted-io/xous-core
2021-08-03 17:59:36 +08:00
Sean Cross
3645bea9c9
xtask: fix cargo libstd-test
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-03 17:45:40 +08:00
bunnie
68ea69c2ed
Merge branch 'bunnie-dev' into main
2021-08-03 17:22:10 +08:00
Sean Cross
987434433e
xtask: support building under riscv32imac-unknown-xous-elf
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-03 11:26:15 +08:00
Sean Cross
45008ebe36
xtask: simplify key file path extraction
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-02 11:08:52 +08:00
bunnie
1424eca689
remove a warning
2021-07-29 00:15:06 +08:00
bunnie
b6c443145c
extend modal functions; refactor status into its own server
2021-07-28 01:01:39 +08:00
bunnie
806451fa0f
add locale docs and move locale def file to an autogen-friendly location
...
CI will need to do an auto-build to generate different locales
for users to download/install.
2021-07-26 00:05:10 +08:00
bunnie
2b57e1c4f8
add static localization
2021-07-25 23:46:03 +08:00
bunnie
5280d232e5
figuring out which way is up on the RootKeys implementation
2021-07-21 19:47:09 +08:00
bunnie
ce18716b88
add the boilerplate for the keys server
2021-07-20 01:59:52 +08:00
bunnie
01d3455a16
Merge branch 'main' into bunnie-dev
2021-07-18 12:33:16 +08:00
Sean Cross
31748ab4d4
xtask: fix build warnings due to renode refactor
...
The Renode refactor didn't propagate the `debug` flag. Additionally, the
`TryInto` import is no longer used.
Fix both warnings.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-07-15 16:44:55 +08:00
Sean Cross
b78073d7ed
xtask: use rust to sign binaries, sign Renode images
...
This removes Python as a dependency. Additionally, Renode images are now
signed.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-07-15 16:41:56 +08:00
bunnie
ef93196cfc
stash commit to fix a bootloader issue
2021-07-13 22:28:46 +08:00
bunnie
5d62af49a5
simple signature checks in the bootloader now
...
checks xous.img as a single blob before accepting it.
2021-07-12 17:16:22 +08:00
bunnie
2b19f31da9
set the stage for simple signature validation on the kernel
2021-07-12 02:26:50 +08:00
bunnie
16a746aede
remove some warnings in xtask
2021-07-11 04:14:59 +08:00
bunnie
1949c1bbc9
a semblance of sanity, finally
2021-07-09 23:01:50 +08:00
bunnie
1b5d4bd79b
push of spinor changes to validate l2cache
2021-07-05 00:08:58 +08:00
bunnie
674faa46d9
button up after debugging the ed25519 issue
2021-06-29 23:46:15 +08:00
bunnie
c880eda822
commit renode changes
2021-06-29 00:51:52 +08:00
bunnie
0bad1ad755
isolate a potential compiler bug
2021-06-29 00:10:46 +08:00
bunnie
7dfa77de11
Merge branch 'bunnie-dev' into main
2021-06-27 03:19:50 +08:00
Sean Cross
b1e949c4c4
xtask: add libstd-test routine
...
This routine takes a list of binaries to include in the resulting image.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-06-23 17:54:04 +08:00
bunnie
5d21ef0c76
beginnings of the curve25519 accelerator engine core driver
...
the engine-25519 server just takes microcode jobs and runs them
on the curve25519 accelerator engine.
all the fancy crypto stuff comes from other crates, which will
be filled in later.
2021-06-22 01:48:51 +08:00
bunnie
3664ff6718
clean up keyboard event handling so the GAM is the gateway server
...
this allows the GAM to handle authentication for listening requests.
2021-06-17 01:12:25 +08:00
bunnie
4b1495a8ef
change cargo xtask run to something that fails
2021-06-16 17:51:02 +08:00
bunnie
14f8685168
update xtask to invoke urandomtest
2021-06-11 16:33:45 +08:00
bunnie
bbfe0fb605
Merge remote-tracking branch 'betrusted/aes' into bunnie-dev
2021-06-02 14:49:11 +08:00
bunnie
fadc9c29ab
Merge remote-tracking branch 'origin/master' into bunnie-dev
2021-06-02 03:59:25 +08:00
Sean Cross
837885798d
xtask: add renode-aes-test as a target
...
This generates an image that allows for testing AES.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-06-01 20:02:15 +08:00
bunnie
7f62851671
update xtask to be consistent with update docs
2021-05-25 05:29:00 +08:00
Sean Cross
3575a00f25
xtask: regenerate repl file as part of renode-image
...
Use `svd2repl` to generate the Renode platform file.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-19 14:26:18 +08:00
bunnie
7d9e84c456
initial frameworks around sha512 acceleration integration
2021-05-19 00:39:03 +08:00
bunnie
4d0de65f49
fix benchmark package issue
2021-05-16 01:23:45 +08:00
bunnie
ea06df6879
test case for >1 page lends not working
2021-05-05 01:37:25 +08:00
bunnie
f558f75116
add the skeleton for the codec server
2021-05-03 00:20:51 +08:00
bunnie
85d78439d7
fcc-agent is now deprecated
2021-05-01 21:01:46 +08:00
bunnie
6e1e74ed84
a minimal but successful touch-and-go suspend/resume cycle
2021-04-29 16:37:43 +08:00
bunnie
88f5199ba2
refactor os_timer to be integral to susres
2021-04-28 17:24:08 +08:00