Firefly开源社区

标题: rkflashit 支持 RK3399 有问题 [打印本页]

作者: richi    时间: 2017-3-6 23:42
标题: 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 [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]


请问何解?

作者: hkchenhao    时间: 2017-3-14 16:43
在ubuntu下,用rkflashkit无法识别RK3399,请问这是怎么回事啊?
作者: 3th1nk    时间: 2017-3-28 17:44
我也改了rktalk.py,增加了330c,然后相同错误中。。。




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1