Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteProchaine révisionLes deux révisions suivantes |
fr:howtos:hardware:arm:raspberrypi [2017/06/26 10:14 (UTC)] – desiderius | fr:howtos:hardware:arm:raspberrypi [2017/06/26 10:40 (UTC)] – desiderius |
---|
| |
| |
=== Manual installation method === | === Méthode d'installation manuelle === |
| |
Although the community does its best to keep up with the hardware changes there may be times when the above notes and images are unusable. If this happens you may work around the problem by using a miniroot image and a functional boot partition from some other source (like borrowing them from rasbian). If the kernel is the only issue you can compile your own kernel from sources (see here for a guide on doing that [[http://elinux.org/RPi_Kernel_Compilation]]). | Bien que la communauté fasse son maximum pour suivre les changements matériels il peut y avoir des moments où les notes et les images ci-dessus ne sont pas disponibles. Si cela vous arrive, vous pouvez contourner le problème en utilisant une image "miniroot" et une partition fonctionnelle venant d'une autre source (par exemple de Rasbian). Si le noyau est la seule solution, vous pouvez compiler votre propre noyau à partir des sources (regardez [[http://elinux.org/RPi_Kernel_Compilation]| ici ]] comment faire). |
| |
Here are the steps involved in setting up a minimal Slackware ARM system from a miniroot image: | Voici les étapes à suivre pour établir un système Slackware ARM minimal à partir d'une image "miniroot": |
| |
Download the current stable raspbian image from http://www.raspberrypi.org/downloads | Téléchargez l'image courante stable de Raspian sur le site http://www.raspberrypi.org/downloads. |
Unzip it and mount the partitions therein via loopback and then put all that is needed in a tarball for later use: | |
| Décompressez la et montez les partitions sur place en "loopback" puis mettez tout ce qui est nécessaire dans une archive tar pour plus tard : |
| |
root@darkstar:/tmp# fdisk -l 2016-05-10-raspbian-jessie-lite.img | root@darkstar:/tmp# fdisk -l 2016-05-10-raspbian-jessie-lite.img |
root@darkstar:/mnt/hd# tar vcpzf /tmp/raspbian_boot_stuff.tgz boot lib/modules/ lib/firmware opt/vc | root@darkstar:/mnt/hd# tar vcpzf /tmp/raspbian_boot_stuff.tgz boot lib/modules/ lib/firmware opt/vc |
| |
Please note the sectors of the beginning of the partitions: 8192 and 137216. We need to multiply these by 512 to get the byte offset for the loop device setup. This is done by <nowiki>$((8192 * 512))</nowiki> and <nowiki>$((137216 * 512))</nowiki>. You will need to change these if the image partitioning scheme changes.\\ | |
Now partition and format an SD like this: (NB the "fdisk -l" is just to show how I partitioned my SD) | Faites attention aux secteurs de début des partitions 8192 et 137216. Il faut les multiplier par 512 pour avoir le décalage en octets pour la configuration du device "loop". Ceci est fait par <nowiki>$((8192 * 512))</nowiki> et <nowiki>$((137216 * 512))</nowiki>. Il faudra modifier ces valeurs si le schéma de partitionnement vient à changer.\\ |
| Maintenant partitionnez et formattez une carte SD de cette façon : ( NB le "fdisk -l" est juste pour vérifier le partitionnement de ma carte SD) |
| |
root@darkstar:~# fdisk -l -u /dev/sde | root@darkstar:~# fdisk -l -u /dev/sde |