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.
More details about repo tool is present athttps://source.android.com/source/developing.html
Step 1: Preparing the Build Environment
Fetch all sourcesRelease 2017.1 and above :Release 2016.3 or below :where current-release is rel-v2016.3 or rel-v2016.1 etc
Step 2: Build using bitbake
Similarly build for other machine (ZC702, ZC706 etc)
<current-version> will be 2016.3, 2016.1 etc<current-release> will be 2016.3, 2016.1 etc
DISTRO = "petalinux"
- Following has to be present in your configuration to use XIlinx SDK toolchain (local.conf or override.conf)
PACKAGE_CLASSES = "package_rpm"
TCMODE = "external-xilinx"
XILINX_VER_MAIN = "<current-release>"
EXTERNAL_TOOLCHAIN_zynq = "<path-to-xilinx-SDK>/SDK/<current-version>/gnu/aarch32/lin/gcc-arm-linux-gnueabi"
EXTERNAL_TOOLCHAIN_microblaze = "<path-to-xilinx-SDK>/SDK/<current-version>/gnu/microblaze/linux_toolchain/lin32_le"
EXTERNAL_TOOLCHAIN_aarch64 = "<path-to-xilinx-SDK>/SDK/<current-version>/gnu/aarch64/lin/aarch64-linux"
XILINX_SDK_TOOLCHAIN = "<path-to-xilinx-SDK>/SDK/<current-version>"
Related ArticlesXilinx Yocto