Author Topic: [Solved] preenfm3 bootloader flashing problem OSX  (Read 3682 times)

lokki

  • Sr. Member
  • ****
  • Posts: 383
    • View Profile
[Solved] preenfm3 bootloader flashing problem OSX
« on: October 17, 2020, 04:56:03 PM »
hi there when i try to flash the bootloader i get this on osx:

Code: [Select]
XXXX:pfm3_firmware_0.91 lokki$ dfu-util -a0 -d 0×0483:0xdf11 -D p3_boot_1.01.bin -R -s 0×8000000
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 0483:df11
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 1024
dfu-util: Invalid dfuse address: 0×8000000

if i do dfu-util -l i get:

Code: [Select]
xxxxxx:pfm3_firmware_0.91 lokki$ dfu-util -l
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Found DFU: [0483:df11] ver=0200, devnum=9, cfg=1, intf=0, path="20-2", alt=1, name="@Option Bytes   /0x5200201C/01*128 e", serial="200364500000"
Found DFU: [0483:df11] ver=0200, devnum=9, cfg=1, intf=0, path="20-2", alt=0, name="@Internal Flash   /0x08000000/16*128Kg", serial="200364500000"
xxxx:pfm3_firmware_0.91 lokki$

so are the docs wrong or is something strange with my preenfm3? i just don't want to mess anything up :-)
« Last Edit: October 19, 2020, 07:55:12 PM by Xavier »


Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2256
    • View Profile
Re: preenfm3 bootloader flashing problem OSX
« Reply #2 on: October 19, 2020, 06:44:06 PM »
so are the docs wrong or is something strange with my preenfm3? i just don't want to mess anything up :-)

You cannot mess up anything, the preenfm2/3 cannot be bricked.

The error in the doc is the symbol x in the address. It should have been a regular X and it was a weird characater. Sorry.
I just fixed the doc. I also removed -R which was useless.
The firmware zip files contained the correct command which are :

Code: [Select]
dfu-util -a0 -d 0×0483:0xdf11 -D p3_boot_1.01.bin -s 0x8000000
dfu-util -a0 -d 0×0483:0xdf11 -D p3_0.3.bin -s 0x8020000