2015-11-18 5:34 GMT+08:00 Bradford Lilly <
bradford.r...@gmail.com>:
> On Saturday, October 10, 2015 at 3:51:13 PM UTC-4, Chih-Wei Huang wrote:
>
> I've looked into this a little (and about to be a lot more). I'm full well aware this isn't working yet, but figured I'd post some of what I'm seeing here for other / debugging. It seems there are a couple things going on:
>
> * grub doesn't install. I noticed that grub-installer wasn't present on the install medium
It's surprised. I don't expect the installer need any change
since it doesn't depend on the android release.
But I admit I didn't test it yet.
> * To get around this, I first installed android-x86-4.4, opted NOT to format, then did the upgrade
> * The upgrade did not modify the old grub (as expected), so during boot you need to modify the grub options to point to the correct kernel / initrd
> * I'm running this in a vm, so I need to add qemu=1 to the kernel line
This is not necessary, or we have a bug to be fixed.
> * I boot to debug mode, set an ip address, then let android try to start.
> * When I see the "ANDROID" logo rolling on the screen, adb connect / logcat
> * Logcat indicates that it's having trouble with EGL. Not a surprise. I see the following:
> 11-17 21:02:17.898 1088 1088 I SurfaceFlinger: EGLSurface: 5-6-5-0, config=0x0
> 11-17 21:02:17.899 1088 1088 D SurfaceFlinger: Set power mode=2, type=0 flinger=0xb70e2000
> 11-17 21:02:17.932 1088 1089 E SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
> 11-17 21:02:17.932 1102 1106 D libEGL : Emulator without GPU support detected. Fallback to software renderer.
> 11-17 21:02:17.932 1102 1106 D libEGL : loaded /system/lib/egl/libGLES_android.so
>
> I think the take away there is the config=0x0. I know that there was a commit in previous version (8d7c775a37640af2c4081ad03b23b27184deba19) from Andy Ross that resolved this (at least for me) in the past. Unfortunately, it looks like the EGLConfig algorithm has changed (83835359e51ddb8be37cea9bf4bb32f9390d82b7), so this might need to be tweaked.
Basically speaking, it's not ported yet.
For graphic porting, we have two major tasks:
* For supported GPUs, enable Mesa support
* For non-supported GPUs, enable the software renderer.
Currently I only focus on the Mesa porting.
But it's blocked (totally broken) because
Google removed the workaround 10194508.
I've listed more details in another post.
Due to my limited knowledge for these topics
I can hardly move forward. Unfortunately
no Mesa developer is willing to help so far.
For the software renderer, the key point is to patch
the framework to enable or disable OpenGL renderer
at runtime. It's not done yet.
If you are interesting in vm, you can take this part.
> Like I said, in the next few weeks I'm going to be digging into this full bore. Is there a working group for this port (or a topic dedicated to it)? I'd be happy to work with you to get this done.
Thank you for the willing to help.
Except you and me I'm not aware of anyone is working on it.
You can create another topic for a more specific question,
of course.