Test Case

From Geekworm Wiki
Jump to navigation Jump to search

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.
  • nBOOT Pin Short
  1. Connect CM4 to Your Computer
  • Use a Type-A to Type-B USB cable to connect the CM4 USB port to your computer.
  • Connection Diagram
  1. Power the Device
  • Use a 5V power adapter to power the device via the PWR DC Jack.
  1. 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 the official Raspberry Pi tutorial for detailed instructions on flashing the OS.
  1. 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.

First, decide which CM4 module you wish to use:

  1. CM4 without eMMC (simpler)
  2. CM4 with eMMC (requires additional steps)
1. You can use Raspberry Pi Imager to Flash or the following alternatives tools:
  • balenaEtcher: The application runs on Windows, MacOS, and Ubuntu operating systems.
  • Win32 Disk Imager: This imaging software is designed for Windows machines.
2. Flash OS image to a microSD memory card by following the simple instructions or 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.
X680-IMG-5615-3.jpg
2. Connect CM4 USB port with a Type-A to Type-B cable to your computer as follow:
X680-IMG-5546-3.jpg
3. Power the device via PWR DC Jack with 5V Power adaper
4. Then rerfer to Jeff's tutorial or 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.


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