Commit graph

44 commits

Author SHA1 Message Date
bunnie
db78b28b37 checkpoint the c -> rust asm flow for the BIO
An abomination: a zig-based C toolchain, installed via python,
compiles to clang assembly, translated by python script, into
Rust assembly. Then compiled and linked into your app.

Really tempting fate with this one...will I come back to this
commit in a couple years and be filled with regret?

Already, I have some misgivings - the zig toolchain is
definitely not stable, and has been through some API changes,
and doesn't run on all platforms. But - I forge ahead.
2026-02-20 02:19:46 +08:00
bunnie
9a008730f6 add the ability to specify regions for apps; eliminate default apps
Default apps for base xous configs are now eliminated - this
allows third party builds to add their apps without having to
delete the default apps used for initial testing (the upshot is
that the CI scripts elsewhere are now all modified to include the
apps I'm using to test the system; which is fine).

So now, `dabao` and `baosec` build what is a baseline set of
services that I think are expected in either platform. In the case
of dabao, apps get stuck in the detached-app area; in the case of baosec,
apps are stick in swap.

So:

`cargo xtask baosec bao-console vault2`

by default sticks the app `bao-console` and `vault2` into swap.
If you want one of these programs to go into RRAM instead, you would
specify the build like this:

`cargo xtask baosec bao-console~flash vault2`

The `~<region>` syntax indicates that the thing to the left of `~`
is the name of the app; and to the right is a region spec, one of:
[swap, flash, ram].

No checking is done that these regions are valid or even good
for placing these things, the image just tries its best to whack 'em
in there. If you blow out the size of the kernel, at least, a
warning will be emitted.

This change enables more flexible out-of-tree options for
developers who don't want to build the whole Xous kernel, but
at the moment, caveat hacker - things are still in flux and under
heavy development. I think in about 2-3 months things will settle
down enough that we'll cut a release and then the APIs should be
cleaner/more stable, but for now anyone developing with a pre-release
dabao board is recommended to either build kernel from scratch or
at least fetch the latest CI image off of the CI server if things
seem squirrelly.
2026-01-31 02:08:45 +08:00
bunnie
577efdfdd2 ignore binary objects not meant to be checked in 2025-12-11 02:14:41 +08:00
bunnie
2db7b36aeb ignore the .venv directory
i think the venv directory should be local to each install and not
committed to gh?
2025-11-07 08:14:30 +08:00
Yuval Adam
f297c3b2a5 Remove python cache and build artifacts, update .gitignore
Signed-off-by: Yuval Adam <_@yuv.al>
2025-10-17 22:04:14 +02:00
bunnie
0bd4de961a I think I won't regret putting a semver into the boot0 stage too
Even though boot0 DUART output may be inaccessible, the string
could still be found by looking in the binary and searching
for it.
2025-10-16 23:25:44 +08:00
bunnie
254780b382 add some artifacts for an early sample run
These are a bit rushed but wanted to be able to have some
serialization/tracking in the earliest samples sent to
'alpha-zero' developers.
2025-10-16 23:21:07 +08:00
bunnie
fc3b226414 add initial scripts & strategy for image signing
- poc signing flow using hardware key is demonstrated
- tested with signature verification using python script
- beta key committed to tree (the "secret" key just contains
the key identifier, not the key itself; the key resides in the
token)
2025-10-06 01:37:22 +08:00
bunnie
254fe8a879 ignore autogen file 2025-09-24 01:07:05 +08:00
bunnie
1255bf12d9 FLAG DAY: fix all names to harmonize around 'bao1x'
The code base had evolved through several code names, interim
names, company names and chip names that alternatively did or did
not exist.

Baochip is the definitive name of the company, and the Baochip1x
(full part number BAO1X2S4F-WA) is the definitivey part number of
the SoC. For convenience, the part number is shortened to 'bao1x'
in most feature flags and variable references.

This commit fixes all of the odd names and removes some unmaintained
early targets.
2025-09-18 21:25:51 +08:00
bunnie
74218bcded cleanup some cruft 2025-09-14 13:26:33 +08:00
bunnie
b2a8d0e7f4 add app manifest for cramium target 2024-06-13 22:03:16 +08:00
bunnie
c67a32b28c v2p table shouldn't be in the index
this is a temporary file related to performance profiling. added to .gitignore.
2023-01-13 03:01:39 +08:00
Tom Marble
9689b3bc07
Removes VS Code artifacts
Also updates .gitignore to prevent adding IDE (VS Code, Emacs) artifacts

Signed-off-by: Tom Marble <tmarble@info9.net>
2022-10-28 11:23:56 -05:00
bunnie
3814337f51 don't check in vscode settings 2022-10-28 18:27:52 +08:00
Tom Marble
e55c7495b1
Updates the mtxcli app (#254)
* Updates the mtxcli app

mtxcli:
- Simple chat now functional!
- All strings use translations
- Updates the README
- updates mtxcli to handle PDDB existence check

Adds *.pyc to .gitignore

Signed-off-by: Tom Marble <tmarble@info9.net>
2022-10-26 12:16:09 -05:00
Tom Marble
8d810dcc51
Adds mtxcli commands using the PDDB (#246)
* Adds mtxcli commands using the PDDB

/get key -- shows value of key (from the PDDB)
/set key value -- sets value of key (in the PDDB)
/unset key -- removes key (from the PDDB)
/status -- shows status of the connection

Updates .gitignore for PDDB in hosted mode
2022-10-19 12:50:00 -05:00
bunnie
2173f73aa8 add an ignore 2022-10-09 23:38:23 +08:00
bunnie
969f93b001 cross-repo update versions from xous-rs bump 2022-10-05 18:32:44 +08:00
bunnie
228ff9b75e omit the page table file 2022-09-16 01:53:46 +08:00
bunnie
0166bc3d4a remove some more trash scripts that shouldn't be in the main repo
these are all helper scripts specific to my system that aren't
really useful to anyone.

also made it generally the case that scripts in the root directory
are ignored. "generally useful" tools are put in the `tools` directory.
stuff in the root directory is just notes and bits for me to chew on.
2022-07-29 23:28:02 +08:00
bunnie
ff85e1fc19 add some .gitigore entries that help make my life a little easier
if anyone objects to these feel free to revert them, but it's
nice to have some helper scripts local to my machine in the root
dir that don't always show up in my status.
2022-07-29 15:58:02 +08:00
bunnie
a45d210b0b ignore python build files 2022-07-23 00:13:05 +08:00
bunnie
a92cf4e9c0 ignore bloat analyzer reports 2022-06-14 02:00:05 +08:00
bunnie
10d543154f improve gitignore 2022-06-10 18:10:49 +08:00
bunnie
2b15824e5c don't commit crypto_data 2022-06-05 02:12:50 +08:00
bunnie
17cc92eadd ignore changes to Renode filesystem template 2022-04-27 01:22:28 +08:00
Gianguido Sorà
eecc1fe22a chore: ignore anything called "target" 2022-04-07 15:00:22 +02:00
bunnie
1eaa4211d4 add ignores to the autogen files 2022-02-02 16:19:43 +08:00
bunnie
faa51908d7 maybe, just maybe...we finally have version info baked into the kernel correctly. 2022-01-31 23:02:32 +08:00
bunnie
1449f7cb7f ignore the locales build directory 2022-01-25 02:04:45 +08:00
bunnie
49d24f9fae revert vscode settings for a merge to main 2021-11-23 15:49:25 +08:00
bunnie
352c54eeb3 relocate images to a directory 2021-11-22 14:00:25 +08:00
bunnie
696e99b173 ignore the pycache that comes about from running the pddbdbg tools 2021-11-14 19:04:12 +08:00
bunnie
93fd991dff fix paths and ignores for the image dump files 2021-11-13 17:34:34 +08:00
Sean Cross
1bc84c76ff emulation: ignore obj/ directory
This is generated by Visual Studio to cache objects, so ignore it.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-06-21 14:13:52 +08:00
bunnie
9ec1de4c01 commit a SoC version for pre-build
should show up as version 0.8 but probably a bug in the gitver
on the soc side, will chase that down later
2021-04-27 19:30:49 +08:00
Sean Cross
2202736aad xous-release: remove unimplemented lattice_hip block
Signed-off-by: Sean Cross <sean@xobs.io>
2021-04-25 14:37:27 +08:00
bunnie
75b01ae400 ignore .map file outputs 2021-02-27 15:54:07 +08:00
Sean Cross
2691d67e30 gitignore: don't ignore utra anymore
This is now generated based on environment variables.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-05 10:35:42 +08:00
Sean Cross
d0d687a239 utra: fix build on non-hardware release
This adds svd2utra, which enables building for non-embedded harware.

It also fixes some build issues, and paves the way for generating UTRA
at compile-time.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-05 10:13:51 +08:00
bunnie
58bf06fd14 add utra module 2020-10-02 04:16:20 +08:00
Sean Cross
8920ab57cf xtask: remove loader, kernel from workspace to fix rebuilds
These packages modify RUSTFLAGS, which causes some packages to be
rebuilt every time. Move them out of the workspace so as to ensure they
don't use the same `target` directory.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-08-18 10:51:29 +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