same situation. So much time has passed, have you found a solution? On Friday, March 25, 2022 at 10:51:11 PM UTC+8 Daft Soft wrote:
> Hi! > I would advise rebuild sunxi-tools. I had problems with "usb_bulk_send() > ERROR -7: Operation timed out" while trying to use sunxi-tools from binary. > Rebuilding (mostly relinking with actual libusb, I suppose) solved the > problem in my case. > > On Friday, 25 March 2022 at 10:11:01 UTC+3 haina...@gmail.com wrote: > >> Hi All, >> I'm working on H616 based board and trying to execute/upload uboot using >> sunxi-fel but not success after many tries. >> I tried with windows 10 and ubuntu 20 (native, no virtualization), the >> device was detected but it always stuck at "usb_bulk_send() ERROR -7: >> Operation timed out". >> I found that this error will appear when I try to upload a large file >> (larger than 32kb I think) or execute a successfully uploaded file in >> memory: >> >> sunxi-fel -v uboot u-boot-sunxi-with-spl.bin >> Stack pointers: sp_irq=0x00021400, sp=0x00053FFC >> MMU is not enabled by BROM >> => Executing the SPL... done. >> usb_bulk_send() ERROR -7: Operation timed out >> >> Even I tried to turn the device from FEL mode to FES mode following this >> article (using boot 2.0 method): https://linux-sunxi.org/FES >> >> sunxi-fel version >> AWUSBFEX soc=00001823(H616) 00000001 ver=0001 44 08 scratchpad=00027e00 >> 00000000 00000000 >> (my device was detected at this line) >> >> sunxi-fel -p write 0x2000 fes1.fex >> 100% [================================================] 31 kB, 167.4 kB/s >> (successfully uploaded fes1.fex, this file only 31kb) - At this step, >> fes1.fex is uploaded but it gave a timeout error when i tried to execute >> the code at that address. >> I think the devices was hang after execute: >> sunxi-fel -v execute 0x2000 >> (nothing is displayed after this command line) >> sunxi-fel version >> usb_bulk_send() ERROR -7: Operation timed out >> (timed out error) I noticed that LiveSuit or PhoenixSuit can still switch >> the device to FES mode to flash the firmware, >> It could be the same method on the article above because I saw the >> extracted img rom contains fes1.fex and u-boot.fex but somehow it's not >> working for me or I have missed some steps compared to PhoenixSuit. >> Anyone can give me some advice/suggest? I'm quite new to this process and >> want to learn about it. My board is Tanix TX6s (Android TV board). Best >> regards, NamNH >> >> -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/77f205e4-9ce3-4add-9da2-9037a3dbd973n%40googlegroups.com.