-
Notifications
You must be signed in to change notification settings - Fork 158
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
Blank screen when flashing to SGS2 #273
Comments
Some bad things in logcat E/HAL ( 2611): load: module=/system/lib/hw/gralloc.GT-I9100.so I/DEBUG ( 9124): debuggerd committing suicide to free the zombie! Looks like we're failing to create a GL context, then (maybe) succeeding in using CPU fallback, but then apparently crashing. Are you using ICS sgs2, by chance? CC @michaelwu |
I am using Gingerbread on this particular device: mozilla@mozillab2g:~/dev/nexus-sgs2/B2G/gecko$ adb shell cat /system/build.prop | grep ro.build.display.id | sed -e 's/ro.build.display.id=//' | tr -d '\r' |
When was the last time you re-configured and flashed your kernel? There are some new files we need to pull off device for latest gecko. |
(i.e., make config-galaxy-s2 && make kernel, then flash) |
I did that today, actually. |
The issue is related to "libnetutils.so" pulled from device with newer stock FW, same as issue #261. If should be ok if sdk version < 15. $ adb shell cat /system/build.prop | grep ro.build.version.sdk |
I'm getting ro.build.version.sdk=10, so presumably this fix would work for me. |
mozilla@mozillab2g:~$ adb shell cat /system/build.prop | grep ro.build.version.sdk mozilla@mozillab2g:~$ adb shell cat /system/build.prop | grep ro.build.display.id |
tried on a newer phone and I'm still seeing the same issues: ro.build.version.sdk=10 |
@jammink can you paste the logcat from the newest attempts? |
build from mrproper today: logcat from XWKE7 GB device: |
Can you please list the exact steps you're taking to build and flash. Phone |
$ make mrproper |
There were two phones. Both were Samsung Galaxy SGS2, with ro.build.version.sdk=10:
|
I got a system.img (from the came commit and submodule sync) from @dhylands - and for some reason, when I'm flashing directly, it's actually flashing and loading ok. |
Hi John, On Wed, Apr 18, 2012 at 11:13 PM, John Hammink
That's a bit weird. It suggests that something in the build Dave Hylands |
It would have to be something identical in three separate build environments then. One of them, my flash station for mozcamp, has a fresh B2G git clone, from yesterday. @shianyow seems to believe it has to do with the firmware. But I have only these two phones (mentioned above), the XWKE7 was only bought a month or two ago. |
Hi John, On Thu, Apr 19, 2012 at 12:09 AM, John Hammink
Which version of ubuntu are you using? I happen to be using 12.04. If
And one of your phones has the same firmware version as mine. It's probably worth collecting a set of md5sums on the files extracted It's also possible that you need to make sure that the phone you're If some of the prebuilt libraries are different, then firmware built Dave Hylands |
Hi Dave First off - thanks for your help. It's been a long day here testing busted build configurations - but I have come up with a list of "pitfalls" which are one of the things I have to present at mozcamp. Plane leaves in 3 hours :-/ I'm using ubuntu 11.10 on all three of my envs (a VM, and both a laptop and desktop which are running natively). So the build tools issue is a distinct possibility (although nexus s flashes normally and without incident on all of the above envs - also SGS2 was flashing normally until very recently). The two S2s are the ones described in an early comment (not the same). We could do the MD5sum comparison at a later time - perhaps once my plane has landed! |
Just building |make gonk| doesn't build gecko, as of recently. Try a |make gonk && make| step. Also, check 'adb shell ls /system/b2g'. |
It looks like Issue #280 should fix your build problem |
Hmm. Maybe not. Because the fix for that was ics specific |
Bug 911271 - Fix run-gdb.sh to work with the new tree structure found in JB. r=mwu
May be related to #265
This appears with
B2G commit 08de3ea
Gecko commit 3ba41aed39d6307ab016535a1e30c758de69ebdd
Gaia commit 544ea8917f9ba459d49635c735e3e9b8acbfd0d4
After a $make gonk && $ make flash && cd gaia && git pull origin master && make install-gaia and reboot, I am looking at a blank screen on my device.
adb logcat output: pastebin.mozilla.org/1573802
The text was updated successfully, but these errors were encountered: