Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
|
anthony_messe:banana_pi:configuration_carte_sd [2018/05/07 10:43] Anthony Messé créée |
anthony_messe:banana_pi:configuration_carte_sd [2018/06/15 09:21] (Version actuelle) Anthony Messé |
||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | Lien vers [[anthony_messe:anthony_messe|l'accueil]] | ||
| + | |||
| ====== Préparation de la carte SD ====== | ====== Préparation de la carte SD ====== | ||
| ===== Identification de la carte ===== | ===== Identification de la carte ===== | ||
| - | apt-get update | + | apt update |
| - | apt-get upgrade | + | apt upgrade |
| Commencez par identifier votre clé USB / carte SD | Commencez par identifier votre clé USB / carte SD | ||
| Ligne 30: | Ligne 32: | ||
| Pour cela j'ai suivi la documentation suivante : https://ecirtam.net/wiki/doku.php?id=wiki:arm:bananapi_m1 \\ | Pour cela j'ai suivi la documentation suivante : https://ecirtam.net/wiki/doku.php?id=wiki:arm:bananapi_m1 \\ | ||
| On installe mkimage | On installe mkimage | ||
| - | apt-get install u-boot-tools | + | apt install u-boot-tools |
| wget http://ftp.uk.debian.org/debian/dists/stretch/main/installer-armhf/current/images/netboot/SD-card-images/partition.img.gz | wget http://ftp.uk.debian.org/debian/dists/stretch/main/installer-armhf/current/images/netboot/SD-card-images/partition.img.gz | ||
| Ligne 46: | Ligne 48: | ||
| echo "#" > boot.cmd | echo "#" > boot.cmd | ||
| echo "setenv console tty1" >> boot.cmd | echo "setenv console tty1" >> boot.cmd | ||
| - | echo "setenv bootargs console=tty1 fb=false priority=critical auto=true interface=auto netcfg/dhcp_timeout=60 console-setup/layoutcode=fr DEBCONF_DEBUG=5 preseed/interactive=true" >> boot.cmd | + | echo "setenv bootargs console=tty1" >> boot.cmd |
| tail -n +2 boot.scr >> boot.cmd | tail -n +2 boot.scr >> boot.cmd | ||
| mkimage -C none -A arm -T script -d boot.cmd boot.scr | mkimage -C none -A arm -T script -d boot.cmd boot.scr | ||
| - | Maintenant branchez le cable HDMI, le cable ethernet, puis ensuite l'alimentation. Attention, il y a deux ports micro-usb (l'alimentation et un OTG). Pour ne pas vous tromper vous pouvez consulter le [[anthony_messe:banana_pi_m1p|schéma technique ]]. L'installation prend un certain temps (10-15 minutes). | + | Maintenant branchez le cable HDMI, le cable ethernet, puis ensuite l'alimentation. Attention, il y a deux ports micro-usb (l'alimentation et un OTG). Pour ne pas vous tromper vous pouvez consulter le [[anthony_messe:banana_pi:specifications_de_la_carte|schéma technique ]]. L'installation prend un certain temps (10-15 minutes). |
| + | |||
| + | Après l'installation, si on fait un df -h, on peut observer la façon dont la carte SD a été partitionnée | ||
| + | |||
| + | <code> | ||
| + | mmcblk0 | ||
| + | ├─mmcblk0p1 ext2 36f3da29-5a5d-4120-86e0-94a6c2d0fdd9 /boot | ||
| + | ├─mmcblk0p2 ext4 c96f12ee-ebca-4288-9ed1-b737cad0bb0d / | ||
| + | ├─mmcblk0p3 | ||
| + | └─mmcblk0p5 swap ebe6697b-f310-4f8b-a6b3-88f7765e1d83 [SWAP] | ||
| + | </code> | ||
| - | Vous pouvez si vous le désirez installer un [[anthony_messe:banana_pi_lxde|environnement graphique]]. | ||
| ===== Ressources ===== | ===== Ressources ===== | ||
| * Installation de Debian sur BPi m1+ : https://ecirtam.net/wiki/doku.php?id=wiki:arm:bananapi_m1 | * Installation de Debian sur BPi m1+ : https://ecirtam.net/wiki/doku.php?id=wiki:arm:bananapi_m1 | ||