Skip to content

Commit

Permalink
finish flashing firmware
Browse files Browse the repository at this point in the history
  • Loading branch information
grg-haas committed Jun 17, 2024
1 parent a05ca2b commit 86203dd
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions scripts/ci/plat/cva6/flash-firmware.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,12 @@ echo 'a' > "$TTYDEV"

rm -f "$TFTP_DIR/fw_payload.bin"
cp "$FIRMWARE_FILENAME" "$TFTP_DIR/fw_payload.bin"

echo "setenv serverip $HOST_IP" > "$TTYDEV" ; sleep 1
echo "setenv ipaddr $BOARD_IP" > "$TTYDEV" ; sleep 1
echo "tftp fw_payload.bin" > "$TTYDEV"

sleep 10
echo "tftp fw_payload.bin" > "$TTYDEV" ; sleep 1
echo "mmc write 80200000 800 1800" > "$TTYDEV" ; sleep 1

stop_record_tty cva6-tty
#power_off

power_off
exit 0

0 comments on commit 86203dd

Please sign in to comment.