.. | ||
b2s | ||
tkeyimage | ||
tpt | ||
app_bin_to_spram_hex.py | ||
default_partition.bin | ||
load_preloaded_app.sh | ||
makehex.py | ||
patch_uds_udi.py | ||
README.md | ||
run_pnr.sh |
Tools
We have developed some tools necessary for the build.
-
app_bin_to_spram_hex.py
: Script used to include a device app in a testbench simulation. -
b2s
: Compute and print a BLAKE2s digest over a file. Used for the digest of the app in app slot 0 included in the firmware. -
default_partition.bin
: Default partition table for the flash. -
load_preloaded_app.sh
: Script to load two copies of the partition table to flash and a pre-loaded to app slot 0 or 1. Needsdefault_partition.bin
, generated withtkeyimage
and the binary of the device app to load. Call like:./load_preloaded_app 0 path/to/binary
. -
makehex.py
: Used to build hex version of firmware ROM for FPGA bitstream build. -
patch_uds_udi.py
: Script used to patch in the Unique Device Secret indata/uds.hex
and the Unique Device Identifier indata/udi.hex
into the bitstream without having to rebuild the entire bitstream. -
run_pnr.sh
: Script to run place and route withnextpnr
in order to find a routing seed that will meet desired timing. -
tkeyimage
: Utility to create and parse flash images with a TKey filesystem or the partition table -
tpt/tpt.py
: Utility to create the Unique Device Secret (UDS) and Unique Device Identity (UDI) interactively.