Proxmark3 developers community

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.

#1 2019-07-29 11:21:12

squishy
Contributor
Registered: 2019-02-18
Posts: 14

Bootloader Doesnt Understand CMD_BL_Version

Hi,
I just got my proxmark3 rdv4.0 back from my friend who was using it the weekend and when I wanted to flash the prox im getting this certain error,

Flash command:
          client/flasher /dev/ttyACM0 -b bootrom/obj/bootrom.elf armsrc/obj/fullimage.elf

[+] Waiting for Proxmark3 to appear on /dev/ttyACM0           
.....Found           
[+] Entering bootloader...           
[+] (Press and release the button only to abort )          
[+] Waiting for Proxmark3 to appear on /dev/ttyACM0           
........... Found           
[!!] 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 
          
[!!] 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 bootrom/obj/bootrom.elf           
[+] Loading usable ELF segments:          
[+]    0 : V 0x00100000 P 0x00100000 (0x00000200->0x00000200) [R X] @0x94          
[+]    1 : V 0x00200000 P 0x00100200 (0x00000e30->0x00000e30) [R X] @0x298          
          
[+] Loading ELF file armsrc/obj/fullimage.elf           
[+] Loading usable ELF segments:          
[+]    0 : V 0x00102000 P 0x00102000 (0x0003e108->0x0003e108) [R X] @0x94          
[!!] Error: PHDR is not contained in Flash          
[!!] Aborted on error.  

I dont know what's happening with the device but it seems like I cant reflash it with a new image. Is there a way where I can wipe the device memory clean or factory reset it in order for me to flash it?

Update:
I know wassup now, the firmware that was flashed in my RDV4.0 was for proxmark3 https://github.com/iceman1001/proxmark3 , so, now when I try to reflash it for the RDV4.0 it give me that output error.

Last edited by squishy (2019-07-29 11:53:21)

Offline

#2 2019-07-29 14:13:39

mwalker
Moderator
Registered: 2019-05-11
Posts: 302

Re: Bootloader Doesnt Understand CMD_BL_Version

Did you try updating just the boot loader first (like it suggested)

[!!] 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

Then after the reboot, then try the flash.
e.g.
client/flasher /dev/ttyACM0 -b bootrom/obj/bootrom.elf
reboot the device
client/flasher /dev/ttyACM0 armsrc/obj/fullimage.elf

Offline

#3 2019-07-31 10:03:58

squishy
Contributor
Registered: 2019-02-18
Posts: 14

Re: Bootloader Doesnt Understand CMD_BL_Version

mwalker wrote:

Did you try updating just the boot loader first (like it suggested)

[!!] 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

Then after the reboot, then try the flash.
e.g.
client/flasher /dev/ttyACM0 -b bootrom/obj/bootrom.elf
reboot the device
client/flasher /dev/ttyACM0 armsrc/obj/fullimage.elf


Yeah, it got fixed...thanx a lot.

Offline

#4 2019-08-01 03:17:37

mwalker
Moderator
Registered: 2019-05-11
Posts: 302

Re: Bootloader Doesnt Understand CMD_BL_Version

Good to hear.

Since its now solved, it would be worth adding the prefix [solved] to your title.

Offline

#5 2019-08-24 17:38:31

UltrashRicco
Contributor
Registered: 2018-04-11
Posts: 5

Re: Bootloader Doesnt Understand CMD_BL_Version

Hi all!

I am running into some kind of similar problem when attempting to flash my Proxmark3 Easy with the latest RRG/Iceman firmware.

I was able to flash the bootloader with no issue:

pi@Bicing2Demo:~/iceman $ sudo ./flash-bootrom.sh
[=] Waiting for Proxmark3 to appear...
[+] Waiting for Proxmark3 to appear on /dev/ttyACM0
.Found
[+] Entering bootloader...
[+] (Press and release the button only to abort )
[+] Waiting for Proxmark3 to appear on /dev/ttyACM0
........... 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 bootrom/obj/bootrom.elf
[+] Loading usable ELF segments:
[+]    0 : V 0x00100000 P 0x00100000 (0x00000200->0x00000200) [R X] @0x94
[+]    1 : V 0x00200000 P 0x00100200 (0x00000df0->0x00000df0) [R X] @0x298


[+] Flashing...

