I’m unable to initialize the lora packet forwarder due to issues with the calibration firmware. I receive the following error:
ERROR: Version of calibration firmware not expected, actual:198 expected:2 ERROR: [main] failed to start the concentrator
I’m using a Raspberry Pi 4 with a 64 bit Buildroot installation.
Using the scripts as a guide in packet_forwarder and lora_gateway within the RAK Repo, I’m able to compile for Arm64 without errors, but I run into issues when trying to run. Full log output is available in pastebin just in case there is a small nugget of information there.
In order to compile I added the compiler to the path and added the following to the environment:
export CROSS_COMPILE=aarch64-linux-gnu- export ARCH=arm64
The config.txt has the following overlays configured, similar to what is added by the scripts:
dtparam=spi=on dtparam=i2c_arm=on dtparam=i2c1=on, dtparam=i2c_arm_baudrate=100000 dtoverlay=disable-bt dtoverlay=spi0-hw-cs dtoverlay=uart3
Am I missing anything in my configuration that is needed? I verified GPIO 17 is resetting the SX1301 correctly prior to starting the packet forwarder. The SPI port appears to be working correctly. It always receives 198 for the firmware calibration so I don’t think it’s an issue with too fast of a SPI clock. The SPI clock has the same timing, according to my scope, in both buildroot (64bit) mode and in Raspian (32bit) mode.
Thanks for your help!