Raspberry Pi 4 (raspberry-pi4)

From postmarketOS Wiki
Raspberry Pi Foundation Raspberry Pi 4
Raspberry Pi 4 booting PostmarketOS on an external display
Raspberry Pi 4 booting PostmarketOS on an external display
Manufacturer Raspberry Pi Foundation
Name Raspberry Pi 4
Codename raspberry-pi4
Released 2019
Type single board computer
Hardware
Chipset Broadcom BCM2711B0
CPU 4x 1.5 Ghz Cortex-A72
GPU Broadcom VideoCore VI
Display 2x microHDMI port
Storage MicroSDHC slot
Memory 1024 MB / 2048 MB / 4096 MB / 8192 MB
Architecture aarch64
Software
Original software Raspbian
postmarketOS
Category testing
Pre-built images no
Mainline yes
Unixbench Whet/Dhry score 1860.7
Features
Internal storage
SD card
Screen
Works
Multimedia
3D Acceleration
Works
Audio
Works
Camera Flash
Connectivity
WiFi
Works
Bluetooth
Works
Miscellaneous
FDE
Works
USB-A
Works
USB OTG
Works
HDMI/DP
Works
Haptics


Contributors

Users owning this device


Installation

1. Follow the steps on Installation_guide#Initialization

2. Choose the raspberry-pi4 device

3. Start the build process and install the completed image to a sdcard

$ pmbootstrap install --sdcard /dev/sdX
(replace /dev/sdX with the device for your sdcard)

4. Place the sdcard into the Raspberry Pi and boot it

Display

Screens may need to be connected at boot time, otherwise they might only display 1080p or not display anything at all (pmaports#2965).

Bluetooth

On the Raspberry Pi 4, the Bluetooth chip uses the hardware UART0 port. In postmarketOS, Bluetooth is enabled by default; this means that the hardware UART port is inaccessible.

If you want to use the hardware UART for other purposes (for example, serial debugging), edit the /boot/usercfg.txt and comment out the following line at the end of the file:

# Automatically enable Bluetooth without having to use btattach
# Note that the Pi's Bluetooth interface is connected via hardware UART;
# if you intend to use it for other purposes (for example, serial debugging)
# comment out the line below.
dtparam=krnbt=on

When this is done, Bluetooth will have to be enabled manually using btattach -B /dev/ttyAMA0 -P bcm -S 115200 -N.

See also: Raspberry Pi 3 - Setting Up Bluetooth on the Alpine Wiki. The contents of this wiki page apply to the Pi 4 as well.

See also

pmaports!843 initial PR