Commit graph

331 commits

Author SHA1 Message Date
bunnie
d331d405ee bump version numbers for publication 2022-10-25 17:23:40 +08:00
bunnie
c127f00dc1 add a no-codec feature for DVT builds
specifying this turns off all dependencies that rely on the
codec, which is a different device on DVT.
2022-10-20 22:35:17 +08:00
bunnie
e47032aa23 bump verification parameters 2022-10-20 17:23:24 +08:00
bunnie
e96d711e94 add maintainer notes 2022-10-20 17:08:16 +08:00
bunnie
805a7d528c flip back to using remote references 2022-10-20 16:30:06 +08:00
bunnie
3fb3641439 Merge remote-tracking branch 'origin/utralib-no-rebuilds' into main 2022-10-20 15:49:10 +08:00
Sean Cross
66311005ae xtask: builder: remove LAST_CONFIG
We now use build flags to decide which version of utralib to use. This
makes `LAST_CONFIG` obsolete, since the version of utralib is decided
using a hash of build configs and build flags.

Signed-off-by: Sean Cross <sean@xobs.io>
2022-10-20 15:12:45 +08:00
Sean Cross
5624dedfef Merge branch 'main' of github.com:betrusted-io/xous-core into rename-args.bin 2022-10-20 14:21:02 +08:00
Sean Cross
13078509e9 xtask: rename args.bin -> xous_presign.img
The `args.bin` file served only to be copied to `xous_presign.img`. Skip
this step and directly generate a file called `xous_presign.img`.

Signed-off-by: Sean Cross <sean@xobs.io>
2022-10-20 14:10:52 +08:00
bunnie
dcbf028c5c bump soc rev
minor rev to fix a dangling git reference
2022-10-20 04:58:48 +08:00
bunnie
56471a99e4 bump default ref to newest soc ver for svd hw 2022-10-20 04:24:46 +08:00
bunnie
74fe8c989c add dvt target
resurrecting some old hardware as an efuse testing target;
new hardware is too precious at the moment given the ridiculous
shortage of FPGAs on the market.
2022-10-18 21:47:16 +08:00
bunnie
8e05925cfa somehow the transition to local paths got missed in the merge 2022-10-18 00:39:01 +08:00
bunnie
0584ad2f2c switch to local paths to see if this helps the build 2022-10-18 00:26:56 +08:00
bunnie
d053baf3e3 update lockfile and check versions 2022-10-17 05:17:59 +08:00
bunnie
3a2b901f49 fix version check version pins 2022-10-15 01:42:08 +08:00
bunnie
4b368d71db bump versions of crates 2022-10-15 01:31:54 +08:00
bunnie
f2ae008c25 various small fixups in crates.io to local source sync checks 2022-10-14 17:43:08 +08:00
bunnie
158ea5bb2d bump verification pins in xtask 2022-10-14 17:12:21 +08:00
bunnie
63a87ca1bc bump all the versions 2022-10-14 16:54:43 +08:00
bunnie
e0a85ac1cd activate flags for timestamping; re-order dependencies for easier maintenance 2022-10-14 16:23:57 +08:00
bunnie
d4e3f81756 deprecate unused flags 2022-10-14 16:23:24 +08:00
bunnie
ff30131f43 absorb more fixes into the kernel 2022-10-13 04:08:56 +08:00
bunnie
3503965f98 bump versions to absorb xous-rs changes 2022-10-13 03:41:16 +08:00
bunnie
f8a2ea51bb remove rkyv warnings from xous-api-names 2022-10-10 03:16:40 +08:00
bunnie
02b80425f5 bump xous-rs to absorb change in language specification 2022-10-10 03:07:44 +08:00
bunnie
c52c02013e add command line feature flags back to xtask; detect & track language changes 2022-10-10 02:53:15 +08:00
bunnie
96e64b6388 always emit long format tags 2022-10-09 17:57:01 +08:00
bunnie
b2048d0066 note the previous commit for future reference in a place where i can hopefully find it :-l 2022-10-09 17:26:41 +08:00
bunnie
4aad245b31 add notes about how to maintain the XOUS_MIN_VER field 2022-10-09 14:22:02 +08:00
bunnie
a1a6ae6d6a add a note about how minver is currently broken 2022-10-09 02:36:27 +08:00
bunnie
11673da5f6 bump min xous version, as we need the version mask fix to read newer backups
even though the format is compatible, the version check isn't :(
2022-10-08 15:30:24 +08:00
bunnie
d7333a51fd bump xous-susres version check 2022-10-07 18:50:35 +08:00
bunnie
3bca9de2a0 bump version numbers for xous-kernel patch
this fixes tests in CI
2022-10-05 23:51:35 +08:00
bunnie
8f71164278 crates.io source files differ in length from repo source files
because crlf->lf conversions
2022-10-05 21:25:54 +08:00
bunnie
3b9041d8d7 CRLF->LF handing in file comparisons 2022-10-05 21:20:16 +08:00
bunnie
5c0154f730 cleanup version comparison code
this should be "clean" and working. yowch, this is really strict...
i may need to loosen this checking to make development sustainable.
2022-10-05 18:53:09 +08:00
bunnie
969f93b001 cross-repo update versions from xous-rs bump 2022-10-05 18:32:44 +08:00
bunnie
33948e70d6 initial verifier attempt
verification is sort of pointless, because:

The Cargo.toml file is parsed and reformatted by the packaging tool to normalize its contents.
Thus, the Cargo.toml file of the downloaded version never matches the Cargo.toml file that's actually used.

Unfortunately, there doesn't seem to be an easy way to check the equivalence of two Cargo.toml files,
except for recursively and deeply parsing through and comparing all the possibile keys and values of
the abstract key/value tree. This is a much bigger project than I'm prepared to figure out today.

As a hack, we compare to the Cargo.toml.orig file. Which is...kind of OK, but really, this opens us
up to attacks where someone just has to replace a version on a package or even just swap out an
entire package for a malicious one by just using package name re-assignment which is a thing that
the format supports. In other words, all this checking is kind of pointless because it's super-easy
to swap out key crates for whole other crates and have it go undetected.
2022-10-05 05:33:24 +08:00
bunnie
9c5d773cf3 cleanup CargoSpec From trait 2022-10-05 02:54:12 +08:00
bunnie
0a03782245 bump remote targets in xtask 2022-10-03 03:37:50 +08:00
bunnie
0aaf64781f add refs to remote susres 2022-10-03 02:25:00 +08:00
bunnie
679ad9b75f bump remote packages in xtask 2022-10-03 01:18:52 +08:00
bunnie
359d234971 fix some bugs in the remote build process 2022-10-03 00:25:15 +08:00
bunnie
1352e3f3df add a tiny target; testing some minimal builds 2022-10-02 21:50:05 +08:00
bunnie
a303150687 fix kernel test build in hosted-ci 2022-10-02 17:56:51 +08:00
bunnie
b431059715 add hosted-ci target back in 2022-10-02 17:52:30 +08:00
bunnie
b4febb78ff convert all build targets to the new builder format
also organize the build targets and document what they do better.
remove bitrotted targets.
remove legacy frameworks.
2022-10-02 17:32:48 +08:00
bunnie
8340c65dfe fixup some comments 2022-10-02 03:00:52 +08:00
bunnie
366434b015 initial cut at a refactored build process.
built renode, hosted, tts, app-image targets successfully.

now to finish porting over all the legacy targets and then
removing the old build method
2022-10-02 02:21:48 +08:00