Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1395218

Re: [PATCH] scripts/dtc: dt_to_config - report kernel config options for a devicetree

From Gaurav Minocha <gaurav.minocha.os@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] scripts/dtc: dt_to_config - report kernel config options for a devicetree
Date 2016-05-05 18:30 +0200
Message-ID <rvuk2-3e2-35@gated-at.bofh.it> (permalink)
References <rt1YT-2LF-17@gated-at.bofh.it> <rt2Lf-3pn-1@gated-at.bofh.it> <rtapr-1qB-1@gated-at.bofh.it> <rtJQe-5CN-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, Apr 30, 2016 at 1:38 PM, Rob Herring <robh+dt@kernel.org> wrote:
> On Fri, Apr 29, 2016 at 1:39 AM, Gaurav Minocha
> <gaurav.minocha.os@gmail.com> wrote:
>> On Thu, Apr 28, 2016 at 3:32 PM, Rob Herring <robh+dt@kernel.org> wrote:
>>> On Thu, Apr 28, 2016 at 4:46 PM, Frank Rowand <frowand.list@gmail.com> wrote:
>>>> From: Frank Rowand <frank.rowand@am.sony.com>
>>>>
>>>> Determining which kernel config options need to be enabled for a
>>>> given devicetree can be a painful process.  Create a new tool to
>>>> find the drivers that may match a devicetree node compatible,
>>>> find the kernel config options that enable the driver, and
>>>> optionally report whether the kernel config option is enabled.
>>>
>>> I would find this more useful to output a config fragment with all the
>>> options enabled. The hard part there is enabling the options a given
>>> option is dependent on which I don't think kbuild takes care of.
>>
>> Do you mean to generate something like .config? If yes, then IMO it would
>> not be a correct configuration file.
>
> No, only a config fragment which is just some subset of config
> options. Then you could have a generic defconfig plus the fragment for
> a platform to get a working setup.

Okay, that seems like a useful option, that should be part of the tool itself.
Will discuss with Frank once he is back. Thanks!

>
> Rob

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] scripts/dtc: dt_to_config - report kernel config options  for a devicetree Frank Rowand <frowand.list@gmail.com> - 2016-04-28 23:50 +0200
  Re: [PATCH] scripts/dtc: dt_to_config - usage message Frank Rowand <frowand.list@gmail.com> - 2016-04-29 00:00 +0200
  Re: [PATCH] scripts/dtc: dt_to_config - report kernel config options  for a devicetree Frank Rowand <frowand.list@gmail.com> - 2016-04-29 00:00 +0200
  Re: [PATCH] scripts/dtc: dt_to_config - example 1 Frank Rowand <frowand.list@gmail.com> - 2016-04-29 00:00 +0200
  Re: [PATCH] scripts/dtc: dt_to_config - example 2 Frank Rowand <frowand.list@gmail.com> - 2016-04-29 00:00 +0200
  Re: [PATCH] scripts/dtc: dt_to_config - report kernel config options  for a devicetree Rob Herring <robh+dt@kernel.org> - 2016-04-29 00:40 +0200
    Re: [PATCH] scripts/dtc: dt_to_config - report kernel config options  for a devicetree Frank Rowand <frowand.list@gmail.com> - 2016-04-29 01:40 +0200
      Re: [PATCH] scripts/dtc: dt_to_config - report kernel config options  for a devicetree Gaurav Minocha <gaurav.minocha.os@gmail.com> - 2016-04-29 01:50 +0200
    Re: [PATCH] scripts/dtc: dt_to_config - report kernel config options  for a devicetree Gaurav Minocha <gaurav.minocha.os@gmail.com> - 2016-04-29 08:50 +0200
      Re: [PATCH] scripts/dtc: dt_to_config - report kernel config options  for a devicetree Geert Uytterhoeven <geert@linux-m68k.org> - 2016-04-29 08:50 +0200
        Re: [PATCH] scripts/dtc: dt_to_config - report kernel config options  for a devicetree Frank Rowand <frowand.list@gmail.com> - 2016-04-29 18:00 +0200
      Re: [PATCH] scripts/dtc: dt_to_config - report kernel config options  for a devicetree Rob Herring <robh+dt@kernel.org> - 2016-04-30 22:40 +0200
        Re: [PATCH] scripts/dtc: dt_to_config - report kernel config options  for a devicetree Gaurav Minocha <gaurav.minocha.os@gmail.com> - 2016-05-05 18:30 +0200

csiph-web