Proxmark3 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.

Announcement

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.

#1 2010-01-15 00:31:58

proxcat
Contributor
Registered: 2008-11-28
Posts: 62
Website

Trouble Flashing SVN osimage.elf

I'm having trouble flashing osimage.elf built off SVN as of Jan 12. The bootrom and fpga flashed fine.

Also, I can flash the s19s from 20090905 fine. Log below.

$ sudo ./flasher os ../armsrc/obj/osimage.elf
Waiting for Proxmark to appear on USB... Found.
Flashing os from ../armsrc/obj/osimage.elf
count=5 phoff=34
type=1 offset=0 paddr=0 vaddr=0 filesize=d4 memsize=d4 flags=6 align=8000
type=1 offset=8000 paddr=110000 vaddr=110000 filesize=122ca memsize=122ca flags=5 align=8000
flashing offset=8000 paddr=110000 size=122ca
WriteBlock(110000, 256, f0 b5 57 46 46 46 c0 b4 ... 78 47 c0 46 80 25 00 ea)
WriteBlock(110100, 256, 78 47 c0 46 cc 43 00 ea ... 00 2b 41 db 61 44 0b 06)
WriteBlock(110200, 256, 1b 0e bb 55 01 36 56 45 ... ed 1a 83 00 b6 00 9d 42)

...

WriteBlock(11b400, 256, 10 20 96 e5 01 c0 8c e2 ... 44 c0 9f e5 00 30 d2 e5)
WriteBlock(11b500, 256, 10 10 99 e5 40 00 9f e5 ... 18 10 8d e5 1c 30 8d e5)
WriteBlock(11b600, 256, 01 10 8e e2 c4 30 9f e5 ... 00 00 a0 e3 a0 16 00 eb)
WriteBlock(11b700, 256, 00 00 a0 e3 9e 16 00 eb ... 01 e0 13 e2 01 30 2b e2)
WriteBlock(11b800, 256, 09 30 23 e0 0a 30 23 e0 ... 0e 00 53 e1 06 20 82 e0)
WriteBlock(11b900, 256, 00 30 a0 e3 02 30 8c e7 ... 02 10 a0 e3 a4 85 9f e5)
write failed: No error!
Trying to reopen device...
proxmark3> ReceiveCommandPoll returned 0

After this point, the red and orange LEDs begin flashing together every second.

Has anyone else run into this?

Offline

#2 2010-01-15 01:58:50

notserpe
Member
From: Montreal
Registered: 2009-09-15
Posts: 14
Website

Re: Trouble Flashing SVN osimage.elf

If you're trying to build SVN HEAD and haven't read what bushing said on 2010-01-04 20:02:57:

bushing wrote:

I just committed changes to SVN to use ELF files instead of S19 files; I tested it for a few minutes, but I'm sure there are some bugs lurking in there.  Be Warned.

then perhaps I'd recommend sticking with a stable version?

Offline

#3 2010-01-15 02:20:42

d18c7db
Contributor
Registered: 2008-08-19
Posts: 292

Re: Trouble Flashing SVN osimage.elf

That last SVN was flashing for me (but under windows), looking at the log you provided it seems the USB comm was cut short. The code should have kept flashing until block address WriteBlock(122300,... which is paddr+filesize rounded up to nearest 256 byte block.

Have you tried flashing again, just in case?

Also I'm not sure why you're reflashing the bootrom, that code was stable and nothing major changed. Are you positive the bootrom flashed correctly (to completion) and hasn't somehow been corrupted?

Offline

#4 2010-01-15 03:09:29

proxcat
Contributor
Registered: 2008-11-28
Posts: 62
Website

Re: Trouble Flashing SVN osimage.elf

d18c7db: The bootloader is fine, but you are right about USB comms being prematurely terminated. I think my problem stems from Linux reclaiming the device.

Thanks!

Offline

Board footer

Powered by FluxBB