Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FW: Optionally start app from flash #215

Open
mchack-work opened this issue Apr 24, 2024 · 0 comments
Open

FW: Optionally start app from flash #215

mchack-work opened this issue Apr 24, 2024 · 0 comments
Labels
enhancement New feature or request fw Related to firmware
Milestone

Comments

@mchack-work
Copy link
Member

mchack-work commented Apr 24, 2024

Change firmware to optionally load a device app from flash. Note: Should probably be used only on some products, not necessarily all TKey products.

Firmware first checks on some signal from FPGA if it's supposed to wait for a device app to be loaded the normal way.

Firmware needs to be able to read a small header on flash and if
found load application from flash memory, doing the normal measuring of the device app.

We will probably need some kind of header on the flash containing some magic cookie to tell the firmware that a pre-loaded app is available.

We might want to add the app digest to the header, so the firmware can compare the computed digest to the expected digest, which is basically what we do in client apps right now, too.

Depends on

@mchack-work mchack-work added enhancement New feature or request fw Related to firmware labels Apr 25, 2024
@mchack-work mchack-work added this to the Codename Castor milestone Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fw Related to firmware
Projects
None yet
Development

No branches or pull requests

1 participant