The build module in master
branch is terribly broken and is nowhere close to get it up and running. After pulling my heir multiple times I finally realized that recent developing activities are moving over volumioOS
branch, with kernel version bumped to 5.4.83 – This draws another story as WaveShare patched up their master
branch to match API changes in kernel version 5.10.y and will cause compiling error.
I’m putting together a PR to volumioOS
branch here and hope we can have this support OOB, but there are still some problems. At this moment, you could try to build your own image based on Debian Buster (kernel 5.4.83+) by checking out volumioOS
branch, and then do the following things once you can ssh to the pi:
#!/bin/bash
sudo volumio kernelsource
git clone https://github.com/waveshare/WM8960-Audio-HAT.git
cd WM8960-Audio-HAT
git reset --hard cd5d2e01a80cce929ea64715ed73d1b91cd5ba50
sudo ./install.sh