Skip to content
Snippets Groups Projects
Commit c6ddd7e9 authored by Tomasz Wlostowski's avatar Tomasz Wlostowski
Browse files

build/scripts: include FPGA firmware in the final filesystem

parent 78fa9d38
Branches
Tags
No related merge requests found
#!/bin/bash
# check variables, like all scripts herein do
WRS_SCRIPT_NAME=$(basename $0)
. ${WRS_BASE_DIR}/scripts/wrs_functions
wrs_check_vars WRS_OUTPUT_DIR WRS_HW_DIR
wrs_echo "--- Deploying FPGA firmware"
mkdir -p ${WRS_OUTPUT_DIR}/images/wr
mkdir -p ${WRS_OUTPUT_DIR}/images/wr/lib
mkdir -p ${WRS_OUTPUT_DIR}/images/wr/lib/firmware
cp ${WRS_HW_DIR}/syn/scb_8ports/scb_top_synthesis.bin ${WRS_OUTPUT_DIR}/images/wr/lib/firmware/8ports_mb.bin
cp ${WRS_HW_DIR}/rt/rt_cpu.bin ${WRS_OUTPUT_DIR}/images/wr/lib/firmware/rt_cpu.bin
......@@ -113,7 +113,8 @@ wrs_build_step 04-kernel wrs_build_kernel
wrs_build_step 05-modules wrs_build_modules
wrs_build_step 06-ptp-noposix wrs_build_ptp_noposix
wrs_build_step 07-wrs-userspace wrs_build_userspace
wrs_build_step 08-wrap-rootfs wrs_build_wraprootfs
wrs_build_step 08-wrs-gateware wrs_build_gateware
wrs_build_step 09-wrap-rootfs wrs_build_wraprootfs
if $failed_step; then
wrs_die "One or more build steps failed"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment