|
rkflashit 支持 RK3399 有问题
发表于 2017-3-6 23:42:35
浏览:9957
|
回复:2
打印
只看该作者
[复制链接]
楼主
原本 rkflashit 没支持 RK3399, 改了源码 增加了ID 2207:330c, 跑起来可以看到RK3399 rockusb 装置了,但却读不出 partition table, 报错如下:
(rkflashkit:3278): IBUS-WARNING **: The owner of /home/richi/.config/ibus/bus is not root!
libusbx: error [submit_bulk_transfer] submiturb failed error -1 errno=2
Traceback (most recent call last):
File "/usr/share/rkflashkit/lib/rkflashkit/main.py", line 393, in __on_device_changed
partitions = op.load_partitions()
File "/usr/share/rkflashkit/lib/rkflashkit/rktalk.py", line 167, in load_partitions
self.__init_device()
File "/usr/share/rkflashkit/lib/rkflashkit/rktalk.py", line 128, 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]
请问何解?
|
|