Commit graph

37 commits

Author SHA1 Message Date
bunnie
f8162c3d9f add some baremetal factory modes 2026-06-15 23:03:45 +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
544a0368fc setup the security dependency to pull in sigcheck in crates that use it 2025-12-22 16:18:21 +08:00
bunnie
d874c3e5c2 commit for version bump 2025-12-16 02:02:37 +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
5bf4a6416a add configurations for security testing 2025-11-21 00:58:23 +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
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
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
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
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
4726056b29 cleanup baremetal flow to work with the boot1 assumptions 2025-10-01 00:42:25 +08:00
bunnie
aabe88e0d5 checkpoint the baremetal routine as we integrate into the boot chain 2025-09-29 16:21:53 +08:00
bunnie
1255bf12d9 FLAG DAY: fix all names to harmonize around 'bao1x'
The code base had evolved through several code names, interim
names, company names and chip names that alternatively did or did
not exist.

Baochip is the definitive name of the company, and the Baochip1x
(full part number BAO1X2S4F-WA) is the definitivey part number of
the SoC. For convenience, the part number is shortened to 'bao1x'
in most feature flags and variable references.

This commit fixes all of the odd names and removes some unmaintained
early targets.
2025-09-18 21:25:51 +08:00
bunnie
245bd6c264 add extended RO trng tests to baremetal 2025-09-18 20:17:45 +08:00
bunnie
818717e236 add avalanche generator characterization routine to baremetal 2025-09-14 02:15:21 +08:00
bunnie
95b0639c51 add trng dump code
this code, when run, will continuously dump base64-encoded
TRNG traces to the serial port. Combined with the script
in tools/trng_b64.py which runs on the host, one can recover
extensive TRNG raw data for further analysis by TRNG characterization
tools.
2025-09-13 23:30:01 +08:00
bunnie
602b60b669 refactor baremetal
- remove signed bootloader code
- replace with serial console over USB

file transfer needs to be reworked to not use signatures
in baremetal, but rather just a simple hash to verify integrity.

repl needs to be reworked with an "in-place" code upload command
so that large images (> available RAM) can be burned
2025-09-11 00:52:01 +08:00
bunnie
8e6c4161d6 add test for key presses in baremetal 2025-09-08 16:13:22 +08:00
bunnie
d07f74ab99 fixes for USB HS in baremetal 2025-09-08 09:50:17 +08:00
bunnie
f6c92a0a72 add usb disk option to baremetal environment
this will be used to help debug the HS issues
2025-09-07 15:11:46 +08:00
bunnie
7cf23c41e7 add working state for bio tests 2025-08-11 14:58:55 +08:00
bunnie
cbedc3a091 tweaks for dev environment 2025-08-07 01:03:15 +08:00
sam chin
fffbb9371f wip 2025-08-06 18:55:36 +08:00
sam chin
baa3df4b0f wip 2025-08-06 18:51:07 +08:00
bunnie
af64c1cf14 add baremetal-cramsoc target for chip bringup 2025-08-04 16:11:30 +08:00
bunnie
f0b7afe68a add a baremetal target for vexii bringup
here lies the beginning of the path to upgrading the CPU
in the Xous ecosystem.
2025-07-10 14:56:27 +08:00
bunnie
cfe9f4d5c4 significant ergonomic improvements to baremetal
- IRQ handling added
- alloc crate is now available
- critical_section support enabled

Baseline uart RX handler added.
2025-06-15 23:22:47 +08:00
bunnie
e35fc7ee98 add some early smoke tests of the BIO subsystem 2025-06-15 01:04:09 +08:00
bunnie
b3a04e349a add an initial baremetal trial target
just prints hello world for now!
2025-06-14 01:43:32 +08:00