Modifications

Sauter à la navigation Sauter à la recherche
762 octets ajoutés ,  22 mars 2015 à 11:50
Ligne 21 : Ligne 21 :     
== Script d'installation ==
 
== Script d'installation ==
Si vous ne voulez pas télécherger une image, vous pouvez exécuter le script suivant depuis votre installation Raspbian. Il va télécharger les ajout du noyau et configurer votre Pi pour le PiTFT
+
Si vous ne voulez pas télécharger une image, vous pouvez exécuter l'installation du paquet Adafruit dans votre installation Raspbian courant. Ce téléchargera le greffons pour le noyaux (''Kernel Add-on) et configurera votre Pi pour le PiTft
   −
[https://gist.github.com/ladyada/f86f777df68fe41181b0 Pour une lecture attentive, le script est disponible ici]
+
Si vous voulez lire ce script avant de l'exécuter, [https://github.com/adafruit/Adafruit-PiTFT-Helper ce dernier est disponible ici sur le GitHub d'Adafruit].
   −
Vous pouvez le télécharger à l'aide de:
+
Pour télécharger et exécuter ce script, exécutez simplement les commandes suivantes:
   −
  <nowiki>wget http://adafru.it/pitftsh
+
  <nowiki>curl -SLs https://apt.adafruit.com/add | sudo bash
mv pitftsh pitft.sh
+
sudo apt-get install -y adafruit-pitft-helper</nowiki>
chmod +x pitft.sh</nowiki>
     −
{{ADFImage|RASP-PiTFT-Install-Facile-00.png}}
+
La première commande ajoute le dépot '''apt.adafruit.com''' dans la liste des dépôts de votre Pi, vous pourrez ainsi télécharger directement le code depuis les serveurs d'Adafruit.
   −
Puis l'exécuter à l'aide de:
+
{{ADFImage|RASP-PiTFT-Install-Pi2-Facile-00.png}}
   −
sudo ./pitft.sh -t 28r -r
+
The second does the actual download and installation, it'll take a while because there's a lot of software to replace for PiTFT support
   −
Ce qui installera le PiTFT version "2.8" Résistif" sur votre installation Raspbian actuel.
+
{{ADFImage|RASP-PiTFT-Install-Pi2-Facile-01.png}}
   −
{{ADFImage|RASP-PiTFT-Install-Facile-01.png}}
+
{{ADFImage|RASP-PiTFT-Install-Pi2-Facile-02.png}}
   −
{{ADFImage|RASP-PiTFT-Install-Facile-02.png}}
+
{{ambox-stop|text=It's normal for the Pi to pause at this step for up to 20 minutes, theres a lot of kernel software to replace}}
   −
{{ADFImage|RASP-PiTFT-Install-Facile-03.png}}
+
{{ADFImage|RASP-PiTFT-Install-Pi2-Facile-03.png}}
   −
A la fin, le script demande si vous voulez voir la console apparaître sur sur le PiTFT. Répondez Y (oui) ou N (non) en fonction de vos préférences!
+
OK now the kernel is installed, all you have to do is run the helper which will configure the kernel device tree overlays and add the few configurations to make the console show up, etc.
   −
{{ADFImage|RASP-PiTFT-Install-Facile-10.png}}
+
sudo adafruit-pitft-helper -t 28r
   −
Le script demande également si vous voulez utiliser l'un des boutons poussoirs comme 'marche/arrêt'. Répondez Y (oui) ou N (non) en fonction de vos préférences!
     −
{{ADFImage|RASP-PiTFT-Install-Facile-20.png}}
     −
Voila!
+
This will install the "2.8 Resistive" type of PiTFT into the current install.
   −
Exécutez un '''sudo reboot''' pour essayer votre tout nouveau PiTFT :)
+
At the end you will be prompted on whether you want the text console to appear on the PiTFT. Answer Y or N depending on your personal desires!
 +
 
 +
{{ADFImage|RASP-PiTFT-Install-Pi2-Facile-04.png}}
 +
 
 +
You will also be prompted on whether you want one of the tactile buttons to act as an 'on off' switch. Answer Y or N depending on your personal desires!
 +
 
 +
{{ADFImage|RASP-PiTFT-Install-Pi2-Facile-05.png}}
 +
 
 +
Thats it!
 +
 
 +
Run sudo reboot to try out your fancy new PiTFT :)
    
{{RASP-PiTFT-TRAILER}}
 
{{RASP-PiTFT-TRAILER}}
29 917

modifications

Menu de navigation