Skip to content
README.md 1.82 KiB
Newer Older
Bertrand Mandrin's avatar
Bertrand Mandrin committed
# Bluegreen machines

This project contains [kas](https://kas.readthedocs.io/en/latest/index.html) configuration to download meta-bluegreen and all required layers.
[EWAOL](https://gitlab.arm.com/ewaol/meta-ewaol) is the reference implementation of the [SOAFEE](http://soafee.io) project and is used as a baseline for bluegreen
project.

## Build

Install the kas tool, ensuring you have a version 3.0.2 or greater, by following the instructions [here](https://kas.readthedocs.io/en/latest/userguide.html).

To build bluegreen, use the helper script ```build.sh``` which gives a consistent way of building for the target platforms.

```bash
# Building for the generic-arm64 target
./build.sh generic-arm64 baremetal
```

## Install

Installation instructions for each platform is outlined in the documentation for that platform.  Check out the table in the status section below.

## Status

| Machine | Status | Documentation |
|---------|---------------|-------|-------|
| generic-arm64 | Ok | [Generic arm64 Documentation](docs/generic-arm64.md) |

## Machine specific notes

## generic-arm64

Put UEFI firmware on the sdcard and the bluegreen image on a SD Card.

### Xillinx ZCU102

To build and flash the UEFI firmware for the Xillinx ZCU102 board, follow these instructions:
 * Get the sources:
```bash
repo init https://github.com/Xilinx/yocto-manifests.git
repo sync
```
 * Build the firmware:
```bash
source setupsdk
MACHINE="zcu102-zynqmp" bitbake xilinx-bootbin
```
 * From the build/tmp/deploy/images/zcu102-zynqmp folder, copy the boot.bin in the /boot partition (first partition) of the SD Card (generic-arm64 image should already be flashed in the SD Card, see [Generic arm64 Documentation](docs/generic-arm64.md)).


### Raspberry Pi 4

This has been tested on the RPi4 using [SystemReady compliant UEFI firmware](https://github.com/pftf/RPi4).