Raspberry Pi Zero (raspberry-pi0): Difference between revisions
Appearance
mNo edit summary |
m removed PMOS_NO_OUTPUT_REDIRECT since it doesn't exist anymore |
||
(16 intermediate revisions by 11 users not shown) | |||
Line 4: | Line 4: | ||
| codename = raspberry-pi0 | | codename = raspberry-pi0 | ||
| image = File:Raspberry-Pi-Zero-1-1755x1080.jpg | | image = File:Raspberry-Pi-Zero-1-1755x1080.jpg | ||
| releaseyear = | | releaseyear = 2015 | ||
| originalsoftware = Raspbian | | originalsoftware = Raspbian | ||
| chipset = Broadcom BCM2835 | | chipset = Broadcom BCM2835 | ||
Line 13: | Line 13: | ||
| memory = 512 MB | | memory = 512 MB | ||
| architecture = armhf | | architecture = armhf | ||
| status_usbnet = Y | | status_usbnet = Y | ||
| status_flashing = - | | status_flashing = - | ||
Line 33: | Line 32: | ||
| status_calls = - | | status_calls = - | ||
| booting = yes | | booting = yes | ||
| type = Single Board Computer | |||
}} | }} | ||
== Users owning this device == | |||
{{Device owners}} | |||
== Contributors == | == Contributors == | ||
Line 40: | Line 43: | ||
== Installation == | == Installation == | ||
1. | |||
1. Follow the steps on [[Installation_guide#Initialization]] | |||
2. | |||
2. Choose the <code>raspberry-pi0</code> device | |||
3. Start the build process and install the completed image to a sdcard (replace <code>/dev/sdX</code> with the device for your sdcard) | |||
3. Start the build process and install the completed image to a sdcard < | <syntaxhighlight lang="shell-session"> | ||
$ ./pmbootstrap.py install --sdcard /dev/sdX | $ ./pmbootstrap.py install --sdcard /dev/sdX | ||
</syntaxhighlight> | |||
4. Place the sdcard into the Raspberry Pi and boot it | 4. Place the sdcard into the Raspberry Pi and boot it | ||
5. Connect a microUSB cable to port with the | 5. Connect a microUSB cable to the central microUSB port (with the <code>USB</code> label) | ||
6. Let the RPI boot and then you should be able to connect using SSH | 6. Let the RPI boot and then you should be able to connect using SSH | ||
< | <syntaxhighlight lang="shell-session"> | ||
$ ssh user@172.16.42.1 | $ ssh user@172.16.42.1 | ||
</ | </syntaxhighlight> | ||
== Issues == | == Issues == | ||
Line 63: | Line 67: | ||
The vc4 module fails to load: | The vc4 module fails to load: | ||
< | <syntaxhighlight lang="dmesg"> | ||
# 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 | [ 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 | ||
[ 0.674097] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB) | [ 0.674097] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB) | ||
[ 0.675232] vc-sm: Videocore shared memory driver | [ 0.675232] vc-sm: Videocore shared memory driver | ||
Line 77: | Line 81: | ||
[ 3.021189] vc4-drm soc:gpu: failed to bind 20902000.hdmi (ops vc4_hdmi_ops [vc4]): -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 | [ 3.048315] vc4-drm soc:gpu: master bind failed: -517 | ||
</ | </syntaxhighlight> | ||
Same result with both <code>dtoverlay=vc4-kms-v3d</code> and <code>dtoverlay=vc4-fkms-v3d</code> overlarys using <code>gpu_mem=256</code> | Same result with both <code>dtoverlay=vc4-kms-v3d</code> and <code>dtoverlay=vc4-fkms-v3d</code> overlarys using <code>gpu_mem=256</code> | ||
Line 86: | Line 90: | ||
File:RaspberryPiZeroMate.jpg|thumb|MATE | File:RaspberryPiZeroMate.jpg|thumb|MATE | ||
File:RaspberryPiZeroXFCE.jpg|thumb|XFCE4 | File:RaspberryPiZeroXFCE.jpg|thumb|XFCE4 | ||
File:RaspberryPiZeroWeston.jpeg|thumb|Weston | |||
</gallery> | </gallery> | ||
Line 91: | Line 96: | ||
* The Raspberry Pi has a [https://wiki.alpinelinux.org/wiki/Raspberry_Pi pre-existing port of Alpine Linux] | * The Raspberry Pi has a [https://wiki.alpinelinux.org/wiki/Raspberry_Pi pre-existing port of Alpine Linux] | ||
* It should be possible to [[Existing Alpine installation|convert the pre-existing RPi Alpine install to a pmOS install]]. | * It should be possible to [[Existing Alpine installation|convert the pre-existing RPi Alpine install to a pmOS install]]. | ||
* {{ | * {{issue|1137}} Testing out Hildon and XFCE4 (other UIs did not work at all?) on Raspberry Pi after converting the Alpine installation | ||
* [https://github.com/christinaa/rpi-open-firmware/tree/master rpi-open-firmware] - a Free Software firmware for the Pi. | * [https://github.com/christinaa/rpi-open-firmware/tree/master rpi-open-firmware] - a Free Software firmware for the Pi. | ||
* {{ | * {{MR|1501}} initial PR | ||
* {{MR|125|pmaports}} New device: Raspberry Pi Zero with Ethernet over USB enabled | * {{MR|125|pmaports}} New device: Raspberry Pi Zero with Ethernet over USB enabled | ||
* [https://github.com/ropg/hyper-pi Hyper-pi] - Project to make a handheld device w/ a RPi Zero and a HyperPixel 4" capacitive touch screen | |||
* [https://ruha.camera/ Ruha.cam A Pi zero based camera] | |||
[[Category:Devices]] | [[Category:Devices]] |
Latest revision as of 00:07, 28 November 2024
WARNING: This device is not recommended for future use with postmarketOS due to its armhf architecture. Alpine Linux (the distribution that postmarketOS extends) pmaports#599 has been considering dropping it. The processor of the device may support the armv7 architecture. If so, you can modify the device package and change the architecture accordingly. |
![]() | |
Manufacturer | Raspberry Pi Foundation |
---|---|
Name | Raspberry Pi Zero |
Codename | raspberry-pi0 |
Released | 2015 |
Type | single board computer |
Hardware | |
Chipset | Broadcom BCM2835 |
CPU | ARM1176JZF-S @ 1 GHz |
GPU | Broadcom VideoCore IV |
Display | HDMI port |
Storage | MicroSDHC slot |
Memory | 512 MB |
Architecture | armhf |
Software | |
Original software | Raspbian |
postmarketOS | |
Category | testing |
Pre-built images | no |
Mainline | yes |
USB Networking |
Works |
---|---|
Internal storage |
No data |
SD card |
No data |
Screen |
Works |
Multimedia | |
3D Acceleration |
No data |
Camera Flash |
No data |
Connectivity | |
WiFi |
Works |
Bluetooth |
Works |
NFC |
No data |
Miscellaneous | |
FDE |
No data |
USB OTG |
No data |
HDMI/DP |
No data |
Sensors | |
Magnetometer |
No data |
Ambient Light |
No data |
Proximity |
No data |
Hall Effect |
No data |
Haptics |
No data |
Barometer |
No data |
Users owning this device
- Blacklight
- Drebrez
- Halamix2
- Lloir
- Maciej (Notes: Not used currently)
- Maff (Notes: 0 and 0W units, inc. one WD Labs PiDrive)
- Neko (Notes: Two 0Ws floating around, one 0W is a USB gadget - maybe a perfect use for pmOS)
- PiotrZPL (Notes: Security camera.)
- Segfault (Notes: Zero W)
- TravMurav
- User0 (Notes: unused)
- ZeroCool32 (Notes: Zero W, rev1.3)
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 (replace /dev/sdX
with the device for your sdcard)
$ ./pmbootstrap.py install --sdcard /dev/sdX
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
[ 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
-
debug-shell
-
MATE
-
XFCE4
-
Weston
See also
- The Raspberry Pi has a pre-existing port of Alpine Linux
- It should be possible to convert the pre-existing RPi Alpine install to a pmOS install.
- #1137 Testing out Hildon and XFCE4 (other UIs did not work at all?) on Raspberry Pi after converting the Alpine installation
- rpi-open-firmware - a Free Software firmware for the Pi.
- !1501 initial PR
- pmaports!125 New device: Raspberry Pi Zero with Ethernet over USB enabled
- Hyper-pi - Project to make a handheld device w/ a RPi Zero and a HyperPixel 4" capacitive touch screen
- Ruha.cam A Pi zero based camera