== Raspberry Pi 4 Model B ==

{{attachment:raspberrypi4b.jpg|Raspberry Pi 4 Model B|width=640,height=424}}

[[https://www.raspberrypi.org/products/raspberry-pi-4-model-b/|Raspberry Pi 4 Model B]] is a popular single board computer developed with the intention of promoting teaching of basic computer science in schools.  It is a successor to Raspberry Pi 3 Model B+ with better processor and ability to drive multiple displays. Both stable and "testing" images are available for Raspberry Pi 4 Model B.

=== Download ===

!FreedomBox SD card [[FreedomBox/Download|images]] for this hardware are available.  Download the "stable" or "testing" image for Raspberry Pi 4 Model B.  Follow the instructions on the [[FreedomBox/Download|download]] page to create a !FreedomBox SD card or USB drive and boot into !FreedomBox.

=== Booting from USB ===

MicroSD cards are notouriously slow and prone to be corrupted. SD card corruption means that a high read/write load or a sudden power outage can make render your card unusable. It is therefore strongly recommended that you use a USB drive for your root partition. To be able to do that, you have to follow these preliminary steps:

 1. [[https://www.raspberrypi.com/software/|Download]] and install the Raspberry Pi Imager.
 2. Insert a microSD card to your computer.
 3. Open the Raspberry Pi Imager
 3.1  Select '''CHOOSE OS''' >> '''Misc utility images''' >> '''Bootloader''' >> '''USB Boot'''
 
 3.2 From '''CHOOSE STORAGE''' select your microSD card

 3.3 Click on '''WRITE'''

 4. After the writing was succesful, you should eject the card.
 5. Insert the newly created card into your Raspberry Pi and boot up the device. If it is connected to a monitor, you will see a green screen. Let your device rest for a minute, after which you can disconnect it from power and eject the card from the Raspberry Pi. It can now boot from USB.
 6. Final step: write your !FreedomBox image into your USB device, then connect it to your Raspberry Pi. Make sure you did not leave your microSD card in the Raspberry Pi.

Please note that steps 1. to 5. only need to be done once.
 
=== Build Image ===

!FreedomBox images for this hardware can be built using [[FreedomBox/Maker|Freedom Maker]].  Use the target 'raspberry64' to build the image for this board.

=== Availability ===

 * Price: 35 USD (2GB RAM)
 * Price: 50 USD (4GB RAM)
 * Price: 75 USD (8GB RAM)
 * [[https://www.raspberrypi.org/products/raspberry-pi-4-model-b/|List of official distributors]]

=== Hardware ===

 * Open Hardware: No
 * CPU: Broadcom BCM2711 SOC (4x Cortex-A72``@1.5GHz)
 * RAM: 2 GB or 4GB or 8 GB
 * Storage: MicroSD card slot or USB drive
 * USB: 2x USB 2.0, 2x USB 3.0, USB Type-C power supply
 * Architecture: arm64
 * Ethernet: 10/100/1000, RJ45
 * !WiFi: 802.11ac but requires non-free firmware, instead use a [[FreedomBox/Hardware/USBWiFi|USB WiFi device]]
 * SATA: None

=== Non-Free Status ===

 * Non-free blobs required: boot firmware
 * !WiFi: Requires non-free firmware

## END_INCLUDE

<<Include(FreedomBox/Portal)>>

----
CategoryFreedomBox

Raspberry Pi 4 Model B image is licensed under Creative Commons Attribution-!ShareAlike 4.0 license by [[https://commons.wikimedia.org/wiki/File:Raspberry_Pi_4_Model_B_-_Top.jpg|Michael Henzler]].
