Research, development and trades concerning the powerful Proxmark3 device.
Remember; sharing is caring. Bring something back to the community.
"Learn the tools of the trade the hard way." +Fravia
You are not logged in.
Time changes and with it the technology
Proxmark3 @ discord
Users of this forum, please be aware that information stored on this site is not private.
I'm getting an error when I try to flash my generic PM3 V2 using Ubuntu. I've just downloaded and installed Ubuntu and ran the updates as the documentation suggests. I also followed the Ubuntu video instructions for installing the proxmark3 step by step. Everything seems to go well until I attempt the flash.
Here's my makefile.platform:
# If you want to use it, copy this file as Makefile.platform and adjust it to your needs
# Run 'make PLATFORM=' to get an exhaustive list of possible parameters for this file.
#PLATFORM=PM3RDV4
PLATFORM=PM3OTHER
PLATFORM_SIZE=512
# If you want more than one PLATFORM_EXTRAS option, separate them by spaces:
#PLATFORM_EXTRAS=BTADDON
STANDALONE=HF_MSDSAL
I added the PLATFORM_SIZE=512 in the hopes that it might work, but it did not. I get the same flash error without that line.
And here's what I'm seeing when I try to flash:
doug@doug-Latitude-E5270:~/proxmark3$ pm3-flash-all
[=] Session log /home/doug/.proxmark3/logs/log_20201107.txt
[+] About to use the following files:
[+] /usr/local/bin/../share/proxmark3/firmware/bootrom.elf
[+] /usr/local/bin/../share/proxmark3/firmware/fullimage.elf
[+] Waiting for Proxmark3 to appear on /dev/ttyACM0
? 59 found
[+] Entering bootloader...
[+] (Press and release the button only to abort)
[+] Waiting for Proxmark3 to appear on /dev/ttyACM0
? 49 found
[!!] ? ====================== OBS ! ===========================================
[!!] ? Note: Your bootloader does not understand the new CMD_BL_VERSION command
[!!] ? It is recommended that you first update your bootloader alone,
[!!] ? reboot the Proxmark3 then only update the main firmware
[=] Available memory on this board: UNKNOWN
[!!] ? ====================== OBS ! ======================================
[!!] ? Note: Your bootloader does not understand the new CHIP_INFO command
[!!] ? It is recommended that you first update your bootloader alone,
[!!] ? reboot the Proxmark3 then only update the main firmware
[=] Permitted flash range: 0x00100000-0x00140000
[+] Loading ELF file /usr/local/bin/../share/proxmark3/firmware/bootrom.elf
[+] Loading usable ELF segments:
[+] 0: V 0x00100000 P 0x00100000 (0x00000200->0x00000200) [R X] @0x94
[+] 1: V 0x00200000 P 0x00100200 (0x00000d50->0x00000d50) [R X] @0x298
[+] Loading ELF file /usr/local/bin/../share/proxmark3/firmware/fullimage.elf
[+] Loading usable ELF segments:
[+] 0: V 0x00102000 P 0x00102000 (0x0003e768->0x0003e768) [R X] @0x94
[!!] ? Error: PHDR is not contained in Flash
[!!] ? Firmware probably too big for your device
[+] All done
Have a nice day!
I've followed all the instructions step by step and everything looks good as far as I can see, so I'm not sure what it going wrong. The error message suggests flashing the bootloader alone, although I'm not sure how to do that. Any ideas?
And yes, I've compiled with PM3OTHER as you can see in the makefile.platform. Also tried make SKIPBT=1 and that made no difference.
I have a windows machine I can try using as well, although I need to run through the setup on that. I was using Ubuntu because I was hoping it would make the process easier...
Thanks for any ideas....
Last edited by dgood71 (2020-11-07 21:16:50)
Offline
flash bootrom first..
./pm3-flash-bootrom
Not sure how much memory a RDV2 has, but it looks like you will need to make the image smaller first.
Offline
The RDV2 is a 512 chip, which I verified by looking at the actual chip itself - assuming it's not a 256 marked as a 512, so I'm hoping I don't need to make the image smaller, but I guess I can try doing that. I'll try the boot flash by itself to see whether that makes a difference.
Offline
Flashing the boot rom by itself worked. I then disconnected the PM3, reconnected it, and was then able to do the pm3-flash-fullimage which also worked. I did not have to recompile to make the full image smaller. So all is working now. Thanks for your help!
Offline
Awesome!
Offline