Open and collaborative project, we are creating customizations for OpenWRT, a version of LHC. We are working to set up an internet connection quality meter creating a new menu and functionality at OpenWRT. 
Compilation is done within a docker container.
Within this repository, perform:
sudo env UID= $( id -u ) GID= $( id -g ) docker compose buildBe sure to boot the submodes:
git submodule update --init --recursiveRun the container
sudo env UID= $( id -u ) GID= $( id -g ) docker compose run sindriRun the script to prepare the environment (first time only)
./setup_build.shRun the container:
./build_image.sh -a chirpstackos_rpi4This command will build the Caipirinha-os version for Raspberry Pi 4 with Chirpstack (Lorawan)
The following commands must be executed inside the container, specifically in the openwrt folder:
Optionally clean the content created above:
make distcleanUpdate the feeds:
./scripts/feeds update -a
./scripts/feeds install -a Generate the .config file:
cp ../.config.caipirinha .config
make defconfigTo create a new difference setting
./scripts/diffconfig.sh > ../.config.caipirinha
make menuconfigmake download
make -j4 After complaint, the images can be found in the Bin/Targets/BCM27xx/BCM2710/ . openwrt-ath79-generic-comfast_cf-e5-squashfs-sysupgrade.bin
make download
make -j1 V=scThe above commands will allow detailing and compilation in a single thread to obtain an error visualization during compilation.