* [PATCH] Install & document convert-dtsv0
@ 2008-10-02 20:06 Niklaus Giger
2008-10-03 0:22 ` David Gibson
2008-10-03 16:38 ` Jon Loeliger
0 siblings, 2 replies; 3+ messages in thread
From: Niklaus Giger @ 2008-10-02 20:06 UTC (permalink / raw)
To: linuxppc-dev@ozlabs.org
Patch against http://www.jdl.com/software/dtc.git
Signed-off-by: Niklaus Giger <niklaus.giger@member.fsf.org>
---
Documentation/manual.txt | 20 ++++++++++++++++++++
Makefile | 1 +
2 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/Documentation/manual.txt b/Documentation/manual.txt
index b957662..0674384 100644
--- a/Documentation/manual.txt
+++ b/Documentation/manual.txt
@@ -19,6 +19,8 @@ II - The DT block format
III - libfdt
+IV - Conversion to Version 1
+
I - "dtc", the device tree compiler
===================================
@@ -613,6 +615,24 @@ strings block.
III - libfdt
+============
This library should be merged into dtc proper.
This library should likely be worked into U-Boot and the kernel.
+
+IV - Conversion to Version 1
+============================
+
+convert-dtsv0 is a small utility program which converts (DTS)
+Device Tree Source from the obsolete version 0 to version 1.
+
+Version 1 DTS files are marked by line "/dts-v1/;" at the top of the file.
+
+The syntax of the convert-dtsv0 command line is:
+
+convert-dtsv0 [<input_filename ... >]
+
+Each file passed will be converted to the new /dts-v1/ version by creating
+a new file with a "v1" appended the filename.
+
+Comments, empty lines, etc. are preserved.
diff --git a/Makefile b/Makefile
index 5ad0189..558e10c 100644
--- a/Makefile
+++ b/Makefile
@@ -52,6 +52,7 @@ install: all
@$(VECHO) INSTALL
$(INSTALL) -d $(DESTDIR)$(BINDIR)
$(INSTALL) -m 755 dtc $(DESTDIR)$(BINDIR)
+ $(INSTALL) -m 755 convert-dtsv0 $(DESTDIR)$(BINDIR)
$(INSTALL) -d $(DESTDIR)$(LIBDIR)
$(INSTALL) -m 644 $(LIBFDT_lib) $(DESTDIR)$(LIBDIR)
$(INSTALL) -d $(DESTDIR)$(INCLUDEDIR)
--
1.6.0.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] Install & document convert-dtsv0
2008-10-02 20:06 [PATCH] Install & document convert-dtsv0 Niklaus Giger
@ 2008-10-03 0:22 ` David Gibson
2008-10-03 16:38 ` Jon Loeliger
1 sibling, 0 replies; 3+ messages in thread
From: David Gibson @ 2008-10-03 0:22 UTC (permalink / raw)
To: Niklaus Giger; +Cc: linuxppc-dev@ozlabs.org
On Thu, Oct 02, 2008 at 10:06:35PM +0200, Niklaus Giger wrote:
> Patch against http://www.jdl.com/software/dtc.git
> Signed-off-by: Niklaus Giger <niklaus.giger@member.fsf.org>
Thanks.
Acked-by: David Gibson <david@gibson.dropbear.id.au>
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Install & document convert-dtsv0
2008-10-02 20:06 [PATCH] Install & document convert-dtsv0 Niklaus Giger
2008-10-03 0:22 ` David Gibson
@ 2008-10-03 16:38 ` Jon Loeliger
1 sibling, 0 replies; 3+ messages in thread
From: Jon Loeliger @ 2008-10-03 16:38 UTC (permalink / raw)
To: Niklaus Giger; +Cc: linuxppc-dev@ozlabs.org, devicetree-discuss
> Patch against http://www.jdl.com/software/dtc.git
> Signed-off-by: Niklaus Giger <niklaus.giger@member.fsf.org>
> ---
> Documentation/manual.txt | 20 ++++++++++++++++++++
> Makefile | 1 +
> 2 files changed, 21 insertions(+), 0 deletions(-)
Applied.
Thanks,
jdl
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-10-03 16:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-02 20:06 [PATCH] Install & document convert-dtsv0 Niklaus Giger
2008-10-03 0:22 ` David Gibson
2008-10-03 16:38 ` Jon Loeliger
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).