Phytec中国的wiki
support@phytec.cn
热线:0755-61802110-803
预先准备:编译后的BSP包所占磁盘空间为46G,准备50G以上可用磁盘空间的Ubuntu 16.04 64位系统。
BSP-Yocto-MX7-PD17.2.0
BSP-Yocto-MX7-PD18.1.1
BSP-Yocto-MX7-PD18.2.0
1、安装以下软件
sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat 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 u-boot-tools
2、下载并解压BSP包。
ftp://ftp.phytec.cn/i.MX7/BSP-Yocto-MX7-PD17.2.0.tar.xz
ftp://ftp.phytec.cn/i.MX7/BSP-Yocto-MX7-PD18.1.1.tar.xz
ftp://ftp.phytec.cn/i.MX7/BSP-Yocto-MX7-PD18.2.0.tar.xz
tar Jxvf BSP-Yocto-MX7-PD17.2.0.tar.xz -C 解压的路径
3、解压BSPJ后,进入BSP的文件夹,输入以下命令,导入编译环境。
source sources/poky/oe-init-build-env
可以看到以下信息
### Shell environment set up for builds. ### You can now run 'bitbake <target>'
4、编译镜像
bitbake fsl-image-gui #PD17.2.0 bitbake fsl-image-validation-imx #PD18.1.1 / PD18.2.0
Overview
Content Tools
Activity
Tasks