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.

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r4 - 2021-08-12 - DominikDannheim
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CLIC All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback