Redpine module Firmware Update
These scrips will run on the librem5 devkit, the librem5 Birch and the librem5 Chestnut.
These instructions have been tested using the ttyACM console as they disable and enable WiFi.
On the devkit you will be prompted to turn the WiFI HKS on and off during the process.
The phone will power cycle the WiFi automatically.
Birch Devices
Only on Birch Devices please run
sudo apt install linux-image-librem5
Before the commands below
Update steps
sudo apt install git
git clone https://source.puri.sm/Librem5/redpine-firmware-nonfree
cd redpine-firmware-nonfree/
./files/update_redpine.sh linux-5.3.0-librem5-h1/
To check whether the upgrade was successful run
dmesg | grep redpine
It should contain
redpine_91x: ================================================
redpine_91x: ================ RSI Version Info ==============
redpine_91x: ================================================
redpine_91x: FW Version : 1.2.20.0
redpine_91x: Driver Version : RS9116.NB0.NL.PURISM.LNX.1.3
redpine_91x: Operating mode : 13 [Wi-Fi STA + BT DUAL]
redpine_91x: ================================================
Compile the out of tree modules
This should only be necessary if you are not using the linux-image-librem5 kernel.
Before running the "Update steps" commands above run
./build_redpine_modules.sh