Newer
Older
## Note
### Git LFS is broken on this repo, please go to: https://gitlab.arm.com/systemready/firmware-build/linuxboot/lbbr-coreboot-poc to download and run.
---
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
## Note
Before cloning this repo, please make sure that you have git lfs installed! If not, please follow this guide (don't forget to install on your host machine with `git lfs install` ):
https://git-lfs.com/
## Update submodules
Run
```
git submodule update --init --recursive
```
## Build with Docker
To build the project for the neoverse target do:
```
DOCKER_BUILDKIT=1 docker build --progress=plain -f Dockerfile.neoverse -t 9esec/arm-builder:dev .
```
To build the project for the QEMU SBSA target do:
```
DOCKER_BUILDKIT=1 docker build --progress=plain -f Dockerfile.qemu -t 9esec/arm-builder:dev .
```
Note: coreboot build is tested only on x86 for now. If you are building docker container on ARM platform, please add this line to build x86 docker: `--platform linux/amd64`
## Run the container
To run the project:
### For Neoverse FVP:
```
make -f Makefile.neoverse docker_neoverse_build
```
To boot the built coreboot firmware run:
```
make -f Makefile.neoverse neoverse_run
```
### For QEMU-SBSA:
```
docker run -it 9esec/arm-builder:dev
boot
```