Raspberry Pi 4 (raspberry-pi4)

From postmarketOS
Revision as of 14:26, 23 April 2023 by Maintenance script (talk | contribs) (rollbackEdits.php mass rollback)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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
Category testing
Original software Raspbian
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
Architecture aarch64
Type Single Board Computer
Unixbench Whet/Dhry score 1860.7
Features
USB Networking
Unavailable
Flashing
Unavailable
Touchscreen
Unavailable
Display
Works
WiFi
Works
FDE
Works
Mainline
Works
Battery
Unavailable
3D Acceleration
Works
Audio
Works
Bluetooth
Works
Camera
Unavailable
GPS
Unavailable
Mobile data
Unavailable
SMS
Unavailable
Calls
Unavailable
USB OTG
Works
NFC
Unavailable
Sensors
Accelerometer
Unavailable
Magnetometer
Unavailable
Ambient Light
Unavailable
Proximity
Unavailable
Hall Effect
Unavailable
Barometer
Unavailable
Power Sensor
Unavailable
Misc
Camera Flash
Keyboard
Unavailable
Touchpad
Unavailable
USB-A
Works
HDMI/DP
Works
Ir TX
Unavailable
Ir RX
Stylus
Haptics
Ethernet
FOSS bootloader




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

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