hex-five / multizone-sdk

MultiZone® Security TEE is the quick and safe way to add security and separation to any RISC-V processors. The RISC-V standard ISA doesn't define TrustZone-like primitives to provide hardware separation. To shield critical functionality from untrusted third-party components, MultiZone provides hardware-enforced, software-defined separation of multi
https://hex-five.com/multizone-security-tee-riscv/
Other
79 stars 24 forks source link

Restarting zone1 over telnet can lead to zone1 locking up #16

Closed borancar closed 5 years ago

borancar commented 5 years ago

Reported against: https://github.com/hex-five/multizone-sdk/commit/7edf433546d940b895c8d3aca0750fc86402c853

I experience a semi-random behavior when trying to restart zone1 over telnet. Zone2 remains functional as I can ping it still. LD0 and LD1 stop doing anything and stats show times < 10ms which indicates no tasks running in zone1.

Here are steps how to reproduce:

➜  ~ telnet 192.168.1.2
Trying 192.168.1.2...
Connected to 192.168.1.2.
Escape character is '^]'.

FreeRTOS CLI

Z1 > restart

FreeRTOS CLI

Z1 > restart

FreeRTOS CLI

Z1 > restart

FreeRTOS CLI

Z1 > restart

FreeRTOS CLI

Z1 > restart

FreeRTOS CLI

Z1 > restart
cgarlati commented 5 years ago

Please move to hex-five/multizone-secure-iot-stack