د راسبیري پای کمپیوټ ماډل 4 کارونکي لارښود
کولفون
© 2022-2025 Raspberry Pi Ltd
This documentation is licensed under a Creative Commons Attribution-NoDerivatives 4.0 International (CC BY-ND)
خوشې کول | 1 |
جوړول نیټه | 22/07/2025 |
جوړول نسخه | 0afd6ea17b8b |
د قانوني اعلان کولو خبرتیا
TECHNICAL AND RELIABILITY DATA FOR RASPBERRY PI PRODUCTS (INCLUDING DATASHEETS) AS MODIFIED FROM TIME TO TIME (“RESOURCES”) ARE PROVIDED BY RASPBERRY PI LTD (“RPL”) “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW IN NO EVENT SHALL RPL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, LOSS OF USE, DATA, OR PROFITS, OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THE RESOURCES, EVEN IF ADVISED OF THE POSSI BILITY OF SUCH DAMAGE.
RPL reserves the right to make any enhancements, improvements, corections or any other modifications to the RESOURCES or any products described in them at any time and without further notice
د سرچینې are intended for skilled users with suitable levels of design knowledge. Users are solely responsible for their selection and use of the RESOURCES and any application of the products described in them. User agrees to indemnify and hold RPL harmless against all liabilities, costs, damages or other losses arising out of their use of the RESOURCES
RPL کاروونکو ته اجازه ورکوي چې سرچینې یوازې د Raspberry Pi محصولاتو سره په ګډه وکاروي. د سرچینو نور ټول کارول منع دي. کوم بل RPL یا د دریمې ډلې فکري ملکیت حق ته هیڅ جواز نه ورکول کیږي.
د لوړ خطر فعالیتونه. Raspberry Pi products are not designed, manufactured or intended for use in hazardous environments requiring fail safe performance, such as in the operation of nuclear facilities, aircraft navigation or communication systems, air traffic control, weapons systems or safety-critical applications (including life support systems and other medical devices), in which the failure of the products could lead directly to death, personal injury or severe physical or environmental damage (“High Risk Activities). RPL specifically disclaims any express or implied warranty of fitness for High Risk Activities and accepts no liability for use or inclusions of Raspberry Pi products in High Risk Activities
Raspberry Pi products are provided subject to RPLs Standard Terms. RPLs provision of the RESOURCES does not expand or otherwise modify RPL’s Standard Terms including but not limited to the disclaimers and warranties expressed in them.
د سند نسخه تاریخ
خوشې کول | نیټه | تفصیل |
1 | Mar 2025 | Initial release. This document is heavily based on the ‘Raspberry Pi Compute Module 5 forward guidance’ whitepaper. |
د سند ساحه
دا سند په لاندې Raspberry Pi محصولاتو باندې تطبیق کیږي:
Pi 0 | Pi 1 | Pi 2 | Pi 3 | Pi 4 | Pi 400 | Pi 5 | Pi 500 | CM1 | CM3 | CM4 | CM5 | پیکو | Pico2 | ||||
0 | W | H | A | B | A | B | B | ټول | ټول | ټول | ټول | ټول | ټول | ټول | ټول | ټول | ټول |
پیژندنه
د راسبیري پای کمپیوټ ماډل ۵ د راسبیري پای دود ته دوام ورکوي چې وروستی پرچم بردار راسبیري پای کمپیوټر اخلي او د ایمبیډ شوي غوښتنلیکونو لپاره مناسب یو کوچنی، هارډویر معادل محصول تولیدوي. د راسبیري پای کمپیوټ ماډل ۵ د راسبیري پای کمپیوټ ماډل ۴ په څیر ورته کمپیکټ فارم فاکتور لري مګر لوړ فعالیت او د ځانګړتیاو ښه سیټ چمتو کوي. البته، د راسبیري پای کمپیوټ ماډل ۴ او راسبیري پای کمپیوټ ماډل ۵ ترمنځ ځینې توپیرونه شتون لري، او دا په دې سند کې تشریح شوي دي.
نوټ
For the few customers who are unable to use Raspberry Pi Compute Module 5, Raspberry Pi Compute Module 4 will stay in production until at least 2034.
The Raspberry Pi Compute Module 5 datasheet should be read in conjunction with this whitepaper.
https://datasheets.raspberrypi.com/cm5/cm5-datasheet.pdf
اصلي ځانګړتیاوې
Raspberry Pi Compute Module 5 has the following features:
- Quad-core 64-bit Arm Cortex-A76 (Armv8) SoC clocked @ 2.4GHz
- 2GB, 4GB, 8GB, or 16GB LPDDR4 SDRAM
- On-board eMMC flash memory, OGB (Lite model), 16GB, 32GB, or 64GB options
- 2x USB 3.0 بندرونه
- 1 Gb Ethernet interface
- 2x 4-lane MIPI ports supporting both DSI and CSI-2
- 2x HDMI ports able to support 4Kp60 simultaneously
- 28x GPIO pins
- On-board test points to simplify production programming
- Internal EEPROM on the bottom to improve security
- On-board RTC (external battery via 100-pin connectors)
- On-board fan controller
- On-board Wi-Fi®/Bluetooth (depending on SKU)
- 1-lane PCIe 2.0′
- Type-C PD PSU support
نوټ
Not all SDRAM/eMMC configurations are available. Please check with our sales team.
In some applications PCIe Gen 3.0 is possible, but this is not officially supported.
د راسبیري پای کمپیوټ ماډل 4 مطابقت
For most customers, Raspberry Pi Compute Module 5 will be pin-compatible with Raspberry Pi Compute Module 4.
The following features have been removed/altered between the Raspberry Pi Compute Module 5 and Raspberry Pi Compute Module 4 models:
- جامع ویډیو
- The composite output available on Raspberry Pi 5 is NOT routed out on Raspberry Pi Compute Module 5
- 2-lane DSI port
- There are two 4-lane DSI ports available on Raspberry Pi Compute Module 5, muxed with the CSI ports for a total of two
- 2-lane CSI port
- There are two 4-lane CSI ports available on Raspberry Pi Compute Module 5, muxed with the DSI ports for a total of two
- 2x ADC inputs
حافظه
Raspberry Pi Compute Module 4’s maximum memory capacity is 8GB, whereas Raspberry Pi Compute Module 5 is available in a 16GB RAM variant.
Unlike Raspberry Pi Compute Module 4, Raspberry Pi Compute Module 5 is NOT available in a 1GB RAM variant.
انلاګ آډیو
Analogue audio can be muxed onto GPIO pins 12 and 13 on Raspberry Pi Compute Module 5, in the same way as on Raspberry Pi Compute Module 4.
Use the following device tree overlay to assign analogue audio to these pins:
Due to an errata on the RP1 chip, GPIO pins 18 and 19, which could be used for analogue audio on Raspberry Pi Compute Module
4, are not connected to the analogue audio hardware on Raspberry Pi Compute Module 5 and cannot be used.
نوټ
The output is a bitstream rather than a genuine analogue signal. Smoothing capacitors and an ampد لاین کچې محصول چلولو لپاره به په IO بورډ کې لایفیر ته اړتیا وي.
د USB بوټ کې بدلونونه
USB booting from a flash drive is only supported via the USB 3.0 ports on pins 134/136 and 163/165
Raspberry Pi Compute Module 5 does NOT support USB host boot on the USB-C port
Unlike the BCM2711 processor, the BCM2712 does not have an XHCI controller on the USB-C interface, just a DWC2 controller on pins 103/105. Booting using 1800t is done via these pins.
د ماډل بیا تنظیم او د بریښنا بند حالت ته بدلون ورکړئ
1/0 pin 92 is now set to w Button rather than sus PG this means you need to use a PMIC EN to reset the module.
The PRIC ENABLE Signal resets the PMIC, and therefore the SoC. You can view PRIC EN when it’s driven low and released, which is functionally similar to driving tus Po low on Raspberry Pi Compute Module 4 and releasing it.
Raspberry Pi Compute Module 4 has the added benefit of being able to reset peripherals via the nEXTRST signal. Raspberry Pi Compute Module 5 will emulate this functionality on CAM GPIOT.
GLOBAL EN/PHIC EN are wired directly to the PMIC and bypass the OS completely. On Raspberry Pi Compute Module 5, use
GLOBAL EN/PHIC Es to execute a hard (but unsafe) shutdown
If there is a need, when using an existing 10 board, to retain the functionality of toggling I/O pin 92 to start a hard reset, you should intercept the Button at the software level; rather than having it invoke a system shutdown, it can be used to generate a software interrupt and, from there, to trigger a system reset directly (eg. write to S)
Device tree entry handling a power button (arch/arm64/boot/dts/broadcom/bcm2712-rpi-cm5.dtsi).
Code 116 is the standard event code for the kernel’s KEY POWER event, and there is a handler for this in the OS.
Raspberry Pi recommends using kernel watchdogs if you are concerned about the firmware or the OS crashing and leaving the power key unresponsive. ARM watchdog support is already present in Raspberry Pi OS via the device tree, and this can be customised to individual use cases. In addition, a long press/pull on the PIR Button (7 seconds) will cause the PMIC’s built-in handler to shut down the device.
د پن آوټ تفصيلي بدلونونه
CAM1 and DSI1 signals have become dual-purpose and can be used for either a CSI camera or a DSI display.
The pins previously used for CAMO and DSIO on Raspberry Pi Compute Module 4 now support a USB 3.0 port on Raspberry Pi Compute Module 5.
The original Raspberry Pi Compute Module 4 VBAC COMP pin is now a VBUS-enabled pin for the two USB 3.0 ports, and is active high. Raspberry Pi Compute Module 4 has extra ESD protection on the HDMI, SDA, SCL, HPD, and CEC signals. This is removed from Raspberry Pi Compute Module 5 due to space limitations. If required, ESD protection can be applied to the baseboard, although Raspberry Pi Ltd does not regard it as essential.
پن |
CM4 | CM5 | تبصره |
16 | SYNC_IN | فین_تاچو | Fan tacho input |
19 | Ethernet nLED1 | Fan_pwn | Fan PWM output |
76 | ساتل شوی | VBAT | RTC battery. Note: There will be a constant load of a few uA, even if CM5 is powered. |
92 | RUN_PG | د PWR_تڼۍ | Replicates the power button on Raspberry Pi 5. A short press signals that the device should wake up or shut down. A long press forces shutdown. |
93 | nRPIBOOT د Android لپاره | nRPIBOOT د Android لپاره | If the PWR_Button is low, this pin will also be set low for a short time after power-up. |
94 | AnalogIP1 | CC1 | This pin can connect to the CC1 line of a Type-C USB connector to enable the PMIC to negotiate 5A. |
96 | AnalogIP0 | CC2 | This pin can connect to the CC2 line of a Type-C USB connector to enable the PMIC to negotiate 5A. |
99 | Global_EN | د PMIC_ENABLE | No external change. |
100 | nEXTRST | د CAM_GPIO1 معرفي کول | Pulled up on Raspberry Pi Compute Module 5, but can be forced low to emulate a reset signal. |
104 | ساتل شوی | PCIE_DET_nWAKE | PCIE nWAKE. Pull up to CM5_3v3 with an 8.2K resistor. |
106 | ساتل شوی | د PCIE_PWR_EN معرفي کول | Signals whether the PCIe device can be powered up or down. Active high. |
111 | VDAC_COMP | د VBUS_EN | Output to signal that USB VBUS should be enabled. |
128 | د CAM0_D0_N معرفي کول | د USB3-0-RX_N معرفي کول | May be P/N swapped. |
130 | د CAM0_D0_P معرفي کول | د USB3-0-RX_P معرفي کول | May be P/N swapped. |
134 | د CAM0_D1_N معرفي کول | د USB3-0-DP لپاره تفتیش وسپارئ، موږ به په 24 ساعتونو کې له تاسو سره اړیکه ونیسو. | USB 2.0 signal. |
136 | د CAM0_D1_P معرفي کول | د USB3-0-DM لپاره تفتیش وسپارئ، موږ به په 24 ساعتونو کې له تاسو سره اړیکه ونیسو. | USB 2.0 signal. |
140 | CAM0_C_N | د USB3-0-TX_N لپاره تفتیش وسپارئ، موږ به په 24 ساعتونو کې له تاسو سره اړیکه ونیسو. | May be P/N swapped. |
142 | CAM0_C_P | د USB3-0-TX_P لپاره تفتیش وسپارئ، موږ به په 24 ساعتونو کې له تاسو سره اړیکه ونیسو. | May be P/N swapped. |
157 | DSI0_D0_N | د USB3-1-RX_N معرفي کول | May be P/N swapped. |
159 | DSI0_D0_P | د USB3-1-RX_P معرفي کول | May be P/N swapped. |
163 | DSI0_D1_N | د USB3-1-DP لپاره تفتیش وسپارئ، موږ به په 24 ساعتونو کې له تاسو سره اړیکه ونیسو. | USB 2.0 signal. |
165 | DSI0_D1_P | د USB3-1-DM لپاره تفتیش وسپارئ، موږ به په 24 ساعتونو کې له تاسو سره اړیکه ونیسو. | USB 2.0 signal. |
169 | DSI0_C_N | د USB3-1-TX_N لپاره تفتیش وسپارئ، موږ به په 24 ساعتونو کې له تاسو سره اړیکه ونیسو. | May be P/N swapped. |
171 | DSI0_C_P | د USB3-1-TX_P لپاره تفتیش وسپارئ، موږ به په 24 ساعتونو کې له تاسو سره اړیکه ونیسو. | May be P/N swapped. |
د پورته ذکر شویو سربیره، د PCIe CLK سیګنالونه نور په ظرفیت سره نه یوځای کیږي.
PCB
Raspberry Pi Compute Module 5′s PCB is thicker than Raspberry Pi Compute Module 4′s, measuring at 1.24mm+/-10%.
د ټریک اوږدوالی
HDMI0 track lengths have changed. Each P/N pair remains matched, but the skew between pairs is now <1mm for existing motherboards. This is unlikely to make a difference, as the skew between pairs can be in the order of 25 mm.
HDMI1 track lengths have also changed. Each P/N pair remains matched, but the skew between pairs is now <5mm for existing motherboards. This is unlikely to make a difference, as the skew between pairs can be in the order of 25 mm.
د ایترنیټ ټریک اوږدوالی بدل شوی دی. د هرې P/N جوړې سره سمون خوري، مګر د جوړو ترمنځ ترخې اوس د موجوده مدر بورډونو لپاره <4mm دي. دا امکان نلري چې توپیر رامینځته کړي، ځکه چې د جوړو ترمنځ ترخې د 12 ملي میتر په ترتیب کې کیدی شي.
نښلونکي
دوه ۱۰۰-پن نښلونکي په بل برانډ بدل شوي دي. دا د موجوده نښلونکو سره مطابقت لري مګر په لوړ جریان کې ازمول شوي دي. د ملګرتیا برخه چې مور بورډ ته ځي Amphenol P/N 10164227-1001A1RLF
د بریښنا بودیجه
As Raspberry Pi Compute Module 5 is significantly more powerful than Raspberry Pi Compute Module 4, it will consume more electrical power. Power supply designs should budget for SV up to 2.5A. If this creates an issue with an existing motherboard design, it is possible to reduce the CPU clock rate to lower the peak power consumption.
The firmware monitors the current limit for USB, which effectively means that usb mas surrant, enable is always 1 on CM5, the 10 board design should take the total USB current required into consideration.
The firmware will report the detected power supply capabilities (if possible) via device-tree. On a running system, see /proc/device tree/chosen/poser/دا files د 32-bit big-endian بائنري ډیټا په توګه زیرمه شوي دي.
د سافټویر بدلونونه/اړتیاوې
د سافټویر له نظره view، د راسبیري پای کمپیوټ ماډل 4 او راسبیري پای کمپیوټ ماډل 5 ترمنځ په هارډویر کې بدلونونه د نوي وسیلې ونې لخوا د کارونکي څخه پټ دي. files، دا پدې مانا ده چې د سافټویر ډیری برخه چې د معیاري لینکس APIs سره سمون لري پرته له کوم بدلون څخه به کار وکړي. د وسیلې ونې fileډاډ ترلاسه کړئ چې د هارډویر لپاره سم ډرایورونه د بوټ کولو په وخت کې بار شوي دي.
د وسیلې ونې files د راسبیري پای لینکس کرنل ونې کې موندل کیدی شي. د مثال په توګهampLe:
https://github.com/raspberrypi/linux/blob/rpi-612.y/arch/arm64/boot/dis/broadcom/bom2712-pi-om5.dtsi.
هغه کاروونکي چې د راسبیري پای کمپیوټ ماډل 5 ته ځي، هغوی ته مشوره ورکول کیږي چې په لاندې جدول کې ښودل شوي سافټویر نسخې وکاروي، یا نوي. پداسې حال کې چې د راسبیري پای عملیاتي سیسټم کارولو لپاره هیڅ اړتیا نشته، دا یو ګټور حواله ده، له همدې امله دا په جدول کې شامل شوی.
سافټویر | نسخه | نیټه | یادښتونه |
Raspberry Pi OS | Bookworm (12) | ||
فرم ویئر | From 10 Mar 2025 | وګورئ https://pip.raspberrypi.com/categories/685-app-notes-guides- whitepapers/documents/RP-003476-WP/Updating-Pi-firmware.pdf for details on upgrading firmware on an existing image. Note that Raspberry Pi Compute Module 5 devices come pre-programmed with appropriate firmware | |
کرنل | 6.12.x | د 2025 څخه | This is the kernel used in Raspberry Pi OS |
Moving to standard Linux APIs/libraries from proprietary drivers/
فرم ویئر
لاندې لیست شوي ټول بدلونونه د ۲۰۲۳ کال په اکتوبر کې د Raspberry Pi OS Bullseye څخه Raspberry Pi OS Bookworm ته د لیږد یوه برخه وه. پداسې حال کې چې Raspberry Pi Compute Module 4 د زړو تخریب شوي APIs کارولو توان درلود (ځکه چې اړین میراثي فرم ویئر لاهم شتون درلود)، دا د Raspberry Pi Compute Module 5 کې قضیه نده.
د راسبیري پای کمپیوټ ماډل ۵، لکه د راسبیري پای ۵، اوس د DRM (مستقیم رینډرینګ مدیر) ډیسپلی سټیک باندې تکیه کوي، د هغه میراثي سټیک پرځای چې ډیری وختونه د ډیسپ مین ایکس په نوم یادیږي. د ډیسپ مین ایکس لپاره د راسبیري پای کمپیوټ ماډل ۵ کې د فرم ویئر ملاتړ نشته، نو DRM ته تلل اړین دي.
A similar requirement applies to cameras, Raspberry Pi Compute Module 5 only supports the libcamera library’s API, so older applications that use the legacy firmware MMAL APIs, such as raspi-still and rasps-vid, no longer function.
هغه غوښتنلیکونه چې د OpenMAX API (کیمرې، کوډیکونه) کاروي نور به د Raspberry Pi Compute Module 5 کې کار ونکړي، نو د V4L2 کارولو لپاره به بیا لیکلو ته اړتیا وي. د مثال په توګهampد دې لږ څه د libcamera-apps GitHub ذخیره کې موندل کیدی شي، چیرې چې دا د H264 انکوډر هارډویر ته د لاسرسي لپاره کارول کیږي.
OMXPlayer is no longer supported, as it also uses the MMAL API for video playback, you should use the VLC application. There is no command-line compatibility between these applications: see the VLC documentation for details on usage.
Raspberry Pi previously published a whitepaper that discusses these changes in more detail: https://pip.raspberrypi.com/categories/685-app-notes-guides-whitepapers/documents/RP-006519-WP/Transitioning-from-Buliseye-to-Bookworm.pdf.
اضافي معلومات
While not strictly related to the transition from Raspberry Pi Compute Module 4 to Raspberry Pi Compute Module 5, Raspberry Pi Ltd has released a new version of the Raspberry Pi Compute Module provisioning software and also has two distro generation tools that users of Raspberry Pi Compute Module 5 may find useful.
rpi-sb-provisioner is a minimal-input, automatic secure boot provisioning system for Raspberry Pi devices. It is entirely free to download and use, and can be found on our GitHub page here: https://github.com/raspberrypi/rpi-sb-provisioner.
pi-gen is the tool used to create the official Raspberry Pi OS images, but it is also available for third parties to use to create their own distributions. This is the recommended approach for Raspberry Pi Compute Module applications that require customers to build a custom Raspberry Pi OS-based operating system for their specific use case. This is also free to download and use, and can be found here: https://github.com/RPi-Distro/pi-gen. The pi-gen tool integrates well with rpi-sb-provisioner to provide an end-to-end process for generating secure boot OS images and implementing them on Raspberry Pi Compute Module 5.
rpi-image-gen is a new image creation tool (https://github.com/raspberrypi/rpi-image-gen) that may be more appropriate for more lightweight customer distributions
For bring-up and testing and where there is no requirement for the full provisioning system rpiboot is still available on Raspberry Pi Compute Module 5. Raspberry Pi Ltd recommends using a host Raspberry Pi SBC running the latest version of Raspberry Pi OS and the latest rathoot from https://github.com/raspberrypi/usbboot. You must use the ‘Mass Storage Gadget option when running rpiboot, as the previous firmware-based option is no longer supported.
د نورو معلوماتو لپاره د اړیکو جزئیات
مهرباني وکړئ اړیکه ونیسئ
applications@iraspberrypi.com
if you have any queries about this whitepaper.
Web: www.raspberrypi.com
اسناد / سرچینې
![]() |
د راسبیري پای کمپیوټ ماډل ۴ [pdf] د کارونکي لارښود د محاسبې ماډل ۴، ماډل ۴ |