Advertisement
Guest User

Pinecil dfu-util logs

a guest
Jan 20th, 2021
283
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 17.62 KB | None | 0 0
  1. ////////////// Windows DFU included with pinecil firmware updater //////////////
  2. C:\Users\crenn\Downloads\Pinecil\pinecil_firmware_updater_win64_1.0>dfu-util -l
  3. dfu-util 0.9
  4.  
  5. Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
  6. Copyright 2010-2016 Tormod Volden and Stefan Schmidt
  7. This program is Free Software and has ABSOLUTELY NO WARRANTY
  8. Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
  9.  
  10. Found DFU: [28e9:0189] ver=0100, devnum=43, cfg=1, intf=0, path="1-9", alt=1, name="@Option Bytes  /0x1FFFF800/01*016Be", serial="??"
  11. Found DFU: [28e9:0189] ver=0100, devnum=43, cfg=1, intf=0, path="1-9", alt=0, name="@Internal Flash  /0x08000000/128*001Kg", serial="??"
  12.  
  13. C:\Users\crenn\Downloads\Pinecil\pinecil_firmware_updater_win64_1.0>dfu-util -d 28e9:0189 -a 0 -D Pinecil_EN.bin -s 0x08000000:mass-erase:force
  14. dfu-util 0.9
  15.  
  16. Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
  17. Copyright 2010-2016 Tormod Volden and Stefan Schmidt
  18. This program is Free Software and has ABSOLUTELY NO WARRANTY
  19. Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
  20.  
  21. Invalid DFU suffix signature
  22. A valid DFU suffix will be required in a future dfu-util release!!!
  23. Opening DFU capable USB device...
  24. ID 28e9:0189
  25. Run-time device DFU version 011a
  26. Claiming USB DFU Interface...
  27. Setting Alternate Setting #0 ...
  28. Determining device status: state = dfuDNLOAD-IDLE, status = 0
  29. aborting previous incomplete transfer
  30. Determining device status: state = dfuIDLE, status = 0
  31. dfuIDLE, continuing
  32. DFU mode device DFU version 011a
  33. Device returned transfer size 2048
  34. DfuSe interface name: "Internal Flash  "
  35. Performing mass erase, this can take a moment
  36. Error during special command "MASS_ERASE" get_status
  37.  
  38. ////////////// Windows gd32-dfu-utils  //////////////
  39. C:\Users\crenn\Downloads\Pinecil\pinecil_firmware_updater_win64_1.0>dfu-util -d 28e9:0189 -a 0 -D Pinecil_EN.bin -s 0x08000000:mass-erase:force
  40. dfu-util 0.9
  41.  
  42. Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
  43. Copyright 2010-2016 Tormod Volden and Stefan Schmidt
  44. This program is Free Software and has ABSOLUTELY NO WARRANTY
  45. Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
  46.  
  47. Invalid DFU suffix signature
  48. A valid DFU suffix will be required in a future dfu-util release!!!
  49. Opening DFU capable USB device...
  50. ID 28e9:0189
  51. Run-time device DFU version 011a
  52. Claiming USB DFU Interface...
  53. Setting Alternate Setting #0 ...
  54. Determining device status: state = dfuDNLOAD-IDLE, status = 0
  55. aborting previous incomplete transfer
  56. Determining device status: state = dfuIDLE, status = 0
  57. dfuIDLE, continuing
  58. DFU mode device DFU version 011a
  59. Device returned transfer size 2048
  60. GD32 flash memory access detected
  61. Device model: GD32VF103TB
  62. Memory segment (0x08000000 - 0801ffff)(rew)
  63. Erase size 1024, page count 128
  64. Performing mass erase, this can take a moment
  65. Error during special command "MASS_ERASE" get_status
  66.  
  67. C:\Users\crenn\Downloads\Pinecil\pinecil_firmware_updater_win64_1.0>dfu-util -l
  68. dfu-util 0.9
  69.  
  70. Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
  71. Copyright 2010-2016 Tormod Volden and Stefan Schmidt
  72. This program is Free Software and has ABSOLUTELY NO WARRANTY
  73. Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
  74.  
  75. Found DFU: [28e9:0189] ver=0100, devnum=42, cfg=1, intf=0, path="1-9", alt=1, name="@Option Bytes  /0x1FFFF800/01*016Be", serial="3TBJ"
  76. Found DFU: [28e9:0189] ver=0100, devnum=42, cfg=1, intf=0, path="1-9", alt=0, name="@Internal Flash  /0x08000000/128*001Kg", serial="3TBJ"
  77.  
  78. ////////////// linux dfu-utils with minor mod to main.c to remove file id check  //////////////
  79. pi@octopi:~ $ sudo dfu-util -l
  80. dfu-util 0.10-dev
  81.  
  82. Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
  83. Copyright 2010-2020 Tormod Volden and Stefan Schmidt
  84. This program is Free Software and has ABSOLUTELY NO WARRANTY
  85. Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
  86.  
  87. Found DFU: [28e9:0189] ver=0100, devnum=6, cfg=1, intf=0, path="1-1.4", alt=1, name="@Option Bytes  /0x1FFFF800/01*016Be", serial="3TBJ"
  88. Found DFU: [28e9:0189] ver=0100, devnum=6, cfg=1, intf=0, path="1-1.4", alt=0, name="@Internal Flash  /0x08000000/128*001Kg", serial="3TBJ"
  89.  
  90. pi@octopi:~ $ sudo dfu-util -d 28e9:0189 -a 0 -D Pinecil_EN.bin -s 0x08000000:mass-erase:force
  91. dfu-util 0.10-dev
  92.  
  93. Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
  94. Copyright 2010-2020 Tormod Volden and Stefan Schmidt
  95. This program is Free Software and has ABSOLUTELY NO WARRANTY
  96. Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
  97.  
  98. dfu-util: Warning: Invalid DFU suffix signature
  99. dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
  100. Opening DFU capable USB device...
  101. ID 28e9:0189
  102. Run-time device DFU version 011a
  103. Claiming USB DFU Interface...
  104. Setting Alternate Setting #0 ...
  105. Determining device status: state = dfuIDLE, status = 0
  106. dfuIDLE, continuing
  107. DFU mode device DFU version 011a
  108. Device returned transfer size 2048
  109. DfuSe interface name: "Internal Flash  "
  110. Found GD32VF103, which reports a bad page size and count for its internal memory.
  111. Fixed layout based on part number: page size 1024, count 128.
  112. Performing mass erase, this can take a moment
  113. dfu-util: Error during special command "MASS_ERASE" get_status
  114.  
  115. pi@octopi:~ $ sudo dfu-util -vvv -d 28e9:0189 -a 0 -D Pinecil_EN.bin -s 0x08000000:mass-erase:force
  116. dfu-util 0.10-dev
  117.  
  118. Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
  119. Copyright 2010-2020 Tormod Volden and Stefan Schmidt
  120. This program is Free Software and has ABSOLUTELY NO WARRANTY
  121. Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
  122.  
  123. libusb version 1.0.22 (11312)
  124. dfu-util: Warning: Invalid DFU suffix signature
  125. dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
  126. [timestamp] [threadID] facility level [function call] <message>
  127. --------------------------------------------------------------------------------
  128. [ 0.033153] [00000c83] libusb: debug [libusb_get_device_list]
  129. [ 0.033413] [00000c83] libusb: debug [libusb_get_device_descriptor]
  130. [ 0.033471] [00000c83] libusb: debug [libusb_get_config_descriptor] index 0
  131. [ 0.033564] [00000c83] libusb: debug [libusb_open] open 1.6
  132. [ 0.033774] [00000c83] libusb: debug [usbi_add_pollfd] add fd 9 events 4
  133. [ 0.033880] [00000c83] libusb: debug [libusb_alloc_transfer] transfer 0x14388a0
  134. [ 0.033943] [00000c83] libusb: debug [libusb_submit_transfer] transfer 0x14388a0
  135. [ 0.033992] [00000c83] libusb: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)
  136. [ 0.034186] [00000c83] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
  137. [ 0.034261] [00000c83] libusb: debug [handle_events] poll fds modified, reallocating
  138. [ 0.034339] [00000c83] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
  139. [ 0.035789] [00000c83] libusb: debug [handle_events] poll() returned 1
  140. [ 0.035884] [00000c83] libusb: debug [reap_for_handle] urb type=2 status=0 transferred=4
  141. [ 0.035928] [00000c83] libusb: debug [handle_control_completion] handling completion status 0
  142. [ 0.035974] [00000c83] libusb: debug [disarm_timerfd]
  143. [ 0.036028] [00000c83] libusb: debug [usbi_handle_transfer_completion] transfer 0x14388a0 has callback 0x76ed6494
  144. [ 0.036070] [00000c83] libusb: debug [sync_transfer_cb] actual_length=4
  145. [ 0.036153] [00000c83] libusb: debug [libusb_free_transfer] transfer 0x14388a0
  146. [ 0.036215] [00000c83] libusb: debug [libusb_alloc_transfer] transfer 0x143a0d0
  147. [ 0.036256] [00000c83] libusb: debug [libusb_submit_transfer] transfer 0x143a0d0
  148. [ 0.036297] [00000c83] libusb: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)
  149. [ 0.036401] [00000c83] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
  150. [ 0.036449] [00000c83] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
  151. [ 0.038146] [00000c83] libusb: debug [handle_events] poll() returned 1
  152. [ 0.038212] [00000c83] libusb: debug [reap_for_handle] urb type=2 status=0 transferred=78
  153. [ 0.038256] [00000c83] libusb: debug [handle_control_completion] handling completion status 0
  154. [ 0.038301] [00000c83] libusb: debug [disarm_timerfd]
  155. [ 0.038350] [00000c83] libusb: debug [usbi_handle_transfer_completion] transfer 0x143a0d0 has callback 0x76ed6494
  156. [ 0.038391] [00000c83] libusb: debug [sync_transfer_cb] actual_length=78
  157. [ 0.038442] [00000c83] libusb: debug [libusb_free_transfer] transfer 0x143a0d0
  158. [ 0.038492] [00000c83] libusb: debug [libusb_alloc_transfer] transfer 0x1437a10
  159. [ 0.038531] [00000c83] libusb: debug [libusb_submit_transfer] transfer 0x1437a10
  160. [ 0.038571] [00000c83] libusb: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)
  161. [ 0.038660] [00000c83] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
  162. [ 0.038706] [00000c83] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
  163. [ 0.040396] [00000c83] libusb: debug [handle_events] poll() returned 1
  164. [ 0.040472] [00000c83] libusb: debug [reap_for_handle] urb type=2 status=0 transferred=4
  165. [ 0.040515] [00000c83] libusb: debug [handle_control_completion] handling completion status 0
  166. [ 0.040560] [00000c83] libusb: debug [disarm_timerfd]
  167. [ 0.040610] [00000c83] libusb: debug [usbi_handle_transfer_completion] transfer 0x1437a10 has callback 0x76ed6494
  168. [ 0.040654] [00000c83] libusb: debug [sync_transfer_cb] actual_length=4
  169. [ 0.040703] [00000c83] libusb: debug [libusb_free_transfer] transfer 0x1437a10
  170. [ 0.040755] [00000c83] libusb: debug [libusb_alloc_transfer] transfer 0x143b528
  171. [ 0.040795] [00000c83] libusb: debug [libusb_submit_transfer] transfer 0x143b528
  172. [ 0.040836] [00000c83] libusb: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)
  173. [ 0.040929] [00000c83] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
  174. [ 0.040975] [00000c83] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
  175. [ 0.042652] [00000c83] libusb: debug [handle_events] poll() returned 1
  176. [ 0.042724] [00000c83] libusb: debug [reap_for_handle] urb type=2 status=0 transferred=6
  177. [ 0.042767] [00000c83] libusb: debug [handle_control_completion] handling completion status 0
  178. [ 0.042811] [00000c83] libusb: debug [disarm_timerfd]
  179. [ 0.042865] [00000c83] libusb: debug [usbi_handle_transfer_completion] transfer 0x143b528 has callback 0x76ed6494
  180. [ 0.042909] [00000c83] libusb: debug [sync_transfer_cb] actual_length=6
  181. [ 0.042960] [00000c83] libusb: debug [libusb_free_transfer] transfer 0x143b528
  182. [ 0.043028] [00000c83] libusb: debug [libusb_close]
  183. [ 0.043111] [00000c83] libusb: debug [usbi_remove_pollfd] remove fd 9
  184. [ 0.043258] [00000c83] libusb: debug [libusb_get_device_descriptor]
  185. [ 0.043306] [00000c83] libusb: debug [libusb_get_config_descriptor] index 0
  186. [ 0.043383] [00000c83] libusb: debug [libusb_get_device_descriptor]
  187. [ 0.043425] [00000c83] libusb: debug [libusb_get_config_descriptor] index 0
  188. [ 0.043485] [00000c83] libusb: debug [libusb_get_device_descriptor]
  189. [ 0.043523] [00000c83] libusb: debug [libusb_get_config_descriptor] index 0
  190. [ 0.043577] [00000c83] libusb: debug [libusb_get_device_descriptor]
  191. [ 0.043615] [00000c83] libusb: debug [libusb_get_config_descriptor] index 0
  192. [ 0.043673] [00000c83] libusb: debug [libusb_get_device_descriptor]
  193. [ 0.043711] [00000c83] libusb: debug [libusb_get_config_descriptor] index 0
  194. Opening DFU capable USB device...
  195. [ 0.043816] [00000c83] libusb: debug [libusb_open] open 1.6
  196. [ 0.044006] [00000c83] libusb: debug [usbi_add_pollfd] add fd 9 events 4
  197. ID 28e9:0189
  198. Run-time device DFU version 011a
  199. Claiming USB DFU Interface...
  200. [ 0.044247] [00000c83] libusb: debug [libusb_claim_interface] interface 0
  201. Setting Alternate Setting #0 ...
  202. [ 0.044564] [00000c83] libusb: debug [libusb_set_interface_alt_setting] interface 0 altsetting 0
  203. Determining device status: [ 0.046371] [00000c83] libusb: debug [libusb_alloc_transfer] transfer 0x143c8d8
  204. [ 0.046492] [00000c83] libusb: debug [libusb_submit_transfer] transfer 0x143c8d8
  205. [ 0.046609] [00000c83] libusb: debug [add_to_flying_list] arm timerfd for timeout in 5000ms (first in line)
  206. [ 0.046795] [00000c83] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
  207. [ 0.046917] [00000c83] libusb: debug [handle_events] poll fds modified, reallocating
  208. [ 0.047059] [00000c83] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
  209. [ 0.049009] [00000c83] libusb: debug [handle_events] poll() returned 1
  210. [ 0.049179] [00000c83] libusb: debug [reap_for_handle] urb type=2 status=0 transferred=6
  211. [ 0.049238] [00000c83] libusb: debug [handle_control_completion] handling completion status 0
  212. [ 0.049518] [00000c83] libusb: debug [disarm_timerfd]
  213. [ 0.049596] [00000c83] libusb: debug [usbi_handle_transfer_completion] transfer 0x143c8d8 has callback 0x76ed6494
  214. [ 0.049649] [00000c83] libusb: debug [sync_transfer_cb] actual_length=6
  215. [ 0.049710] [00000c83] libusb: debug [libusb_free_transfer] transfer 0x143c8d8
  216. state = dfuDNLOAD-IDLE, status = 0
  217. aborting previous incomplete transfer
  218. [ 0.049849] [00000c83] libusb: debug [libusb_alloc_transfer] transfer 0x143c960
  219. [ 0.049923] [00000c83] libusb: debug [libusb_submit_transfer] transfer 0x143c960
  220. [ 0.049963] [00000c83] libusb: debug [add_to_flying_list] arm timerfd for timeout in 5000ms (first in line)
  221. [ 0.050294] [00000c83] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
  222. [ 0.050368] [00000c83] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
  223. [ 0.051649] [00000c83] libusb: debug [handle_events] poll() returned 1
  224. [ 0.051736] [00000c83] libusb: debug [reap_for_handle] urb type=2 status=0 transferred=0
  225. [ 0.051773] [00000c83] libusb: debug [handle_control_completion] handling completion status 0
  226. [ 0.051813] [00000c83] libusb: debug [disarm_timerfd]
  227. [ 0.051858] [00000c83] libusb: debug [usbi_handle_transfer_completion] transfer 0x143c960 has callback 0x76ed6494
  228. [ 0.051894] [00000c83] libusb: debug [sync_transfer_cb] actual_length=0
  229. [ 0.051934] [00000c83] libusb: debug [libusb_free_transfer] transfer 0x143c960
  230. Determining device status: [ 0.052002] [00000c83] libusb: debug [libusb_alloc_transfer] transfer 0x143c9e8
  231. [ 0.052034] [00000c83] libusb: debug [libusb_submit_transfer] transfer 0x143c9e8
  232. [ 0.052066] [00000c83] libusb: debug [add_to_flying_list] arm timerfd for timeout in 5000ms (first in line)
  233. [ 0.052152] [00000c83] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
  234. [ 0.052191] [00000c83] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
  235. [ 0.053757] [00000c83] libusb: debug [handle_events] poll() returned 1
  236. [ 0.053818] [00000c83] libusb: debug [reap_for_handle] urb type=2 status=0 transferred=6
  237. [ 0.053852] [00000c83] libusb: debug [handle_control_completion] handling completion status 0
  238. [ 0.053888] [00000c83] libusb: debug [disarm_timerfd]
  239. [ 0.053929] [00000c83] libusb: debug [usbi_handle_transfer_completion] transfer 0x143c9e8 has callback 0x76ed6494
  240. [ 0.053962] [00000c83] libusb: debug [sync_transfer_cb] actual_length=6
  241. [ 0.054002] [00000c83] libusb: debug [libusb_free_transfer] transfer 0x143c9e8
  242. state = dfuIDLE, status = 0
  243. dfuIDLE, continuing
  244. DFU mode device DFU version 011a
  245. Device returned transfer size 2048
  246. DfuSe interface name: "Internal Flash  "
  247. Memory segment at 0x08000000 128 x 1024 = 131072 (rew)
  248. Found GD32VF103, which reports a bad page size and count for its internal memory.
  249. Fixed layout based on part number: page size 1024, count 128.
  250. Performing mass erase, this can take a moment
  251. [ 0.054363] [00000c83] libusb: debug [libusb_alloc_transfer] transfer 0x143c9e8
  252. [ 0.054399] [00000c83] libusb: debug [libusb_submit_transfer] transfer 0x143c9e8
  253. [ 0.054428] [00000c83] libusb: debug [add_to_flying_list] arm timerfd for timeout in 5000ms (first in line)
  254. [ 0.054513] [00000c83] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
  255. [ 0.054550] [00000c83] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
  256. [ 0.056138] [00000c83] libusb: debug [handle_events] poll() returned 1
  257. [ 0.056198] [00000c83] libusb: debug [reap_for_handle] urb type=2 status=0 transferred=1
  258. [ 0.056234] [00000c83] libusb: debug [handle_control_completion] handling completion status 0
  259. [ 0.056269] [00000c83] libusb: debug [disarm_timerfd]
  260. [ 0.056311] [00000c83] libusb: debug [usbi_handle_transfer_completion] transfer 0x143c9e8 has callback 0x76ed6494
  261. [ 0.056344] [00000c83] libusb: debug [sync_transfer_cb] actual_length=1
  262. [ 0.056381] [00000c83] libusb: debug [libusb_free_transfer] transfer 0x143c9e8
  263. [ 0.056420] [00000c83] libusb: debug [libusb_alloc_transfer] transfer 0x143c9e8
  264. [ 0.056451] [00000c83] libusb: debug [libusb_submit_transfer] transfer 0x143c9e8
  265. [ 0.056482] [00000c83] libusb: debug [add_to_flying_list] arm timerfd for timeout in 5000ms (first in line)
  266. [ 0.056558] [00000c83] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
  267. [ 0.056594] [00000c83] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
  268. [ 0.058254] [00000c83] libusb: debug [handle_events] poll() returned 1
  269. [ 0.058305] [00000c83] libusb: debug [reap_for_handle] urb type=2 status=-32 transferred=6
  270. [ 0.058340] [00000c83] libusb: debug [handle_control_completion] handling completion status -32
  271. [ 0.058383] [00000c83] libusb: debug [handle_control_completion] unsupported control request
  272. [ 0.058416] [00000c83] libusb: debug [disarm_timerfd]
  273. [ 0.058455] [00000c83] libusb: debug [usbi_handle_transfer_completion] transfer 0x143c9e8 has callback 0x76ed6494
  274. [ 0.058487] [00000c83] libusb: debug [sync_transfer_cb] actual_length=6
  275. [ 0.058526] [00000c83] libusb: debug [libusb_free_transfer] transfer 0x143c9e8
  276. dfu-util: Error during special command "MASS_ERASE" get_status
  277.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement