Compare commits

...

3 Commits

Author SHA1 Message Date
jLynx fa0d229418 Adds firmware to cd card files (#1021)
* Adds firmware to cd card files

* Create deleteme.txt

* Delete deleteme.txt

* Creates the FIRMWARE dir

* Updated firmware file name
2023-05-21 15:36:05 +12:00
jLynx 28ed16d50b Updated flashing folder layout (#1020)
* Updated layout

* Moved normal hackRF flashing to utils as should not normally be needed
2023-05-21 14:59:50 +12:00
jLynx 01bcf18d03 Updated script (#1019) 2023-05-21 14:52:35 +12:00
11 changed files with 18 additions and 5 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ jobs:
zip -j firmware.zip build/firmware/portapack-h1_h2-mayhem.bin && cd flashing && zip -r ../firmware.zip *
- name: Create SD Card ZIP
run: |
zip -r sdcard.zip sdcard
mkdir -p sdcard/FIRMWARE && cp build/firmware/portapack-h1_h2-mayhem.bin sdcard/FIRMWARE/portapack-mayhem_${{ steps.version_date.outputs.date }}.bin && zip -r sdcard.zip sdcard
- name: Create changelog
run: |
CHANGELOG=$(python3 .github/workflows/changelog.py)
+1 -1
View File
@@ -36,7 +36,7 @@ jobs:
zip -j firmware.zip build/firmware/portapack-h1_h2-mayhem.bin && cd flashing && zip -r ../firmware.zip *
- name: Create SD Card ZIP
run: |
zip -r sdcard.zip sdcard
mkdir -p sdcard/FIRMWARE && cp build/firmware/portapack-h1_h2-mayhem.bin sdcard/FIRMWARE/portapack-mayhem_${{ steps.version.outputs.version }}.bin && zip -r sdcard.zip sdcard
- name: Create changelog
run: |
CHANGELOG=$(python3 .github/workflows/stable_changelog.py ${{ steps.past_version.outputs.past_version }})
+3 -1
View File
@@ -1 +1,3 @@
Plug HackRF+Portapack, set it in HackRF mode, launch flash_portapack_mayhem.bat
Plug HackRF+Portapack, set it in HackRF mode, launch flash_portapack_mayhem.bat
Read https://github.com/eried/portapack-mayhem/wiki/Update-firmware for more detailed information
+12 -1
View File
@@ -10,7 +10,18 @@ echo.
pause
echo.
hackrf_update.exe portapack-h1_h2-mayhem.bin
REM Check if the firmware file exists
if not exist portapack-h1_h2-mayhem.bin (
echo The firmware file "portapack-h1_h2-mayhem.bin" does not exist.
echo Please ensure that you have downloaded the latest release from:
echo https://github.com/eried/portapack-mayhem/releases/
echo.
pause
exit /b
)
"utils/hackrf_update.exe" portapack-h1_h2-mayhem.bin
echo.
echo If your device never boot after flashing, please refer to https://github.com/eried/portapack-mayhem/wiki/Won't-boot
echo.
@@ -10,6 +10,6 @@ echo.
pause
echo.
hackrf_update.exe hackrf_one_usb.bin
"utils/hackrf_update.exe" "utils/hackrf_one_usb.bin"
echo.
pause
View File