Re: RFC: build config via DT names

From: Enrico Weigelt, metux IT consult
Date: Tue Feb 13 2018 - 08:17:07 EST


On 12.02.2018 23:24, Frank Rowand wrote:

There is a tool to aid this process: scripts/dtc/dt_to_config. It is not
a 100% solution, but it is very helpful.

The problem is difficult enough that this tool led to a conference talk.
The slides are at https://elinux.org/images/5/50/Dt_debugging_part_2.pdf
which is linked to from
https://elinux.org/Device_Tree_presentations_papers_articles#linux_kernel_configuration

I believe my approach can make this much simpler, at least for most
drivers: the maintainers would explicitly add proper config flags,
instead of letting the tool guess it.

Of course, it would take some amount of work to do that for all drivers,
but we could do that step by step.


--mtx