Skip to content

Commit 7307775

Browse files
committed
fix: rename dtb name
1 parent 587ba65 commit 7307775

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

runner.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1260,15 +1260,13 @@ shell_generate_compose_file() {
12601260
" - -c" \
12611261
" - |" \
12621262
" set -e" \
1263-
" mkdir -p /home/runner/board /home/runner/tftp" \
1263+
" mkdir -p /home/runner/board" \
12641264
" cd /home/runner/board" \
12651265
" echo \"Attempting to download visionfive2 files...\"" \
12661266
" if curl -fsSL --connect-timeout 30 --max-time 300 https://github.com/user-attachments/files/26230373/visionfive2.tar.gz -o visionfive2.tar.gz; then" \
12671267
" echo \"Download successful, extracting...\"" \
12681268
" tar -xzf visionfive2.tar.gz" \
12691269
" echo \"Extraction completed\"" \
1270-
" echo \"Syncing visionfive2 files to /home/runner/tftp...\"" \
1271-
" find . -mindepth 1 -maxdepth 1 ! -name visionfive2.tar.gz -exec cp -a {} /home/runner/tftp/ \\;" \
12721270
" else" \
12731271
" echo \"Download failed, continuing with existing files if any...\"" \
12741272
" fi" \
@@ -1292,7 +1290,7 @@ shell_generate_compose_file() {
12921290
" BOARD_POWER_ON: \"mbpoll -m rtu -a 1 -r 1 -t 0 -b 38400 -P none -v /dev/ttyUSB7 1\"" \
12931291
" BOARD_POWER_OFF: \"mbpoll -m rtu -a 1 -r 1 -t 0 -b 38400 -P none -v /dev/ttyUSB7 0\"" \
12941292
" BOARD_POWER_RESET: \"mbpoll -m rtu -a 1 -r 1 -t 0 -b 38400 -P none -v /dev/ttyUSB7 0 && sleep 2 && mbpoll -m rtu -a 1 -r 1 -t 0 -b 38400 -P none -v /dev/ttyUSB7 1\"" \
1295-
" BOARD_DTB: \"/home/runner/board/jh7110-visionfive-v2.dtb\"" \
1293+
" BOARD_DTB: \"/home/runner/board/visionfive2.dtb\"" \
12961294
" BOARD_COMM_UART_DEV: \"/dev/ttyUSB6\"" \
12971295
" BOARD_COMM_UART_BAUD: \"115200\"" \
12981296
" BOARD_COMM_NET_IFACE: \"eno2np1\"" \

0 commit comments

Comments
 (0)