Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Prepare the Linux host for the build:

    Code Block
    $ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \
         build-essential chrpath socat cpio python python3 python3-pip python3-pexpect \
         xz-utils debianutils iputils-ping libbz2-dev libz-dev python2.7 dfu-util libusb-1.0.0-dev
    $ sudo dpkg-reconfigure dash # Say "No" to not use "dash" as the default system shell.
    $ wget https://storage.googleapis.com/git-repo-downloads/repo
    $ chmod 755 repo
    $ sudo cp repo /usr/local/bin/
  2. Clone the build script:

    Code Block
    $ git clone -b imx-5.15-32-vb https://github.com/voxelbotics/meta-vb-imx8mp.git
  3. Checkout an appropriate release tag (e.g. 1.0.5-213):

    Code Block
    $ cd meta-vb-imx8mp
    $ git checkout 1.0.5-213
  4. Create directories for the Yocto cache and downloads:

    Code Block
    $ sudo mkdir -p /home/cache/CACHE/5.15.32/sstate-cache
    $ sudo mkdir -p /home/cache/CACHE/5.15.32/downloads
    $ sudo chmod 777 /home/cache/CACHE/5.15.32/sstate-cache /home/cache/CACHE/5.15.32/downloads

...