Prerequisites

Before using the SDK, ensure you perform the following steps:

  1. Install an Operating System (OS) on your PC.
    Tip: The recommended OS is Ubuntu 16.04/18.04/20.04/22.04 x86_64.
  2. Perform the following commands to update all packages:
    $sudo apt update
    $sudo apt upgrade
  3. Perform the following command to install the required additional packages:
    $ sudo apt-get install build-essential automake libtool texinfo bison flex gawk g++ git xxd curl wget gdisk gperf cpio bc screen texinfo unzip libgmp-dev libmpfr-dev libmpc-dev libssl-dev libncurses-dev libglib2.0-dev libpixman-1-dev libyaml-dev patchutils python3-pip zlib1g-dev device-tree-compiler dosfstools mtools kpartx rsync
    Important: The command for this step only supports version equal to or later than VF2_v3.4.5. If your SDK version is VF2_v3.1.5 or earlier, please perform the following command to install the required additional packages:
    $ sudo apt-get install build-essential g++ git autoconf automake autotools-dev texinfo bison xxd curl flex gawk gdisk gperf libgmp-dev libmpfr-dev libmpc-dev libz-dev libssl-dev libncurses-dev libtool patchutils python screen texinfo unzip zlib1g-dev libyaml-dev wget cpio bc dosfstools mtools device-tree-compiler libglib2.0-dev libpixman-1-dev kpartx
  4. Execute the following commands to install additional packages for Git LFS:
    $ curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
    $ sudo apt-get install git-lfs