Xous Tools
The updater directory contains the precursorupdater script for device updates.
There are also various other scripts for backup, restore, and PDDB analysis located
here.
The src directory contains build tools for Xous, used to package up the
kernel and initial program images and create something that the runtime
can use.
It contains a number of programs:
- copy-object: A re-implementation of
objcopy - create-image: Tool used to create a boot args struct for Xous
- make-tags: Test program used to create raw boot arg tags
- read-tags: Test program to verify the tags were created
Building
To build this repository, you will need Rust.
- Build the tools:
cargo build --release
Using
The two most useful tools are copy-object and create-image.
To use copy-object, simply run target/release/copy-object and
specify the elf file you would like to copy.
To create a tags file with create-image, you will need to specify the
path to the kernel, as well as any initial programs you would like to
run. You will also need to specify the memory range, or pass a
csr.csv file as an argument.
For example:
)
)
)
)
)
)
)
You can then verify this file is correct by running read-tags on it:
)
) ()
) ()
) ()
) ()
) ()
Internationalization Helper
For more about i18n_helper.py please see the locales README
Testing
TBD
Contribution Guidelines
Please see CONTRIBUTING for details on how to make a contribution.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide its terms.
License
Copyright © 2020
Licensed under the Apache License 2.0 LICENSE