forked from ROMEO/obsw
compiling fsbl with docker works now! See README
This commit is contained in:
20
README.md
20
README.md
@ -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
|
||||
|
Reference in New Issue
Block a user