Table of Contents
Table of Contents | ||
---|---|---|
|
Install Xilinx Yocto
Repo
Repo is a repository management tool that is built on top of Git. Repo unifies the many Git repositories when necessary, and automates parts of the development workflow. Repo is not meant to replace Git, only to make it easier to work with Git in the context of development.The repo command is an executable Python script that you can put anywhere in your path. In working with the source files, you will use Repo for across-network operations. For example, with a single Repo command you can download files from multiple repositories into your local working directory.
Info |
---|
For more info about Repo, please see https://source.android.com/source/developing.html. |
Install Repo
Here we will simply install the repo script from Google.
...
Info |
---|
Replace <current-release> with the git release tag, e.g. rel-v2018.3, rel-v2019.1 |
Warning | |||||
---|---|---|---|---|---|
In 2019.2, there is a bug in the tcf-agent bbappend in the meta-petalinux layer. To work around it, edit the following file: sources/meta-petalinux/recipes-devtools/tcf-agent/tcf-agent_%.bbappend Change the following line:
This is fixed in 2020.1 |
Configure the Xilinx Yocto Build
...
Finally bitbake the target image "petalinux-image-minimal". You can pass the target machine on the command line or add it to your local.conf as the default machine. When the build is completes, your images are located in "build/tmp/deploy/images/<machine>". In this example we are building for the ZCU102.
Code Block | ||
---|---|---|
| ||
$ MACHINE=zcu102-zynqmp bitbake petalinux-image-minimal |
...