bunnie
45c4d6320c
bug fixes for SpinalHDL core (EP0 setups now go to the correct location)
2022-05-16 00:34:42 +08:00
bunnie
d7ad8d6356
this device image is responding to USB setup packets, at least.
2022-05-10 13:24:27 +08:00
bunnie
e3cd5de0ea
this version of precursors actually seems to be doing something usb-like
2022-05-06 13:39:39 +08:00
bunnie
1c21482796
move USB signals into the usbdev block (out of GPIO)
2022-05-03 10:47:40 +08:00
bunnie
b5bbdd87dc
absorb missing commit info
2022-05-03 01:51:23 +08:00
bunnie
2c2e15ac67
hopefully this time i got all the CSRs compiled in for the USB device
2022-05-03 00:11:16 +08:00
bunnie
66892e15d2
upgrade the netlist to include the interrupt line
2022-04-28 22:43:16 +08:00
bunnie
750de11674
add a SoC version that includes a strawman USB device block
...
this block needs to be first activated by flipping a mux,
and then drivers need to be written. wooo...drivers...
2022-04-22 02:56:33 +08:00
bunnie
aa6bf1230a
absorb v0.9.8 tagged SoC
2022-04-20 16:11:30 +08:00
bunnie
5c40908244
absorb SoC fix to reduce boot.bin size with latest rustc
...
just a shift in the optimizer settings.
2022-04-18 16:22:30 +08:00
bunnie
4192c2105f
pull in 0.9.7 soc precursors
2022-02-28 14:18:04 +08:00
bunnie
b012cfa2fc
update SoC precursors to latest Litex
...
prep for future activities e.g. vexriscv perf optimization and
Luna USB integrations
2022-02-25 02:45:36 +08:00
bunnie
862f3a804e
pull in the version string from the gateware for the bootloader
2022-02-04 04:03:52 +08:00
bunnie
3a1fd2e7d0
commit a 0.9.6 tagged prebuilt gateware image
2022-02-04 01:51:50 +08:00
bunnie
11c88b170e
implement a basis for anti-rollback upgrades
...
the actual transition to a new version isn't here. But,
at the very least, the root keys are now derived by hashing
them MAX_ROLLBACK_LIMIT times, which allows us to create a
key chain based on a global version number that can be incremented
while allowing derviation of older keys without compromising newer
keys.
2022-02-04 01:33:04 +08:00
bunnie
9cfffb18e9
some minor fixes to the console debug system to make it more consistent
...
there is still some mysterious problem involving a race condition
of the raw hardware console UART Rx path deciding it doesn't want
to report new characters anymore to the interrupt handler that
is triggered when multi-byte sequences are shoved down the
pipe. So long as you're typing simple commands it's fine, but
escape sequences tend to lock things up. I don't think there's
enough ROI to continue investigating this facility.
2022-01-28 03:36:14 +08:00
bunnie
4c4ca1577f
fix connection manager state machine
...
seems to work a lot better, but needs a lot more testing
2022-01-27 03:56:39 +08:00
bunnie
5ea9695c9c
add precursors that fix the loader signature check as well
2021-11-02 03:54:15 +08:00
bunnie
651a05195f
another attempt to sync up the precursors. something weird is doing on.
2021-10-29 03:22:04 +08:00
bunnie
f17c1df138
sync up precursors with what's generated by the CI system
2021-10-29 02:42:55 +08:00
bunnie
18d3e75773
update precursors in prep for a new tag
2021-10-28 18:39:35 +08:00
bunnie
010856406d
fix permissions
2021-10-27 23:06:13 +08:00
bunnie
ec538025a8
changes to bring us up to date with rust 1.56. still not building.
2021-10-23 17:08:48 +08:00
bunnie
f1296d0dfd
convert route table to use heap not static memory, since we have heap
2021-10-15 15:44:16 +08:00
bunnie
560c6e4197
something packet-oid is coming out of the serial port now?
2021-10-09 02:12:12 +08:00
bunnie
7ef9fd011c
update to the latest litex core
2021-09-28 02:39:20 +08:00
bunnie
1f92ed3551
update precursors
2021-09-25 22:29:30 +08:00
bunnie
c7b523cb02
commit precursors that fix curve25519 bug
2021-09-07 05:09:54 +08:00
bunnie
d261dfd4e1
add precurcsors with the right tag
2021-08-30 00:57:30 +08:00
bunnie
823c23ccc8
latest precursors to correspond with fixes
2021-08-29 22:01:54 +08:00
bunnie
aab1625ba3
add precursors that correspond to the latest changes. this will
...
require a rebuild/reflash of loader + kernel beacuse it introduces
an extra CSR for WFI management during sleep.
2021-08-29 12:05:18 +08:00
bunnie
aa159c5e5e
update precursors with correct gitrev
2021-08-27 16:22:01 +08:00
bunnie
58bff6aa3a
commit working SoC image
2021-08-27 15:47:43 +08:00
bunnie
d417ef560a
progress toward COM bus refactor; precursors reduce COM frequency slightly
2021-08-25 02:29:00 +08:00
bunnie
a3c5f1b428
absorb UART power management fix into gateware
2021-08-24 19:19:48 +08:00
bunnie
160a730d9f
commit precursors
...
contains
- refactored WDT
- refactored keyboard interface
still exhibits issue #74 , unfortunately. seems that key-up events
go missing every now and then. still not sure why.
2021-08-23 05:12:45 +08:00
bunnie
55c72097db
well, now we know the signtaure check works.
...
gateware was missing the signature area due to a problem in
the preparation script. now fixed.
2021-08-20 04:32:30 +08:00
bunnie
d9cf901ae2
update precursors to v0.9.0 SoC build
2021-08-20 02:24:45 +08:00
bunnie
c3fc3ff23f
add bbram provisioning sequence
2021-08-19 04:22:28 +08:00
bunnie
870bd5e632
committing a generic soc_csr.bin image -- should unbreak things for other users
2021-08-14 20:04:49 +08:00
bunnie
b4ee254001
finally, a semblance of sanity...
2021-08-14 16:24:19 +08:00
bunnie
ee4368e747
gateware update code in place
2021-08-13 06:00:21 +08:00
bunnie
f334199ee6
commit host mode debugging
2021-08-12 23:01:34 +08:00
bunnie
bc6ec8caf4
initial key provisioning demo working
2021-08-07 22:21:49 +08:00
bunnie
b6039361cf
jtag script for burning the key
2021-08-04 13:57:09 +08:00
bunnie
ac190e2d97
add the test key for self-provisioning testing
2021-08-04 13:54:11 +08:00
bunnie
07bf3478fa
add the KEYROM patching database for rewriting bitstreams with new keys
...
This code was originally in https://github.com/betrusted-io/rom-locate .
However, the majority of that crate is concerned with creating the database
files necessary for the patching, and it pulls in a lot of dependencies.
Changing hardware targets is considered to be a "huge" change for this
project, so we're pushing the code generator directly into xous-core,
and commiting the generated code directly. The theory is that we would
probably never have to modify this code, since it's so intimately linked
to the hardware; it's a bit like committing an include file with
register offsets for a particular peripheral.
2021-08-03 16:28:17 +08:00
bunnie
5280d232e5
figuring out which way is up on the RootKeys implementation
2021-07-21 19:47:09 +08:00
bunnie
7e7ae82156
pivot spinor implementation
...
realizing some core assumptions were wrong, so, scrapping and
restarting
2021-07-15 23:00:50 +08:00
bunnie
98c0054d7e
some progress on spinor drivers
2021-07-14 00:01:09 +08:00