bunnie
ac8decce88
Update RELEASE-v0.9.md
2022-04-23 00:13:52 +08:00
bunnie
1c0a9fab34
Update RELEASE-v0.9.md
2022-04-23 00:13:22 +08:00
bunnie
c539a1348e
Merge pull request #140 from gsora/feature/multi-text-modals
...
feature: multi-text TextEntry modals
2022-04-22 19:39:24 +08:00
Gianguido Sorà
548049d8d5
restore format on save for vscode
2022-04-22 12:21:42 +02:00
Gianguido Sorà
1fb0c2e6a2
Merge pull request #1 from betrusted-io/multi-text-modals
...
Multi text modals
2022-04-22 12:02:58 +02:00
bunnie
987f40f5de
minor fixes to multi-modals input
...
- track field heights using the drawing height directly
- use an &mut reference in the text processing section so changes stick
- other minor cosmetic improvements
2022-04-22 17:44:25 +08:00
bunnie
34c2ffe1a3
fix password entry to work with the new return type
...
also requires a call to `reset_action_payloads` for the
number of field elements to be recorded correctly!
2022-04-22 17:43:26 +08:00
bunnie
55197e97f4
fix white space
2022-04-22 15:56:11 +08:00
bunnie
4ddd414ed6
fix modals API in the PDDB migration code
2022-04-22 15:55:15 +08:00
bunnie
dd462aebb2
remove trailing/open white spaces
2022-04-22 15:54:43 +08:00
bunnie
2c3143f790
Merge branch 'main' into multi-text-modals
2022-04-22 15:54:18 +08:00
bunnie
bac6c25bfe
conversion toward standard testing method
2022-04-22 15:10:51 +08:00
bunnie
02daea2f0e
add a note for STAGING area as well
2022-04-22 02:48:52 +08:00
bunnie
5bdd3a9f51
modifications to prepare for enhanced USB security
...
The next release will feature an access control on USB so that
root keys and the encrypted gateware cannot be read back and
transitively the writes would be guttered (but this is not a problem
because the write target address is not set by the memory location
of the write, it's actually set by the location specified in
the program command to the FLASH).
This means that the updating program has to be modified accordingly;
now, for writes, a single location is targeted (and as alluded above,
this is funneled to a write FIFO buffer, and then the actual address is
set with the page program command); and for readback, attempts to read
back the SoC area are flagged and noted as impossible due to security
precautions.
2022-04-22 02:48:43 +08:00
Sean Cross
b829783e7d
emulation: wf200: implement "Disconnect" verb
...
Signed-off-by: Sean Cross <sean@xobs.io>
2022-04-21 12:00:12 +08:00
Sean Cross
a74199829a
emulation: add initial TLV320AIC3100
...
This audio codec lives on I2C and doesn't really do much for us.
However, by adding this device we can now pass `test oqc`.
The next step will be to implement `BetrustedI2S` which is where the
actual audio emulation occurs.
Signed-off-by: Sean Cross <sean@xobs.io>
2022-04-21 11:42:02 +08:00
Sean Cross
aded1e9800
Merge branch 'main' of github.com:betrusted-io/xous-core
2022-04-21 10:36:55 +08:00
Sean Cross
e15649ccd5
svd2repl: add susres
...
Signed-off-by: Sean Cross <sean@xobs.io>
2022-04-21 10:20:19 +08:00
Sean Cross
582be287f4
emulation: add susres to emulation
...
Signed-off-by: Sean Cross <sean@xobs.io>
2022-04-21 10:20:00 +08:00
Sean Cross
0992b519b5
emulation: load bootloader from ROM
...
By loading the bootloader from ROM instead of from ELF, we ensure that
.bss and friends aren't overwritten.
Signed-off-by: Sean Cross <sean@xobs.io>
2022-04-21 10:19:02 +08:00
Sean Cross
2979f4453f
emulation: ensure peripherals are reset
...
Add a `Reset()` call to many more peripherals to ensure they are reset
when the board is reset.
Signed-off-by: Sean Cross <sean@xobs.io>
2022-04-21 10:18:35 +08:00
Sean Cross
d7c2033273
emulation: keyboard: support "Wake Up" sequence
...
The hardcoded sequence "F1+F4" will wake a device that is suspended.
Signed-off-by: Sean Cross <sean@xobs.io>
2022-04-21 10:16:36 +08:00
Sean Cross
b5a858938a
emulation: add separate TAP and Linux implementations
...
Add one script that starts up a TAP connection as well as a second one
that uses a native Linux machine.
Signed-off-by: Sean Cross <sean@xobs.io>
2022-04-21 10:15:12 +08:00
Sean Cross
86c4a6813d
susres: add initial suspend/resume implementation
...
Signed-off-by: Sean Cross <sean@xobs.io>
2022-04-21 10:14:46 +08:00
bunnie
6a4d79dfe1
update Cargo.lock to reflect the latest PR
2022-04-21 02:43:54 +08:00
bunnie
94fff6b624
add some missing features to the release notes
2022-04-21 02:43:40 +08:00
bunnie
012a4d4673
Merge pull request #138 from vmedea/minifb-0.23
...
Update minifb to 0.23.0
2022-04-20 20:19:09 +02:00
bunnie
ee39b9643e
add a timeout for the network to disconnect before starting update
...
this is to avoid panics due to malformed "packets" being received
as the EC is updating and not working correctly.
2022-04-21 01:22:17 +08:00
Mara Huldra
aa360a9733
Update minifb to 0.23.0
...
Minifb 0.23 fixes a serious wayland keyboard issue.
2022-04-20 18:28:16 +02:00
Sean Cross
b72b4825f0
emulation: add jtag peripheral
...
This initial draft of the jtag peripheral is enough to get the test
started.
Signed-off-by: Sean Cross <sean@xobs.io>
2022-04-20 21:29:09 +08:00
Sean Cross
df03f8c820
emulation: bq27421: correct endianness
...
Because of the previous commit, endianness was incorrect and we weren't
reading the full range of values.
Correct the endianness and support continuous reads. Also expose various
settings so they may be adjusted.
Signed-off-by: Sean Cross <sean@xobs.io>
2022-04-20 21:27:51 +08:00
Sean Cross
cd19fcba57
emulation: ec: i2c: allow reading multiple registers
...
Previously, the code would only allow for reading one register at a
time. This caused that one register to be duplicated repeatedly.
As a result, readings such as Voltage were incorrect.
Signed-off-by: Sean Cross <sean@xobs.io>
2022-04-20 21:26:58 +08:00
bunnie
b39f4c38eb
fix update scripts so updates don't wipe root keys :-O
2022-04-20 17:15:46 +08:00
bunnie
9878dfc1a9
add a note about resetting the device properly after an update
2022-04-20 17:03:02 +08:00
bunnie
a31030bf90
remove excess wait state and clarify wait text
2022-04-20 16:59:19 +08:00
bunnie
15105cd0b2
fix update scripts to prevent device from self-resetting during updates
2022-04-20 16:57:10 +08:00
bunnie
e6ef6f81e9
move v0.9.8 to release status on README
2022-04-20 16:11:55 +08:00
bunnie
aa6bf1230a
absorb v0.9.8 tagged SoC
2022-04-20 16:11:30 +08:00
bunnie
6e306bdebf
update release notes
2022-04-20 03:54:15 +08:00
bunnie
38d6765586
fix remaining bugs in migration, tested and passing on CI + real hardware
2022-04-20 03:48:05 +08:00
bunnie
4f9f1116fc
fix various bugs in pddbg
...
note that there is still pddbg_v1 for the older version of the pddb
2022-04-20 03:47:17 +08:00
bunnie
758ed1ba31
some more fixes to pddbg to bring it up to v2. now passing CI.
2022-04-19 23:28:47 +08:00
bunnie
2d0af08266
bring pddbdbg up to v2
2022-04-19 15:57:51 +08:00
bunnie
b3c89e5f09
add migration of secret basis for v1->v2; fix some interior mutability issues
...
Probably nobody is really using secret Bases right now, but it's
probably a good idea to lay out all the infrastructure and start
testing it for when it comes time to do it with data that really
matters.
2022-04-19 04:50:15 +08:00
bunnie
d0f632965e
add the old version of pddbg for debugging v1.x databases
2022-04-19 04:49:40 +08:00
bunnie
2596a35fe0
Merge branch 'main' into bunnie-dev
2022-04-19 02:05:46 +08:00
bunnie
f4f0812fb4
refactor API to use the None encoding for 0 on NonZeroUsize MemoryMessage fields
...
at the suggestion of @xobs, requires a new libstd to work with this.
2022-04-19 01:32:36 +08:00
bunnie
4ba34bbd58
intermediate work on v1->v2 migration, need to set aside to fix a libstd problem
2022-04-19 00:45:10 +08:00
bunnie
c8a38b4bf5
fix representation of va in pagetable so we're not burning 12 bits on 0's
...
this is a v2 fix, incompatible with v1
2022-04-19 00:44:45 +08:00
bunnie
ba3639b00a
prepare for v2 migration. more edits coming
2022-04-19 00:44:30 +08:00