This is a custom linux image for the raspberry pi built with BuildRoot. UI built with QT which just charts randomly generated numbers in real time.
sudo pacman -S cmake qt5-base qt5-charts qt5-quickcontrols qt5-quickcontrols2
cd br-ext-tree/package/albert
mkdir build && cd build
cmake ..
make
cd br-ext-tree/package/temperature-sensor
mkdir build && cd build
cmake ..
make
make build
Basically this generates the custom config defined for this board and calls make in the buildroot
submodule, providing the custom packages built in this repo to the build process via Buildroot's external tree argument. On build complete, an image will be at buildroot/output/images/sdcard.img
My machine has two drives so USBs are generally /dev/sdc
for me and is hardcoded in the Makefile, this probably needs to be modified depending on your setup (lsblk
, change the SD_DEVICE
variable) . Assuming the OS image has been built and exists at ./buildroot/output/images/sdcard.img
, running:
make flash
will just dd
it into the SD card.
Plugging the SD card in, it boots into a login prompt with credentials root
and pass
. To start the UI:
$ albert-ui