Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1390803
| Path | csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Geert Uytterhoeven <geert@linux-m68k.org> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] scripts/dtc: dt_to_config - report kernel config options for a devicetree |
| Date | Fri, 29 Apr 2016 08:50:02 +0200 |
| Message-ID | <rtaps-1qB-7@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> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc; bh=+LKExATzEl7EV0cXlRPc4bAsaqLoHSfdEgKEt2aLrME=; b=qkVzNMQ6170AQNjM7UoOr4T3G40rIw5NDy2LaLXEmgjTSJs87tTCSzgF40sHDdZTmn vQAdKZJtsocyxAL2P7/0JAGL+88A0fyPka9KSkb5mp1MweRgiLS24wRxh4yHQ9naRfk7 /o242lbz3OlkrwnBeRWS7R4GDEcUv32fJsplQKKO8nqutSD4E9jKUJQordVJneZQNNlz UYHdS/Ou1wCP34x6aD2zxUQozXlVxstJdKP+r4GaWiiEU1+eNARd+1GFssb9HoVwaSHF 9/31bSRGvbNPDzDolmKgFDHMlbKg8bsiNHvAXLrfLfCmOP1XBSkrhfLPnBa3NSVICbJ2 oJqA== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc; bh=+LKExATzEl7EV0cXlRPc4bAsaqLoHSfdEgKEt2aLrME=; b=nFlTfdI/BH9y1mzuj/aUR6k9vXZQEHYnZZhNptMQinqP7DSnnYmhxu9xNP+G+259dq YAGmz9DouQW1/xzW/GQNalGvlmfoi4niC566IuRCEiW8otJueMPrUeofTR+CXcQjAvGZ ryI2nhJNHKNG8e97YxBbzjdee8ZWhT3fZKQTzFFJdveJOjTKY/GffPyyzPUXS8UYJ4z4 NJMkPzB9LJY9As+vVntXPMvEuVs8TNqh7Gtwl1Ztyw09KDNBBPMWOIKEm7IaTta3RkQd QHPBtPsazD4n6hV3lxU5gbR/2Dvm8TvMiDoJgp8SxPURhpHDT5SrB2jWsv2Cd8GTiFER 85tQ== |
| X-Gm-Message-State | AOPr4FXne/4LJzWYPv29UpoG5w3HFmtWjW5Jl7pwmzXoKvqveYwtn6vI6cWTS7JDO9cVtp9fbKuTMc3fJ6OsAA== |
| MIME-Version | 1.0 |
| X-Received | by 10.50.96.132 with SMTP id ds4mr2476020igb.31.1461912241879; Thu, 28 Apr 2016 23:44:01 -0700 (PDT) |
| X-Google-Sender-Auth | JQ2CZzJKG2J1a_ugjinKTGRctRs |
| Content-Type | text/plain; charset=UTF-8 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 34 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Rob Herring <robh+dt@kernel.org>, Frank Rowand <frowand.list@gmail.com>, Grant Likely <grant.likely@linaro.org>, "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>, Linux Kernel list <linux-kernel@vger.kernel.org>, Geert Uytterhoeven <geert+renesas@glider.be>, Pavel Machek <pavel@ucw.cz>, Alison Chaiken <alison_chaiken@mentor.com> |
| X-Original-Date | Fri, 29 Apr 2016 08:44:01 +0200 |
| X-Original-Message-ID | <CAMuHMdUBq7XUTDrWenNy7tsnvLQdp9H5hUmzqUZ2F6wVUQn21g@mail.gmail.com> |
| X-Original-References | <572284AB.102@gmail.com> <CAL_JsqKGcc_wXV2_-3ZVS7gzfo2ao9z+eATdnKVsyRnW2O5e4A@mail.gmail.com> <CA+rpMbJkWM+bsvXT77eyLGewtKHjX1inc0vjsWxYQTCgzmpDGg@mail.gmail.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1390803 |
Show key headers only | View raw
On Fri, Apr 29, 2016 at 8: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.
A fragment to be appended to your current .config.
After that, an additional run of "make oldconfig" should (hopefully) bring
everything into good shape.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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