mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
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. |
||
|---|---|---|
| .. | ||
| README.md | ||
| segbits_clbll_l.db | ||
| tilegrid.json | ||
| xc7s50csga324-1il.json | ||
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...)