tillitis-key/hw/application_fpga/fw/tk1
Michael Cardell Widerkrantz 20b008d20e
Add filesystem code and storage syscalls
Adds syscalls:

- ALLOCATE_AREA
- DEALLOCATE_AREA
- WRITE_DATA
- READ_DATA

and code to access the filesystem and the flash over SPI.

Based on original work by Daniel Jobson <jobson@tillitis.see> for
these files:

- auth_app.[ch]
- flash.[ch]
- spi.[ch]
- partition_table.[ch]
- rng.[ch]
- storage.[ch]

which are used with small changes to integrate with the new syscall
method.

Co-authored-by: Daniel Jobson <jobson@tillitis.se>
Co-authored-by: Mikael Ågren <mikael@tillitis.se>
2025-04-08 11:00:59 +02:00
..
blake2s fw: Build with tkey-libs 2025-03-13 11:07:36 +01:00
picorv32 fw: Add syscalls 2025-02-27 14:27:05 +01:00
auth_app.c Add filesystem code and storage syscalls 2025-04-08 11:00:59 +02:00
auth_app.h Add filesystem code and storage syscalls 2025-04-08 11:00:59 +02:00
firmware.lds Add filesystem code and storage syscalls 2025-04-08 11:00:59 +02:00
flash.c Add filesystem code and storage syscalls 2025-04-08 11:00:59 +02:00
flash.h Add filesystem code and storage syscalls 2025-04-08 11:00:59 +02:00
main.c Add filesystem code and storage syscalls 2025-04-08 11:00:59 +02:00
Makefile fw: Add syscalls 2025-02-27 14:27:05 +01:00
partition_table.c Add filesystem code and storage syscalls 2025-04-08 11:00:59 +02:00
partition_table.h Add filesystem code and storage syscalls 2025-04-08 11:00:59 +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
rng.c Add filesystem code and storage syscalls 2025-04-08 11:00:59 +02:00
rng.h Add filesystem code and storage syscalls 2025-04-08 11:00:59 +02:00
spi.c Add filesystem code and storage syscalls 2025-04-08 11:00:59 +02:00
spi.h Add filesystem code and storage syscalls 2025-04-08 11:00:59 +02:00
start.S fw: Move tk1_mem.h to tkey-libs 2025-03-13 11:07:47 +01:00
state.h fw: Simplify logic 2023-03-14 11:31:47 +01:00
storage.c Add filesystem code and storage syscalls 2025-04-08 11:00:59 +02:00
storage.h Add filesystem code and storage syscalls 2025-04-08 11:00:59 +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 Add filesystem code and storage syscalls 2025-04-08 11:00:59 +02:00
syscall_num.h Add filesystem code and storage syscalls 2025-04-08 11:00:59 +02:00