richi 发表于 2017-3-6 23:42:35

rkflashit 支持 RK3399 有问题

原本 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 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]


请问何解?

hkchenhao 发表于 2017-3-14 16:43:17

在ubuntu下,用rkflashkit无法识别RK3399,请问这是怎么回事啊?

3th1nk 发表于 2017-3-28 17:44:09

我也改了rktalk.py,增加了330c,然后相同错误中。。。
页: [1]
查看完整版本: rkflashit 支持 RK3399 有问题