-
Notifications
You must be signed in to change notification settings - Fork 421
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 H616 #182
Comments
Hi, thanks for the report! We are investigating an apparent miscompilation or bug in the H616 DRAM driver. It only happens with GCC 11 or higher, and does not seem to affect booting from SD card, but only FEL (and apparently SPI) boot. As for the binutils problem: I am discussing this with some TF-A folks. We have some preliminary fix for the linker script, however that affects every BL31 build, and some platforms seem to be not compatible with this change. We will send a fix once this is solved. Thanks, Andre |
It works for me, too. Using GCC 12.2.0 and binutils 2.39.3 on Arch Linux I'll try downgrading GCC later (The PMIC on the board is actually an axp313, I just modified axp305.c)
|
The situation is the same as you said, booting a GCC 12.2.0 compiled U-Boot (without adding I cloned the U-Boot repository again caused a different version number, but I also tested different methods on the same U-Boot version.
Thank you for your help, otherwise it is unlikely that I would be able to understand this situation. |
The solution fixed the problem for me. Thank you. |
I bought a development board called MangoPi MQ-Quad
It has H616 Soc and an empty SPI flash pad
I tried to compile mainline uboot for it, but there was something wrong when I tried to boot from FEL.
I used sun50i-h616-orangepi-zero2 as template so DT name is sun50i-h616-orangepi-zero2
and the serial output
and then It stuck, no more output, sunxi-fel can't recognize fel device, I have to plug USB again.
To make sure it wasn't the compiled uboot that was the problem, I used someone else's compiled uboot.
still stuck:
I also made some other attempts to try to solve the problem, including:
however, it still stuck at "Trying to boot from FEL".
#162 also Mentioned with the installation source
but my sunxi-tools is git clone from this repository. I also tried AUR pakage: sunxi-tools-git, still not solved.
Thore-Krug/Flash-CHIP#21 Mentioned downgrade sunxi-tools. This is obviously not appropriate for a new model like H616.
The text was updated successfully, but these errors were encountered: