On Thursday, January 2, 2014 11:27:39 AM UTC+5:30, 
[email protected] wrote:
>
> Hi all,
>
> I am porting android jelly bean to a new device. I am have ported android 
> kernel stuffs into my search by using the patches from android kernel from 
> their source code.
>
> I have also added the device(ery basic stuffs not wifi etc) files.
>
> Now I am supposed to add display to my device. I am not concerned about 
> harware acceleration in the initial steps. I just want the display.
> So I am supposed to add android display HAL. I am confused with three 
> things.
> 1) HWcomposer HAL.
> 2) Gralloc.
> 3) Framebuffer.
>
> The confusion that I am running through is that, I just want the basic 
> display to work. What I am supposed to do for this.
> Do I need to write HWcomposer, gralloc and framebuffer.
>
> If I am supposed to do this can anybody point me to some documents 
> regarding the same.
>
> Also will the display be up if I implement only gralloc and Framebuffer.
>
> Which android version are you using? For Android 4.4, the the approach I 
posted earlier in this thread should work.

-Vishveshwar
 

> On Tuesday, November 26, 2013 6:15:54 PM UTC+5:30, Vishveshwar wrote:
>>
>> On Monday, November 25, 2013 1:34:57 PM UTC+5:30, David wrote:
>>>
>>> Hi, Vishveshwar,
>>>
>>>     I have successfully used your example to make my device boot into 
>>> launcher.
>>>
>>> Great!
>>  
>>
>>>     However, your gralloc and framebuffer code seems not work with our 
>>> driver implementation.
>>>     I get black screen and review our driver code now.
>>>
>>
>> The gralloc code is same as gralloc.default in AOSP hardware/libhardware 
>> except the hack to avoid  lcd tearing using the 
>> fbio_pandisplay/waitforvsync ioctls.
>>
>> Do update this thread whenever you find the solution for your issue.
>>
>> -Vishveshwar
>>
>>>     Still thanks for your advice. Very helpful!        
>>>
>>> Vishveshwar於 2013年11月22日星期五UTC+8下午2時44分14秒寫道:
>>>>
>>>> On Tuesday, November 19, 2013 12:37:01 PM UTC+5:30, David wrote:
>>>>>
>>>>> Thanks.
>>>>>
>>>>> I try to apply emulator setting. It seems the library works only in 
>>>>> QEMU.
>>>>>
>>>>> I repeatedly got the following messages
>>>>>
>>>>> E/EGL_emulation( 1753): Failed to establish connection with the host
>>>>> E/        ( 1753): Failed to connect to host (QemuPipeStream)!!!
>>>>>
>>>>> Then SurfaceFlinger crash.
>>>>>
>>>>> I just wonder what egl.cfg and software stack I should include in my 
>>>>> build.
>>>>>
>>>>
>>>> Can you list the changes that you did?
>>>> Also list the contents of /system/lib/egl and the contents of egl.cfg.
>>>>
>>>> I have the BeagleBone display working in Android by just adding the 
>>>> additional system properties I linked to above.
>>>>
>>>> You could clone my device configuration for Beaglebone and try with the 
>>>> resulting image. There is nothing device-specific in it.
>>>>
>>>> https://gitorious.org/rowboat/vishveshwars-beaglebone/commits/54efabfb87d4f8526a6c0afe9b220f213210f536<https://www.google.com/url?q=https%3A%2F%2Fgitorious.org%2Frowboat%2Fvishveshwars-beaglebone%2Fcommits%2F54efabfb87d4f8526a6c0afe9b220f213210f536&sa=D&sntz=1&usg=AFQjCNEorezRE3y7KlCV8fMSKySl43yj3Q>
>>>>
>>>> -Vishveshwar
>>>>
>>>>>
>>>>> Vishveshwar於 2013年11月15日星期五UTC+8下午3時00分50秒寫道:
>>>>>>
>>>>>> On Thursday, November 14, 2013 11:37:33 AM UTC+5:30, David wrote:
>>>>>>>
>>>>>>> Hi, all,
>>>>>>>
>>>>>>>     I am porting katkit to our new hardware. 
>>>>>>>
>>>>>>>     Because the graphic driver is not yet ready, I want to use 
>>>>>>> framebuffer + software openGL to boot the device.
>>>>>>>
>>>>>>>     What should I do? I check the HWComposer.cpp, but seems its mFbDev 
>>>>>>> never filled.
>>>>>>>
>>>>>>>   Does anyone has experience to make this work?
>>>>>>>
>>>>>>> Not sure about hwc, but if you do not yet have the opengl drivers, 
>>>>>> you need to force qemu emulation mode to get software opengl driver to 
>>>>>> work.
>>>>>>
>>>>>> You can refer to my patch for the Beaglebone device here and do 
>>>>>> something similar:
>>>>>>
>>>>>> https://gitorious.org/rowboat/vishveshwars-beaglebone/commit/158fef703ed888923ffbc8d0bac286b1025b5874<https://www.google.com/url?q=https%3A%2F%2Fgitorious.org%2Frowboat%2Fvishveshwars-beaglebone%2Fcommit%2F158fef703ed888923ffbc8d0bac286b1025b5874&sa=D&sntz=1&usg=AFQjCNGIC-_voD6EMhMph0T1aikzY8PgmA>
>>>>>>
>>>>>> -Vishveshwar 
>>>>>>
>>>>>>>
>>>>>>>   
>>>>>>>
>>>>>>>
>>>>>>>

-- 
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to