Build was verified on Ubuntu 18.04 and Ubuntu 20.04.
Please install following packages on build machine:
sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev pylint3 xterm python3-subunit mesa-common-dev python zstd
We need to manually download latest repo tool and add it to PATH
:
mkdir ~/bin
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
Add below line to .bashrc file:
export PATH="~/bin:$PATH"
Setup git username and email with following commands:
git config --global user.name "Your Name"
git config --global user.email "Your Email"
Please follow below steps how to build and flash imx8m image:
- run
build_image.sh
script to fetch and build imx8m voipac devkit image - use
uuu
tool to flash image to target (for more info about flashing see: https://wiki.voipac.com/index.php?title=iMX8M_Industrial_Flashing_procedure) - boot your new build image