The Starter Kit has a primary and secondary boot device, isolating the boot firmware from the run-time OS and application. This allows you to focus on developing and updating your application code within the application image on the secondary boot device, without having to touch the boot firmware. The primary boot device is a QSPI memory located on the SOM, which is pre-programmed (pre-loaded QSPI image) at the factory. The secondary boot device is a microSD card interface on the carrier card.
For setting up the microSD card, you’ll need to download the latest SD card image and then write it using an Image Flashing tool.
Once your microSD card is flashed with the image, proceed to the next step.
Suspecting if your downloaded SD card image is corrupted? Refer to this Answer Record to check using the provided md5sum.
Looking for OS specific tools to write the image to the SD card?
For Windows users, use the Win32 Disk Imager tool. Ensure that your SD card is correctly formatted before using the tool.
For macOS users, refer to the below instructions.
To unzip the tar file, you can use the following command:
As soon as you plug in the microSD card to your computer, check for what device it is assigned to. Use the following command to identify the target microSD card, which can be verified based on the type, name, and size of the disk:
If the microSD card has an existing partition, you may need to unmount it with the following command:
diskutil unmount /dev/disk3s1
You can use the followings to write the image file to the microSD card.
sudo dd if=petalinux-sdimage.wic of=/dev/rdisk3 bs=1m
To eject the microSD card use the following command:
diskutil eject /dev/disk3
For Linux users, refer to the below command line instructions. Ensure that the microSD card is formatted correctly before proceeding.
As soon as you plug in the microSD card to your computer, check for which device it is assigned.
In the example below, the 16GB microSD card appears at device “sdb”. For the rest of the instructions, we’ll use “sd<x>” and you can replace <x> with the correct device for your system.
(you don’t want to accidentally overwrite your hard disk!)
Assuming the WIC image is hosted as petalinux-sdimage.wic.gz.
dd if=petalinux-sdimage.wic of=/dev/sd<?> conv=fsync
sudo eject /dev/sd<?>