bunnie
0cb80c2afb
remove sizes from the emu lib, so it can live in board::
2025-05-08 16:01:11 +08:00
bunnie
5417c2bd87
add more test features to the console; absorb board:: api for sizes
2025-05-08 16:00:28 +08:00
bunnie
645846e32e
move pddb, spinor params into the board section of the HAL for hosted
...
this makes code a little cleaner when porting to new targets
2025-05-08 15:59:31 +08:00
bunnie
399742a3d4
feature-out some battery testing code in hosted mode
2025-05-07 23:10:04 +08:00
bunnie
231aff1f80
Merge pull request #641 from betrusted-io/axp-batt
...
Battery settings to confirm/test prior to fusing out TG28
2025-05-06 19:14:43 +08:00
bunnie
e2f5892e29
add a target for the kernel specifically on the boards
...
this allows us to map the spinor values in for the swapper
without having to break other abstractions
2025-05-06 19:09:37 +08:00
bunnie
ad4a3ef3f2
KB_C2 pin just died?
...
KB_C2 pin on this test board just got shorted to ground internally
in the chip. I think it may have been due to power glitches
when the ammeter was switching modes feeding through and causing
trouble for the system.
Anyawys, disable that row and remap some keys so we can continue
with testing. MPW boards will hopefully be retired soon enough...
2025-05-06 19:07:25 +08:00
bunnie
a399702403
add proposed values for TG28 fusing & testing
...
include some readback testing and make addresses pub so they
don't throw warnings when not referenced in the crate
2025-05-06 19:06:44 +08:00
bunnie
a2d9699bee
fix argument change in api
2025-05-06 19:06:23 +08:00
bunnie
c5d2689e12
add periodic updates from the charger
2025-05-06 19:06:04 +08:00
bunnie
a358d89ede
modify args so we can build for testing
2025-05-06 19:05:47 +08:00
bunnie
0772b76a92
Merge pull request #640 from betrusted-io/less-debug
...
reduce debug out put as this makes it hard to see what's going on in CI
2025-05-06 12:55:43 +08:00
bunnie
1a3b9131d1
reduce debug out put as this makes it hard to see what's going on in CI
2025-05-06 12:54:34 +08:00
bunnie
c64b5f9796
Merge pull request #639 from betrusted-io/fix-doc
...
fix pddb in doc-deps target
2025-05-06 03:18:08 +08:00
bunnie
ef97e33ae4
fix pddb in doc-deps target
2025-05-06 03:15:51 +08:00
bunnie
b663929bd1
Merge pull request #617 from betrusted-io/pddb-feat-down
...
WIP: Reducing PDDB dependencies
2025-05-06 03:07:49 +08:00
bunnie
4640213410
fix hosted mode
2025-05-06 03:06:21 +08:00
bunnie
89d6b0e81f
debug checkpoint
...
left off at trying to debug the PDDB mount process.
2025-05-06 02:07:31 +08:00
bunnie
15dd0a7f17
cleanup warnings
2025-05-06 02:07:16 +08:00
bunnie
feeaa6341c
improve bao-console interaction and add pddb mount call
2025-05-06 02:06:41 +08:00
bunnie
3e981f5b4a
lockfile update
2025-05-06 01:51:43 +08:00
bunnie
8e161d7e9d
we're at least booting now and talking to the pddb service
2025-05-06 01:51:29 +08:00
bunnie
a4e86eead5
cleanup some gen1/gen2 differences
2025-05-06 01:49:42 +08:00
bunnie
5aece73f3c
add pddbtest to the emulation target
2025-05-06 01:49:13 +08:00
bunnie
095939ee53
allow multiple listeners in gen2 targets
...
this simplifies a bunch of stuff when we can trust the internal
code base
2025-05-06 01:48:37 +08:00
bunnie
30fcc3016f
use bao-video to route the acquire/release of the modals focus
...
it has to route through here anyways, so this is the sensible
place to also forward on the keyboard release/acquire messages
2025-05-06 01:47:55 +08:00
bunnie
3faad803d3
add catch-all operand for keystore
2025-05-06 01:47:30 +08:00
bunnie
8a2651e9cb
add no-gam coordination of keyboard hits based on focus of keys
...
modals has to be able to acquire/release focus without the
assistance of the GAM in a no-gam model.
2025-05-06 01:46:56 +08:00
bunnie
8d896b4dba
add pddb command to bao-console
2025-05-06 01:46:34 +08:00
bunnie
b2f32b7b6f
add an emulated keystore for hosted mode
...
this is a dummy keystore so we can test other UX operations.
the full keystore will be a lot harder to write.
2025-05-06 01:45:53 +08:00
bunnie
1ee1239494
fix hosted mode lifetime issue
2025-05-05 01:52:43 +08:00
bunnie
73467417c3
lockfile updates
2025-05-05 01:50:08 +08:00
bunnie
34e9a1f1ce
gen2 apis now compiling clean
...
system doesn't work yet because none of the keystore is there, but
at least we don't have conflicting/missing APIs
2025-05-05 01:49:39 +08:00
bunnie
86b079f2f4
add spinor defs to cramium-emu
...
this is a shim that reps both boards and "chips" for hosted mode
so it's OK to mash them together as a synthetic target
2025-05-05 01:49:05 +08:00
bunnie
e3cb5e495c
remove spinor defs from the swapper
...
should be defined in the board, not in the swapper
2025-05-05 01:48:46 +08:00
bunnie
71f444ff3d
API framework for the keystore
2025-05-05 01:48:28 +08:00
bunnie
868a1f280b
move SPINOR params into board definition
...
this makes a lot more sense that defining it at the chip level
2025-05-05 01:47:50 +08:00
bunnie
46f4112f1a
add keystore to baosec server list
2025-05-05 01:47:37 +08:00
bunnie
05720032cf
flesh out keystore api
2025-05-05 01:47:17 +08:00
bunnie
87140a2024
cleanup the api a bit more
...
realized it was dumb to have separate file paths for the
orthogonal implementations
2025-05-04 19:12:51 +08:00
bunnie
c8db01c563
re-org rootkeys-api into common and generation-specific libraries
2025-05-04 19:05:58 +08:00
bunnie
5ae0761413
lockfile impacts for keystore-api
2025-05-04 18:34:49 +08:00
bunnie
9d6223d0b2
pddb migrations for keystore-api
2025-05-04 18:34:33 +08:00
bunnie
2c47db081d
other crates affected by api migration
2025-05-04 18:34:17 +08:00
bunnie
7c6ecf308e
migrate rootkeys api to keystore-api
2025-05-04 18:34:01 +08:00
bunnie
f3fa5f6c68
migrate rootkeys API to a neutral third party crate
...
this will allow for bridging APIs between generations
2025-05-04 18:30:39 +08:00
bunnie
90aab45376
lockfile changes related to the few immediate prior commits
2025-05-04 17:03:40 +08:00
bunnie
22433fa25c
reconfigure toml files for pddb target testing
...
OK, i think this gets us to the starting point of shaving down
the PDDB crate from the restored baseline
2025-05-04 17:03:00 +08:00
bunnie
8e52d4ca5d
minor cleanup on swapper crate
...
still a lot of warnings but the code is all stubs so that's normal
2025-05-04 17:02:15 +08:00
bunnie
48c6ce7232
cleanup non-spinor config for xous-swapper
...
this allows us to build configs that aren't in the dev path
without errors
2025-05-04 17:00:08 +08:00