[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
fr:howtos:hardware:arm:raspberrypi [2017/06/26 10:23 (UTC)] desideriusfr:howtos:hardware:arm:raspberrypi [2017/06/26 11:24 (UTC)] (Version actuelle) desiderius
Ligne 25: Ligne 25:
  
  
-=== Manual installation method === 
 === Méthode d'installation manuelle === === Méthode d'installation manuelle ===
  
 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). 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).
  
 +Voici les étapes à suivre pour établir un système Slackware ARM minimal à partir d'une image "miniroot":
  
-Here are the steps involved in setting up a minimal Slackware ARM system from a miniroot image:+Téléchargez l'image courante stable de Raspian sur le site http://www.raspberrypi.org/downloads.
  
-Download the current stable raspbian image from http://www.raspberrypi.org/downloads +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 :
-Unzip it and mount the partitions therein via loopback and then put all that is needed in a tarball for later use:+
  
   root@darkstar:/tmp# fdisk -l 2016-05-10-raspbian-jessie-lite.img   root@darkstar:/tmp# fdisk -l 2016-05-10-raspbian-jessie-lite.img
Ligne 56: Ligne 55:
   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 partitions8192 and 137216. We need to multiply these by 512 to get the byte offset for the loop device setupThis 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
Ligne 77: Ligne 77:
   root@darkstar:~# mount -o noatime /dev/sde1 /mnt/hd/boot/   root@darkstar:~# mount -o noatime /dev/sde1 /mnt/hd/boot/
      
-It's not a typo I got a bad headache figuring out why it did not workthe boot partition is to me made with id "c" but such small partitions have issues when you try to make a fat32 filesystem on them, you will get an error lamenting some issue with insufficient clusters but some sort of filesystem is made and if you ignore that and proceed you end up with something that does not boot. What you need to do is actually tell mkdosfs to make a fat16 filesystem and then things start to work right.+Ce n'est pas une erreur d'avoir un message expliquant que cela ne marche pas la partition de boot a été créée pour moi avec l'identifiant "c" mais les petites partitions ont des problèmes quand on essaie d'y installer des filesystems Fat 32 : vous recevez une erreur se plaignant de ne pas avoir assez de clusters mais une espèce de filesytem est créé et si vous ignorez tout cela, vous obtenez quelque chose qui ne peut pas démarrer. Ce qu'il faut faire c'est demander à "mksdosfs" de faire un filesytem FAT 16 et alors tout fonctionne correctement. 
 + 
 +Maintenant vous pouvez extraire le "miniroot" de Slackware ARM et tout le reste du boot Raspbian dans /mnt/hd.\\  
 +Éditez le fichier /mnt/hd/boot/cmdline.txt et ajoutez à la fin "ro" et vérifiez que le paramètre root correspond bien au partitionnement de la carte SD\\ 
 +Éditez le fichier fstab pour vérifier votre formatage (si vous avez suivi ce que j'ai suggéré il ressemblera à celui-ci:)
  
-Now you can extract the Slackware ARM miniroot and then the raspbian_boot_stuff.tgz in /mnt/hd.\\  
-Edit the /mnt/hd/boot/cmdline.txt and add at the end "ro" and check that the root parameter matches the partitioning of the SD.\\ 
-Edit the fstab to match your formatting (if that was like I suggested it will look like this:) 
  
   root@darkstar:/mnt/hd/etc# cat fstab   root@darkstar:/mnt/hd/etc# cat fstab
Ligne 89: Ligne 90:
   root@darkstar:/mnt/hd/etc#    root@darkstar:/mnt/hd/etc# 
      
-You can now umount the SD, insert it into the RasbberyPI and boot into your Slackware ARM miniroot to add whatever else you need.\\ +Vous pouvez maintenant démonter votre carte SD, l'insérez dans le Rasbbery PI et démarrez sur votre miniroot Slackware ARM pour ajouter tout ce dont vous avez besoinJ'ajoute en général ce dont j'ai besoin en utilisant simplement wget pour télécharger slackpkg, l'installer manuellement éditer son fichier de miroirs puis j'installe le reste de ce dont j'ai besoin par slacpkg lui-même (une connexion Internet est nécessaire pour faire cela).\\ 
-I generally add whatever else I need by simply using wget to pull down slackpkg, installing manually the downloaded slackpkgediting the mirrors file and then install the rest that's needed with slackpkg itself (internet connection is required for this).\\ +Vous pouvez vouloir éditer ou commenter la console série dans /etc/inittab pour supprimer le jaillissement de "s0" lors des messages rapides.
-You might want to edit or comment the serial console in inittab to suppress the "s0" respawning to fast message.+
  
-Incidentally if you download a recent version of raspbian this procedure will create bootable images for the RPi, RPi 2, RPi 3, and RPi Zero. 
  
 +Normalement si vous avez télécharge une version récente de Raspbian, cette procédure créera des images bootables pour le RPi, RPi2, RPi3 et RPI Zéro.
  
 ===== Sources ===== ===== Sources =====
Ligne 100: Ligne 100:
   * Originally written by [[wiki:user:mozes|Stuart Winter]]   * Originally written by [[wiki:user:mozes|Stuart Winter]]
   * Contributions by  [[wiki:user:louigi600|louigi600]] , [[wiki:user:yugiohjcj|yugiohjcj]] , [[wiki:user:streamthreader|streamthreader]]   * Contributions by  [[wiki:user:louigi600|louigi600]] , [[wiki:user:yugiohjcj|yugiohjcj]] , [[wiki:user:streamthreader|streamthreader]]
 +  * Traduction française par [[wiki:user:Desiderius|Desiderius]]
  
  
 fr:howtos:hardware:arm:raspberrypi ()