summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiklaus Giger <niklaus.giger@member.fsf.org>2008-10-02 22:06:35 +0200
committerJon Loeliger <jdl@jdl.com>2008-10-03 09:24:05 -0500
commit3a90ce6d75ae68c4aadb20fcceeb61a71bc548f3 (patch)
tree8f26fdd6df97779f5eace8b4d90f58999721a30d
parent9c83115351443a132c5c1cbad6cda79d52f63489 (diff)
downloaddtc-3a90ce6d75ae68c4aadb20fcceeb61a71bc548f3.tar.gz
Install & document convert-dtsv0
Signed-off-by: Niklaus Giger <niklaus.giger@member.fsf.org> Acked-by: David Gibson <david@gibson.dropbear.id.au>
-rw-r--r--Documentation/manual.txt20
-rw-r--r--Makefile1
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)