Thread (68 messages) 68 messages, 9 authors, 2016-03-07

[PATCH 11/11] ARM: versatile: move CLCD configuration to device tree

From: Pantelis Antoniou <hidden>
Date: 2016-02-25 14:35:00
Also in: linux-fbdev

Hi Linus,
On Feb 25, 2016, at 15:43 , Linus Walleij [off-list ref] wrote:

On Wed, Feb 24, 2016 at 1:13 PM, Pantelis Antoniou
[off-list ref] wrote:
quoted
IMHO DT+overlays handle all your cases just fine.

As far as I see these are the cases which we need to handle:

1) The expansion board in question has some means of identification, whether it?s an
EEPROM or a GPIO keying combination etc. In that case it is the kernel?s job to match this
id value with a dtbo firmware file and apply it. The blob is located via means of request_firmware().
Since the dawn of time the x86 people used that console to display
the early boot crawl and collect crash data. What you're suggesting
is that we can't get the console up until after the filesystems and mounts
are up so the kernel can read firmware files.

This kills of early boot graphics and getting crash logs on the fbdev
console until that has happened.

It also means there is no way to get the console up without the right
firmware files in the filesystem. I think that is really crap compared
to what we have today where the display will always come up, and
basically a regression.

I understand the stance with respect to things like add-on hardware
like a Bluetooth board or WLAN or whatnot. But the fbdev console
is just too basic, like a serial port IMO.

Sure in the ARM world we usually have a serial console, but this is
seriously breaking current practice.
As Tomi mentioned firmware files can be located in the kernel image; there is no
requirement to be in a filesystem, and that application can be performed really
early, before even early init.

The comparison with x86 is not absolutely valid, since on x86 you know that
the video hardware is going to be present, always.

This is not so in ARM world, especially in the case we?re talking about, an add-on board.
Yours,
Linus Walleij
Regards

? Pantelis
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help