-
Notifications
You must be signed in to change notification settings - Fork 53
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
Loader freezes while writing stage2 #12
Comments
On 20/02/2015 11:34, Jacob Rosenthal wrote:
What if you change send_max to something smaller? Even something as low Sean |
Same. |
FYI, with my hardware (a typical mt6260 smartwatch), with current master (i.e. after 1dc8e8c) I was able to get into shell ~ dozen times, and in that commit redefined FIFO_MAX back to 32, it booted and were able to run dozen of commands. My boot dump (obvious difference from the dump above is "hardware version... 0xcb00"):
|
I bragged too early. With FIFO_MAX=32, I get 100% lockup on running "keypad" command (funnily, lockup happens immediately after pressing Enter key - I don't even see carriage return "printed" by fernly). |
The keypad is doing a busyloop, yes. You have to press the # key (bottom right) on the keypad to return to normal fernly command shell. |
My comment above reports issue with USB communication, at best output data being lost, at worst, lockup. The fact that it happens with "keypad" command is random, like usually happens with race conditions. |
Something is definitely racy there. |
@xobs: But to clarify, the whole fernly runs with interrupts disabled, and instead just polls irq status bits when needed, right? (I.e. we can exclude races due to irq's.) |
@pfalcon Yes, interrupts are disabled. |
Hmm I had this issue with mtk6261 in a china GPS, couldnt finish stage two. I know this repo doesnt support that, so I am using the one from https://github.com/isogashii/fernly which supports the 6261 supposedly. |
@nieldk I'm also trying to get shell on a 6261 device, mine gets stuck on waiting for shell (using same repo/branch as you). |
Did you read my comment? I managed to get it making that small change i mentioned |
Well, your issue was different (getting stuck at writing stage 2) but anyway I've tried that before asking, didn't help :P |
As of 1023337 I can't get into shell anymore. My hardware claims to be EVT1-B
The text was updated successfully, but these errors were encountered: