Copy both FPGA files to SD card

This commit is contained in:
Joris van Rantwijk 2024-10-11 00:17:08 +02:00
parent 4814275863
commit 2bf8b9f938
2 changed files with 3 additions and 3 deletions

View File

@ -35,5 +35,5 @@ if [ ! -f "$SDCARD_DIR/dropbear_ed25519_host_key" ]; then
fi
# Copy FPGA firmware
cp -a "$FIRMWARE_FILE" "$SDCARD_DIR"
cp -a $FIRMWARE_FILES "$SDCARD_DIR"

View File

@ -17,8 +17,8 @@ LINUX_DIR="linux-xlnx"
BOOTIMG_DIR="boot_img"
SDCARD_DIR="sdcard_files"
XSA_FILE="../fpga/vivado/output/redpitaya_puzzlefw.xsa"
FIRMWARE_FILE="../fpga/vivado/output/puzzlefw_top.bit.bin"
XSA_FILE="../fpga/redpitaya_puzzlefw.xsa"
FIRMWARE_FILES="../fpga/puzzlefw_top.bit.bin ../fpga/puzzlefw_top_4ch.bit.bin"
setup_toolchain () {
if [ ! -x "$TOOLCHAIN_DIR/arm-linux-gcc" ]; then