Difference between revisions of "Test Case"

From Geekworm Wiki
Jump to navigation Jump to search
Line 30: Line 30:
 
:*Remove the nBOOT jumper after the flashing is complete, then restart your device.
 
:*Remove the nBOOT jumper after the flashing is complete, then restart your device.
 
Note: For CM4 with eMMC, the SD card cannot be used.
 
Note: For CM4 with eMMC, the SD card cannot be used.
 
First, decide which CM4 module you wish to use:
 
 
#CM4 without eMMC (simpler)
 
#CM4 with eMMC (requires additional steps)
 
 
:1. You can use Raspberry Pi Imager to Flash or the following alternatives tools:
 
:* [https://etcher.balena.io/ balenaEtcher]: The application runs on Windows, MacOS, and Ubuntu operating systems.
 
:* [https://i-win32diskimager.com/ Win32 Disk Imager]: This imaging software is designed for Windows machines.
 
:2. Flash OS image to a microSD memory card by following [https://docs.pikvm.org/flashing_os the simple instructions] or [https://www.raspberrypi.com/documentation/computers/getting-started.html#installing-the-operating-system Official installation tutorial]
 
 
:3. Refer to [[#How to flash OS onto the eMMC of CM4? (CM4 with eMMC)?]] if you use the CM4 shield with eMMC.
 
 
:4. Then power the device, then open explore to login the pikvm web ui.
 
* How to flash OS onto the eMMC of CM4? (CM4 with eMMC)?
 
:1. Short nBOOT Pin, refer to the picture below.
 
 
:[[File:X680-IMG-5615-3.jpg|500px]]
 
 
:2. Connect CM4 USB port with a Type-A to Type-B cable to your computer as follow:
 
 
:[[File:X680-IMG-5546-3.jpg|500px]]
 
 
:3. Power the device via PWR DC Jack with 5V Power adaper
 
 
:4. Then rerfer to [https://www.jeffgeerling.com/blog/2020/how-flash-raspberry-pi-os-compute-module-4-emmc-usbboot Jeff's tutorial] or [https://www.raspberrypi.com/documentation/computers/compute-module.html#flash-compute-module-emmc Raspberry Pi Official Tutorial] to flash raspberry pi OS, These tutorials are described in detail, please read them carefully.
 
 
:5. Remove the jumper of nBOOT after flashing is complete, then restart your device;
 
 
:'''PS:If you use CM4 with eMMC, then SD card cannot be used.'''
 
  
  

Revision as of 11:19, 19 July 2024

Flash OS image

First, decide which CM4 module you wish to use:

  1. CM4 without eMMC (simpler)
  2. CM4 with eMMC (requires additional steps)

Option 1: CM4 without eMMC

1. Prepair flash tools:
  • You can use Raspberry Pi Imager or one of the following tools:
  • balenaEtcher: Compatible with Windows, macOS, and Ubuntu.
  • Win32 Disk Imager: Designed for Windows.
2. Flash the OS Image to a MicroSD Card
  • Follow the straightforward instructions or the official installation tutorial.
3. Power the Device
  • Power on your device, then open a browser and log in to the PiKVM web UI.

Option 2: CM4 with eMMC (requires additional steps)

1. Prepare for Flashing
  • Short the nBOOT Pin as shown in the image below.
X680-IMG-5615-3.jpg
2. Connect X680 to Your Computer
  • Use a Type-A to Type-B USB cable to connect the CM4 USB port to your computer.
X680-IMG-5546-3.jpg
3. Power the Device
  • Use a 5V power adapter to power the device via the PWR DC Jack.
4. Flash the OS Image
  • You need: i) install rpiboot utility, ii) install RaspberryPI imager iii) format the eMMC once connected to the host, iv) select OS, eMMC appearing on the host and flash it via imager
  • You can refer to Jeff's tutorial or Raspberry Pi Official Tutorial for detailed instructions on flashing the OS.
5. Complete the Process
  • Remove the nBOOT jumper after the flashing is complete, then restart your device.

Note: For CM4 with eMMC, the SD card cannot be used.


Raspberry Pi AI document:

https://www.raspberrypi.com/documentation/accessories/ai-kit.html

https://www.raspberrypi.com/news/raspberry-pi-ai-kit-available-now-at-70/

例子工程: https://github.com/hailo-ai/hailo-rpi5-examples