This and that as buildroot BR2_EXTERNAL config. First follow the Initial setup and then package specific instructions.
mkdir ~/myproject
cd ~/myproject
git clone git://git.buildroot.net/buildroot
git clone https://github.com/sirsipe/buildroot-externals
This package configures WiFi for Raspberry Pi and allows also configuring OpenSSH with root access, resulting in very easy headless access for RPi devices over WiFi.
Selects also haveged
to aid with random generator initialization with OpenSSH for significanly faster boot.
Change the raspberrypi0w_defconfig
according to your RPi board. Not tested but I see no reason why this wouldn't work at least with RPi3, but possibly also with RPi4 and Zero W2.
cd ~/myproject/buildroot
make raspberrypi0w_defconfig
make BR2_EXTERNAL=../buildroot-externals menuconfig
-
Choose
External Options -> rpi-wifi
and setupWifi SSID
andWifi Password
. Leavemodprobe brcmfmac
set unless you choose EUDEV as /dev management. -
To access your device over Wifi using SSH, choose
External Options -> rpi-wifi -> OpenSSH Server with root login enabled + HAVENGED for faster boot
and then ensureRoot password (COMPULSORY!)
is not empty. -
Exit & Save
-
make
& wait
Depends on libgles and WCHAR toolchain support.
https://github.com/raysan5/raylib
This package installs raylib libraries that can be quite easily used in C/C++ game/GUI dev for RPi. Uses OpenGLES backend.
Depends on libgles, pthreads and WCHAR toolchain support. Selects raylib.
On-screen display. See https://github.com/sirsipe/TheUAVProject
Depends on osd
Launches osd automatically on boot as last init script.
Depends on rpi-userland
Launches raspivid on sligtly opaque preview mode as early in the boot as possible.
Depends on Raylib
A very simple C application that tests raylib by showing a string of text on the screen. Installs to /usr/bin/hello-raylib.
Depends on gpsd
Simple C application testing that gpsd actually gets some data from the attached device. Listens to 127.0.0.1:2947 which is the default data sink of gpsd. Note that a loopback network interface must be defined or otherwise gpsd can't initialize the data sink.
Very osd specific testing. Don't use. Should be deleted.