Proxmark3 小白入门 | 更新Proxmark3 固件

系统环境:macOS Mojave version 10.14.2

用 Proxmark3 客户端连接 Proxmark3

$ proxmark3 /dev/cu.usbmodem*****
#db# Prox/RFID mark3 RFID instrument
#db# bootrom: svn 834 2013-11-01 11:34:14
#db# os: svn 834 2013-11-01 11:34:18
#db# FPGA image built on 2012/ 1/ 6 at 15:27:56
Prox/RFID mark3 RFID instrument

uC: AT91SAM7S512 Rev B
Embedded Processor: ARM7TDMI
Nonvolatile Program Memory Size: 512K bytes. Used: 0 bytes ( 0). Free: 524288 bytes (100).
Second Nonvolatile Program Memory Size: None
Internal SRAM Size: 64K bytes
Architecture Identifier: AT91SAM7Sxx Series
Nonvolatile Program Memory Type: Embedded Flash Memory

固件版本也太老了吧!5~6年前的?OMG!让我来更新一下。

  1. 下载源代码
git clone https://github.com/Proxmark/proxmark3.git
  1. 编译 bootrom, OS and software
cd proxmark3
make clean; make
  1. 断开 Proxmark3 连接。然后按着Proxmark3上的按钮重新连接到电脑。 当看到橙色和红色灯亮了之后,就可以松开按钮。
  2. 查看 Proxmark3 的设备名
 ls /dev/cu*

类似这样 /dev/cu.usbmodem*****,就是 Proxmark3 设备名

  1. 更新 bootrom, FPGA and OS:
$ ./client/flasher /dev/cu.usbmodem**** -b bootrom/obj/bootrom.elf armsrc/obj/fullimage.elf
Loading ELF file 'bootrom/obj/bootrom.elf'...
Loading usable ELF segments:
0: V 0x00100000 P 0x00100000 (0x00000200->0x00000200) [R X] @0x94
1: V 0x00200000 P 0x00100200 (0x00000cd4->0x00000cd4) [R X] @0x298

Loading ELF file 'armsrc/obj/fullimage.elf'...
Loading usable ELF segments:
0: V 0x00102000 P 0x00102000 (0x0002ccf0->0x0002ccf0) [R X] @0x94
1: V 0x00200000 P 0x0012ecf0 (0x00001a64->0x00001a64) [RW ] @0x2cd84
Note: Extending previous segment from 0x2ccf0 to 0x2e754 bytes

Waiting for Proxmark to appear on /dev/cu.usbmodem***** .
 Found.
Entering bootloader...
(Press and release the button only to abort)
Waiting for Proxmark to appear on /dev/cu.usbmodem***** .....
 Found.

Flashing...
Writing segments for file: bootrom/obj/bootrom.elf
 0x00100000..0x001001ff [0x200 / 1 blocks]. OK
 0x00100200..0x00100ed3 [0xcd4 / 7 blocks]....... OK

Writing segments for file: armsrc/obj/fullimage.elf
 0x00102000..0x00130753 [0x2e754 / 372 blocks].................................................................................................................................................................................................................................................................................................................................................................................... OK

Resetting hardware...
All done.

Have a nice day!
  1. 查看更新后的固件信息
$ ./proxmark3 /dev/cu.usbmodem*****
Prox/RFID mark3 RFID instrument
bootrom: master/v3.1.0-35-g0d5545c-suspect 2018-12-28 02:14:13
os: master/v3.1.0-35-g0d5545c-suspect 2018-12-28 02:14:14
fpga_lf.bit built for 2s30vq100 on 2015/03/06 at 07:38:04
fpga_hf.bit built for 2s30vq100 on 2018/09/12 at 15:18:46
SmartCard Slot: not available

uC: AT91SAM7S512 Rev B
Embedded Processor: ARM7TDMI
Nonvolatile Program Memory Size: 512K bytes. Used: 198484 bytes (38). Free: 325804 bytes (62).
Second Nonvolatile Program Memory Size: None
Internal SRAM Size: 64K bytes
Architecture Identifier: AT91SAM7Sxx Series
Nonvolatile Program Memory Type: Embedded Flash Memory

Yeah,搞定了,没有玩坏诶!

参考链接:
Proxmark3 Getting-Started

你可能感兴趣的:(Proxmark3 小白入门 | 更新Proxmark3 固件)