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

Fel connects but data not transferring - new issue #35

Open
sridharrajagopal opened this issue Jan 22, 2025 · 1 comment
Open

Fel connects but data not transferring - new issue #35

sridharrajagopal opened this issue Jan 22, 2025 · 1 comment

Comments

@sridharrajagopal
Copy link

I'm facing the same issue. One chip successfully flashed, but the other is giving this problem. I modified the scripts to add verbosity to sunxi-fel, and saw that this is the command that fails:

sudo sunxi-fel --verbose spl .new/firmware/images/sunxi-spl.bin
Enabling the L2 cache
Stack pointers: sp_irq=0x00002000, sp=0x00005DF8
Reading the MMU translation table from 0x00008000
Disabling I-cache, MMU and branch prediction... done.
=> Executing the SPL... done.
usb_bulk_send() ERROR -7: Operation timed out

I've tried attaching the chip to a powered USB hub, but still have the same issue.

Thanks,
Sridhar

Originally posted by @sridharrajagopal in #17

@sridharrajagopal
Copy link
Author

Referring to linux-sunxi/sunxi-tools#100 , I built sunxi-tools from source code, and tried

sudo ./sunxi-fel --verbose spl bin/uart0-helloworld-sdboot.sunxi
found DT name in SPL header:
Enabling the L2 cache
Stack pointers: sp_irq=0x00002000, sp=0x00005DF8
Reading the MMU translation table from 0x00008000
Disabling I-cache, MMU and branch prediction... done.
=> Executing the SPL... done.
Setting write-combine mapping for DRAM.
Setting cached mapping for BROM.
Writing back the MMU translation table.
Enabling I-cache, MMU and branch prediction... done.

which completed.

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

1 participant