Last active
February 17, 2022 04:27
-
-
Save DexterHaslem/3ed3d0079e06f699fdafcc9e852508d0 to your computer and use it in GitHub Desktop.
sunxi-fel fixes (A10, A20 etc)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Allwinner sunxi-tools timeout fix .. tried bot xhci and ehci switching bios settings with no luck | |
(A10, A20 olimex boards tested) | |
[ 533.679976] new full-speed USB device number 7 using xhci_hcd | |
[ 533.679976] usb 2-8: New USB device found, idVendor=1f3a, idProduct=efe8, bcdDevice= 2.b3 | |
[ 533.679981] usb 2-8: New USB device strings: Mfr=0, Product=0, SerialNumber=0 | |
[ 597.256368] usb 2-8: USB disconnect, device number 7 | |
[ 385.247362] usb 4-1.1: new full-speed USB device number 19 using ehci-pci | |
[ 385.247362] usb 4-1.1: new full-speed USB device number 19 using ehci-pci | |
[ 385.356692] usb 4-1.1: New USB device found, idVendor=1f3a, idProduct=efe8, bcdDevice= 2.b3 | |
[ 385.356697] usb 4-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 | |
$ sudo sunxi-fel --list --verbose | |
USB device 004:020 Allwinner A20 16516615:80868678:55484848:050323e8 | |
$ sudo sunxi-fel version | |
AWUSBFEX soc=00001623(A10) 00000001 ver=0001 44 08 scratchpad=00007e00 00000000 00000000 | |
$ sudo sunxi-fel version | |
AWUSBFEX soc=00001651(A20) 00000001 ver=0001 44 08 scratchpad=00007e00 00000000 00000000 | |
$ sudo sunxi-fel spl main.sunxi | |
usb_bulk_send() ERROR -7: Operation timed out | |
bump sunxi-tools *DOWN*: | |
https://github.com/Thore-Krug/Flash-CHIP/issues/21#issuecomment-894696978 | |
Add a source that has the older version of sunxi-tools: nano /etc/apt/sources.list and append deb http://deb.debian.org/debian/ stretch main | |
Update apt's cache: sudo apt update | |
Install the package: sudo apt install sunxi-tools=1.4.1-1 | |
Mark hold to prevent it from being upgraded: apt-mark hold sunxi-tools | |
To avoid complications you can remove stretch main from the sources.list again | |
** working | |
$ sudo sunxi-fel spl main.sunxi | |
$ | |
** in serial | |
Hello from Allwinner A20! | |
Returning back to FEL. | |
�� | |
Hello from Allwinner A10! | |
Returning back to FEL. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment