IOT-LINK: Yocto Linux: Preparing Live Media

From Compulab Mediawiki
Jump to: navigation, search

Introduction

  • This article provides instructions needed to install the Yocto Linux image on external storage using a Linux Host workstation.
  • The image provides full boot system including U-Boot, Linux kernel, device driver modules and root file system.

Preparation steps

  • Obtain a Linux PC workstation.
  • Obtain an external storage and, if needed, a Card reader. Any commercially available external storage of 4GB (or larger) may be used for the installation.
  • Download the Yocto Linux archive from CompuLab website.
  • Unzip the package to a directory on the host workstation. From now we assume the device name is pakage_dir.
  • The Yocto Linux image file, mentioned below, can be found in the images subdirectory.
  • Plug the external storage to the host machine. From now we assume the device name of the external storage on your Linux PC is /dev/sdX.

Installation

  • Flash the image file to the external storage:
zstd -dc *.wic.zst | sudo dd bs=1M status=progress of=/dev/sdX

Run Yocto Linux image

  • Plug the external storage to the target
  • Hard reset the system to boot from external storage