|
rkflashkit libusb:error [submit_bulk_transfer] submiturb failed error -1
发表于 2017-6-7 18:11:14
浏览:10357
|
回复:8
打印
只看该作者
[复制链接]
楼主
rk3399$ sudo rkflashkit flash @boot boot.img @kernel.img linux-kernel-firefly/kernel.img reboot
Found devices:
0x2207:0x330c
libusb: error [submit_bulk_transfer] submiturb failed error -1 errno=2
Traceback (most recent call last):
File "/usr/bin/rkflashkit", line 17, in <module>
sys.exit(app.main(sys.argv[1:]))
File "/usr/share/rkflashkit/lib/rkflashkit/climain.py", line 99, in main
self.parse_and_execute(args)
File "/usr/share/rkflashkit/lib/rkflashkit/climain.py", line 114, in parse_and_execute
self.flash_image(args[0], args[1])
File "/usr/share/rkflashkit/lib/rkflashkit/climain.py", line 182, in flash_image
offset, size = self.get_partition(part_name)
File "/usr/share/rkflashkit/lib/rkflashkit/climain.py", line 174, in get_partition
self.load_partitions()
File "/usr/share/rkflashkit/lib/rkflashkit/climain.py", line 156, in load_partitions
loaded_parts = op.load_partitions()
File "/usr/share/rkflashkit/lib/rkflashkit/rktalk.py", line 169, in load_partitions
self.__init_device()
File "/usr/share/rkflashkit/lib/rkflashkit/rktalk.py", line 130, in __init_device
2, ''.join(prepare_cmd(0x80, 0x00060000, 0x00000000, 0x00000000)))
File "/usr/share/rkflashkit/lib/rkflashkit/usb1.py", line 1145, in bulkWrite
return self._bulkTransfer(endpoint, data, sizeof(data), timeout)
File "/usr/share/rkflashkit/lib/rkflashkit/usb1.py", line 1129, in _bulkTransfer
raise libusb1.USBError(result)
rkflashkit.libusb1.USBError: LIBUSB_ERROR_IO [-1]
How to resolve it? |
|