Building the system
Initial setup
Follow the instructions on
https://gitlab.cern.ch/Caribou/meta-caribou
Following script will clone the latest veersions of poky and meta-caribou from Git repositories:
$ source <(curl -s https://gitlab.cern.ch/Caribou/meta-caribou/raw/master/misc/remote_scripts/setup.sh)
Then, running:
$ cd poky/
$ source oe-init-build-env
$ bitbake caribou-image
will compile the whole caribou system image. It will download all necessary source files (peary-firmware, peary, meta-xilinx, ...) from online Git repositories. The first run takes a long time to complete (>1 hour, depending on your machine).
Using local source files instead of remote repository
Instead of downloading the source files from remote repositories, you can clone the repository to your local machine and use these files. It is useful for debugging, so you can test your local copy before commiting the code to remote repo.
For example changing peary source location to /home/caribou/peary/ can be done ass following:
$ devtool modify -n peary /home/caribou/peary/
If you do not have the local copy of the repository yet, do not use the -n switch and it will be cloned to the given path from online repository.