forked from ROMEO/obsw
1.0 KiB
1.0 KiB
Build the FSBL
FSBL is the First Stage Boot Loader and prepares the CPU and FPGA configuration for booting up the Second Stage Bootloader and finally the flight software.
Requirements [TBC]:
cmake
arm-none-eabi-gcc
doxygen
graphviz
If you want, copy the fsbl.elf to the docker/compile_fsbl directory for easier access:
cp embeddedsw/lib/sw_apps/zynq_fsbl/src/fsbl.elf .
Steps
mission_rust
- Satisfy Rust requirements
cd ../mission_rust
cargo update
rustup toolchain install nightly
rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu
rustup override set nightly
cargo build -Z build-std
obsw
Clone the submodules (FreeRTOS and lwIP):
git submodule init
git submodule update
To build the obsw, run the following command
Once:
mkdir -p build
cd build
```sh
After adding a
cmake -DCMAKE_TOOLCHAIN_FILE=../bsp_z7/cmake/arm-none-eabi.toolchain ..
make -j 8"
The romeo-obsw binary can now be found in the build
directory.