Hi Geert,
On Tue, Nov 30, 2021 at 09:13:45AM +0100, Geert Uytterhoeven wrote:
On Mon, Nov 29, 2021 at 11:17 PM Maxime Ripard maxime@cerno.tech wrote:
The problem that fbtft (and this series) wants to fix is completely different though: it wants to address the issue the users are facing. Namely, you get a cheap display from wherever, connect it to your shiny new SBC and wants to get something on the display.
In this situation, the user probably doesn't have the knowledge to introduce the compatible in the kernel in the first place. But there's also some technical barriers there: if they use secure boot, they can't change the kernel (well, at least the knowledge required is far above what we can expect from the average user). If the platform doesn't allow
If you can change the DT, you can introduce a vulnerability to change the kernel ;-)
Indeed
access to the DT, you can't change the DT either.
How do people connect a cheap display from wherever to their shiny new SBC and make it work, without modifying DT?
Through overlays, usually. I guess it would still qualify as "DT", but it's not the main DT
And the other issues remain the same: while the DT could be "easily" patched, the kernel certainly isn't and we need both with the current expectations.
Maxime