Skip to content

sirsipe/buildroot-externals

Repository files navigation

buildroot-externals

This and that as buildroot BR2_EXTERNAL config. First follow the Initial setup and then package specific instructions.

Initial setup

mkdir ~/myproject
cd ~/myproject
git clone git://git.buildroot.net/buildroot
git clone https://github.com/sirsipe/buildroot-externals

Package: RaspberryPi WiFi (rpi-wifi)

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
  1. Choose External Options -> rpi-wifi and setup Wifi SSID and Wifi Password. Leave modprobe brcmfmac set unless you choose EUDEV as /dev management.

  2. 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 ensure Root password (COMPULSORY!) is not empty.

  3. Exit & Save

  4. make & wait

Package: Raylib (v.4.0.0)

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.

Package: osd

Depends on libgles, pthreads and WCHAR toolchain support. Selects raylib.

On-screen display. See https://github.com/sirsipe/TheUAVProject

Package: osd-on-start

Depends on osd

Launches osd automatically on boot as last init script.

Package: cam-on-start

Depends on rpi-userland

Launches raspivid on sligtly opaque preview mode as early in the boot as possible.

Package: hello-raylib

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.

Package: hello-gps

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.

Package: hello-i2c

Very osd specific testing. Don't use. Should be deleted.

About

This and that as buildroot BR2_EXTERNAL config

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published