mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-13 10:09:30 +00:00
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:
@@ -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 *
|
||||||
|
|||||||
@@ -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
|
||||||
@@ -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.
@@ -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.
Reference in New Issue
Block a user