Installing Peta-Caribou
The Embedded OS Builder
Requirements
- Git LFS: any
- Petalinux: 2023.2
- Docker: 29.x
- Python: 3.x
Installing PetaLinux
Before working with Peta-Caribou, PetaLinux must be installed.
Using the PetaLinux installer
The PetaLinux installer can be downloaded from the AMD-Xilinx downloads portal. The version 2023.2 can be found in the Archive section.
Details about the system requirements and installation instructions can be found on the Environment Setup Guide page.
Using the Docker image (Recommended)
If installing PetaLinux 2023.2 using the PetaLinux installer is not feasible, a Docker container can be used as an alternative. The docker-petalinux2 project provides a convenient solution. Setup instructions can be found on the project page, but the process can be summarized as follows:
-
Clone the docker-petalinux2.
-
Download the PetaLinux 2023.2 installer.
-
Place it in the
installers/directory of the docker-petalinux2 repository.You may need to rename the installer file topetalinux-v<VERSION>-final-installer.run. -
Run the following command, replacing
<VERSION>with the downloaded version (e.g., 2023.2):./docker_build.sh <VERSION> -
launch an instance of the Docker container, run:
/path/to/docker-petalinux2/etc/petalin2.sh
Dowloading the source code
The latest version of Peta-Caribou can be downloaded from the CERN GitLab repository.
For production environments as well as for developers, it is recommended to always use the latest available version from the git master branch.
The software repository can be cloned as follows:
git clone https://gitlab.cern.ch/Caribou/peta-caribou.git
cd peta-caribou