Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

usb_bulk_send() ERROR -7: Operation timed out on Raspberry PI 3 B+ #162

Open
studiofuga opened this issue Nov 2, 2021 · 2 comments
Open

Comments

@studiofuga
Copy link

When trying to boot from FEL mode on a perfectly working setup (cable and board) from a Raspberry PI 3B+ board, timeout happen:


pi@raspberrypi:~/sunxi-tools-1 $ ./sunxi-fel  ver
AWUSBFEX soc=00001667(A33) 00000001 ver=0001 44 08 scratchpad=00007e00 00000000 00000000

pi@raspberrypi:~/sunxi-tools-1 $ ./sunxi-fel -v uboot u-boot-sunxi-with-spl.bin 
Stack pointers: sp_irq=0x00002000, sp=0x00005E08
MMU is not enabled by BROM
=> Executing the SPL... done.
Writing image "U-Boot 2018.05 for sunxi board", 549287 bytes @ 0x4A000000.
usb_bulk_send() ERROR -7: Operation timed out

According to this thread, the issue may be related to the maximum transfert block size. Indeed changing from 512kib to 128kib fixes the issue.


pi@raspberrypi:~/sunxi-tools-1 $ ./sunxi-fel -v uboot u-boot-sunxi-with-spl.bin 
Stack pointers: sp_irq=0x00002000, sp=0x00005E08
MMU is not enabled by BROM
=> Executing the SPL... done.
Writing image "U-Boot 2018.05 for sunxi board", 549287 bytes @ 0x4A000000.
Starting U-Boot (0x4A000000).
pi@raspberrypi:~/sunxi-tools-1 $ 

@tu95
Copy link

tu95 commented Apr 25, 2022

Though you use apt source to install sunxi-tools, you will get error which tell you "usb_bulk_send() ERROR -7: Operation timed out". You should git clone sunxi-tools and build it from source code, you will solve this problem.

@aslubsky
Copy link

The same story, increased the timeout, reduced the size from 512kb to 128kb, nothing helps, both the version with apt (v1.4.2) and the master branch (v1.4.2-178-gdf60a46-dirty) do not work. Any suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants