this is a yocto build to make a minimal image to use your raspberrypi with taplist.io. This is also a good start for me to learn yocto.
it basically simply start chromium in kiosk mode and go to taplist.io
you can see the way we start chromium in /usr/bin/matchbox-session
If you want to just use this image, use the release binaries (rpi-sdimg) for your device and burn it to your sd card using balena etcher.
to setup your wifi, simply make a wpa_supplicant file
You will need the following packages
- build-essential
- chrpath
- diffstat
- gawk
- libncurses5-dev
- texinfo
Clone the project to your home directory ~
cd ~
git clone https://github.com/Rotule666/rpi-taplist.git
The project will include the required submodules (this is provided for information, no need to execute the following lines)
cd ~/rpi-taplist/sources
git submodule init
git submodule update
Chose your device in rpi-build/conf/local.conf
to init poky build env
cd ~/rpi-taplist
source sources/poky/oe-init-build-env rpi-build
to build the image
bitbake image-taplist
go make the grocery, it takes forever.
Once built, the image will be in ~/rpi-taplist/rpi-build/tmp/deploy/images/raspberrypi2/
If you are using wsl, you need to mount the drive, for this use powershell
wmic diskdrive list brief
wsl --mount <DiskPath> --bare
Make sure to check which disk to write to, I use
lsblk
use bmaptool, Make sure to change the right device here
cd ~/rpi-taplist/rpi-build/tmp/deploy/images/raspberrypi2
sudo bmaptool copy image-taplist-raspberrypi2.rpi-sdimg /dev/sdc
to ssh to your new builded yocto system, use
ssh root@taplist.local
use the password set in image-taplist.bb (default from the repo is taplist)
https://jumpnowtek.com/rpi/Raspberry-Pi-Systems-with-Yocto.html
https://www.instructables.com/id/Building-GNULinux-Distribution-for-Raspberry-Pi-Us/
https://blog.emumba.com/how-to-write-a-custom-yocto-application-layer-for-raspberrypi-bcd03f06ed68