24 lines
594 B
Bash
Executable File
24 lines
594 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
set -x
|
|
|
|
#dst=femu:nixos/
|
|
dst=fpgalogin1:nixos/
|
|
|
|
if [ "$1" != "" ]; then
|
|
dst="$1"
|
|
fi
|
|
|
|
#rsync -a fpga/fpgactl "$dst"
|
|
#rsync -a fpga/boot.sh "$dst"
|
|
rsync -a fpga/env.sh "$dst"
|
|
#rsync "$OPENSBI/share/opensbi/lp64/fpga/openpiton/firmware/fw_payload.bin" "$dst/opensbi.bin"
|
|
rsync "$OPENSBI/share/opensbi/lp64d/fpga/ox_alveo/firmware/fw_payload.bin" "$dst/opensbi.bin"
|
|
rsync "$KERNEL/Image" "$dst/kernel.bin"
|
|
rsync "$INITRD/initrd" "$dst/initrd.bin"
|
|
rsync "$ROOTFS/sd-image/rootfs.img" "$dst/rootfs.img"
|
|
rsync "$UBOOT_ENV" "$dst/uboot.env"
|
|
|
|
echo "Now go to $dst and run ./boot.sh"
|