Hi Amit I am trying to run ICS on a custom made board with a software Opengl. I download the AOSP repo and did a full-eng build and i was able to run the emulator on my PC. Next i disabled openGL for emulator by commenting out the line "0 1 emulator" in the egl.cfg file present in /development/tools/emulator/opengl/system/egl/egl.cfg. As i understand commenting this line enables the software rendering of OPENGL which done through the next line of egl.cfg i.e. "0 0 android". Also i have made BUILD_EMULATOR_OPENGL := false USE_OPENGL_RENDERER := false in /home/nithin/ICS_Droid/build/target/board/generic/BoardConfig.mk With the above changes i build the android ICS sdk and system folder is generated. I have also ported android kernel for my board and created a ramdisk which contains all the init related files of android. So when the kernel boots i have to manually run ./init and android starts to boot. During booting in logcat i get the below error E/AndroidRuntime( 2155): FATAL EXCEPTION: main E/AndroidRuntime( 2155): java.lang.RuntimeException: eglConfig not initialized Note that i have not added any device specfic code or made make file changes to sdk. I just want to run generic build on target. And then start introducing board specfic changes to android SDK one by one. Can u please tell what are the software opengl hacks that u mentioned below ? Thank you Regards Nithin
On Wednesday, 30 November 2011 15:52:56 UTC+9, Amit Pundir wrote: > Have you included SGX binaries as well? Display won't come up until you > use Panda SGX binaries or tweak your build to include s/w opengles hacks. > > Reards, > Amit Pundir > > On 30 November 2011 11:50, Ajeesh Chandran <[email protected]<javascript:> > > wrote: > >> Hi, >> >> I haven't altered screen resolution. >> >> I have download android source tree from (http:/ >> source.android.com/source/downloading.html). and built android file >> system and used binaries from the following path >> (device/ti/panda/bootloader.bin, as wellas device/ti/panda/x-loader.bin) >> >> Please check the attached logs >> >> >> 1. FATAL EXCEPTION and eglConfig not initialized >> >> I/StatusBar.HeightReceiver( 347): Resizing status bar plugged=false >> height=48 old=0 >> I/WindowManager( 281): createSurface Window{4115dba8 Keyguard >> paused=false}: DRAW NOW PENDING >> E/AndroidRuntime( 281): *** FATAL EXCEPTION IN SYSTEM PROCESS: >> WindowManagerPolicy >> E/AndroidRuntime( 281): java.lang.RuntimeException: eglConfig not >> initialized >> >> 2. Unknown permission >> >> W/PackageManager( 453): Unknown permission >> android.permission.READ_EXTERNAL_STORAGE in package com.android.videoeditor >> W/PackageManager( 453): Unknown permission >> com.google.android.googleapps.permission.GOOGLE_AUTH in package >> com.android.settings >> W/PackageManager( 453): Unknown permission >> com.google.android.googleapps.permission.GOOGLE_AUTH in package >> com.android.providers.contacts >> W/PackageManager( 453): Unknown permission >> com.google.android.googleapps.permission.GOOGLE_AUTH.cp in package >> com.android.providers.contacts >> W/PackageManager( 453): Unknown permission >> com.google.android.googleapps.permission.GOOGLE_AUTH.mail in package >> com.android.contacts >> W/PackageManager( 453): Unknown permission >> android.permission.ADD_SYSTEM_SERVICE in package com.android.phone >> W/PackageManager( 453): Unknown permission >> com.google.android.googleapps.permission.GOOGLE_AUTH in package >> com.android.providers.calendar >> >> >> Thanks >> Ajeeshc >> >> >> On Tue, Nov 29, 2011 at 9:14 PM, jagan <[email protected] >> <javascript:>>wrote: >> >>> Do you edit the kernel CMD LINE or used default one. >>> means did you set any screen resolution or something..? >>> >>> Regards, >>> Jagan >>> >>> On Tue, Nov 29, 2011 at 5:02 PM, Ajeesh Chandran >>> <[email protected]<javascript:> >>> > wrote: >>> >>>> Hi, >>>> >>>> Board setup: >>>> - PANDA Board >>>> - Mini-USB to the PC >>>> - HDMI-to-DVI-D connector >>>> >>>> >>>> I have load binaries based on the readme file - >>>> "device/ti/Panda/README" >>>> I have done the following steps mentioned in the readme file >>>> >>>> 1. build fastboot >>>> >>>> 2. With no SD card inserted, plug USB first, then the power cord, and >>>> load fastboot over USB: >>>> >>>> 3. Once in fastboot, insert and initialize an SD card (4GB or greater): >>>> >>>> 4. Build and flash: >>>> Reboot into the SD card's fastboot (hold GPIO_121 and press >>>> PWRON_RESET) and flash the system: >>>> >>>> >>>> After loading binaries, i have used the hdmi to DVI-d converter and >>>> connected to dell monitor. >>>> >>>> On the Dell monitor i can see ANDROID logo is dispalyed and staying >>>> there. >>>> >>>> I am able to get the logs through ADB Logcat. I have doubt on the >>>> following 2 parts in the log. >>>> >>>> 1. FATAL EXCEPTION and eglConfig not initialized >>>> >>>> I/StatusBar.HeightReceiver( 347): Resizing status bar >>>> plugged=false height=48 old=0 >>>> I/WindowManager( 281): createSurface Window{4115dba8 Keyguard >>>> paused=false}: DRAW NOW PENDING >>>> E/AndroidRuntime( 281): *** FATAL EXCEPTION IN SYSTEM PROCESS: >>>> WindowManagerPolicy >>>> E/AndroidRuntime( 281): java.lang.RuntimeException: eglConfig not >>>> initialized >>>> >>>> 2. Unknown permission >>>> >>>> W/PackageManager( 453): Unknown permission >>>> android.permission.READ_EXTERNAL_STORAGE in package >>>> com.android.videoeditor >>>> W/PackageManager( 453): Unknown permission >>>> com.google.android.googleapps.permission.GOOGLE_AUTH in package >>>> com.android.settings >>>> W/PackageManager( 453): Unknown permission >>>> com.google.android.googleapps.permission.GOOGLE_AUTH in package >>>> com.android.providers.contacts >>>> W/PackageManager( 453): Unknown permission >>>> com.google.android.googleapps.permission.GOOGLE_AUTH.cp in package >>>> com.android.providers.contacts >>>> W/PackageManager( 453): Unknown permission >>>> com.google.android.googleapps.permission.GOOGLE_AUTH.mail in package >>>> com.android.contacts >>>> W/PackageManager( 453): Unknown permission >>>> android.permission.ADD_SYSTEM_SERVICE in package com.android.phone >>>> W/PackageManager( 453): Unknown permission >>>> com.google.android.googleapps.permission.GOOGLE_AUTH in package >>>> com.android.providers.calendar >>>> >>>> >>>> Can you please help me out in this issue >>>> >>>> Thanks >>>> Ajeeshc >>>> >>>> -- >>>> unsubscribe: [email protected] <javascript:> >>>> website: http://groups.google.com/group/android-kernel >>> >>> >>> -- >>> unsubscribe: [email protected] <javascript:> >>> website: http://groups.google.com/group/android-kernel >> >> >> -- >> unsubscribe: [email protected] <javascript:> >> website: http://groups.google.com/group/android-kernel >> > > -- unsubscribe: [email protected] website: http://groups.google.com/group/android-kernel
