Modifications

Sauter à la navigation Sauter à la recherche
2 680 octets ajoutés ,  4 avril 2015 à 19:58
aucun résumé de modification
Ligne 2 : Ligne 2 :     
{{traduction}}
 
{{traduction}}
 +
 +
== La mise-à-jour du noyau/kernel ==
 +
{{bloc-etroit|text=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 ==
 +
{{bloc-etroit|text=This is the easiest as this is the “official” Raspberry distribution. Install the rpi-update package first and then update the kernel:}}
 +
 +
<nowiki>sudo apt-get install rpi-update
 +
sudo rpi-update</nowiki>
 +
 +
== OpenElec ==
 +
{{bloc-etroit|text=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
 +
 +
<nowiki>sudo apt-get update</nowiki>
 +
 +
== 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
 +
    
{{Rasp HiFiBerry-Upgrade-Kernel-TRAILER}}
 
{{Rasp HiFiBerry-Upgrade-Kernel-TRAILER}}
29 917

modifications

Menu de navigation