參考資料:
https://github.com/Thore-Krug/Flash-CHIP/issues/6
https://github.com/Thore-Krug/Flash-CHIP/issues/21#issuecomment-625323920
https://debian.pkgs.org/9/debian-main-amd64/sunxi-tools_1.4.1-1_amd64.deb.html
問題如下:
$ 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