bunnie
2ba37a7fe4
clarify a bit of rounding code in the create-image routine
2021-11-06 21:04:20 +08:00
bunnie
825322c730
add explicit .iter() for arrays so we still work with Rust 1.51
2021-07-18 16:04:22 +08:00
Sean Cross
aaa4407e21
sign-image: enable kernel image signing
...
Previously we only supported signing the loader. This also adds the
kernel as a thing that can be signed.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-07-15 16:39:35 +08:00
Sean Cross
31551a6227
tools: add sign-image
...
Add a Rust implementation of `sign-image`. This enables us to sign the
binary on any platform that can compile Rust.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-07-11 16:34:23 +08:00
Sean Cross
2e4fb672ab
arguments: document and add pnam tag
...
The `PNam` tag stores information in the kernel about process names.
This can be used at runtime to discover what process maps to what
program name.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-10 14:37:33 +08:00
Sean Cross
7b50d00eb8
repo: run cargo fmt
...
This reformats line endings to be consistent, and reinforces the
contents of `.gitattributes`.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-01-03 18:31:51 +08:00
Sean Cross
96df91f53b
create-image: support generating an image from an svd
...
Now that we can parse svd files, support creating an image using an svd
instead of a csv file.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-05 11:37:44 +08:00
Sean
ba320184b0
tools: create-image: print out error when csr.csv can't be opened
...
Signed-off-by: Sean <xobs@ci.betrusted.io>
2020-10-03 20:32:31 +08:00
Sean Cross
973945fce2
tools: read-tags: fix bad pointer arithmetic
...
This removes raw pointer usage that could cause unaligned accesses.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-06-15 12:30:21 +08:00
Sean Cross
7da67f050a
tools: fix most clippy warnings
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-06-15 12:04:23 +08:00
Sean Cross
36dbc97a61
tools: pad inie and xkrn tags to 4-bytes
...
This fixes an issue where images were not word-aligned.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-10 13:12:27 +08:00
Sean Cross
6959b4ef77
tools: rename from xous-tools
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-10 12:46:20 +08:00
Sean Cross
f50ec67553
initial commit
...
This pulls together many disparate repositories into one xous-core
repository.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-10 12:13:05 +08:00