raspberry_pi
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| raspberry_pi [2016/08/16 12:03] – simon | raspberry_pi [Date inconnue] (Version actuelle) – supprimée - modification externe (Date inconnue) 127.0.0.1 | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | ====== Raspberry Pi ====== | ||
| - | Le Raspberry Pi est un micro-ordinateur conçu par [[https:// | ||
| - | |||
| - | ===== Choix de l'OS ===== | ||
| - | On peut trouver les [[https:// | ||
| - | |||
| - | ==== Raspbian ==== | ||
| - | Tous les détails sur la page de [[Raspbian]]. | ||
| - | ==== Ubuntu Mate ==== | ||
| - | On peut trouver [[Ubuntu Mate]] pour Raspberry Pi sur [[https:// | ||
| - | <code bash> | ||
| - | $ sudo aptitude install gddrescue xz-utils | ||
| - | </ | ||
| - | |||
| - | Il faut utiliser [[unxz]] pour décompresser l' | ||
| - | <code bash> | ||
| - | $ unxz ubuntu-mate-16.04-desktop-armhf-raspberry-pi.img.xz | ||
| - | </ | ||
| - | |||
| - | L' | ||
| - | <code bash> | ||
| - | $ lsblk | ||
| - | NAME | ||
| - | sda 8:0 0 149, | ||
| - | ├─sda1 | ||
| - | ├─sda2 | ||
| - | └─sda5 | ||
| - | sdb 8:16 | ||
| - | └─sdb1 | ||
| - | |||
| - | $ sudo ddrescue -D --force ubuntu-mate-16.04-desktop-armhf-raspberry-pi.img /dev/sdb | ||
| - | [sudo] Mot de passe de salon : | ||
| - | GNU ddrescue 1.19 | ||
| - | Press Ctrl-C to interrupt | ||
| - | rescued: | ||
| - | | ||
| - | | ||
| - | Finished | ||
| - | </ | ||
| - | |||
| - | ==== HypriotOS ==== | ||
| - | HypriotOS est une distribution basée sur Raspbian, optimisée pour l' | ||
| - | <code bash> | ||
| - | $ lsblk | ||
| - | NAME | ||
| - | sda 8:0 0 149, | ||
| - | ├─sda1 | ||
| - | └─sda5 | ||
| - | sdb 8:16 | ||
| - | |||
| - | $ sudo ddrescue -D --force Téléchargements/ | ||
| - | GNU ddrescue 1.19 | ||
| - | Press Ctrl-C to interrupt | ||
| - | rescued: | ||
| - | | ||
| - | | ||
| - | Finished | ||
| - | </ | ||
| - | |||
| - | ==== MINIBIAN ==== | ||
| - | [[Minibian]] ([[https:// | ||
| - | |||
| - | ===== Trucs et astuces ===== | ||
| - | |||
| - | ==== Port série ==== | ||
| - | === Repérer et récupérer des informations sur le port série === | ||
| - | On débranche/ | ||
| - | <code bash> | ||
| - | $ dmesg | grep tty | ||
| - | (...) | ||
| - | [ 852.021751] cdc_acm 1-1.2:1.0: ttyACM0: USB ACM device | ||
| - | [ 1009.732832] cdc_acm 1-1.2:1.0: ttyACM0: USB ACM device | ||
| - | </ | ||
| - | |||
| - | Une autre possibilité consiste à utiliser ce script ([[http:// | ||
| - | <code bash>$ nano find-uart-device.sh | ||
| - | |||
| - | $ cat find-uart-device.sh | ||
| - | #!/bin/bash | ||
| - | |||
| - | for sysdevpath in $(find / | ||
| - | ( | ||
| - | syspath=" | ||
| - | devname=" | ||
| - | [[ " | ||
| - | eval " | ||
| - | [[ -z " | ||
| - | echo "/ | ||
| - | ) | ||
| - | done | ||
| - | |||
| - | $ chmod +x find-uart-device.sh | ||
| - | |||
| - | $ ./ | ||
| - | / | ||
| - | </ | ||
| - | |||
| - | On peut également utiliser [[lsusb]] : | ||
| - | <code bash> | ||
| - | pi@raspberrypi: | ||
| - | (...) | ||
| - | Bus 001 Device 006: ID 26ac: | ||
| - | (...) | ||
| - | </ | ||
| - | |||
| - | Un autre moyen de récupérer des informations, | ||
| - | <code bash> | ||
| - | $ udevadm info -a -n / | ||
| - | ATTRS{serial}==" | ||
| - | </ | ||
| - | |||
| - | === Fixer le chemin d' | ||
| - | ( [[http:// | ||
raspberry_pi.1471348993.txt.gz · Dernière modification : (modification externe)
