During installation of the RAK 2245 on a Raspberry Pi Compute Model 4
Installation went smooth without error
However Chirpstack is not installed
After some investigation the cause was found
RPi CM4 is not "OKed" during installation
do_get_rpi_model() checks the rpi model (see ~/rak_common_for_gateway/rak/rak/shell_script/rak_common.sh)
Added the following line in do_get_rpi_model() to allow ChirpStack to be installed on the RPi CM4 as well
# Added for support of the "Raspberry Pi Compute Module 4 Rev 1.0" (DeBuffel)
if [ $model -eq 255 ]; then
text=`tr -d '\0' </proc/device-tree/model | grep -a 'Pi Compute Module 4'`
if [ ! -z "$text" ]; then
model=4
fi
fi
During installation of the RAK 2245 on a Raspberry Pi Compute Model 4
After some investigation the cause was found
do_get_rpi_model()
checks the rpi model (see~/rak_common_for_gateway/rak/rak/shell_script/rak_common.sh
)do_get_rpi_model()
to allow ChirpStack to be installed on the RPi CM4 as wellChirpStack and RAK gateway work fine after the above changes (CM4 with RAK2245 hat) See also https://forum.rakwireless.com/t/installation-rak2245-chirpstack-not-installed/4432