Commit Graph

164 Commits

Author SHA1 Message Date
Sujit Konapur 0577f6f321 fix: use strip() when comparing PLATFORM_DEFS to avoid spurious rebuilds
PLATFORM_DEFS is built with += on an initially empty variable, which
produces a leading space in GNU make. The cached value written to
.Makefile.options.cache has no leading space, so the ifneq comparison
always evaluates to true, causing PLATFORM_CHANGED=true on every
invocation and triggering a clean of bootrom/armsrc/recovery after
every build.
2026-03-09 23:26:45 -07:00
Philippe Teuwen 64247b33b1 Init PLATFORM_DEFS 2026-03-01 21:00:05 +01:00
iceman1001 338ab9c81a Revert "Release v4.21128 - Permafrost"
This reverts commit b10235b03b.
2026-02-25 16:15:01 +01:00
iceman1001 b10235b03b Release v4.21128 - Permafrost 2026-02-25 16:15:01 +01:00
Aaron Tulino (Aaronjamt) c0e82539f2 [hf seos] Simulate support 2025-12-21 04:26:44 -07:00
iceman1001 b097e10aa3 this commit refactors the signature checks. First we introduce a common pm3 generic private / public key pair in order to allow for users to self sign their own modded device. The verification checks now looks at both hard coded public keys. If a vendor wants to add their own public key thus allowing for a simple way for us to identify their devices they can now do so. The downside is that the firmware mismatch detection becomes a bit dodgy. mem info; mem info -v; mem info -s -p <filename.pem>; mem info -s -p <filename.pem> -w contains the changes. OBS! when -w be careful to not overwrite your genuine RDV4 signature. As always, with great power comes great responsibility 2025-09-25 19:44:36 +02:00
iceman1001 45d869e87a change "mem wipe" / "mem info" to use NG.\nsome more style changes 2025-09-12 22:06:37 +02:00
iceman1001 628d8633f7 Revert "Release v4.20728 - Phrack"
This reverts commit ee9b3f4acb.
2025-09-11 20:31:08 +02:00
iceman1001 ee9b3f4acb Release v4.20728 - Phrack 2025-09-11 20:31:08 +02:00
iceman1001 65607fc727 added Ultralight-C simulation. hf mfu sim -t 13. Use eload first. Also added support to upload UL-C dictionaries and UL-AES to spiffs memory. A lot of textual reworked across client. Unifiy texts and a bit more color ;) 2025-06-19 17:26:20 +02:00
iceman1001 1f718683b3 Revert "Release v4.20469 - Daddy Iceman"
This reverts commit 9fa173c727.
2025-06-16 16:18:01 +02:00
iceman1001 9fa173c727 Release v4.20469 - Daddy Iceman 2025-06-16 16:18:01 +02:00
iceman1001 2d610b8dc0 text & style 2025-06-08 10:02:00 +02:00
Jakub Kramarz 9744f8afbb Add option to override default USART baud rate in platform settings 2025-05-09 15:53:30 +02:00
iceman1001 6ed1853320 Revert "Release v4.20142 - Blue Ice"
This reverts commit a657dbda9b.
2025-03-25 16:18:49 +01:00
iceman1001 a657dbda9b Release v4.20142 - Blue Ice 2025-03-25 16:18:49 +01:00
Jakub Kramarz 15a37ef9df seos_sam: ran make style 2025-01-07 00:30:49 +01:00
Jakub Kramarz 032619c1f3 armsrc/ticks.c: disable TC2 on StopTicks (may be enabled by StartCountSspClk) 2025-01-07 00:04:48 +01:00
Piotr Rzeszut d9a3e4f050 Refactor keys in flash statistics to check for files 2024-12-26 01:11:46 +01:00
ANTodorov bd803ce8fd rework to use smart SPI flash detection
Check JEDEC ID is in range between 0x0001 ... 0xFFFE,
Compare the output from 0x90 and 0x9F,
Then the size from the JEDEC ID

Otherwise fall-back to 256 kB

Extend the spi_flash_decode.py to handle more (known) SPI flash ICs
2024-12-03 09:40:57 +02:00
ANTodorov 639f16ba3b added JEDEC information for SPI flash W25Q64JV
added some "extrapolated" but logical matches by Manufacturer/Device ID only

some reordering
2024-11-28 11:04:32 +02:00
iceman1001 daff8228a2 Revert "Release v4.19552 - Orca"
This reverts commit a039ac18cc.
2024-11-22 12:15:19 +01:00
iceman1001 a039ac18cc Release v4.19552 - Orca 2024-11-22 12:15:19 +01:00
iceman1001 2ad635ce57 style 2024-11-20 23:32:02 +01:00
ANTodorov 76aaef96cc rework addressing the review comments
Reverted 'mfr_id' to 'manufacturer_id'
Moved devices table definition to flashmem.h
Single global variable 'spi_flash_pages64k'
The local structure holding the actual device data is used in firmware.c only

