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/02178818-42cb-4f9f-b8c7-713cfdad2099n%40googlegroups.com.