[+] Writing segments for file: bootrom/obj/bootrom.elf
[+]  0x00100000..0x001001ff [0x200 / 1 blocks]
. OK
[+]  0x00100200..0x00100fef [0xdf0 / 7 blocks]
....... OK


[+] All done.

Have a nice day!

But then when I attempt either a

./flash-all.sh

or

./flash-fullimage.sh

I am getting the following error:

pi@Bicing2Demo:~/iceman $ sudo ./flash-all.sh
[=] Waiting for Proxmark3 to appear...
[+] Waiting for Proxmark3 to appear on /dev/ttyACM0
.Found
[+] Entering bootloader...
[+] (Press and release the button only to abort )
[+] Waiting for Proxmark3 to appear on /dev/ttyACM0
. Found
[=] Available memory on this board: 256K bytes

[=] Permitted flash range: 0x00100000-0x00140000
[+] 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 (0x00000df0->0x00000df0) [R X] @0x298

[+] Loading ELF file armsrc/obj/fullimage.elf
[+] Loading usable ELF segments:
[+]    0 : V 0x00102000 P 0x00102000 (0x0003ecc0->0x0003ecc0) [R X] @0x94
[!!] Error: PHDR is not contained in Flash
[!!] Aborted on error.

Have a nice day!

I am running Raspbian on a Raspberry Pi 3B+. Same results with Kali.

Any idea regarding what is wrong? Is my Proxmark Easy compatible?

This bootrom image is compatible with the offical firmware, so I am fine and do not have to flash bootroms back and forth, but I would still like to try out the Iceman firmware!

Many thanks in advance,
Regards!

Last edited by UltrashRicco (2019-08-24 17:45:03)

Offline

#6 2019-08-24 20:04:13

iceman
Administrator
Registered: 2013-04-25
Posts: 6,654
Website

Re: Bootloader Doesnt Understand CMD_BL_Version

... that would be because you are try to flash a large fullimage over on a device with only 256kb.

I suggest reading the instructions on compile/flashing RRG/Iceman repo.


If you feel the love,  https://www.patreon.com/iceman1001

modhex(hkhehghthbhudcfcdchkigiehgduiehg)

Offline

#7 2019-08-24 20:07:49

UltrashRicco
Contributor
Registered: 2018-04-11
Posts: 5

Re: Bootloader Doesnt Understand CMD_BL_Version

Thank you Iceman, I thought I did, but obviously not quite!

Found more info under the advanced compilation parameters indeed: https://github.com/RfidResearchGroup/pr … ameters.md

I guess that will do the job,
Thank you!

Last edited by UltrashRicco (2019-08-24 20:27:28)

Offline

#8 2019-08-24 20:44:09

UltrashRicco
Contributor
Registered: 2018-04-11
Posts: 5

Re: Bootloader Doesnt Understand CMD_BL_Version

It did work indeed, despite my device having a limited 256k memory.

My bad, I was not immediately obivous to me that it took custom parameters to compile it for other devices than the new RDV4.

I hope this can help other people facing the same issue... read the manual, other devices require that a Makefile.platform file is created in order to set the compilation parameters right. The default parameters are for the RDV4 only.

Sorry and thanks again for your time!

Last edited by UltrashRicco (2019-08-24 20:47:18)

Offline

#9 2019-08-25 20:19:17

iceman
Administrator
Registered: 2013-04-25
Posts: 6,654
Website

Re: Bootloader Doesnt Understand CMD_BL_Version

And that is why we wrote the instructions in the first place.  If they are not accurate,  please let us know.

Since your issue seems to be resolved,   I suggest you edit your first post and add the prefix [solved] to your title.


If you feel the love,  https://www.patreon.com/iceman1001

modhex(hkhehghthbhudcfcdchkigiehgduiehg)

Offline

#10 2019-08-25 20:24:38

UltrashRicco
Contributor
Registered: 2018-04-11
Posts: 5

Re: Bootloader Doesnt Understand CMD_BL_Version

I cannot edit the fisrt post as I am not the OP.

It is clear enough that this branch is mostly oriented at the RDV4, but I think it would be worth mentionning that other devices are supported, perhaps on the main page, with a link to the compilation parameters page.

Thanks,

Offline

Board footer

Powered by FluxBB