Commit graph

473 commits

Author SHA1 Message Date
bunnie
ab9fe13ac8 make sure swapper is PID 2 by making it the first service added 2024-03-23 11:59:31 +08:00
bunnie
c8c67a01a3 add a renode-swap target for debugging the swapper 2024-03-23 11:59:31 +08:00
bunnie
5fb368ae05 partial progress on porting to ring-0.17 2024-02-09 17:18:41 +08:00
bunnie
65fd32e181 update chrono pins
This is the weirdest damn thing. All the crates say 0.4.19 as
the chrono version, but the actual version in the lockfile
is 0.4.33. And there isn't an error about it?

Anyways, this update the pins to reflect what's in the lockfile.
2024-02-08 13:51:30 +08:00
bunnie
88bebd3b00 fix hosted mode target 2024-02-06 15:10:06 +08:00
bunnie
7920c34b97 bump verifier pin 2024-02-06 14:51:24 +08:00
Sean Cross
2f0315771f xtask: support installing kernel toolchain
Now that the kernel toolchain can be different, support installing it as
well.

Signed-off-by: Sean Cross <sean@xobs.io>
2024-02-06 11:02:06 +08:00
Sean Cross
5d0180cd35 xtask: build kernel and loader with different target
The kernel and loader may need to use a different target, particularly
in the case of Precursor where the kernel and loader need an OS of
`none`.

Signed-off-by: Sean Cross <sean@xobs.io>
2024-02-06 10:34:16 +08:00
bunnie
87377a7cdc adopt ^ convention in the verifier 2024-02-01 02:17:06 +08:00
bunnie
d03fbfe91c fix misguided attempt to disambiguate version specifiers
The problem is the original way of specifying crates for remote
download is the same that Rust uses to specify a version of a crate
(e.g. the @ symbol), and so I could not differentiate between the
two cases.

