rkflashkit libusb:error [submit_bulk_transfer] submiturb failed error -1
rk3399$ sudo rkflashkit flash @boot boot.img @kernel.img linux-kernel-firefly/kernel.img rebootFound devices:
0x2207:0x330c
libusb: error 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))
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, args)
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? I sugguest you use upgrade_tool ,the compatibility is better. leung先森 发表于 2017-6-8 09:34
I sugguest you use upgrade_tool ,the compatibility is better.
Linux_Upgrade_Tool_v1.24$ ./upgrade_tool
./upgrade_tool: error while loading shared libraries: libudev.so.1: cannot open shared object file: No such file or directory
I can't find the libudev.so.1, as my ubuntu version is 16.04 64 bits. And this tool needs a 32bit libudev.so.1 .what is worse, I found nowhere to get libudev.so.1 32bit to install to /lib/i386-linux-gnu/.
Can you guide to finish this job? So appreciate. braveboy1983 发表于 2017-6-8 11:49
Linux_Upgrade_Tool_v1.24$ ./upgrade_tool
./upgrade_tool: error while loading shared libraries: l ...
http://wiki.t-firefly.com/index.php/Firefly-RK3399/Flash_image/en#upgrade_tool leung先森 发表于 2017-6-8 14:12
http://wiki.t-firefly.com/index.php/Firefly-RK3399/Flash_image/en#upgrade_tool
My system has no libudev.so.0. as to your reference, the steps only tell us to symbol link this file from other version. The thing is that, I don't have any libudev.so files in directory /lib/i386.in my system. First thing i need to do is get one 32 bit libudev.so.0 file or similar version one. braveboy1983 发表于 2017-6-8 14:18
My system has no libudev.so.0. as to your reference, the steps only tell us to symbol link this fi ...
If it do not work , just use rkflashkit GUI.
What system u use now ? I remember ubuntu both have this file .
Or you can apt-get update your system. braveboy1983 发表于 2017-6-8 14:18
My system has no libudev.so.0. as to your reference, the steps only tell us to symbol link this fi ...
I've met the same issue. May I know if you fixed it or not? leung先森 发表于 2017-6-8 15:14
If it do not work , just use rkflashkit GUI.
What system u use now ? I remember ubuntu both have ...
GUI failed, too. Hi
please install 32bit libudev
for Ubuntu16.04 just "sudo apt-get install libudev-dev:i386"
页:
[1]