waveshare / WM8960-Audio-HAT

The drivers of [WM8960 Audio HAT] for Raspberry Pi
GNU General Public License v3.0
100 stars 65 forks source link

Install on piCore #40

Closed michnixweiss closed 2 years ago

michnixweiss commented 2 years ago

Im trying to install the HAT on a raspi Zero W with piCore Kernel 5.10.77 There is a wm8960-soundcard.dtbo in the overlays which seems not to work. So I tried to install step by step cause the install.sh isnt working. Major problem is the missing apt, cause piCore works with tcz not deb. Manual installed git, i2c-tools and build a libasound2-plugins tcz from raspian buster deb. I added the entry in the config.txt on boot and build a tcz with the .conf .state, the bin wm8960-soundcard in it. Since there is no systemd I simply start it in the bootlocal. What I cannot figure out is how to build the two snd-soc... ko without dkms. I tried to copy them from a working Raspian Buster (sadly 5.10.11) installation, but when I try to add them on piCore I got an error. The following packages are available: make, cmake, autoconf, automake, compiletc, gcc installed. Does anyone got this working or is able to tell me the possible config / command to build the .ko?

Thanks a lot