Install Operating system on raspberry pi 0w » Historique » Révision 6
« Précédent |
Révision 6/12
(diff)
| Suivant »
openbeelab, 02/02/2019 16:53
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 :
Dowloading image from https://www.raspberrypi.org/downloads/raspbian/ and download the "Raspbian Stretch Lite" version. We will not use X servers and other desktops tools. Just console.
`wget https://downloads.raspberrypi.org/raspbian_lite_latest`
unrar the .zip
`tar -xvf /my/raspbian/iso.zip`
Install it on SDcard from your desktop pc https://www.raspberrypi.org/documentation/installation/installing-images/
`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`
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 · 6 révisions