-
Notifications
You must be signed in to change notification settings - Fork 16
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
ofgwrite fails with framebuffer not available #13
Comments
Does it work if you first stop e2 and then execute ofgwrite via telnet (complete command see above in the log). |
yes |
I know that some boxes prevent opening the frame buffer twice. https://github.com/oe-alliance/ofgwrite/blob/master/ofgwrite.c#L854 So at the moment I don’t have an idea how to fix that. Maybe wait a little bit more? |
Maybe add some more debug messages. Are you able to do that? Or should I offer a binary? (May take some days) |
thanks for your answers. I can take a closer look at this during the weekends. |
I would try to add a “sleep(1)” or similar before opening the framebuffer. If eg open_framebuffer is really successful and the driver afterwards “says” framebuffer is not open, then it would be a driver bug for me… |
Actually I don't see why it stops working when there is a framebuffer error, because the return code is ignored. |
So when there is a
So maybe there is subsequent read or write which goes wrong |
Ok, it is quite clear that |
And then? Stop ofgwrite or flash without showing the progress on the TV screen? init_framebuffer is called 2 times. Can you see which call fails? I guess the second one. Well, not very good coding from me :-( |
I hope the binary works (is build for ARM boxes). If not, patch is included. |
Maybe go to reboot,... well, there is no easy way to report an error actually
I think it's this one https://github.com/oe-alliance/ofgwrite/blob/master/ofgwrite.c#L854 but I am not sure. Thanks for the binary. This issue popups not every time, I will try to get a new log. |
Line 854: Yes, I think so, too. The binary tries now to open the framebuffer 2 times with 5 seconds delay after first try. So even if it’s successful, please look into the log whether first try failed. |
I'll let you know later, it's not compatible with armv7 |
Was for a sf8008 as build env was ready for this box and I thought all hisi boxes use similar arm chip... I'll try to build new binary... |
ofgwrite_framebuffer_log.zip |
Any feedback regarding this? |
Hi, |
Hi,
I am trying to use online flash in openatv 6.4 image on axashistwin.
After launching ofgwrite it goes until
init 2
stage, and then I see black screen. After ssh to the box I see that no ofgwrite and no enigma2 process is running. According to enigma2 log I haveThere is the following message in the /var/log/messages:
The text was updated successfully, but these errors were encountered: