Download Prebuilt Image
Note
You do not need to download prebuilt images if you wish to build board images from source code. Please proceed to the Build from Source Code page.
Prebuilt images are provided for each release of IoT Yocto for selected development boards. You can download prebuilt demo images from the download page.
Extracting Prebuilt Images
Please use tar
tool to extract the downloaded image packages on Linux:
mkdir image && tar -zxvf <image-name>.tar.gz -C image/
Please note the tailing /
in the image/
parameter is mandatory.
The extracted image files are located in the image
folder. You can use a different directory name.
The image archive contains symbolic links.
Please use tools that supports symbolic links and gzipped tarball (*.tar.gz
) file format, such as:
Note
You need to run WinRAR as administrator and open the archive from the program to extract it. Otherwise WinRAR might report a permission error when trying to create symbolic links in the extracted image package.
Note
On some Windows file systems there are path length limitations, and the extracted package may be incomplete if the extracted directory path is too long. We recommend that you:
Rename the archive to
image.tar.gz
before extracting it.Extract the image to a directory with short name, such as
D:\board-image
.
Note
If you encounter the following error during genio-flash
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Please check if both partitions.json
and rity.json
exists.
If one of these files are missing, please use an extraction tool that supports symbolic links.
Layout of Extracted Prebuilt Image
After extracting the image package, a typical image directory should contain at least the following files.
└── genio-1200-evk
├── bl2.img
├── bootassets.vfat
├── capsule.vfat
├── fip.bin
├── fitImage
├── lk.bin
├── partitions.json
├── rity-demo-image-genio-1200-evk.manifest
├── rity-demo-image-genio-1200-evk.testdata.json
├── rity-demo-image-genio-1200-evk.wic.img
└── u-boot-initial-env
Some of the important files are:
The
partitions.json
files provide meta data for thegenio-flash
tool for erasing and flashing the eMMC and UFS storage.The
rity-demo-image-genio-1200-evk.wic.img
contains the full disk image, including the partition table, for the mmc0 storage.The
bl2.img
is the image for BL2 boot loader and is always written tommc0boot0
storage partition.The
u-boot-initial-env
is a plain text file that will be convert into binary representation of U-Boot environment variables bygenio-flash
tool during the image flashing process. The binary is then written into themmc0boot1
storage partition.
Other files are partition images that could be used to update a single partition in the mmc0
storage. For the definition and layout
of each partition image, please refer to Partition Layout.
In most cases, these files are symbolic links (aliases) to actual files with detail information in the filename, for example:
fip.bin
might be an pointing tofip-mt8195.bin
.rity-demo-image-genio-1200-evk.wic.img
might point tority-demo-image-genio-1200-evk-20230727004733.rootfs.wic.img
.
The exact file names are different for each SoC, board, and image recipe.
Note
Please proceed the Connecting Board to Host page to continue this guide with a prebuilt image.