Commit graph

108 commits

Author SHA1 Message Date
bunnie
f8162c3d9f add some baremetal factory modes 2026-06-15 23:03:45 +08:00
bunnie
75c1faa652 update selftest to what's used in production 2026-03-02 01:24:38 +08:00
bunnie
0a4f8f832b add tests to check sram glitch event triggers in baremetal 2026-02-14 01:31:35 +08:00
bunnie
3f869ca389 bump utralib version for publication 2026-01-29 19:12:00 +08:00
bunnie
fba011db3a commit version bump so that we may publish our packages 2026-01-08 03:04:19 +08:00
bunnie
161b36e88f fix avtrng test/characterization routine 2026-01-06 14:45:39 +08:00
bunnie
6396d75c30 fix missed API migration in baremetal 2026-01-06 13:42:10 +08:00
bunnie
544a0368fc setup the security dependency to pull in sigcheck in crates that use it 2025-12-22 16:18:21 +08:00
bunnie
fdb0da2399 update two spots where the /2 on perclk was missed 2025-12-18 02:22:02 +08:00
bunnie
d874c3e5c2 commit for version bump 2025-12-16 02:02:37 +08:00
bunnie
6424f85210 remove deprecated wfi routines in baremetal
we're now doing wfi testing directly in xous, so these routines
are no longer relevant.
2025-12-16 01:49:23 +08:00
bunnie
7edbeed07c fix apis in baremetal 2025-12-11 02:19:18 +08:00
bunnie
a3f9a9942d update APIs to use the central clocking implementation 2025-12-08 15:58:27 +08:00
bunnie
940f3c057c cleanup warning 2025-12-05 21:36:50 +08:00
bunnie
d8f4ef9fe0
baremetal changes
- update to use new clock API
- add test routines for security sensors
2025-12-04 15:07:51 +08:00
bunnie
6614cbe2a4 force bootwait on in the dabao factory test 2025-11-25 00:14:01 +08:00
bunnie
9ff8ab0caa gate off trngav in dabao builds targeting trng characetrization 2025-11-24 18:28:23 +08:00
bunnie
0b03a183ea fix boot0 write test & ensure pins are setup in baremetal 2025-11-22 22:29:11 +08:00
bunnie
d124d60577 ensure that baremetal on baosec sets up USB pin; pass through redteam flag 2025-11-22 13:43:41 +08:00
bunnie
4a4b5f182d fix product description & serial number in baremetal 2025-11-22 00:53:27 +08:00
bunnie
5bf4a6416a add configurations for security testing 2025-11-21 00:58:23 +08:00
bunnie
d616befca7 fix test escape 2025-11-19 14:43:30 +08:00
bunnie
5a012be146 add baremetal routine to erase the external swap
needed for renewing boards in testing
2025-11-19 13:09:14 +08:00
bunnie
d45330e65d improve the bdma test
this makes the output of the bdma test a bit more compact, and
adds some features to help CI automation to pick out failures
to help validate if fixes are durable
2025-11-18 18:11:49 +08:00
bunnie
c5fb3f282d fix handlers to adjust max packet size to enumeration speed
this seems to make enumeration more reliable with weird cables
2025-11-14 16:15:56 +08:00
bunnie
bf7a55640c add baremetal routine to clear the PDDB for testing purposes 2025-11-11 08:43:50 +08:00
bunnie
7e47d27d37 add handling for dabao case in baremetal 2025-10-31 09:46:09 +08:00
bunnie
2153ae59df remove selftest from default set 2025-10-31 09:03:04 +08:00
bunnie
da623430c6 add debug routines for spim 2025-10-30 04:16:59 +08:00
bunnie
52198821b0 cleanup typos 2025-10-28 18:00:38 +08:00
bunnie
e770249f0a improve error messages 2025-10-26 19:30:34 +08:00
bunnie
b8613797e5
add test code for boot0 write protection
this is a test stub that can be activated in baremetal that
confirms whether or not the bits blown to protect the boot0
region work or not.

This test should be run as part of the check-off process for the golden
image sent for production.
2025-10-26 02:01:00 +08:00
bunnie
e98ffaadfd fix missing import path 2025-10-25 22:23:08 +08:00
bunnie
3944978ded reposition selftest to before the main loop
this allows selftest to run immediately on power-on, instead of
waiting for USB connection
2025-10-25 21:38:25 +08:00
bunnie
d6d06c9eae adjust location of system timer constant 2025-10-24 21:14:49 +08:00
bunnie
1aaa8dd9ac fix typo in pinmask & adjust timings according to factory's preferences 2025-10-24 21:14:19 +08:00
bunnie
e1c07cbf0b cleanup some debug output & fix ref link 2025-10-21 04:16:45 +08:00
bunnie
b8e856a15a
loose ends - api caller-side fixups and lockfile changes 2025-10-20 23:40:50 +08:00
bunnie
252942ae0b
update baremetal APIs to track latest patches 2025-10-20 02:21:28 +08:00
bunnie
5f5bf755a5 meant to not check in with the flag activated 2025-10-19 01:24:03 +08:00
bunnie
972450e306
propagate flag changes to crates that can configure it 2025-10-19 01:20:53 +08:00
bunnie
0f2d971c6b beginning of access control tests 2025-10-19 01:06:31 +08:00
bunnie
9b5ef52e9c update clock/voltage mapping in baremetal
baremetal does kick itself up into a higher performance mode
than the bootloader
2025-10-19 01:05:36 +08:00
bunnie
11a95e13d1 add a small self-test routine to baremetal
when enabled as a feature, runs through all the I/Os available
on a dabao board.

This will be the default firmware loaded on a doabao board.
2025-10-18 01:16:42 +08:00
bunnie
d64d717a8e cleanup testing code & improve bio/bdbma test output
reminders to self as to where these things should go...
2025-10-08 02:57:13 +08:00
bunnie
0d5e629238 cleanup warning 2025-10-06 14:18:11 +08:00
bunnie
b3963cc2f4 fixup baremetal target problems unvield in CI 2025-10-06 14:13:45 +08:00
bunnie
dbb0a75118 bump versions
have to absorb a version change due to xous-semver change

might as well also update the utra/svd generator dependencies
since that's been held off for a long time now.
2025-10-06 13:23:18 +08:00
bunnie
b0378d346c remove mass storage from baremetal
No need for it in the baremetal environment, and it frees up
a lot of RAM for use in baremetal applications.
2025-10-01 01:27:40 +08:00
bunnie
4726056b29 cleanup baremetal flow to work with the boot1 assumptions 2025-10-01 00:42:25 +08:00