Commit graph

428 commits

Author SHA1 Message Date
bunnie
478a612c02 commit version bump 2023-09-12 16:25:10 +08: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
bunnie
51278451a0 update version pins to pull in cramium target 2023-07-19 21:07:56 +08:00
bunnie
c08474f074 pass on kernel-features flag in xtask 2023-07-17 18:49:32 +08:00
bunnie
f680b630cb intergate cramium xtask targets (initial take) 2023-07-17 18:24:53 +08:00
bunnie
069edbc255 support multi-svd file designs
This patch set goes across all the toolchains and brings
in the support for split SVD descriptions of SoCs.

This is helpful for dealing with designs that have multiple
"top" files for the same core IP set. For exmaple, you may have
a SoC that you are developing that targets silicon, but
you have a version that wraps this in additional peripherals
available only in an FPGA emulator that are used for debugging.

In this case, you can have one SVD file be the description of
the SoC itself, and another SVD file describe just the "delta"
introduced by the FPGA wrapper that emulates/controls the SoC.
2023-07-17 16:27:09 +08:00
bunnie
cde56555d4 Pull utralib and svd2utra from local repo; downgrade crates.io check
In order to reduce friction of bringing on new platforms and experimenting
in utralib and svd2utra, xous-core now by default pulls these libraries
from the local repository.

Differences between the local version and the published version for
just these two packages are now downgraded to warnings, instead of
hard errors. This is because a difference does not indicate that
crates.io has had a modification we didn't expect; it simply means
we forgot to publish the package and we should eventually do so
once we have stabilized changes, so that others who rely upon it
can have the updated version.

But, with this patch, at least if we are experimenting with utralib
or svd2utra we don't have to publish a patch to bump revisions on
every major package every single time for a build to succeed.

I think this is an OK trade-off, but happy to roll this decision
back if it affects @eupn / @jeandudey negatively.
2023-07-17 15:14:33 +08:00
bunnie
44d5ab1182 fix swapped version numbering in error 2023-07-15 22:36:12 +08:00
bunnie
2f58137e29 cargo started storing its data somewhere new
The new location makes a lot more *sense* (previously the
cache said 'git' when it was actually crates.io) but
it broke the verifier. This is now fixed.
2023-07-04 11:27:02 +08:00
bunnie
4ac979f0ab update pins, again 2023-07-04 11:20:12 +08:00
bunnie
c9f8f2681b update version pins 2023-07-04 11:09:13 +08:00
bunnie
50e8d4f77f bump verifier 2023-06-16 01:30:55 +08:00
bunnie
952ba18fba commit vesrion pin bumps 2023-06-16 01:30:18 +08:00
Jean-Pierre De Jesus DIAZ
2af737b57e
xous-rs: move LANG variable to locales
This change is made with the intention of making the xous-rs crate a bit
more freestanding without depending on the xtask build system.

Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2023-06-15 18:23:12 +02:00
bunnie
fbe3cb2a3d bump package numbers to absorb PR #388 2023-05-28 15:58:11 +08:00
bunnie
5a2df4432c technical debt: cleanup UTRA package
- make the "base" field no longer public. It is accessible, but only
through an `unsafe` method, because, it is unsafe.
- add accessors to offest/mask fields. Because, it's not at all
unsafe to access these, and it can be useful for bit-ops that are
not part of the generic set of UTRA.
- add Arc to AtomicCSR, and require `std` for AtomicCSR types.
This should not break anything, I checked inside @foundation-devices
keyOS and they don't seem to be using AtomicCSR anywhere.

The Arc makes it a bit safer to clone the AtomicCSR base pointer
and share it between threads, but it will have an impact on performance.
The USB stack (which requires AtomicCSR) was regression testing and the
impact seems minimal.

