2016-10-15 16:45:17

by Amit Pundir

[permalink] [raw]
Subject: Regression in ARM CLCD Fb

Hi,

Commit 25348160e9a4 ("video: ARM CLCD: add special panel hook for
Versatiles") broke CLCD framebuffer on my qemu-system-arm +
vexpress-v2p-ca9.dtb + Android test setup.

Android boot failed with:

E/SurfaceFlinger( 1003): ERROR: failed to open framebuffer (No such
file or directory), aborting

It means Android didn't find /dev/fb* or equivalent /dev/graphics/fb*.

Any thoughts on what might be going wrong here? Or am I missing
anything obvious in my Qemu setup, though it was working fine so far.
I'd be happy to help debug things.

Regards,
Amit Pundir


2016-10-19 19:06:06

by Linus Walleij

[permalink] [raw]
Subject: Re: Regression in ARM CLCD Fb

On Sat, Oct 15, 2016 at 6:44 PM, Amit Pundir <[email protected]> wrote:

> Commit 25348160e9a4 ("video: ARM CLCD: add special panel hook for
> Versatiles") broke CLCD framebuffer on my qemu-system-arm +
> vexpress-v2p-ca9.dtb + Android test setup.

OMG I have to fix that, sorry.

Can you tell me how you invoke qemu?

> Android boot failed with:
>
> E/SurfaceFlinger( 1003): ERROR: failed to open framebuffer (No such
> file or directory), aborting
>
> It means Android didn't find /dev/fb* or equivalent /dev/graphics/fb*.
>
> Any thoughts on what might be going wrong here? Or am I missing
> anything obvious in my Qemu setup, though it was working fine so far.
> I'd be happy to help debug things.

Probably not, I guess it's my screwup and relates to machines
without the special CLCD control registers.

I just need to reproduce it and I will fix.

Yours,
Linus Walleij

2016-10-20 06:47:26

by Linus Walleij

[permalink] [raw]
Subject: Re: Regression in ARM CLCD Fb

On Sat, Oct 15, 2016 at 6:44 PM, Amit Pundir <[email protected]> wrote:

> Commit 25348160e9a4 ("video: ARM CLCD: add special panel hook for
> Versatiles") broke CLCD framebuffer on my qemu-system-arm +
> vexpress-v2p-ca9.dtb + Android test setup.

Sent a patch tested on QEMU, check if it solves your problem!

Yours,
Linus Walleij

>
> Android boot failed with:
>
> E/SurfaceFlinger( 1003): ERROR: failed to open framebuffer (No such
> file or directory), aborting
>
> It means Android didn't find /dev/fb* or equivalent /dev/graphics/fb*.
>
> Any thoughts on what might be going wrong here? Or am I missing
> anything obvious in my Qemu setup, though it was working fine so far.
> I'd be happy to help debug things.
>
> Regards,
> Amit Pundir