-
-
Notifications
You must be signed in to change notification settings - Fork 746
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
Pinecil v2 doesn't work after updating to v2.21 #1661
Comments
Update: just passed authenticity test (just for sanity). Manufacture date: February 27, 2023. |
No need to post it here. This looks like software issue, as rollback to v2.20 helps. |
There is no sign of exactly software/updater issue. Broken firmware also can lead to such state. Ability to flash any version of firmware comes from bootloader, and has nothing to do with software. |
@sorgelig by software I mean firmware, but I think it can be also flasher issue. |
Thanks for this information, we already have bunch of people updating this morning with different issues. so far all resolved and Success in the end. |
I'm using blisp 0.0.3. Windows 11. I don't know what else i'm missing... |
do you mean you also tried the earlier Beta a few days ago and also got a black screen? |
Log of flashing:
Then re-connect - screen is black. |
yes |
doesn't work too. |
Now we know you tried Pre-2.20 with bluetooth(nov 2022 beta), some of the 2.20xxxx with bluetooth and 2.21 with bluetooth all cause black screen. And only 2.20 with No bluetooth on it works for you. That is the extent of my knoweledge of what to try. need to wait for Ralim and Gamiee on this. |
One more thing to Try... 2.21 all all those beta's should have Bluetooth on by default Pinesam here: https://github.com/builder555/PineSAM Download the Premade =binary for windows and follow instructions under Premade Binaries. pinesam helped some people with black screen. |
btw, about Joric's pre-2.20 - it's not really pre.. it's pointed to releases/latest which currently is 2.21. |
I discovered, on v2.21, if i press button+ while connecting USB then sometimes iron starts (with debug screen) and then it works normally. It only happens sometimes, not every time. So i have to try several times to make it work. Without button, it never starts. |
i've already tried resetting before. It doesn't help. |
Partial success! Once i've got it working through button+ i've disabled BT. Now it starts without problems and without button. |
Some more info (may be useful): if i enable BT and then after several tries able to boot into debug mode, then my phone sees Pinecil BT device, so BLE is working on my iron. Just startup process somewhere hangs (when it doesn't start). |
The difference with PineSam is it shows you all of the Information all the Debug, allows all setting changes too. Even if your screen is buggy, it will let you control Pinecil. the premade binaries, it's 1 min to execute it and get it going with ./start script. on some windows PC with extra security you have to do command in Powershell to allow Powershell to run scripts. |
you are right he updated it recently to 29-03-23 version. |
PineSAM won't help. Please read my posts above. Iron really stuck in booting somewhere in BT initialization, so BT doesn't work, buttons don't work (no heat-up on button press). Disabling BT make my iron boot and work normally. |
oic you don't have any Bluetooth in your PC or laptop already then . Reason I like to use it for diagnosis is if people have a black screen it tells us if the rest of the Pinecil is still working. it helps to diagonose and get all data . Complete debug is shown with all numbers/data just as if we were inside pinecil. we have one person who messed up his screen and is still using Pinecil completely from PineSAM on his phone. |
Since you are able to partially get 2.21 started by pressing the (+) button go to Advanced menu, and turn off BLuetooth. and then see if it boots normally. |
please read my posts above. It's already done and working. |
I think it's a bug in firmware. I'm also HW and SW developer, and for me it looks like initialization process doesn't wait for some states. |
I'm on a small screen right now outside with doggies. Hopefully Ralim has work around for this . first case I've seen in with beta bLE over months of people using the Beta BLE where screen is black or partially unstable when ble enabled. could poor soldering cold joint of some part internally caused this unstable behavior. would be interesting to see over next few weeks if other people report on this or this is unique. |
Yeah, have the same issue, reconnecting the cable sometimes helps to start Pinecil , sometimes not. My opinion - it isn`t caused by BLE, maybe PPS/PD negotiating issue? Hmm.. |
I can confirm this for my pinecil v2. I just upgraded to the latest firmware. Sometimes when I plug in the USB-C cable, a black screen is shown and nothing happens. After replugging the cable, everything works fine usually. Sometimes it needs another replug. It also works in the opposite way: I plug in the usb-c cable - everything works fine; I replug the cable and the bug appears again. |
I just had a weird issue.
|
I tried some betas with ble before. Had the same issue with them. |
alrighty I pushed up a different solution that would be great for someone to test if they could |
Thanks for the updated, I can still reproduce the bug. But now it seems to happen less often. output:
|
I wonder why Pine64 cannot help with nailing the issue. They have many pinecils and definitely can find those not working after update and then test it thoughtfully or even send to Ralim. Didn't Ralim advertise them as most responsive and community oriented team? 3 months have passed and source of problem is still unclear. |
Thank you @PSandro That is excellent to hear, I suspect its still and out-of ram condition. So there are a few things that need to be set straight before we go into this and before anyone starts yelling at Pine. The people who should be in question for helping here are buffalo but I'll get to them in a second. (2) (3) (4) (5) So at the moment given the above, its a bit of a goose chase to debug what is OOM'ing and not handling itself correctly. I have narrowed it down to likely areas. If anyone in this thread is comfortable editing the code and re-flashing a bunch to try and narrow down the code I'd love to pair up with you to gain more insight.. Otherwise I'll continue my slow binary search of potential causes. I've found ways to definitely cause this to occur but they still dont 1:1 match up so its slow. Also keep in mind that yes "3 months have passed and source of problem is still unclear", but also in those 3 months I have not been around much to actually do anything. As this is a project of "when time is available", there are long stretches where I do not open it all. Ive only really spend a few hours on this fragmented over all of that time. |
Since BLE is an unavoidable part of newer firmware i suggest to turn BLE off by default. More over, it would be wise to clear this flag with EVERY flash of firmware. In that case, if some pinecil has this problem then simply reflash will fix. Those, who have no such issue and would like to use BLE will simply re-enable it after flash. So, firmware can move forward fixing other bugs while this issue can live some time without distracting. |
Since it is hard to remotely figure out why the crash happens, I can offer someone an fully working Pinecil V2, in exchange of Pinecil V2, which crashes on v2.21 . Shipment would go from/to Slovakia, I will cover the shipment fees. If you are interested, let me know by email on gamiee (at) pine64.org . Thanks! |
I'd happily ship mine, but it has a transparent case. Do you have one that also has it, @gamelaster? |
@aguilaair yes, eventually I can swap it. Although I see you are from USA, so that would introduce customs hassle and issues |
I'm currently in Spain! I study in the USA but am back in Spain for the whole summer :D |
@aguilaair ohhh, great! Can you please contact me on Discord (gamelaster), Telegram: ( gamiee ) or on email gamiee (at) pine64.org ? Thanks! |
Sent, @gamelaster! (email) |
Probably closed by accident. I received affected Pinecil V2 from @aguilaair (once again big thanks!), and I will try to look on it ASAP. Hopefully we can fix it soon. |
Let me know if you need another!I’m in the US.Best,RebeccaOn Jul 20, 2023, at 14:34, Marek Kraus ***@***.***> wrote:
Probably closed by accident. I received affected Pinecil V2 from @aguilaair (once again big thanks!), and I will try to look on it ASAP. Hopefully we can fix it soon.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hello 🙇🏼 Would like to update here that I've posted a PR which has some new build assets to test at #1756. |
@sorgelig pleaes can you try? Thanks! |
Sure, but where to get a ready to flash firmware? |
@sorgelig https://github.com/Ralim/IronOS/actions/runs/5635830175?pr=1756 , in PinecilV2.zip you should have pre-built binary for test. Or you can download EN version directly here: |
flashed already. It seems booting fine with BT enabled! |
@sorgelig yes, app is needed, there is one made by @aguilaair but not published yet. And amazing! very happy to see it works! |
Just tested on Windows with PineSAM from post above. It works fine! |
Great work @Ralim! |
Well done! Just flashed mine and tested. It works normal. |
@vadimcreates yay! Amazing to hear. Thank you all for tests! 👍 |
I found this thread very informative when I was looking at some of the internals of the Pinecil v2 support in IronOS. Since there was some discussion of getting access to the UART for logs on the Pinecil v2, which causes this thread to surface for various related search terms, I thought I would drop a link to the setup I've been using with a Raspberry Pi Pico. Hope its helpful for folks who might have a few Pico's lying around! https://danielmangum.com/posts/risc-v-bytes-accessing-pinecil-uart-picoprobe/ |
That's amazing! Thanks :) |
Describe the bug
After flashing by blisp to v2.21 my pinecil v2 looks completely dead.
To Reproduce
Expected behavior
normal work
Details of your device:
Additional context
v2.21 it seems doesn't work on my Pinecil v2. Thankfully, flashing v2.20 brings iron back to life.
The text was updated successfully, but these errors were encountered: