Upgrading Raspbian to Jessie

 

Upgrading Raspbian to Jessie

This is an outdated guide. Have a look at our Knowledge Base for up-to-date documentation. 

Firstly, if you want a fresh installation Raspbian Jessie that is pre-configured for your HiFiBerry hardware you should use our installer:

https://www.hifiberry.com/guides/hifiberry-installer/

However if you want to upgrade an existing Raspbian installation from Wheezy to Jessie such as described here:

http://linuxconfig.org/raspbian-gnu-linux-upgrade-from-wheezy-to-raspbian-jessie-8

then you’ll probably want to carry out the following steps after upgrading:

Check the dtoverlay parameter in config.txt

Ensure that the correct dtoverlay parameter, regarding the model of your DAC, is setup correctly in the /boot/config.txt file.

DAC/DAC+ Light

dtoverlay=hifiberry-dac

DAC+ standard/pro

dtoverlay=hifiberry-dacplus

Digi/Digi+

dtoverlay=hifiberry-digi

Amp/Amp+

dtoverlay=hifiberry-amp

Ensure you have the latest kernel

The DAC+ and DAC+ Pro drivers were updated in kernel version 4.1.10+. However Jessie ships with the 4.1.7+ version of the kernel. So in order to ensure you have the latest sound drivers you’ll need to update the kernel.

This is best done using the rpi-update tool. From the command line run:

sudo rpi-update

This will download and install the latest version of the kernel for you. Once done you’ll have to reboot.

Check your configuration

If you wish the on-board raspberry sound devices to be disabled then remove the line

snd_bcm2835

from /etc/modules file.

Test it

Check, if the sound card is enabled with “aplay”:

pi@raspberrypi ~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dac], device 0: HifiBerry DAC HiFi pcm5102a-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0

You can use aplay, to playback a WAV file. Note that aplayer won’t convert files that are in a format that is not natively supported from our drivers. (e.g. mono files or different sample rates). For other file formats (MP3, FLAC, …) We recommend to use mplayer.

sudo apt-get install mplayer

Some users have reported problems with MP3 playback of mplayer. It seems, that the MP3 codec is not installed by default on all systems. We found the FLAC format to be best supported by mplayer.

Depending of the board you’re using it will show another HiFiBerry sound card (DAC,DAC+, Digi or Amp)

Device not recognised?

This could be caused by typos in config.txt or blacklisted drivers. Add “dtdebug=1” to your config.txt. Have a look at the output of “dmesg” and the output of “sudo vcdbg log msg”.

Having problems?

Please post your question in our forum.