lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <56997D49.6000203@gmail.com>
Date:	Fri, 15 Jan 2016 15:14:17 -0800
From:	Frank Rowand <frowand.list@...il.com>
To:	Rob Herring <robh+dt@...nel.org>
CC:	Grant Likely <grant.likely@...aro.org>,
	david@...son.dropbear.id.au,
	"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
	Linux Kernel list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] dtc: create tool to diff device trees

Hi Rob,

On 1/7/2016 11:03 AM, Frank Rowand wrote:
> From: Frank Rowand <frank.rowand@...ymobile.com>
> 
> Create script to diff device trees.
> 
> The device tree can be in any of the forms recognized by the dtc compiler:
>   - source
>   - binary blob
>   - file system tree (from /proc/devicetree)
> 
> If the device tree is a source file, then it is pre-processed in the
> same way as it would be when built in the linux kernel source tree
> before diffing.
> 
> Signed-off-by: Frank Rowand <frank.rowand@...ymobile.com>
> ---
> 
> Tools to develop and debug device tree are somewhat inadequate.  This is a
> small step in improving the situation.
> 
> Rationale for and examples of using the script are provided in slides
> 1 - 78 of the elce 2015 presentation "Solving Device Tree Issues",
> which can be found at:
> 
>    http://elinux.org/images/0/04/Dt_debugging_elce_2015_151006_0421.pdf
> 
> (The script was named dtdiff instead of dtx_diff in the presentation.)
> 
> Changes in v2:
>   - Remove dt-bindings from list of includes in cpp_flags
>   - Remove arch_dtc_flags, which were generated from the arch specific
>     dts makefile
>   - Reformat to 8 character tabs
>   - compile_to_dts(): added back missing return for binary blob
> 
> 
>  scripts/dtc/dtx_diff |  343 +++++++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 343 insertions(+)

< snip >

Did v2 resolve your issues, or would you like some additional changes?

Thanks,

Frank

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