Skip to content
This repository has been archived by the owner on May 17, 2018. It is now read-only.

RoEdAl/linux-raspberrypi-wsp

Repository files navigation

ArchLinux ARM kernel package with driver for Cirrus Logic/Wolfson Audio Card.


Important note:

This project is not maintained anymore. The driver is now included in the official RPi repository (4.9 branch). See here and here for more information.

Latest release: 4.4.49-1.


Supported devices:


Modified Linux kernel source: HiassofT/rpi-linux.


This PKGBUILD brings you this kernel to ArchLinux ARM OS. It is based on PKGBUILD from ArchLinux ARM repository.

[wolfsound@wolfsound ~]$ uname -a
Linux wolfsound 4.4.17-2-WSP #1 Wed Aug 17 23:11:34 CEST 2016 armv6l GNU/Linux
[wolfsound@wolfsound ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpiwsp [snd_rpi_wsp], device 0: WM5102 AiFi wm5102-aif1-0 []
  Subdevices: 0/1
  Subdevice #0: subdevice #0

Instalation of prepared packages.

Follow this link for detailed instructions.

Build & installation from sources.

  1. Clone this repository.

    git clone http://github.com/RoEdAl/linux-raspberrypi-wsp.git
    
  2. Build package:

    cd linux-raspberrypi-wsp
    makepkg -sL  
    

    Compilation takes long time. Consider using distccd or/and ccache. You may also compile this package on a PC using QEMU Chroot.

  3. Install kernel package:

    pacman -U linux-raspberrypi-wsp-4.4.17-2-armv6h.pkg.tar.xz
    

    Optionally install kernel headers package (for developers only):

    pacman -U linux-raspberrypi-wsp-headers-4.4.17-2-armv6h.pkg.tar.xz
    
  4. Enable and configure Cirrus Logic/Wolfson audio card in /boot/options.txt file:

    # Configures Cirrus Logic/Wolfson audio card
    dtoverlay=rpi-cirrus-wm5102
    

    Optionally enable mmap support:

    # Enables mmap support in the bcm2708-i2s driver
    dtoverlay=i2s-mmap
    
  5. Enable onboard audio interface in /boot/options.txt file if you need it (disabled by default):

    dtparam=audio=on
    
  6. Reboot:

    sudo reboot
    

Links.

About

ArchLinux kernel package with driver for Cirrus Logic/Wolfson audio card

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages