Reflashing the RS9116¶
The scripts mentioned on this page can be obtained from the librem5-devkit-tools repository.
By default no rsi_*
modules get loaded. The modules without firmware are in
/lib/modules/<kernel_ver>/drivers/net/wireless/rsi
. The create_initramfs
script adds the rsi firmware and reflash modules in /usr/src
.
There is a convenience script flash_rsi.sh
that will perform the necessary
steps. The script backs up the rsi modules in /lib/modules
, copies the
firmware into lib firmware, then modprobes the rsi flashing modules.
It replaces the original modules when it has finished.
Run the script on the target to reflash:
root@pureos-test:~# flash_rsi.sh