[PATCH v2] Partially revert "video: fbdev: amba-clcd: Retire elder CLCD driver"

Linus Walleij linus.walleij at linaro.org
Wed Sep 30 10:28:11 EDT 2020


On Tue, Sep 29, 2020 at 11:16 PM Peter Collingbourne <pcc at google.com> wrote:
> On Tue, Sep 29, 2020 at 1:33 PM Linus Walleij <linus.walleij at linaro.org> wrote:

> > Can you also share the kernel config used for this build so it is
> > easy to rebuild a similar kernel?
>
> There are instructions here for how to build Android targeting FVP:
> https://cs.android.com/android/platform/superproject/+/master:device/generic/goldfish/fvpbase/README.md
>
> It also includes instructions for building the kernel (which is the
> Android common kernel so it does have some patches on top, but it does
> closely track mainline) so you should be able to make your changes on
> top of the common kernel, rebuild and test them that way.

OK I'll try it! It seems to assume the user is already familiar with the Android
build process in some sense, and I haven't built Android since 2012
or so, so I need some struggling to get up to speed.

Android being as it is I suppose it as usual also require quite a lot of
harddrive space to build, so I need to get hold of a computer with enough
space on it.

> Because of how Android boot images work I don't think it would be easy
> to provide binaries where you can replace the kernel image. Let me
> know if you have any trouble following the instructions.
>
> The configuration is basically a combination of these two configs:
> https://android.googlesource.com/kernel/common/+/refs/heads/android-mainline/arch/arm64/configs/gki_defconfig
> https://android-review.googlesource.com/c/kernel/common/+/1145352/11/fvp.fragment
>
> Those configs enable the fbdev driver. You can apply the patch I
> posted earlier to fvp.fragment to switch to the DRM driver.

Excellent thanks.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list