Projet

Général

Profil

Actions

Install Operating system on raspberry pi 0w » Historique » Révision 4

« Précédent | Révision 4/12 (diff) | Suivant »
openbeelab, 02/02/2019 16:49


Install Operating system on raspberry pi 0w

To install Operating system on Raspberry pi there are many website describing how to do. For french noobies, better explanations here : https://edutechwiki.unige.ch/fr/Installation_de_Raspbian

Raspbian Lite

The steps are classic :

wget https://downloads.raspberrypi.org/raspbian_lite_latest

  • unrar the .zip

tar -xvf /my/raspbian/iso.zip

dd bs=1m if=/iso/place/on/my/computer of=/dev/mysdcard conv=sync

  • activate ssh, to create the ssh file in boot to activate it

$ touch /Volumes/boot/ssh

  • activate ssh by usb,

edit config.txt @ the root of the sd card and add "dtoverlay=dwc2" or directly

echo "dtoverlay=dwc2" >> /path/to/my/sd/card/config.txt
echo "modules-load=dwc2,g_ether" >> /path/to/my/sd/card/cmdline.txt

ssh pi@raspberrypi.local

- eject sdcard : 

$ sudo diskutil eject /dev/mmcbbtruc0
Password:
Disk /dev/mmcbbtruc0 ejected

- start pi0 : put the sdcard in pi0 and plug it with usb to your computer

- connect to pi0

ssh pi@raspberrypi.local

Buildroot

Buildroot is a tool that help to build Linux embedded dedicated system. Basic tutorial here : https://code4pi.fr/2014/03/creation-dune-custom-image-pour-votre-raspberry-pi/

Mis à jour par openbeelab il y a presque 6 ans · 4 révisions