Pocket C.H.I.P.
解決"usb_bulk_send() ERROR -7: Operation timed out"問題
參考資料:
1. issue1
2. issue2
3. sunxi-tools
問題如下:
$ FEL='sudo sunxi-fel' FASTBOOT='sudo fastboot' SNIB=false ./chip-update-firmware.sh -L ../flash-collection/stable-pocketchip-b126/ == Local directory '../flash-collection/stable-pocketchip-b126/' selected == == preparing images == == Local/cached probe files located == == Staging for NAND probe == Image Name: detect NAND Created: Fri Apr 2 09:27:26 2021 Image Type: ARM Linux Script (uncompressed) Data Size: 97 Bytes = 0.09 KiB = 0.00 MiB Load Address: 00000000 Entry Point: 00000000 Contents: Image 0: 89 Bytes = 0.09 KiB = 0.00 MiB waiting for fel...OK usb_bulk_send() ERROR -7: Operation timed out
解法如下:
$ cd $ wget http://ftp.br.debian.org/debian/pool/main/s/sunxi-tools/sunxi-tools_1.4.1-1_amd64.deb $ sudo dpkg -i sunxi-tools_1.4.1-1_amd64.deb