doc: Document how to flash with filesystem

This commit is contained in:
Michael Cardell Widerkrantz 2025-05-22 16:49:39 +02:00
parent 916c37eab9
commit 9a93da087d
No known key found for this signature in database
GPG key ID: D3DB3DDF57E704E5
2 changed files with 39 additions and 1 deletions

View file

@ -765,6 +765,26 @@ initiated before starting for the first time. You need a [TKey
Programmer Board](https://shop.tillitis.se/products/tkey-dev-kit) for
this part.
If you just want to build and flash the bitstream, the testloadapp in
app slot 0, and the partition table copies in one go, place the TKey
Unlocked in the TP1, then:
Using Podman, from the top level directory:
```
cd contrib
make flash
```
Using native tools:
```
cd hw/application_fpga
make prog_flash
```
If you want to prepare the filesystem yourself:
1. Choose your pre-loaded app. You *must* have a pre-loaded app, for
example `testloadapp`. Build it with the OCI image we use. The
binary needs to produce the BLAKE2s digest in `allowed_app_digest`