Commit graph

12 commits

Author SHA1 Message Date
Pol Henarejos
6777221e48
Allow for null data write to allocate physical space.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2022-02-25 17:03:05 +01:00
Pol Henarejos
4bb756b17c
Fix when clearing file. It was omitting fid field and thus causing misalignment and corruption data.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2022-02-18 13:25:19 +01:00
Pol Henarejos
c8325babb2
Fixed pin reset
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2022-02-14 00:29:04 +01:00
Pol Henarejos
0017284103
Starting migration from gnuk to own solution.
gnuk/openpgp will be left as another pkcs15 app.
Lots of work has been done in the meanwhile.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2022-02-13 01:17:14 +01:00
Pol Henarejos
0c43939de2
Fixed lots of write/read stuff.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2022-02-07 11:13:37 +01:00
Pol Henarejos
222471acb1
We also include the fid into flash files.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2022-02-05 01:54:38 +01:00
Pol Henarejos
30a517908c
Rewrite flash from scratch. We are migrating to a file system approach.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2022-02-05 01:31:24 +01:00
Pol Henarejos
08e6e2d2dd
Return when a write fails
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2022-02-03 11:25:40 +01:00
Pol Henarejos
937517258e
Fix flash size pages
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2022-01-24 18:02:30 +01:00
Pol Henarejos
af7ef7856b
Some adjustments
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2022-01-19 01:16:59 +01:00
Pol Henarejos
eab3e5b73d
The first time, the flash memory is full of garbage. It needs to be marked as empty.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2022-01-03 23:52:35 +01:00
Pol Henarejos
0af5685495
Adding the rest of files:
- ASM is disabled
- Neug needs full rewrite
- Flash is based on PiMoroni 4MB flash (needs adjust)

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2022-01-03 02:02:39 +01:00