-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed the need for an autoBuild branch
- Loading branch information
1 parent
9c2ccd0
commit c164ab4
Showing
11 changed files
with
223 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
@echo off | ||
color 0a | ||
MODE CON COLS=80 LINES=36 | ||
title Bootrom FLASH FILE | ||
echo. | ||
echo. | ||
echo. | ||
echo ============================================================================= | ||
echo ©¦!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! O__O !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!©¦ | ||
echo ©¦=========================================================================©¦ | ||
echo ©¦Bootrom-ONLY FLASHER BATCH FILE ©¦ | ||
echo ©¦ ©¦ | ||
echo ©¦you will need to have this file (FLASH - Bootrom.bat) in \win32 folder ©¦ | ||
echo ©¦you will need to have flasher.exe in \win32 folder ©¦ | ||
echo ©¦you will need to have bootrom.elf in \firmware_win\bootrom folder ©¦ | ||
echo ©¦ ©¦ | ||
echo ©¦ ©¦ | ||
echo ©¦ ! FLASHING BOOTROM CAN BE EXTREMELY DANGEROUS ! ©¦ | ||
echo ©¦ ! FLASHING BOOTROM CAN BE EXTREMELY DANGEROUS ! ©¦ | ||
echo ©¦ ! FLASHING BOOTROM CAN BE EXTREMELY DANGEROUS ! ©¦ | ||
echo ©¦ ! FLASHING BOOTROM CAN BE EXTREMELY DANGEROUS ! ©¦ | ||
echo ©¦ ! FLASHING BOOTROM CAN BE EXTREMELY DANGEROUS ! ©¦ | ||
echo ©¦ ! FLASHING BOOTROM CAN BE EXTREMELY DANGEROUS ! ©¦ | ||
echo ©¦ ! FLASHING BOOTROM CAN BE EXTREMELY DANGEROUS ! ©¦ | ||
echo ©¦ ! FLASHING BOOTROM CAN BE EXTREMELY DANGEROUS ! ©¦ | ||
echo ©¦ ! FLASHING BOOTROM CAN BE EXTREMELY DANGEROUS ! ©¦ | ||
echo ©¦ ! FLASHING BOOTROM CAN BE EXTREMELY DANGEROUS ! ©¦ | ||
echo ©¦ ! FLASHING BOOTROM CAN BE EXTREMELY DANGEROUS ! ©¦ | ||
echo ©¦ ©¦ | ||
echo ©¦ ©¦ | ||
echo ©¦IF YOU HAVE THOSE REQUISITES ©¦ | ||
echo ©¦ HIT ANY BUTTON TO CONTINUE AT YOUR OWN RISK !!! ©¦ | ||
echo ©¦-------------------------------------------------------------------------©¦ | ||
echo ============================================================================= | ||
pause. | ||
|
||
cls | ||
echo. | ||
echo ==================================== | ||
echo FLASHING bootrom.elf, please wait... | ||
echo ==================================== | ||
echo. | ||
flasher.exe com5 -b ..\firmware_win\bootrom\bootrom.elf | ||
|
||
pause. | ||
|
||
cls | ||
title DONE | ||
echo. | ||
echo ___/ \___/ \___/ \___/ \___/ \___/ \___/ \___/ \___ | ||
echo / \___/ \___/ \___/ \___/ \___/ \___/ \___/ \___/ \ | ||
echo \___/ \___/ \___/ \___/ \___/ \___/ \___/ \___/ \___/ | ||
echo / \___/ \___/ \ | ||
echo \___/ \___/ | ||
echo / \ / \ | ||
echo \___/ \___/ | ||
echo / \ FLASHING OPERATION SUCCESSFUL ! Enjoy it ! / \ | ||
echo \___/ \___/ | ||
echo / \ / \ | ||
echo \___/ \___/ | ||
echo / \ BATCH FILE BY ASPER / \ | ||
echo \___/ \___/ | ||
echo / \ / \ | ||
echo \___/ \___/ | ||
echo / \___ ___/ \ | ||
echo \___/ \___ ___ ___ ___ ___ ___ ___/ \___/ | ||
echo / \___/ \___/ \___/ \___/ \___/ \___/ \___/ \___/ \ | ||
echo \___/ \___/ \___/ \___/ \___/ \___/ \___/ \___/ \___/ | ||
echo \___/ \___/ \___/ \___/ \___/ \___/ \___/ \___/ | ||
|
||
echo. | ||
pause. | ||
cls | ||
MODE CON COLS=130 LINES=36 | ||
cmd.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
@echo off | ||
color 0a | ||
MODE CON COLS=80 LINES=36 | ||
title FPGA FLASH FILE | ||
echo. | ||
echo. | ||
echo. | ||
echo ========================================================================== | ||
echo ©¦!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! O__O !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!©¦ | ||
echo ©¦======================================================================©¦ | ||
echo ©¦FULLIMAGE FLASHER BATCH FILE ©¦ | ||
echo ©¦ ©¦ | ||
echo ©¦you will need to have this batch in \win32 folder ©¦ | ||
echo ©¦you will need to have flasher.exe in \win32 folder ©¦ | ||
echo ©¦you will need to have fullimage.elf in \firmware_win folder ©¦ | ||
echo ©¦ ©¦ | ||
echo ©¦ ©¦ | ||
echo ©¦IF YOU HAVE THOSE REQUISITES HIT ANY BUTTON TO CONTINUE ! ©¦ | ||
echo ©¦----------------------------------------------------------------------©¦ | ||
echo ========================================================================== | ||
pause. | ||
|
||
cls | ||
echo. | ||
echo ====================================== | ||
echo FLASHING fullimage.elf, please wait... | ||
echo ====================================== | ||
echo. | ||
flasher.exe com5 -b ..\firmware_win\fullimage.elf | ||
|
||
pause. | ||
|
||
cls | ||
title DONE | ||
echo. | ||
echo ___/ \___/ \___/ \___/ \___/ \___/ \___/ \___/ \___ | ||
echo / \___/ \___/ \___/ \___/ \___/ \___/ \___/ \___/ \ | ||
echo \___/ \___/ \___/ \___/ \___/ \___/ \___/ \___/ \___/ | ||
echo / \___/ \___/ \ | ||
echo \___/ \___/ | ||
echo / \ / \ | ||
echo \___/ \___/ | ||
echo / \ FLASHING OPERATION SUCCESSFUL ! Enjoy it ! / \ | ||
echo \___/ \___/ | ||
echo / \ / \ | ||
echo \___/ \___/ | ||
echo / \ BATCH FILE BY ASPER / \ | ||
echo \___/ \___/ | ||
echo / \ / \ | ||
echo \___/ \___/ | ||
echo / \___ ___/ \ | ||
echo \___/ \___ ___ ___ ___ ___ ___ ___/ \___/ | ||
echo / \___/ \___/ \___/ \___/ \___/ \___/ \___/ \___/ \ | ||
echo \___/ \___/ \___/ \___/ \___/ \___/ \___/ \___/ \___/ | ||
echo \___/ \___/ \___/ \___/ \___/ \___/ \___/ \___/ | ||
|
||
echo. | ||
pause. | ||
cls | ||
MODE CON COLS=130 LINES=36 | ||
cmd.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
proxmark3 COM5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[Paths] | ||
Plugins=. |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
#!/bin/bash | ||
pm3Dir=/pm3 | ||
buildDir=/build | ||
finishedDir=/finished | ||
qtDir=/qt | ||
mingwDir=/mingw | ||
|
||
cd $pm3Dir | ||
for i in $( ls ); do | ||
echo Processing: $i | ||
cd $pm3Dir/$i | ||
git fetch | ||
git pull | ||
hash=$(git rev-parse HEAD) | ||
date=$(date +%Y%m%d) | ||
if ! ls $finishedDir/$i/*-$hash.zip 1> /dev/null 2>&1; then | ||
make clean | ||
make all | ||
if [ $? -eq 0 ]; then | ||
mkdir -p $buildDir/$i/win32/lualibs | ||
mkdir -p $buildDir/$i/win32/scripts | ||
mkdir -p $buildDir/$i/win32/hardnested | ||
mkdir -p $buildDir/$i/win32/platforms | ||
mkdir -p $buildDir/$i/firmware_win/bootrom | ||
mkdir -p "$buildDir/$i/Windows Driver" | ||
mkdir -p "$buildDir/$i/firmware_win/JTAG Only" | ||
mkdir -p $finishedDir/$i | ||
rm -rf $buildDir/$i/win32/lualibs/* | ||
rm -rf $buildDir/$i/win32/scripts/* | ||
rm -rf $buildDir/$i/win32/hardnested/* | ||
cp $qtDir/bin/Qt5Core.dll $buildDir/$i/win32 | ||
cp $qtDir/bin/Qt5Gui.dll $buildDir/$i/win32 | ||
cp $qtDir/bin/Qt5Widgets.dll $buildDir/$i/win32 | ||
cp $qtDir/bin/libstdc++-6.dll $buildDir/$i/win32 | ||
cp $mingwDir/bin/readline5.dll $buildDir/$i/win32 | ||
cp $qtDir/bin/libwinpthread-1.dll $buildDir/$i/win32 | ||
cp $qtDir/bin/libgcc_s_dw2-1.dll $buildDir/$i/win32 | ||
cp $qtDir/plugins/platforms/qwindows.dll $buildDir/$i/win32/platforms | ||
cp -r /autobuild/* $buildDir/$i | ||
cp $pm3Dir/$i/client/proxmark3.exe $buildDir/$i/win32 | ||
cp $pm3Dir/$i/client/flasher.exe $buildDir/$i/win32 | ||
cp $pm3Dir/$i/client/*.dic $buildDir/$i/win32 | ||
cp $pm3Dir/$i/client/lualibs/* $buildDir/$i/win32/lualibs | ||
cp $pm3Dir/$i/client/scripts/* $buildDir/$i/win32/scripts | ||
cp -r $pm3Dir/$i/client/hardnested/* $buildDir/$i/win32/hardnested | ||
rm $buildDir/$i/win32/hardnested/*.h | ||
rm $buildDir/$i/win32/hardnested/*.c | ||
cp $pm3Dir/$i/armsrc/obj/fullimage.elf $buildDir/$i/firmware_win | ||
cp $pm3Dir/$i/armsrc/obj/fullimage.s19 $buildDir/$i/firmware_win | ||
cp $pm3Dir/$i/bootrom/obj/bootrom.elf $buildDir/$i/firmware_win/bootrom | ||
cp $pm3Dir/$i/bootrom/obj/bootrom.s19 $buildDir/$i/firmware_win/bootrom | ||
cp $pm3Dir/$i/recovery/bootrom.bin "$buildDir/$i/firmware_win/JTAG Only" | ||
cp $pm3Dir/$i/recovery/fullimage.bin "$buildDir/$i/firmware_win/JTAG Only" | ||
cp $pm3Dir/$i/recovery/proxmark3_recovery.bin "$buildDir/$i/firmware_win/JTAG Only" | ||
cp $pm3Dir/$i/driver/proxmark3.inf "$buildDir/$i/Windows Driver" | ||
cd $buildDir/$i | ||
zip -r $finishedDir/$i/$date-$hash.zip ./* | ||
else | ||
echo $i failed | ||
fi | ||
fi | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
@echo off | ||
REM ******************************************* | ||
REM CHANGE THIS PATH TO MATCH YOUR INSTALLATION | ||
REM ******************************************* | ||
set MYPATH=%~dp0 | ||
set autobuild=true | ||
|
||
echo #Win32_Path Mount_Point >msys/etc/fstab | ||
echo %MYPATH%devkitARM /devkitARM >>msys/etc/fstab | ||
echo %MYPATH%Qt\5.6 /qt >>msys/etc/fstab | ||
echo %MYPATH%pm3 /pm3 >>msys/etc/fstab | ||
echo %MYPATH%build /build >>msys/etc/fstab | ||
echo %MYPATH%finished /finished >>msys/etc/fstab | ||
msys\msys.bat |