Recall that the main purpose of AtomicCSR is to provide a CSR accessor
that does not require a mutable reference to the base object. This
can make certain Rust idioms a bit cleaner. We wrap the base accessor
in Arc+Atomic to try and improve the safety of throwing the borrow
checker under the bus, but it's still not perfect because hardware
mutable state can have side-effects within hardware itself that cannot
be modeled or checked by Rust's borrow checker.
2023-05-23 18:11:24 +08:00
bunnie
3bde24326a add app-image-xip to the list of tasks available in the help 2023-05-07 14:16:04 +08:00
bunnie
faa4e502b6 bump lockfile and verification pins 2023-05-03 23:18:20 +08:00
bunnie
697d44de3d bump version pins to absorb changes to svd2utra etc. 2023-05-03 23:11:12 +08:00
Gianguido Sorà
7cb2ec73f2 Merge branch 'main' into gsora/sleep-on-lock 2023-05-02 15:37:36 +02:00
bunnie
8a574f937f bump for xous-rs version pin update 2023-04-27 22:18:30 +08:00
Gianguido Sorà
e6d44795a1
early_settings: first commit 2023-04-21 18:10:36 +02:00
Jean-Pierre De Jesus DIAZ
bc585d0569
xtask: fix aes-test packages
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2023-04-20 15:42:18 +02:00
bunnie
1392fdcf33 bump pins for updated log API 2023-04-16 02:27:37 +08:00
bunnie
849c136b90 bump versions because API crate changed 2023-04-12 23:02:30 +08:00
bunnie
38026e67ff fix dependabot reported DoS vuln in zip crate dependency
seems to not break anything else
2023-04-09 14:29:50 +08:00
bunnie
8357ab31a5 bump all pins because utralib got updated 2023-04-09 00:48:35 +08:00
bunnie
66d561b2bf fix flag polarity 2023-04-09 00:46:08 +08:00
bunnie
9c94d6b4c0 bump versions because xous-rs API changed for gdb-stub 2023-04-08 23:49:24 +08:00
bunnie
6990bc0a95 add gdb-stub option to xtask 2023-04-08 23:46:10 +08:00
eupn
d968a4d746
xtask/arm: add more services to the image 2023-04-05 16:38:11 +04:00
bunnie
e469eba167 bump version for utralib patch 2023-04-04 02:13:02 +08:00
eupn
b059170e8d
xtask: add xous-log to arm-tiny image 2023-03-27 19:55:36 +04:00
bunnie
991f5560a8 prep for transition to XIP for app-images 2023-03-24 23:09:53 +08:00
bunnie
c0ed701c08 remove implementations from the crates.io set
Restrict crates.io published set to just APIs, not implementation
files. Nobody is using the implementations anyways -- it was requested
but I've never seen the package pulled except for CI.
2023-03-22 03:09:03 +08:00
bunnie
5574744e14 commit lockfiles and verifiers 2023-03-14 16:46:04 +08:00
bunnie
303f595d6f bump versions to cleanup renode.rs sync issue 2023-03-14 16:34:53 +08:00
bunnie
f1cf250cb5 bump verifier pins 2023-03-08 04:11:29 +08:00
bunnie
82e3aa322f bump toml files in prep for publish 2023-03-08 03:54:37 +08:00
bunnie
0dd74fe7b3 remove gitrev from precursor soc type
in practice this has not been a useful indicator, and we
have stabilized the SVD format so that changes in the code don't
cause the SVD files to go incompatible anymore.

this should make maintenance a bit easier going forward, hopefully.

also merge in cramium support to harmonize the forks for easier
cross-patches in the future.
2023-03-08 03:46:03 +08:00
eupn
058a42d9da
xtask: put LAST_LANG at the target root and omit dir creation 2023-03-05 13:59:50 +04:00
eupn
f347b46530
xtask: unify stdlib url constant naming 2023-03-05 13:59:16 +04:00
eupn
3cf4cafb05
xtask: support multiple different targets 2023-03-04 18:15:48 +04:00
bunnie
9444b68818 bump lock file and verifiers to absorb eh_* fixes 2023-02-15 20:37:14 +08:00
bunnie
0184881955 commit updated kernel version 2023-02-12 12:59:46 +08:00
bunnie
fa6dcdff7e add test case and bump Cargo.lock 2023-02-12 01:14:44 +08:00
bunnie
bc65b88154 fix paths so that binary packages can also be XIP 2023-02-11 18:42:50 +08:00