difference in code:
```
   text    data     bss     dec     hex filename
 223189  138560    6067  367816   59cc8 ./armsrc/obj/fullimage.elf <-- c9e751d darkside: fix backdoor support

 223437  138624    6075  368136   59e08 ./armsrc/obj/fullimage.elf <-- this commit
 ======================================
   +248     +64      +8    +320
```
2024-11-20 14:10:02 +02:00
ANTodorov f3fa732062 refactor spi flash detection 2024-11-19 09:35:26 +02:00
ANTodorov 68e354d7ef fix failed spi flash detection
fallback to 4 pages when SPI IC is unknown
some code styling
remove some unused code
2024-11-18 11:45:21 +02:00
ANTodorov 861c7efd26 fix missing offsets
the data was written, but it should be readable too...
2024-11-17 22:16:35 +02:00
ANTodorov 34e317a9df address review comments 2024-11-17 22:07:58 +02:00
ANTodorov 48ec109a1e use all spi flash v0.1
* introduced a new communication command CMD_FLASHMEM_PAGES64K to get the number of 64k pages
* "the last page" is a special, holding the dicts and some other stuff, relocated to there
* raised timeout when wiping a mem page (W25Q16 looks a bit slower than W25X20BV)
* loop all pages in Flash_WipeMemory()
2024-11-17 19:03:15 +02:00
iceman1001 3907be8017 fixing the other loop types 2024-11-15 19:28:36 +01:00
iceman1001 801c4a15e1 returns 0xFFFF but we assign it to 0xFF.. better to make it clear 2024-11-15 14:58:33 +01:00
iceman1001 2e4d02abc0 len was another type, so to make sure... 2024-11-15 14:58:06 +01:00
iceman1001 37383d86b9 adding of larger than uint8_t value in available gets truncated 2024-11-15 14:51:54 +01:00
nvx 5c195b8a14 fix ssp_clk sometimes resetting to 0 shortly after being started or reset
this could happen if TC2 was already 0 when it was started or reset
resulting in the initial reset not happening until TC0 had overflowed for
the first time as the delay to ensure this didn't happen would be missed
when TC2 was already 0

the new behaviour results in TIOA0 being toggled when a software trigger
of TC0 happens which makes TC2 reset immediately without having to wait
for TC0 to overflow
2024-11-04 22:04:05 +10:00
nvx df5e2ce05b improve cardhopper to improve reliability when parts of the packet are buffered 2024-11-02 19:53:23 +10:00
iceman1001 0c2ef9d3a8 style 2024-10-18 17:37:52 +02:00
Def ea797602f4 32mbit flash identification 2024-10-13 17:58:19 +03:00
Philippe Teuwen 2685ad0dc0 More flash identifications 2024-10-13 02:11:40 +02:00
Iceman c293a0c36b Merge pull request #2560 from libin-ka/libin-ka-patch-2
Update flashmem.c
2024-10-05 15:51:29 +03:00
libin-ka c1107601f4 Update flashmem.c
add W25Q16 devid

Signed-off-by: libin-ka <46210417+libin-ka@users.noreply.github.com>
2024-10-05 19:18:19 +08:00
libin-ka c7e5363ada Update flashmem.h
add W25Q16 devid

Signed-off-by: libin-ka <46210417+libin-ka@users.noreply.github.com>
2024-10-05 19:13:58 +08:00
iceman1001 ff765f569f change out some non-breaking wait for response from some command which shouldnt have it. Sniff / simulate / bruteforce should have it. and some minor text / style 2024-10-04 10:01:50 +02:00
ANTodorov 7ffab48e77 show SPI flash JEDEC data
Signed-off-by: ANTodorov <ANTodorov@users.noreply.github.com>
2024-10-02 14:11:34 +03: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
douniwan5788 80b9f6bb4d refactor: Renamed WITH_NO_COMPRESSION to WITH_COMPRESSION for consistent style 2024-09-04 22:48:55 +08:00
douniwan5788 9dd5b66c0a fix: FPGA config for ICOPYX 2024-08-26 20:56:36 +08:00
douniwan5788 413a17a7a6 feature: Make the FPGA bitstreams working with SKIP_* define.
Now, you can enable at least two of your favorite technologies (such as LF and HF 14443A) attached a standalone mode and still have spare ROM space for other functionalities on a Proxmark3 Easy with a 256KiB ROM.
2024-08-26 20:55:59 +08:00
douniwan5788 5d66bcfd75 fix: WITH_EM4x70. Get rid of the dependency on WITH_ICLASS. 2024-08-26 20:55:58 +08:00