Creating a Bootable Micro SD Card for Hailo-15

From RidgeRun Developer Wiki






Insert the Micro SD card into the card reader of your development host. You can then choose one of two methods to write the image to the SD card:

1. Writing the Image Using the Graphical Utility "Disks"

Locate and open the "Disks" tool on your device

To begin, locate the "Disks" utility on your device as shown in the following image. Once you've found it, click to open the application.

Disks Ubuntu Application

Select "Restore Disk Image"

Choose your SD card from the list, then click on "Restore Disk Image," as illustrated in the following image.

Disks SD Card Reader Screen

Navigate to the Compiled Image

Locate the image in the build/tmp/deploy/images/hailo15-sbc folder. At the bottom of the screen, select "All Files," as shown in the images below, and choose the appropriate .wic file. Ensure that you select the file that matches your target model.

Disks SD Card Pre-Select Images Menu
Disks SD Card Image Selection Process
Disks SD Start Restoration Process

2. Using the command line

Open a terminal on your development host and enter the following command:

dd if=<image file name path> of=/dev/<SD card device file>

The command dd if=<image file name path> of=/dev/<SD card device file> is used to write an image file to a storage device, such as a Micro SD card.

Here’s a breakdown of its parameters:

  • dd: This is the command-line utility used for converting and copying files.
  • if=<image file name path>: This specifies the input file (if stands for input file). You need to replace <image file name path> with the actual path to the image file you want to write (e.g., /home/user/images/my_image.wic).
  • of=/dev/<SD card device file>: This indicates the output file (of stands for output file). You need to replace <SD card device file> with the device file for your SD card (e.g., /dev/sdb). Be cautious to select the correct device to avoid overwriting other data.