Commit graph

471 commits

Author SHA1 Message Date
bunnie
cb43368e7a add the quantum timer feature by default to the cramium config 2024-04-29 03:40:47 +08:00
bunnie
ced0b09881 add the console app to the default build 2024-04-28 02:41:06 +08:00
bunnie
8746fc5a76 add --with-jump flag for image creation of cramium target 2024-04-26 18:12:47 +08:00
bunnie
0f8fabb0b2 add debugging to kernel while we work out the issues 2024-04-09 18:29:38 +08:00
bunnie
b802af6edc add explicit resume support to renode image
don't do resume on swap builds -- our stack is too deep to
support the clean boot marker
2024-04-08 23:43:05 +08:00
bunnie
73aeae480d add plaintext debug output for swap image 2024-04-08 23:41:48 +08:00
bunnie
42063c222e add explicit build flags to swap target 2024-04-06 22:56:25 +08:00
bunnie
eeeb9281c0 enable debugging in loader 2024-04-05 16:44:55 +08:00
bunnie
89daf48c39 the image creator is sensitive to the target for swap configs 2024-04-04 19:23:26 +08:00
bunnie
d4eac7325f fix ram offsets for precursor swap config 2024-04-04 19:23:07 +08:00
bunnie
dd0b012706 specify swap file name 2024-04-04 18:32:19 +08:00
bunnie
74df4f77dc bump verifier pins 2024-04-01 15:57:34 +08:00
bunnie
5add97db90 Merge remote-tracking branch 'eupn/xtask-simplify' into swap 2024-04-01 14:20:45 +08:00
eupn
92d66d5a63
xtask: fix clippy 2024-03-31 21:40:41 +04:00
eupn
495c342ab0
xtask: rename BuildStream's to_str to as_str
This naming more closely reflects the ownership semantic
2024-03-31 21:40:18 +04:00
eupn
e7da909372
xtask: rustfmt 2024-03-31 21:36:08 +04:00
eupn
ec31a592ab
xtask: fix clippy 2024-03-31 21:36:01 +04:00
eupn
09a6ea2823
xtask: fix comment typos 2024-03-31 21:35:51 +04:00
eupn
12ef383353
xtask: simplify lists 2024-03-31 21:35:35 +04:00
eupn
698cc497c9
xtask: elide lifetimes 2024-03-31 21:35:07 +04:00
bunnie
2d68807d51
Merge branch 'main' into swap 2024-03-28 18:39:19 -07:00
bunnie
ced6dd9e63 fix bug in create-image invocation
its arguments require the 0x decorator to define hex,
whereas arguments to xtask don't. A little confusing, but
only if you actually ever call create-image -- which nobody
does, to a first order.
2024-03-23 11:59:31 +08:00
bunnie
66779dd479 add swap specifiers to xtask 2024-03-23 11:59:31 +08:00
bunnie
ff241b117b fix ordering of processes so that the swapper is PID 2 2024-03-23 11:59:31 +08:00
bunnie
858e2c8eb3 add swapper test code to the swapper test image 2024-03-23 11:59:31 +08:00
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
04abd3f331 remove engine25519 from list of crates to be built 2024-03-11 18:17:07 +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