Raspberry PI CM4 Quick Start
好久没有英文写作了,练习一下,都是比较简单的英文,请大家不要介意。
0. Preparation
0.1 Hardware
- CM4 and CM4IO Board.
- DC 12V-2A Power supply.
- SD card for Lite version CM4(No eMMC), no need for eMMC version.
- standard HDMI cable, male to male.
- Monitor with HDMI interface.
- USB male to Micro USB male cable for eMMC version CM4.
- SD card reader with USB port for Lite version CM4.
0.2 Software
- rpiboot application for Windows environment, this can be download by clicking here.
- Raspberry Pi OS or any appropriate OS image that you can find here.
The recommended OS is as follow image. The direct download could be really slow in China, the torrent download method is quicker.
- The image flashing software - balenaEtcher or Win32DiskImager.
1. Software installation
- Install rpiboot
- Install balenaEtcher or Win32DiskImager
- Download RPI OS image(No need to unzip after downloading).
2. Jumper Fitting
Insert Jumper to J2 connector to disable eMMC boot.
3. Flashing OS
-
Do not power on CM4IO board first.
-
Connect Host PC and CM4IO board via USB slave port.
-
Start rpiboot.exe.
-
Power on CM4IO with 12V DC. rpiboot will find CM4 and install drivers and exit automatically. And a massive USB storage disk appears in This PC, there is no need to format it.
-
Start Etcher.exe and select the downloaded OS image to flash. This step could take 30mins or more.
-
After flashing, add following code to config.txt in the root directory.
dtoverlay=dwc2,dr_mode=host
-
Power off the CM4IO board after rejecting the Computation Module.
-
Pull out the jumper on J2 connector.
4. Start the RPI system
- Be sure that the jumper on J2 has been removed.
- Connect CM4IO board and Monitor with HDMI cable.
- Power on the CM4IO board.
- You can also insert USB keyboard and mouse if you enable USB port in past step.
- Enjoy.
PS. The on board WIFI antenna really sucks and I don’t know how they pass the compliance certification.
Better use a UFL interface WIFI antenna.
Reference:
- https://www.raspberrypi.org/documentation/hardware/computemodule/cm-emmc-flashing.md
- https://www.waveshare.net/wiki/Compute-Module-4