devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Frank Rowand <frowand.list-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: Gaurav Minocha
	<gaurav.minocha.os-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Grant Likely
	<grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	"devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Geert Uytterhoeven
	<geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>,
	Pavel Machek <pavel-+ZI9xUNit7I@public.gmane.org>
Subject: Re: [PATCH v2] scripts/dtc: dt_to_config - kernel config options for a devicetree
Date: Fri, 24 Jun 2016 16:08:38 -0700	[thread overview]
Message-ID: <576DBD76.9090002@gmail.com> (raw)
In-Reply-To: <CAL_JsqKf4Xrqz5Cu345yqDqfoEgvjrbsDk6JKAPN0USNzckRBw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On 06/24/16 13:31, Rob Herring wrote:
> On Fri, Jun 10, 2016 at 6:01 PM, Frank Rowand <frowand.list-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>> From: Frank Rowand <frank.rowand-mEdOJwZ7QcZBDgjK7y7TUQ@public.gmane.org>
>>
>> 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.
>>
>> Signed-off-by: Gaurav Minocha <gaurav.minocha.os-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
>> Signed-off-by: Frank Rowand <frank.rowand-mEdOJwZ7QcZBDgjK7y7TUQ@public.gmane.org>
> 
> I applied, but this is what I get running it:
> 
> $ scripts/dtc/dt_to_config arch/arm/boot/dts/highbank.dts
> 
> file 'dtx_diff' is not executable or does not exist
>    Is scripts/dtc/ in the shell $PATH variable?
>    Are you in the root directory of a kernel tree?
> 
> The answer to the first question is no, and I'm not going to add it.
> If I'm in the kernel root, then the script should know where to find
> it.

OK, I'll send a patch to have dtx_diff be a little bit smarter about
how to find dtx_diff.

> 
> Rob
> 
> P.S. There is this new tool called git and its sub command
> git-format-patch. It has some nifty features like setting the file
> mode, so the maintainer doesn't have to. And it enables doing a 3-way
> merge when applying patches that don't apply cleanly. ;)
> 
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      parent reply	other threads:[~2016-06-24 23:08 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-10 23:01 [PATCH v2] scripts/dtc: dt_to_config - kernel config options for a devicetree Frank Rowand
     [not found] ` <575B46CE.6080903-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-06-10 23:03   ` [PATCH v2] scripts/dtc: dt_to_config - usage message Frank Rowand
2016-06-10 23:03   ` [PATCH v2] scripts/dtc: dt_to_config - show lists Frank Rowand
2016-06-10 23:05   ` Example 1 -- show only the nodes that have complications Frank Rowand
2016-06-10 23:06   ` [PATCH v2] scripts/dtc: dt_to_config - example 2: nodes with complications Frank Rowand
2016-06-10 23:07   ` [PATCH v2] scripts/dtc: dt_to_config - example 3: nodes with complications, add config fragment Frank Rowand
2016-06-10 23:08   ` [PATCH v2] scripts/dtc: dt_to_config - example 4: all nodes Frank Rowand
2016-06-10 23:09   ` [PATCH v2] scripts/dtc: dt_to_config - example 5: complex kernel config Frank Rowand
2016-06-21 21:43   ` [PATCH v2] scripts/dtc: dt_to_config - kernel config options for a devicetree Frank Rowand
2016-06-24 20:31   ` Rob Herring
     [not found]     ` <CAL_JsqKf4Xrqz5Cu345yqDqfoEgvjrbsDk6JKAPN0USNzckRBw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-06-24 23:08       ` Frank Rowand [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=576DBD76.9090002@gmail.com \
    --to=frowand.list-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=gaurav.minocha.os-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org \
    --cc=grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=pavel-+ZI9xUNit7I@public.gmane.org \
    --cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).