tillitis-key/hw/application_fpga/fw/tk1
Michael Cardell Widerkrantz 2c1c05f180
fw: Add pre loaded flash app and flash data storage
- Add per app flash storage
  - Adds four data areas. An app can allocate an area. Once allocated
    the area is tied to the CDI of the app and can only be
    read/written/deallocated by the same app.
- Add two pre loaded app slots to flash
  - Load an app from the first slot at boot. The app digest must match a
    specific digest specified in firmware.
  - Optionally load an app from the second slot
- Add a resetinfo area in FW_RAM which is used to signal an app's intent
  of resetting the system and, optionally, pass data to firmware or the
  next app in a bootchain.

Co-authored-by: Jonas Thörnblad <jonas@tillitis.se>
Co-authored-by: Mikael Ågren <mikael@tillitis.se>
Co-authored-by: Daniel Jobson <jobson@tillitis.se>
2025-04-24 16:02:34 +02:00
..
picorv32 fw: Add syscalls 2025-02-27 14:27:05 +01:00
auth_app.c fw: Add pre loaded flash app and flash data storage 2025-04-24 16:02:34 +02:00
auth_app.h fw: Add pre loaded flash app and flash data storage 2025-04-24 16:02:34 +02:00
firmware.lds fw: Add pre loaded flash app and flash data storage 2025-04-24 16:02:34 +02:00
flash.c fw: Add pre loaded flash app and flash data storage 2025-04-24 16:02:34 +02:00
flash.h fw: Add pre loaded flash app and flash data storage 2025-04-24 16:02:34 +02:00
main.c fw: Add pre loaded flash app and flash data storage 2025-04-24 16:02:34 +02:00
Makefile fw: Add syscalls 2025-02-27 14:27:05 +01:00
mgmt_app.c fw: Add pre loaded flash app and flash data storage 2025-04-24 16:02:34 +02:00
mgmt_app.h fw: Add pre loaded flash app and flash data storage 2025-04-24 16:02:34 +02:00
partition_table.c fw: Add pre loaded flash app and flash data storage 2025-04-24 16:02:34 +02:00
partition_table.h fw: Add pre loaded flash app and flash data storage 2025-04-24 16:02:34 +02:00
preload_app.c fw: Add pre loaded flash app and flash data storage 2025-04-24 16:02:34 +02:00
preload_app.h fw: Add pre loaded flash app and flash data storage 2025-04-24 16:02:34 +02:00
proto.c fw: Move tk1_mem.h to tkey-libs 2025-03-13 11:07:47 +01:00
proto.h fw: Build with tkey-libs 2025-03-13 11:07:36 +01:00
resetinfo.h fw: Add pre loaded flash app and flash data storage 2025-04-24 16:02:34 +02:00
rng.c fw: Add pre loaded flash app and flash data storage 2025-04-24 16:02:34 +02:00
rng.h fw: Add pre loaded flash app and flash data storage 2025-04-24 16:02:34 +02:00
spi.c fw: Add pre loaded flash app and flash data storage 2025-04-24 16:02:34 +02:00
spi.h fw: Add pre loaded flash app and flash data storage 2025-04-24 16:02:34 +02:00
start.S fw: Move tk1_mem.h to tkey-libs 2025-03-13 11:07:47 +01:00
state.h fw: Add pre loaded flash app and flash data storage 2025-04-24 16:02:34 +02:00
storage.c fw: Add pre loaded flash app and flash data storage 2025-04-24 16:02:34 +02:00
storage.h fw: Add pre loaded flash app and flash data storage 2025-04-24 16:02:34 +02:00
syscall_enable.h fw: Add syscalls 2025-02-27 14:27:05 +01:00
syscall_enable.S fw: Add syscalls 2025-02-27 14:27:05 +01:00
syscall_handler.c fw: Add pre loaded flash app and flash data storage 2025-04-24 16:02:34 +02:00
syscall_num.h fw: Add pre loaded flash app and flash data storage 2025-04-24 16:02:34 +02:00