Switch to using a ^ symbol for remote download crates. Hopefully
that doesn't have conflicts??
2024-02-01 02:08:34 +08:00
bunnie
b6133bf08d CHORE: fix out of date doc string 2024-02-01 02:01:08 +08:00
bunnie
886215c1b0 add --offline flag
this has become necessary because with the inclusion of a version
number in a crate name, rustc always consults the on-line index on
every build (even when it's not necessary), which can double the
build time. Using --offline reduces that thrashing.
2024-02-01 00:50:43 +08:00
bunnie
958f39f870 handle '@' version specifiers in services
this is necessary because we're going to have two versions of
sha2 in the system for a while.
2024-01-31 03:50:16 +08:00
bunnie
d0fee65186 specify the sha2 version for the service
this is because we are keeping an older version around
for a legacy ed25519 depedency, so we have to fully
specify which sha2 we want build as our server
2024-01-30 01:44:18 +08:00
bunnie
7cb07becba
Merge pull request #487 from betrusted-io/gfx-target
Cramium gfx target
2024-01-29 03:42:22 +08:00
bunnie
7fb36635e7 add graphics-server to the cram-soc target list 2024-01-28 02:14:58 +08:00
bunnie
1835f4c139 check that app paths exist in hosted mode 2024-01-27 01:13:26 +08:00
bunnie
7db25efcd5 update xtask to include the new "mandatory" service for cramium targets 2024-01-21 00:35:49 +08:00
bunnie
3192aeacbc add v2p feature for cramium target
uses DMA, which is physical memory.
2024-01-19 23:20:31 +08:00
bunnie
192d38db72 add default flags to cramium-soc loader target
- debug loader
- board bringup mode
2024-01-18 18:01:05 +08:00
bunnie
dc43fad220 chore: fix typos 2024-01-15 02:01:19 +08:00
bunnie
83d8f12cec chore: fix typos 2024-01-15 02:00:31 +08:00
bunnie
d7f8ebbc7a rename symbols for spell check 2024-01-15 01:55:17 +08:00
bunnie
9234b11962 add xtask target to generate dummy versions of files for formatting checks 2024-01-15 01:52:47 +08:00
bunnie
cee320977e add formatting bypasses to xtask-generated files 2024-01-15 01:52:32 +08:00
bunnie
a9285b672a bump verifier 2024-01-15 00:33:25 +08:00
bunnie
0267a56989 format Cargo.tomls
because apparently cargo fmt doesn't format Cargo.toml files???
2024-01-15 00:14:39 +08:00
bunnie
7b27a7f8fd format xtask 2024-01-14 23:10:58 +08:00
bunnie
3c3435f0dc
Merge pull request #476 from kotval/out_of_tree_app
Modify xtask to permit named BinaryFile
2024-01-09 04:08:23 +08:00
David Kotval
48d0bf4da6 chore: removed unused prototype code 2024-01-08 19:19:51 +00:00
David Kotval
7d101d79e0 wip: modify xtask to permit named BinaryFile
A BinaryFile was previously identified only by its path,
thus if a bianry file represented an app rather than a service,
there was no information that could go in the manifest for the gam.
This let's one optionally specify a name for a BinaryFile.
2024-01-07 03:02:30 +00:00
bunnie
41b654fe83 add --debug-loader option to xtask
passing this flag causes the loader to print debug output.
This slows down the loading process but gives you some visibility
into what's going on (maybe also an idea for the future to add
VDBG flags for verbosity, they exist in the code but not exposed
as command line options).
2024-01-05 16:03:06 +08:00
bunnie
fda782663a bump version pins for xous change 2023-12-26 00:13:10 +08:00
bunnie
6d71dc0662 fix verifier numbers 2023-12-01 22:09:17 +08:00
bunnie
94e618606f bump verifier 2023-10-31 20:11:30 +08:00
bunnie
f1cd3a4325
Merge pull request #439 from vihaanjim/main
An App Loader
2023-10-31 19:56:45 +08:00
bunnie
6a3e9f1584 fix gfx dev target 2023-10-18 14:13:08 +08:00
Vihaan Jim
0a7a4fcfc1 Merge branch 'main' of https://github.com/betrusted-io/xous-core 2023-10-14 14:45:50 -04:00
bunnie
d63b5912b1 absorb new xous-rs version 2023-10-10 16:50:00 +08:00
Vihaan Jim
e7445e1b62 Merge branch 'main' of https://github.com/betrusted-io/xous-core 2023-10-05 17:17:26 -04:00
bunnie
83256257e1 bump xous-rs crate to absorb Send derives on Messages
this is necessary for the smoltcp port
2023-10-03 20:54:14 +08:00
Vihaan Jim
5dda363157 Merge branch 'main' of https://github.com/betrusted-io/xous-core 2023-09-30 18:07:58 -04:00
bunnie
478a612c02 commit version bump 2023-09-12 16:25:10 +08:00
Vihaan Jim
41126ec57b Merge branch 'main' of https://github.com/betrusted-io/xous-core 2023-08-29 11:29:39 -04:00
Vihaan Jim
2d74a44a89 Add almost working server/client
This creates:
1) An `xtask' command that allows someone to compile individual apps
without compiling the entire image (note that this is required because
xtask generates files that contain gam context names, and if you just
do a regular `cargo build' building the app will fail)
2) A python file app_server.py that acts as a server to give the
app-loader a list of the apps and actually send it the
3) A basic UX that allows app-loader to set the server, get the list
of apps, and load apps.

Currently, this mostly works, except that there is some random
`ShareViolation' when the app-loader loads the app.
2023-08-08 18:08:25 -04:00
bunnie
cb4a2589e6 fix verifier pin and bump lockfile 2023-08-08 14:44:15 +08:00
bunnie
53469a68d0 publish package updates, sync to release tag 2023-08-08 14:35:49 +08:00
bunnie
8bae8ed03d remove unused targets 2023-08-04 01:31:48 +08:00
bunnie
b127cd093f bump version pins for change to xous-rs 2023-08-03 13:29:39 +08:00
Vihaan Jim
ded9049ee4 Turn app-loader into an app instead of a service
When the user selects App Loader from the app menu, a new menu shows
up that displays the currently loaded apps (in the future this will
contain options to add/remove apps as well). This is a much more sane
approach than whatever I was doing before because it requires minimal
changes to the rest of the source tree (I had to change xtask so that
it would replace -'s with _'s in constant names so that I could name
my app app-loader).
2023-08-01 22:16:40 -04:00