compiling fsbl with docker works now! See README

This commit is contained in:
Duesentrieb71
2024-03-21 17:47:01 +01:00
parent 102e30a2b5
commit 30b8dd2abe
3 changed files with 31 additions and 56 deletions

View File

@ -1,10 +1,22 @@
# FSBL
## Build with Docker
FSBL code is at https://github.com/Xilinx/embeddedsw/
there:
```sh
cd lib/sw_apps/zynq_fsbl/src/ && make BOARD=zed CFLAGS=-DFSBL_DEBUG_INFO
cd docker/compile_fsbl/
git clone https://github.com/Xilinx/embeddedsw/
docker build -t compile_fsbl .
```
docker build might fail because of firewall settings or the IRS wireguard VPN.
To build the FSBL, run the following command in the `docker/compile-fsbl` directory:
```sh
docker run -v ./embeddedsw:/project compile_fsbl /bin/bash -c "cd lib/sw_apps/zynq_fsbl/src && make BOARD=zed SHELL=/bin/bash"
```
If you want, copy the FSBL.elf to the docker/compile_fsbl directory for easier access:
```sh
cp embeddedsw/lib/sw_apps/zynq_fsbl/src/fsbl.elf .
```
# Building