Commit graph

162 commits

Author SHA1 Message Date
iceman1001
5ac1ae2e06 when in bootrom mode, the arg0 variable needed to be zeroed out before usage. We assign arg0 from a message before but we can discard that information in this particular case. Its quite odd to see the assignment failing but empty it out seems to have fixed it. 2024-10-16 09:36:37 +02:00
iceman1001
b881bbbd00 Revert "Release v4.18994 - Backdoor"
This reverts commit cd6dc880ad.
2024-09-10 15:40:28 +02:00
iceman1001
cd6dc880ad Release v4.18994 - Backdoor 2024-09-10 15:40:28 +02:00
iceman1001
7329dcd3bf Revert "Release v4.18589 - Aurora"
This reverts commit aceed281e8.
2024-05-28 10:36:32 +02:00
iceman1001
aceed281e8 Release v4.18589 - Aurora 2024-05-28 10:36:32 +02:00
iceman1001
6abb217a18 fix shadowed variable 2024-05-14 10:10:12 +02:00
iceman1001
5a8917c1d0 Revert "Release v4.18341 - Zenith"
This reverts commit 70582c6828.
2024-03-20 23:31:54 +01:00
iceman1001
70582c6828 Release v4.18341 - Zenith 2024-03-20 23:31:54 +01:00
iceman1001
db616ce7bf style 2024-01-24 17:12:56 +01:00
Martijn Plak
6202da367f coding style 2024-01-24 17:05:37 +01:00
Martijn Plak
1d14bc38c5 Rename CMD_READ_MEM_DOWNLOAD flag.
It got included in pm3_cmd.lua but shouldn't be because it's not a command.
Also, the bitshift in the value upsets some versions of lua.
2024-01-24 16:36:52 +01:00
iceman1001
081ff216eb style 2024-01-23 15:28:50 +01:00
Martijn Plak
ebdd30e92c readmem (ARM): boundary check against end of addressable space 2024-01-23 08:41:53 +01:00
Martijn Plak
e35385fde1 Adding processor flash memory reading, viewing and writing to file.
Works when the device is running either osimage or bootloader.

- New memory reading command in osimage and bootloader.
- Extended 'hw readmem' command with length parameter, file writing and hex viewer.
- Introduced '--dumpmem' option to proxmark3 executable to support dumping from bootloader.

Simple interactive examples:
  hw readmem -f flashdump
  hw readmem -l 1024
CLI example:
  ./pm3 --dumpmem flashdump.bin

Reading from arbitrary memory ranges can be unlocked using the 'raw' option.
2024-01-22 16:40:05 +01:00
wh201906
00686a91d0
Ignore button jitters in bootloader mode 2024-01-03 15:39:50 +08:00
iceman1001
b1a1ca8827 Revert "Release v4.17768 - Steamboat Willie"
This reverts commit 57eeb712fd.
2024-01-03 01:59:39 +01:00
iceman1001
57eeb712fd Release v4.17768 - Steamboat Willie 2024-01-03 01:59:39 +01:00
nvx
d3a90a5da3 Clear bss on bootloader start.
This fixes a bug with the USB device serial number sometimes not working in bootloader mode.
2023-12-14 20:33:00 +10:00
iceman1001
e41019e584 the renumerations of USB seems to time critical. Prolonging the delay seems to improve it. Thanks to @NVX / @HenryGab for looking into it 2023-12-14 00:36:07 +01:00
Philippe Teuwen
4f9016814e Revert "Release v4.17511 - Faraday"
This reverts commit 6e9df18de6.
2023-11-13 10:19:09 +01:00
Philippe Teuwen
6e9df18de6 Release v4.17511 - Faraday 2023-11-13 10:19:09 +01:00
iceman1001
f9877f79de Revert "Release v4.17140 - Raccoon"
This reverts commit 6ca0ce704a.
2023-09-09 11:00:00 +02:00
iceman1001
6ca0ce704a Release v4.17140 - Raccoon 2023-09-09 11:00:00 +02:00
Philippe Teuwen
cb72897b17 mkversion.sh: now regenerates version_pm3.c (and consequently the binaries) only when needed
and add --force to forcibly regenerate version_pm3.c

