mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-24 09:40:52 +00:00
6.5 KiB
6.5 KiB
Relase 0.9 notes
This release signals the stabilization of most Xous APIs; however, we reserve the right to make breaking changes, but with some justification. You could call this a "beta" release.
Notably, in 0.9, we have libstd integrated into Xous, and solidly intergated
into several servers; thus this release is not backward compatible with 0.8 (and
was never intended to be).
Aside from the introduction of libstd, few other breaking changes were implemented
in the APIs. Thus, we refer you to the 0.8 release notes
for examples of idiomatic ways to write code for Xous.
Major new features of 0.9
- Xous now targets
riscv32-imac-uknown-xous-elfinstead ofriscv32-imac-unknown-none-elf.cargo xtask, when run interactively, will offer to install thexoustarget.- Kernel debug primitives are accessible via the kernel console
- GDB improvements
- Improved
MemoryRangeAPI - Various stability improvements and major bug fixes (ELF loader bugs, stack pointer alignment, etc.)
- Elimination of
heaplesscrate - Transition from
master->mainfor the default branch
- All hardware drivers are available in some form:
- AES (using VexRiscV CPU extensions)
- Audio Codec (low-level interface only, 8kHz rec/playback)
- Curve25519 accelerator
- SHA512 (based on Google's OpenTitan core)
- JTAG self-introspection drivers
- Real time Clock
- FLASH memory writing
- Suspend/Resume
- Clock throttling when idle
- TRNG upgraded with health monitoring and CSPRNG whitener
- Upgrades to previous drivers (keyboard, graphics, etc.)
- Wifi enhancements including SSID scanning and AP join commands
- Secured boot flow:
- Signed gateware, loader and kernel
- Compatible with BBRAM and eFuse keyed gateware images
- Semi-automated BBRAM key burning
- Self-provisioning of root keys (update and boot unlock keys)
- Local re-encryption of gateware updates to a secret key known only to your device
- Re-signing of loader/OS updates to protect code-at-rest
- Detection of image "downgrade" attacks that use developer keys
- Indication of downgrade through hardware-enforced hash marks on the status bar
- Enhanced graphical user interface primitives:
- Modal dialog boxes
- Menus
- Progress bars
- Text and password entry forms with input validators
- Radio buttons
- Check boxes
- Notifications
- Defacement of less secure items: random hashes on background areas; complicates phishing attacks that present fake UI elements
- Enforcement of delimited attack surfaces
xous-namescan optionally enforce a fixed number of connections to a server- Once all the connections are occupied after boot, new connections are no longer possible
- Developers must increment the connection count, specified inside the target server itself, when adding new resources that require server access
gamenforces a registry of all UX elements- Rogue processes cannot create new trusted UX resources
- Developers must register their UX tokens in the
gaminsidetokens.rs
- Extended simulation support
- Hosted mode performance improvements
- Hosted mode now supports thread creation with
std::thread::spawn()
- Improved emulation in Renode
- Full emulation of ENGINE
- Full emulation of SHA512 block
- Initial support of emulation of EC
- No COM-based inter-chip communication yet
New in 0.9.5
modalsserver for a simple "Pure Rust" API for creating dialog boxes and getting user input. See thetests.rsfile for some examples how to use the applcation calls.
New in 0.9.6
- Networking: DNS, UDP, Ping and TCP
- Basic demo of ping, rudimentary http get/serve
- EC offload of ARP and DHCP – thanks to samblenny for adding that, along with a solid refactor of the EC code base! The EC now also has the capability to act as a coarse packet filter for the core CPU.
- Connection manager
- Maintains a list of known SSID/password combos
- Manages passive SSID scanning and re-connection
- Enrolling in and saving a network profile is done via shellchat's wlan series of commands
- Only WPA2 is supported
- Still a lot of corner cases to work through
- PDDB: Plausibly Deniable DataBase for system config and user data storage.
- Uniform filesystem for all user-specific Xous data
- Fully encrypted database
- Plausibly deniable secret overlays
- See this blog post for more details
- Rust API bindings available, but as of now, few command line tools
- EC events – asynchronous callbacks triggered by network and battery events
- CPU load monitor in status bar
- Improved fonts
- B/W display optimized emoji
- Chinese-native Hanzi glyphs
- Japanese-native Kanji glyphs
- Hangul glyph set
- Thanks again to samblenny for all the hard work to make a slick new set of glyphs and a smooth new API!
- Japanese locale
- AZERTY and QWERTZ layouts
- Auto word-wrapping in the TextView objects
- Simplified graphical abstractions
- Modal server: create notifications, checkboxes, progress bars, radio boxes, and text entry boxes with validators using a single API call
- Simplified menu API
- Modular application programs
- manifest.json file to specify application integration parameters, such as the localized name and app launcher menu name
- Build-time command line selection of which apps you want baked into the Xous image
- Many bug fixes and improvements
- Improved libstd support
- Improved Renode and Hosted mode support
New in 0.9.7
pddbhas salamanders fixed (https://eprint.iacr.org/2020/1456.pdf). This changes the root basis record storage, causing all prior versions to be unrecognized.betrusted-socwas updated to the latest Litex in prep for some work optimizing CPU performance and USB cores
Roadmap to 1.0
The items that are still missing before we can hit a 1.0 release include:
- PDDB (plausibly deniable database): a key/value store that is the equivalent of a "filesystem" for Xous
- Networking capabilities: a simple (think UDP-only) network stack
- Password changes in the
rootkeycontext - Post-boot loadable applications. We currently have modularized integrated applications, but no notion of a disk-loadable application. Still not sure if this is a feature we want, though, given that Xous is supposed to be a single-purpose tool and not a general OS.
- Further integration of drivers into
libstd - Maybe a functional USB device stack??
- Lots of testing and bug fixes