Yocto-based OS for Raspberry Pi
Find a file
2021-11-22 13:00:54 +01:00
docker switch to 64bit arm 2021-11-05 21:44:46 +01:00
keys Add RAUC updater 2021-11-08 19:44:55 +01:00
sample-files add SEBRAUC 2021-11-22 12:48:11 +01:00
sources fix pnpm cache folder 2021-11-22 13:00:54 +01:00
.editorconfig Add base project files 2021-11-03 17:36:32 +01:00
.gitignore Add base project files 2021-11-03 17:36:32 +01:00
.gitmodules Add RAUC updater 2021-11-08 19:44:55 +01:00
.templateconf Add base project files 2021-11-03 17:36:32 +01:00
bitbake Add base project files 2021-11-03 17:36:32 +01:00
LICENSE switch to 64bit arm 2021-11-05 21:44:46 +01:00
oe-init-build-env Add base project files 2021-11-03 17:36:32 +01:00
README.md add SEBRAUC 2021-11-22 12:48:11 +01:00
scripts Add base project files 2021-11-03 17:36:32 +01:00

TSGRain yocto os

This is the yocto-based linux distribution that runs the TSGRain irrigation controller.

Build image

# Use docker build environment
docker run -it --rm --privileged --user $(id -u):$(id -g) -v $(pwd):$(pwd) thetadev256/yoctobuild

. ./oe-init-build-env
bitbake tsgrain-image

Provision package repository

Build the package index and run a webserver in the package directory

bitbake package-index
cd {BUILD_DIR}/tmp-glibc/deploy/ipk
sudo python -m http.server 80

On the Pi, add the server to the opkg package sources

# Add to /etc/opkg/opkg.conf
src/gz all http://{hostname}.local/all
src/gz cortexa53 http://{hostname}.local/cortexa53
src/gz raspberrypi3_64 http://{hostname}.local/raspberrypi3_64

opkg update