Raspberry Pi Zero

From postmarketOS
Jump to: navigation, search
Raspberry Pi Foundation Raspberry Pi Zero
Manufacturer Raspberry Pi Foundation
Name Raspberry Pi Zero
Codename raspberry-pi0
Released 2017-2018
Original software Raspbian
Hardware
Chipset Broadcom BCM2835
CPU ARM1176JZF-S @ 1 GHz
GPU Broadcom VideoCore IV
Display HDMI port
Storage MicroSDHC slot
Memory 512 MB
Architecture armhf
Non-Android based device
Features
USB Networking
Works
Flashing
Unavailable
Touchscreen
Unavailable
Display
Works
WiFi
Works
Xwayland
Works
FDE
Mainline
Works
Battery
Unavailable
3D Acceleration
Accelerometer
Unavailable
Audio
Unavailable
Bluetooth
Works
Camera
Unavailable
GPS
Unavailable
Mobile data
Unavailable
SMS
Unavailable
Calls
Unavailable
USB OTG



Contributors

Installation

1. Follow the steps on Installation_guide#Initialization

2. Choose the raspberry-pi0 device

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

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

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

5. Connect a microUSB cable to the central microUSB port (with the USB label)

6. Let the RPI boot and then you should be able to connect using SSH

$ ssh user@172.16.42.1

Issues

3D Acceleration (GPU)

The vc4 module fails to load:

/ # dmesg | grep vc
[    0.000000] Kernel command line: 8250.nr_uarts=1 cma=256M bcm2708_fb.fbwidth=640 bcm2708_fb.fbheight=480 bcm2708_fb.fbswap=1 smsc95xx.macaddr=B8:27:EB:3D:4B:57 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000  dwc_otg.lpm_enable=0 console=tty1 console=ttyS0,115200 PMOS_NO_OUTPUT_REDIRECT
[    0.674097] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB)
[    0.675232] vc-sm: Videocore shared memory driver
[    0.716056] vchiq: vchiq_init_state: slot_zero = (ptrval), is_master = 0
[    0.717968] [vc_sm_connected_init]: start
[    1.300516] [vc_sm_connected_init]: end - returning 0
[    2.594391] vc4-drm soc:gpu: failed to bind 20902000.hdmi (ops vc4_hdmi_ops [vc4]): -517
[    2.602801] vc4-drm soc:gpu: master bind failed: -517
[    2.992957] vc4-drm soc:gpu: failed to bind 20902000.hdmi (ops vc4_hdmi_ops [vc4]): -517
[    3.013847] vc4-drm soc:gpu: master bind failed: -517
[    3.021189] vc4-drm soc:gpu: failed to bind 20902000.hdmi (ops vc4_hdmi_ops [vc4]): -517
[    3.048315] vc4-drm soc:gpu: master bind failed: -517

Same result with both dtoverlay=vc4-kms-v3d and dtoverlay=vc4-fkms-v3d overlarys using gpu_mem=256

Photos

See also