From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frank Rowand Subject: Re: [PATCH v2] scripts/dtc: dt_to_config - kernel config options for a devicetree Date: Fri, 24 Jun 2016 16:08:38 -0700 Message-ID: <576DBD76.9090002@gmail.com> References: <575B46CE.6080903@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Rob Herring Cc: Gaurav Minocha , Grant Likely , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Geert Uytterhoeven , Pavel Machek List-Id: devicetree@vger.kernel.org On 06/24/16 13:31, Rob Herring wrote: > On Fri, Jun 10, 2016 at 6:01 PM, Frank Rowand wrote: >> From: Frank Rowand >> >> 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 >> Signed-off-by: Frank Rowand > > 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