zephyr/soc/xtensa/intel_adsp/tools
Enjia Mai faff3f7ecc soc: xtensa: partial fix of socket misuse and refine the code
1. Improve the firmware transfer reliability by fixing the misuse
of the socket. Fix the most frequent occurence of the common `recv()`
bug described here:

https://docs.python.org/3/howto/sockets.html#using-a-socket

The longer term fix is to switch to a higher level API like Python
Remote Objects.

2. Not rely on the client's command to disconnect. Previously we
rely on the SIGINT to send stop_command to the server, but it does
not work well in some environments. Refine the whole logic and the
sever disconnect service by checking if the client is alive or not.

These changes make the client-server-based cavstool more stable.

Fixes #46864

Signed-off-by: Enjia Mai <enjia.mai@intel.com>
2022-07-06 20:38:41 -04:00
..
cavstool.py soc: xtensa: partial fix of socket misuse and refine the code 2022-07-06 20:38:41 -04:00
cavstool_client.py soc: xtensa: partial fix of socket misuse and refine the code 2022-07-06 20:38:41 -04:00
cavstwist.sh soc: xtensa: keep the CAVS old flasher still works 2022-07-02 06:06:19 -04:00