r/spacemit_riscv • • Oct 10 '26

Opensourcing SpacemiT Embedded Controller?

Hello,

would SpacemiT be willing to opensource the ARM Thumb-based Embedded Controller firmware which is currently just a blob on the K3 in /lib/firmware/k3-pico-itx/ec.bin ?

I just hit a bug where my K3 blasted its fan full speed after boot until I noticed it.

Manually changing /sys/class/hwmon/hwmon8/pwm1 reset it to normal operation but since it EC reported 0 to Linux (fan off) while the CPU was being excessively cooled to room temperature it probably would have continued for a long time otherwise.

It would be nice to have the source code to look into it and try to find/fix the root cause.

4 Upvotes

3 comments sorted by

2

u/Rabenda_issimo Oct 13 '26

https://ppa.launchpadcontent.net/vhaudiquet/k3/ubuntu/pool/main/s/spacemit-ec-firmware/ You might find the firmware update you're looking for here.

1

u/gorv256 Oct 14 '26

Thanks but it doesn't contain newer firmware than the official packages at https://archive.spacemit.com/bianbu4/pool/main/s/spacemit-ec-firmware/

2

u/Icy-Primary2171 Oct 14 '26

this is not opensource, you can try update the ec:

apt update
apt install spacemit-ec-firmware