Don't load an external bootrom

Unfortunalely the bootrom is included in the bitstream now.
This commit is contained in:
Rodrigo Arias 2024-08-29 14:41:09 +02:00
parent 2204a8ea56
commit b7d4a10a14

View File

@ -18,11 +18,11 @@ killall picocom || true
set -x
# Then perform the boot
./fpgactl -w bitstream.bit -R bootrom.bin -b opensbi.bin -k kernel.bin -i initrd.bin # -r rootfs.img
./fpgactl -w bitstream.bit -b opensbi.bin -k kernel.bin -i initrd.bin # -r rootfs.img
# Restart it again only loading the bootrom and OpenSBI (notice OpenSBI
# relocates itself so it will likely be gone by now)
sleep 1 && ./fpgactl -R bootrom.bin -b opensbi.bin &
sleep 1 && ./fpgactl -b opensbi.bin &
# Set dead switch
sleep 30 && killall picocom &