Commit graph

10340 commits

Author SHA1 Message Date
bunnie
7dc09bbc73 updated AES library with Vex-II drivers
This will also be the version we'll use for the daric chip once
it's available; the prior software-only version hack for MPW will
be retired soon.

Note that only AES-256 is implemented in this commit, AES-128
isn't used on the system and so is provided as a software-only
fallback path.
2025-07-21 16:34:05 +08:00
bunnie
a858c09e53 add vexii-test feature to aes lib 2025-07-21 03:10:04 +08:00
bunnie
4fb3a3da43 add vexii-test shims for irq subsystem in kernel 2025-07-20 19:03:29 +08:00
bunnie
8f2727c582 better formatting on documentation 2025-07-20 19:01:22 +08:00
bunnie
f87a4399c7
Merge branch 'main' into sam.artybio-LED 2025-07-10 15:05:59 +08:00
bunnie
ac1a5c100d
Merge pull request #664 from betrusted-io/baremetal
WIP: Track baremetal target to base branch
2025-07-10 15:05:21 +08:00
bunnie
54dc0d9183 fix typo 2025-07-10 14:57:58 +08:00
bunnie
91c51920c6 add differentiated baremetal targets for bringup tasks 2025-07-10 14:57:24 +08:00
bunnie
1e02746d9e add vexii baremetal target for utralib 2025-07-10 14:57:06 +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
Sam Chin
0bac7f6c0f missed one 2025-06-16 20:29:40 +08:00
Sam Chin
28d887324a added a nice abstraction 2025-06-16 20:25:36 +08:00
Sam Chin
663c07fce4 adds a blinky function to the LEDs on the arty board using bio 2025-06-16 19:04:46 +08:00
bunnie
1bff1eebf1 add repl environment to baremetal
This will help keep the command somewhat organized as things
are developed.

Also provides some templating for e.g. how to handle carriage
returns, etc.
2025-06-15 23:53:02 +08:00
bunnie
25afa24411 update lock file as we now pull in a more modern riscv crate
this is for baremetal
2025-06-15 23:23:42 +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
53bdf11c3b update artybio target as FPGA was rebuilt 2025-06-15 23:22:24 +08:00
bunnie
a5eab45a86 add some comments to explain where the code is currently at 2025-06-15 02:06:27 +08:00
bunnie
5d3e0eba6c add baremetal to lock 2025-06-15 01:04:31 +08:00
bunnie
e35fc7ee98 add some early smoke tests of the BIO subsystem 2025-06-15 01:04:09 +08:00
bunnie
51c5fc75be add artybio target, remove debug prints that don't map to the target 2025-06-15 01:03:01 +08:00
bunnie
b3a04e349a add an initial baremetal trial target
just prints hello world for now!
2025-06-14 01:43:32 +08:00
bunnie
2433fe9179 add baremetal option to the workspace 2025-06-14 01:43:02 +08:00
bunnie
ae06dfe1be add baremetal target
this is a minimal target for building test images that need
none of the xous goodies, but may rely upon e.g. APIs and
libraries. Closer to coding for a baremetal embedded system.
2025-06-14 01:42:23 +08:00
bunnie
0f6f6d10dc add artybio target to utralib 2025-06-14 01:42:06 +08:00
bunnie
20140b2cdd
Merge pull request #661 from betrusted-io/add-bmp180
Add BMP180
2025-06-11 15:08:17 +08:00
Sam Chin
04bf756b8e theoretically clean version which has been tested with and without the feature 2025-06-11 15:05:59 +08:00
Sam Chin
0412a401d8 no more deadcode 2025-06-10 21:51:55 +08:00
Sam Chin
2659fc0894 wip'
'
2025-06-10 21:51:55 +08:00
bunnie
63b18ec42d
Merge pull request #660 from betrusted-io/sam.i2c-fix
add back in the reading part of `i2c_read`
2025-06-10 17:19:59 +08:00
Sam Chin
c9116cffd9 adding line back in 2025-06-10 16:00:16 +08:00
bunnie
b9bac3d5cf
Merge branch 'main' into vault2 2025-06-09 18:52:43 +08:00
bunnie
0e1cebf329
Merge pull request #656 from betrusted-io/sam.hello-world
adding bao-console functions (`i2cdetect` and `cute`)
2025-06-09 18:52:28 +08:00
bunnie
7d23064d08
Leave in bao-video
I think we can leave in the bao-video package without breaking the size of the swap.img file...
2025-06-09 18:50:46 +08:00
bunnie
59db16aa99
remove debug message 2025-06-09 18:49:28 +08:00
bunnie
758e23769e
Merge branch 'main' into sam.hello-world 2025-06-09 18:47:18 +08:00
bunnie
5108239cff
Merge pull request #657 from betrusted-io/console-flags-part-deux
add build flags to bao-console
2025-06-09 18:46:46 +08:00
Sam Chin
a25f20d045 making console flags happy 2025-06-09 17:47:00 +08:00
Sam Chin
e7ac82161f removing bmp180 which should be its own PR 2025-06-09 17:37:12 +08:00
Sam Chin
90d88820dd dropped a ; 2025-06-09 17:37:12 +08:00
Sam Chin
d1b5a41e82 fixing help text 2025-06-09 17:37:12 +08:00
Sam Chin
c291b6a11f now passing the linter 2025-06-09 17:37:12 +08:00
Sam Chin
e5cdeaf2ca adding some cute command line arguments 2025-06-09 17:37:12 +08:00
Sam Chin
1b8554b8f2 removing the BMP180 code 2025-06-09 17:37:12 +08:00
Sam Chin
916c93e276 now with SI units 2025-06-09 17:37:12 +08:00
Sam Chin
b35f9cad33 working read 2025-06-09 17:37:12 +08:00
Sam Chin
b0b29f7d78 reestablishing devenv 2025-06-09 17:37:12 +08:00
bunnie
0d0267f0ea scaffolding the i2cdetect command 2025-06-09 17:37:12 +08:00
Sam Chin
526d8353fd hello world exercise 2025-06-09 17:37:12 +08:00
bunnie
ea3b032fbe add build flags to bao-console
two flags are added:

with-pddb - puts the PDDB commands into the console
battery-readout - turns on the periodic battery readout
2025-06-09 17:20:46 +08:00