Difference between revisions of "Write Image for Compute Module Boards eMMC version"
From Waveshare Wiki
(Created page with "<!-- 1、 If your Compute Module 4 (CM4 hereafter) is the LITE version, you just need to write the image to Micro SD card like Raspberry Pi boards.<br> 2、 If your use the eM...") |
|||
Line 1: | Line 1: | ||
− | < | + | <font color="#ff0000">EMMC version cannot use SD card for booting, please note it</font><br> |
− | + | ||
− | + | #Download the newest Raspberry Pi image from[https://www.raspberrypi.org/downloads/raspberry-pi-os/ Raspberry Pi Website]. | |
− | + | #:[[FILE:Compute_Module_4_IO_Board_3.png|600px]] | |
− | [[FILE:Compute_Module_4_IO_Board_3.png|600px]] | + | #: If the memory of the eMMC of your board is small, we will recommend you to download the second version or the Lite version of the Raspberry Pi image. |
− | If | + | #Download the [https://www.waveshare.com/w/upload/f/f3/Rpiboot_setup.zip rpiboot software] and install it as administrator. |
− | + | #Connect the BOOT and GND, set the switch into ON. You can check the product page for the position of the BOOT pin, for example: | |
− | + | #:[[FILE:CM4_Burn_EMMC_1.png|800px]] | |
− | + | #Connect the Micro USB/Type C interface(SLAVE port) of carrier board to host PC, then connect a power adapter to the cattier board. | |
− | + | #: If you use the following products, you do not need to connect the power adapter: | |
− | + | #*CM4-IO-BASE-B | |
− | + | #*CM4-IO-BASE-A | |
− | If | + | #*Compute Module 4 PoE Board (B) |
− | <font color="#ff00ff">If you | + | #After connecting, the boards should be recognized as BCMxxx devices in Windows PC. Run the rpiboot.exe as administrator(The software in the installation directory of Step 2). Then the boards will be recognized as a portable disk, just format and write it with a new image.<br> |
− | * | + | #:<font color="#ff0000">Note: If your PC didn't recognize the BCMxxx device, please check connection again. Note that the USB cable used should be an OTG cable.</font> |
− | *Check | + | #:<font color="#ff00ff">If you cannot write the image successfully, please try: |
− | [[File:Compute-Module-4-5.png|800px]] | + | #*Use Windows10 PC instead of Windows 7 or Linux. The other two OS are unstable as feedback. |
− | * | + | #*Check if you write the eMMC version but not the Lite version. The eMMC version has one more chip than the Lite version. |
− | * | + | #:[[File:Compute-Module-4-5.png|800px]] |
− | *Change | + | #*Connect a power adapter to the Power interface. |
− | *Try to restart your PC | + | #*Change to another USB OTG cable |
− | * | + | #*Change to another USB port of PC。 |
− | *Try with | + | #*Try to restart your host PC |
− | </font> | + | #*Remount the CM4 board and try it again. |
− | + | #*Try with another PC.</font> | |
+ | # Format the CM4 (the portable disk) by [https://{{SERVERNAME}}/w/upload/d/d7/Panasonic_SDFormatter.zip SDFormatter.exe software] | ||
+ | #Write the Raspberry Pi image to the CM4 by[https://{{SERVERNAME}}/w/upload/7/76/Win32DiskImager.zip Win32DiskImager.exe software], Choose the image file and click "Write" to start. It may prompt to format the CM4 again after writing, just ignore it. | ||
+ | #After writing, a disk named BOOT is recognized, go into the disk and modify the config.txt file. Add the line to the file: ''dtoverlay=dwc2,dr_mode=host'' | ||
+ | #To finish, eject the BOOT disk from the host PC. Disconnect the USB cable and power adapter, disconnect the BOOT, and set the switch into OFF. restart the board and go ahead with the examples. |
Revision as of 12:48, 2 July 2021
EMMC version cannot use SD card for booting, please note it
- Download the newest Raspberry Pi image fromRaspberry Pi Website.
- Download the rpiboot software and install it as administrator.
- Connect the BOOT and GND, set the switch into ON. You can check the product page for the position of the BOOT pin, for example:
- Connect the Micro USB/Type C interface(SLAVE port) of carrier board to host PC, then connect a power adapter to the cattier board.
- If you use the following products, you do not need to connect the power adapter:
- CM4-IO-BASE-B
- CM4-IO-BASE-A
- Compute Module 4 PoE Board (B)
- After connecting, the boards should be recognized as BCMxxx devices in Windows PC. Run the rpiboot.exe as administrator(The software in the installation directory of Step 2). Then the boards will be recognized as a portable disk, just format and write it with a new image.
- Note: If your PC didn't recognize the BCMxxx device, please check connection again. Note that the USB cable used should be an OTG cable.
- If you cannot write the image successfully, please try:
- Use Windows10 PC instead of Windows 7 or Linux. The other two OS are unstable as feedback.
- Check if you write the eMMC version but not the Lite version. The eMMC version has one more chip than the Lite version.
- Connect a power adapter to the Power interface.
- Change to another USB OTG cable
- Change to another USB port of PC。
- Try to restart your host PC
- Remount the CM4 board and try it again.
- Try with another PC.
- Format the CM4 (the portable disk) by SDFormatter.exe software
- Write the Raspberry Pi image to the CM4 byWin32DiskImager.exe software, Choose the image file and click "Write" to start. It may prompt to format the CM4 again after writing, just ignore it.
- After writing, a disk named BOOT is recognized, go into the disk and modify the config.txt file. Add the line to the file: dtoverlay=dwc2,dr_mode=host
- To finish, eject the BOOT disk from the host PC. Disconnect the USB cable and power adapter, disconnect the BOOT, and set the switch into OFF. restart the board and go ahead with the examples.