Update HackRF flashing utilities for Windows (#3067)

* Update flasher for windows

* Updated scripts

* Fix echo statement formatting in flash script

* Fix echo statement formatting in flash script
This commit is contained in:
jLynx
2026-03-04 07:22:19 +00:00
committed by GitHub
parent 584587d814
commit 25556428a7
19 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ jobs:
unzip world_map.zip -d sdcard/ADSB unzip world_map.zip -d sdcard/ADSB
- name: Prepare Firmware ZIP - name: Prepare Firmware ZIP
run: | run: |
cp build/hackrf/firmware/hackrf_usb/hackrf_usb.dfu flashing/utils/hackrf_one_usb.dfu && cp build/hackrf/firmware/hackrf_usb/hackrf_usb.bin flashing/utils/hackrf_one_usb.bin cp build/hackrf/firmware/hackrf_usb/hackrf_usb.dfu flashing/utils/hackrf_usb.dfu && cp build/hackrf/firmware/hackrf_usb/hackrf_usb.bin flashing/utils/hackrf_usb.bin
- name: Create Firmware ZIP - name: Create Firmware ZIP
run: | run: |
zip -j firmware.zip build/firmware/portapack-mayhem-firmware.bin && cd flashing && zip -r ../firmware.zip * zip -j firmware.zip build/firmware/portapack-mayhem-firmware.bin && cd flashing && zip -r ../firmware.zip *
+1 -1
View File
@@ -55,7 +55,7 @@ jobs:
unzip world_map.zip -d sdcard/ADSB unzip world_map.zip -d sdcard/ADSB
- name: Prepare Firmware ZIP - name: Prepare Firmware ZIP
run: | run: |
cp build/hackrf/firmware/hackrf_usb/hackrf_usb.dfu flashing/utils/hackrf_one_usb.dfu && cp build/hackrf/firmware/hackrf_usb/hackrf_usb.bin flashing/utils/hackrf_one_usb.bin cp build/hackrf/firmware/hackrf_usb/hackrf_usb.dfu flashing/utils/hackrf_usb.dfu && cp build/hackrf/firmware/hackrf_usb/hackrf_usb.bin flashing/utils/hackrf_usb.bin
- name: Create Firmware ZIP - name: Create Firmware ZIP
run: | run: |
zip -j firmware.zip build/firmware/portapack-mayhem-firmware.bin && cd flashing && zip -r ../firmware.zip * zip -j firmware.zip build/firmware/portapack-mayhem-firmware.bin && cd flashing && zip -r ../firmware.zip *
@@ -14,6 +14,6 @@ echo.
pause pause
echo. echo.
"utils/dfu-util-static.exe" --device 1fc9:000c --download "utils/hackrf_one_usb.dfu" --reset "utils/dfu-util-static.exe" --device 1fc9:000c --download "utils/hackrf_usb.dfu" --reset
echo. echo.
pause pause
+3 -3
View File
@@ -21,12 +21,12 @@ if not exist portapack-mayhem-firmware.bin (
exit /b exit /b
) )
"utils/hackrf_update.exe" portapack-mayhem-firmware.bin "utils/hackrf_spiflash.exe" -w portapack-mayhem-firmware.bin
echo. echo.
echo If your device never boot after flashing, please refer to won't boot article" echo "If your device never boot after flashing, please refer to won't boot article"
echo. echo.
echo "click-to-open url: https://github.com/portapack-mayhem/mayhem-firmware/wiki/Won%%27t-boot" echo "click-to-open url: https://github.com/portapack-mayhem/mayhem-firmware/wiki/Won%%27t-boot"
echo "or echo "or"
echo "copy-and-paste url: https://github.com/portapack-mayhem/mayhem-firmware/wiki/Won't-boot" echo "copy-and-paste url: https://github.com/portapack-mayhem/mayhem-firmware/wiki/Won't-boot"
echo. echo.
pause pause
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -10,6 +10,6 @@ echo.
pause pause
echo. echo.
"utils/hackrf_update.exe" "utils/hackrf_one_usb.bin" "utils/hackrf_spiflash.exe" -w "utils/hackrf_usb.bin"
echo. echo.
pause pause
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.