RAK833 – LoRaGateway – Yocto
RAK833-LoRaGateway-SolidRun-Yocto
verified on HummingBoard2 rev 1.4 and MicroSOM rev 1.5
Compilation environment requirements
ubuntu16.Other versions of the operating system may have unpredictable errors.
Prepare yocto image
step1 : Download
refer to guide (Yocto for i.MX6 )
First, get Poky:
git clone -b fido git://git.yoctoproject.org/poky.git
Then get the Freescale layers:
cd poky
git clone -b fido git://git.yoctoproject.org/meta-fsl-arm
git clone -b fido git://github.com/SolidRun/meta-solidrun-arm-imx6.git
Add meta-semtech lora layer
git clone https://github.com/RAKWireless/RAK833-LoRaGateway-SolidRun-Yocto.git
Copy RAK833-LoRaGateway-SolidRun-Yocto/meta-semtech to poky path.
step2 : Copy the file libftdi_1.1.bb to the directory meta/recipes-support/libftdi/ and the directory meta-fsl-arm/openembedded-layer/recipes-support/libftdi/, if the directory libftdi does not exist, create it. refer libftdi_1.1.bb
then run
step3 : Editing local.conf and bblayers.conf at build/conf
refer bblayers.conf
step4 : Customizing images for lora image
refer core-image-base.bb
step5 : Building packages
step6 : flashing image to SD card(Flashing an SD Card ) sudo dd if=core-image-base-solidrun-imx6.sdcard of=/dev/sdb bs=4M conv=fsync
step7 : plug RAK833 module to solidrun HB2 board. make sure the mini-pcie PERST# signal(pin 22) pulled down (default high will cause rak833 function error)
step8 : Start the packet-forwarder application
SolidRun Ltd.