add some breadcrumbs

This commit is contained in:
bunnie 2022-09-16 01:45:15 +08:00
parent 3e79e3e430
commit 91eb81000a

View file

@ -542,6 +542,11 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
Some("perf-image") => {
// note: to use this image, you need to load a version of the SOC that has the performance counters built in.
// this can be generated using the command `python3 .\betrusted_soc.py -e .\dummy.nky --perfcounter` in the betrusted-soc repo.
//
// to read out performance monitoring data, use the `usb_update.py` script as follows:
// ` python3 .\..\usb_update.py --dump v2p.txt --dump-file .\ring_aes_8.bin`
// where the `v2p.txt` file contains a virtual to physical mapping that is generated by the `perflib` framework and
// formatted in a fashion that can be automatically extracted by the usb_update script.
let mut args = env::args();
args.nth(1);
let mut pkgs = hw_pkgs.to_vec();