Rasp HiFiBerry-Upgrade-Kernel

De MCHobby - Wiki
Sauter à la navigation Sauter à la recherche


MCHobby investit du temps et de l'argent dans la réalisation de traduction et/ou documentation. C'est un travail long et fastidieux réalisé dans l'esprit Open-Source... donc gratuit et librement accessible.
SI vous aimez nos traductions et documentations ALORS aidez nous à en produire plus en achetant vos produits chez MCHobby.

La mise-à-jour du noyau/kernel

Our HiFiBerry Digi and DAC boards are supported in the current Raspberry Pi linux kernel. However, most distributions do not use the latest kernel, but older versions. Therefore you might need to update your kernel. With many distributions this is relatively easy. We provide a guide here.

Note: Always make a backup before updating the kernel! There are lots of things that can go wrong. Power losses during the upgrade will make you system unusuable, but also incompatibilities might happen.

Raspbian

This is the easiest as this is the “official” Raspberry distribution. Install the rpi-update package first and then update the kernel:

sudo apt-get install rpi-update
sudo rpi-update

OpenElec

OpenElec uses a very special file system layout and kernel. You can’t simply update the kernel here. Wait for the OpenElec release with integrated HiFiBerry support.

Autres distributions (ex: Raspbmc)

On many other distributions, rpi-update will also work. However, we can’t guarantee it. You should try this by yourself. If you have any valuable data on your system, back it up before doing this!

Update the repositories

sudo apt-get update

Install rpi-update using apt-get

The easiest way is installing thr necessary rpi-update package using apt-get:

 sudo apt-get install -y rpi-update

However on some distributions, this won’t work as the necessary repository is not configured. In this case you will get an error message like this:

 E: Unable to locate package rpi-update

In this case you have to use a more complex procedure to install rpi-update – using git.

Install rpi-update via GIT

First install git, curl and binutils

 sudo apt-get install -y git-core curl binutils

If you’re not using a Debian-based distribution, apt-get might not work. Check the documentation of your distribution how to install git. It might be installed already.

On many Debian distributions you have to update the SSL certificates first

 sudo apt-get install -y ca-certificates

Then install rpi-update via git

 sudo wget https://raw.github.com/Hexxeh/rpi-update/master/rpi-update -O /usr/bin/rpi-update && sudo chmod +x /usr/bin/rpi-update

Mise-à-jour du noyau

Now you can run rpi-update

sudo /usr/bin/rpi-update

If you’re not using a raspbian-based distribution, you might get an error message like this:

You appear to be trying to update firmware on an incompatible distribution.

In this case use the following command:

sudo -E RPI_UPDATE_UNSUPPORTED=0 rpi-update



Tutoriel Updating the Linux kernel créé par HiFiBerry.com.

Tutoriel traduit par Meurisse D. pour MCHobby.be

Traduit avec l'autorisation de HiFiBerry - Translated with the permission from HiFiBerry - hifiberry.com

Toute référence, mention ou extrait de cette traduction doit être explicitement accompagné du texte suivant : «  Traduction par MCHobby (www.MCHobby.be) - Vente de kit et composants » avec un lien vers la source (donc cette page) et ce quelque soit le média utilisé.

L'utilisation commercial de la traduction (texte) et/ou réalisation, même partielle, pourrait être soumis à redevance. Dans tous les cas de figures, vous devez également obtenir l'accord du(des) détenteur initial des droits. Celui de MC Hobby s'arrêtant au travail de traduction proprement dit.