and small fixes:
* document mkversion.sh usage
* remove call to mkversion.sh in client/experimental_lib/CMakeLists.txt on release
* remove call to old `mkversion.pl` in bootrom/Makefile
* just in case, mkversion.sh takes care of atomic write of the file
2023-08-03 01:03:24 +02:00
iceman1001
c7d004de63 Revert "Release v4.16717 - seven"
This reverts commit bc18dbd847.
2023-06-26 13:10:45 +02:00
iceman1001
bc18dbd847 Release v4.16717 - seven 2023-06-26 13:10:45 +02:00
Self Not Found
d33fbf1347
Fix units 2023-04-06 20:54:00 +08:00
Henry Gabryjelski
48ca513a96 updates from make style 2023-02-17 17:27:07 -08:00
Henry Gabryjelski
44676bde72 Bootrom: Enable serial number from flash
* Add `.ramfunc` section to bootrom loader script
* exclude spiffs functionality from flashmem.h/flashmem.c
   (allows bootrom to use flashmem)
* hide unused tick.h / flashmem.h functions from bootrom
   (not technically necessary; see comments)
* bootrom: add source files, include path, and defines when
  `PLATFORM_DEFS` defines `WITH_FLASH`
* Define `AS_BOOTROM` to indicate code is building for bootrom
2023-02-17 17:07:13 -08:00
iceman1001
2bd404b496 Revert "Release v4.16191 - Nitride"
This reverts commit bec61e9185.
2023-01-29 20:35:17 +01:00
iceman1001
bec61e9185 Release v4.16191 - Nitride 2023-01-29 20:35:17 +01:00
nvx
e6ecc5320f Update armsrc and bootrom Makefiles with a .FORCE PHONY target for version_pm3.c
This fixes issues in ProxSpace where the firmware .elf files are sometimes not rebuilt
2023-01-09 00:57:28 +10:00
iceman1001
063e2da49d Revert "Release v4.15864 - Radium"
This reverts commit 93ca7b4f6e.
2022-10-29 01:34:05 +02:00
iceman1001
93ca7b4f6e Release v4.15864 - Radium 2022-10-29 01:34:05 +02:00
Philippe Teuwen
9ebda88386 Add INSTALLSUDO param in Makefile.platform to limit sudo to install commands, better than sudo make install... 2022-05-03 19:04:36 +02:00
iceman1001
1731695483 Revert "Release v4.14831 - Frostbit"
This reverts commit 0b65f2bc9e.
2022-01-11 19:17:19 +01:00
iceman1001
0b65f2bc9e Release v4.14831 - Frostbit 2022-01-11 19:17:19 +01:00
iceman1001
b98d518fd7 style 2022-01-06 19:41:45 +01:00
Philippe Teuwen
b703bb746b Adapting license headers, WIP 2022-01-06 02:20:38 +01:00
Philippe Teuwen
88308ea727 typos 2021-10-10 01:35:45 +02:00
Philippe Teuwen
4d46c1907f Added CROSS_CC and similar args for maintainers, see Maintainers.md 2021-09-21 13:50:15 +02:00
iceman1001
d3696ee2c3 Revert "Release v4.14434 - crimson"
This reverts commit 2c4c676db2.
2021-09-18 21:44:56 +02:00
iceman1001
2c4c676db2 Release v4.14434 - crimson 2021-09-18 21:44:55 +02:00
merlokk
d46d23d079 make style 2021-08-25 14:44:06 +03:00
Philippe Teuwen
0384359aa4 icopyx bootloader safeguard 2021-08-21 23:52:15 +02:00
Philippe Teuwen
d56d8f0f65 rename common_area typedef and global 2021-08-21 23:29:56 +02:00
iceman1001
f0c1665427 Revert "Release v4.13441 - midsummer"
This reverts commit 55e1b6714b.
2021-06-25 23:39:10 +02:00
iceman1001
55e1b6714b Release v4.13441 - midsummer 2021-06-25 23:39:10 +02:00
Philippe Teuwen
a330401769 change strategy for refs to linker symbols to get compatible again with old GCC (6.3), tested on GCC 11 too 2021-05-25 16:47:13 +02:00
Philippe Teuwen
9a00ad0230 rename version.c into version_pm3.c to avoid clash with mbedtls and other future clashes 2021-05-21 00:15:20 +02:00