Yocto build for Raspberry Pi with ClusterHAT.
Read more about ClusterHAT here.
Use this as a base. Tested with poky dunfell branch.
Fetch this project and use as build directory, use --recursive
flag to fetch dependencies.
git clone --recursive https://github.com/ihatetoregister/yocto-pi-cluster
Perform any customization by modifying the build/conf/local.conf.
$ cd
$ source poky-dunfell/oe-init-build-env ~/yocto-pi-cluster/build
$ bitbake console-image
Tried created automated build using Github Actions but this does not seem feasable due to limits for diskspace and runtime. The yocto build requires about 50 GB and takes a few hours to complete.
The script /usr/sbin/reconfig-clusterctrl should be run at boot. Need to find a way to append this to cmdline.txt.
quiet init=/usr/sbin/reconfig-clusterctrl cnat
Also the /boot partition need to be mountable for this script to work. Modified /etc/fstab manually to get this to work.
/dev/mmcblk0p1 /boot auto defaults,sync,noauto 0 0