xous-core/services/root-keys/src/key2bits/db
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
..
README.md add the KEYROM patching database for rewriting bitstreams with new keys 2021-08-03 16:28:17 +08:00
segbits_clbll_l.db add the KEYROM patching database for rewriting bitstreams with new keys 2021-08-03 16:28:17 +08:00
tilegrid.json add the KEYROM patching database for rewriting bitstreams with new keys 2021-08-03 16:28:17 +08:00
xc7s50csga324-1il.json add the KEYROM patching database for rewriting bitstreams with new keys 2021-08-03 16:28:17 +08:00

key2bits database files

These are generated from a bespoke prjxray run, targeted at the specific model of FPGA used in Precursor/Betrusted. Since the hardware will never change, the files are committed as binary artifacts. For more information, see https://github.com/betrusted-io/rom-locate, and https://github.com/betrusted-io/prjxray-db will have some leading hints on how to produce a new DB if parts change (but you'll have to follow a trail of breadcrumbs from there, setup the entire tool, and do a fuzzing run which takes several days and 100+GiB of disk space...)