[Freedreno] freedreno android-x86 lollipop build

Rob Clark robdclark at gmail.com
Mon Sep 21 14:58:58 PDT 2015


tbh, I'm not too well versed on the diff's between android-x86/aosp/etc..

In the end the current instructions are pulling in
mesa/libdrm/drm_gralloc via .repo/local_manifests/ so I guess we
shouldn't actually be depending on much/anything that is specific to
android-x86.  (Otoh, once the mesa/drm_gralloc stuff upstream, and
android-x86 has moved to new-enough versions, we should be able to
drop the local_manifests stuff..)

BR,
-R

On Mon, Sep 21, 2015 at 5:27 PM, Bernhard Rosenkränzer
<bernhard.rosenkranzer at linaro.org> wrote:
> Hi,
> that's great news!
>
> I'd like to get this working on top of regular AOSP, do you know which
> android-x86 modifications are needed for it to work?
> I presume I need to pull in android-x86's mesa, libdrm, and maybe
> surfaceflinger? Anything else?
>
> ttyl
> bero
>
> On 19 September 2015 at 20:36, Rob Clark <robdclark at gmail.com> wrote:
>>
>> Fyi, I have pushed device support for building android-x86 + freedreno
>> for ifc6410 to:
>>
>>    https://github.com/robclark/device_freedreno
>>
>> See the above link for instructions.
>>
>> This basically builds on what Varad had done, but gets rid of most of
>> the manual steps.  At least now the system.img is built automatically.
>> There is still a manual step for boot.img, but it at least the
>> ramdisk.img doesn't need to be built manually anymore.
>>
>> All of the libdrm patches we need are now upstream (as of earlier this
>> afternoon).  There are still some patches needed on drm_gralloc and
>> mesa (and, fwiw, we should merge drm_gralloc into mesa which would
>> simplify some of this and make life easier when it comes to the
>> internal gallium APIs from mesa that drm_gralloc is using).
>>
>> There are still a few rough edges, and generally a work-in-progress.
>> But I think at least now the build is something that others could
>> reproduce and start playing with and perhaps even contributing to
>> (since I admit, I am far from the expert when it comes to android
>> builds).
>>
>> Unfortunately there seems to be some issues w/ android-x86 git trees
>> at the moment (I was hoping to do a from-scratch build to sanity test
>> my instructions)..  hopefully that will be resolved soon.
>> Unfortunately I'll only have my laptop with me next week (which
>> doesn't have enough free disk space to do an android build) so unless
>> the android-x86 git trees start working again in the next few hours,
>> I'm not sure if I'll be able to test the instructions from the
>> README.md..  but they *should* work.
>>
>>
>> BR,
>> -R
>
>


More information about the Freedreno mailing list