Raspberry Pi
Raspberry Pi Foundation, GitHub, Magazine
Quick start
Operating system setup
Installing operating system images
Validated configurations
Type | CPU | RAM | OS |
Pi Model B Rev 2 | BCM2835 ARMv6 1176JZF-S 700 MHz | 512 Mo | Raspberry Pi OS Lite (32-bit) |
Pi Model 2 B | BCM2836 ARMv7 Cortex-A7 Quad Core 900MHz | 1 Go | Ubuntu Server 18.04 (32-bit), Ubuntu Server 20.04 LTS (32-bit) |
BCM2711 ARMv8 Quad core Cortex-A72 64-bit 1.5GHz | 4 Go LPDDR4-3200 | Ubuntu Server 18.04 (64-bit), Ubuntu Server 20.04 LTS (64-bit) |
Known issues
WIFI issues with Pi 4: tom'sHARDWARE, Raspberry Pi 4 WiFi stops working at 2560x1440 screen resolution
Display stops working after a change in the config file: try holding the SHIFT key during startup (using this key will make the Raspberry Pi ignore the boot configuration file and load up with the default settings)
Key elements
SD card preparation
(Optional) Download a specific version from ubuntu.com (for instance the previous before the LTS if it's too new for a specific hardware) WARNING links have to be modified manually (typo in pi version number...)
(Optional) Look at available systems
Install Raspberry Pi Imager from the Downloads page
Insert the SD card and run the Raspberry Pi Imager
(Optional) Eject and insert again the SD card
Edit
network-config
at the root of the drive (with new eth0 and wlan0 parameters)
Initial boot
Insert the SD card in the board, plug a keyboard (USB), a monitor (HDMI) then plug the power cable
Hardware check
Note: @since Kernel 4.9, BCM2835 will be displayed for the processor, even for BCM2836, BCM2837 and BCM2711. You should look instead at the revision code, which is unique.
Shared steps
Wifi setup
System update
Troubleshoot
Keyboard layout configuration
Raspberry Pi OS (aka Raspbian, Debian 10 = Buster)
Login with
pi
/raspberry
Change keyboard layout
Configure the easy way: set Wifi parameters, update hostname, enable SSH, change password, (optional) change keyboard configuration
(Optional] Configure a static ip by editing
/etc/dhcpcd.conf
(do asudo reboot
afterwards)
Run updates
Ubuntu Server (18.04)
Login with
ubuntu
/ubuntu
(you'll be asked to provide a new password)Change keyboard layout
(Optional) Review boot log
If there is an issue starting systemd-modules, look at the journal and investigate the issue
Configure Wifi
Run system updates
Ubuntu Server (20.04 LTS)
Login with
ubuntu
/ubuntu
(you'll be asked to provide a new password)Change keyboard layout
Configure Wifi
Run system updates
Recipes
.NET applications
Turning your training bike into a Speed remake by Kevin Gosse - Apr 15, 2020
Install .NET Core on ARMv6 32-bit
.NET Core is not compatible with ARMv6 (even with ARM32 versions: see .NET Runtime issue #7764
Install .NET Core on ARMv7 32-bit
The official procedure and workaround don't work.
Install .NET Core on ARMv8 64-bit
Retro gaming
retropie
Home: retropie.org.uk, GitHub
Configuration:
Usability
SSH
Enable SSH in raspi-config: interfacing options > SSH > Enable > reboot your pi
Make sure you have a keyboard and a mouse :)
/boot/config.txt
fileValues
Key
value
Detail
Comment
hdmi_group
1
CEA (Consumer Electronics Association) is the display standard that is typically used on a TV
hdmi_group
2
DMT (Display Monitor Timings) is the standard that is typically used by monitors
hdmi_mode
16
CEA 1920×1080 16:9 60hz
hdmi_mode
97
CEA 3840×2160 16:9 60hz
Raspberry Pi 4 Only. To use this hdmi_enable_4kp60=1 must be set in /boot/config.txt.
hdmi_mode
82
DMT 1920×1080 16:9 60hz
To review: hdmi_force_hotplug=1, hdmi_drive=2
Known issues:
Latest update lvl0: VolumeControl::init() - Failed to find mixer elements!
/opt/retropie/configs/all/emulationstation/es_settings.cfg
: AudioDevice=HDMI/Headphone
Screen resolution
/boot/config.txt
: hdmi_group/hdmi_mode
Messed up configuration situation
SSH in (https://github.com/retropie/retropie-setup/wiki/ssh), run sudo ~/RetroPie-Setup/retropie_setup.sh and go to Emulation Station configuration via Manage Packages -> Core Packages -> emulationstation -> Configuration or Configuration / Tools -> emulationstation and choose the option to Clear/Reset Emulation Station input configuration (All packages with configuration appear in Configuration / Tools when installed)
Amibian
Seems dead
Installing Amiga Workbench on Raspberry Pi with Amibian - July 24, 2018
How to Emulate the Commodore Amiga on a Raspberry Pi Using Amibian - August 15, 2018
Turn your Pi into an Amiga - 2017
Last updated