I wonder how feasible decompilation is. The firmware is used in many boards. An open, cleanroom reimplementation (derriving hardware details from the firmware, then reimplementing cleanly in embedded C++ or rust) could fix the issues, that would be very interesting.
reply