linux下使用upgrade_tool报错Creating Comm Object failed!
Rockusb>uf /home/zhuhongxi/RK3566_AOSP_SDK/rockdev/Image-rk3566_tspi/update.img
Loading firmware...
Support Type:RK3568 FW Ver:b.0.00 FW Time:2024-08-03 12:00:09
Loader ver:1.01 Loader Time:2024-08-03 11:41:06
Creating Comm Object failed!
查看upgrade_tool的log
22:29:57 Current process in /home/zhuhongxi/RK3566_AOSP_SDK/RKTools/linux/Linux_Upgrade_Tool/Linux_Upgrade_Tool_v1.65
22:29:57 Using /home/zhuhongxi/.config/upgrade_tool/config.ini
22:29:57 Command Line: ./upgrade_tool uf /home/zhuhongxi/RK3566_AOSP_SDK/rockdev/Image-rk3566_tspi/update.img
22:29:57 Current Device Location ID:161
22:29:57 Error:InitializeUsb-->open device failed,err=-3
22:29:57 Command mode out
22:30:16 Upgrade Tool v1.65
原因:usb节点的操作权限不足
解决:
sudo chmod -R 777 /dev/bus/usb/
然后再试试
Rockusb>uf /home/zhuhongxi/RK3566_AOSP_SDK/rockdev/Image-rk3566_tspi/update.img
Loading firmware...
Support Type:RK3568 FW Ver:b.0.00 FW Time:2024-08-03 12:00:09
Loader ver:1.01 Loader Time:2024-08-03 11:41:06
Upgrade firmware ok.
欧了