主机 建议 Ubuntu18.04 ,参考: MX8X_4.14.78_ga_BootLoader_V3-20190301_chn.pdf 和 i.MX_Yocto_Project_User’s_Guide.pdf 两个文档。
博主虚拟机建议配置如下。
VMware Workstation 12.1.1+Ubuntu18.04
-
$sudo apt-get update
$sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat libsdl1.2-dev
$sudo apt-get install libsdl1.2-dev xterm sed cvs subversion coreutils texi2html docbook-utils python-pysqlite2 help2man make gcc g++ desktop-file-utils libgl1-mesa-dev libglu1-mesa-dev mercurial autoconf automake groff curl lzop asciidoc
$sudo apt-get install u-boot-tools -
$cd ~
$mkdir bin
$cd bin
$curl https://mirrors.tuna.tsinghua.edu.cn/git/git-repo -o repo
$chmod a+x repo
$ export PATH=~/bin:$PATH -
$mkdir imx-yocto-bsp
$cd im