summaryrefslogtreecommitdiffstats
path: root/usr.bin/dtc/dtc.1
diff options
context:
space:
mode:
authorgonzo <gonzo@FreeBSD.org>2017-05-09 18:46:49 +0000
committergonzo <gonzo@FreeBSD.org>2017-05-09 18:46:49 +0000
commit29cda47102c181f97579f936cbd1c6f161bd1803 (patch)
treea4a70769d53eb3264d5844bcdc0d973c128c46c7 /usr.bin/dtc/dtc.1
parenta9b8726378db98b10060b453ee57d0faa10f8565 (diff)
downloadFreeBSD-src-29cda47102c181f97579f936cbd1c6f161bd1803.zip
FreeBSD-src-29cda47102c181f97579f936cbd1c6f161bd1803.tar.gz
MFC r306806, r313709, r317058, r317060
r306806 by emaste: Improvements to BSD-licensed DTC. - Numerous crash and bug fixes - Improved warning and error messages - Permit multiple labels on nodes and properties - Fix node@address references - Add support for /delete-node/ - Consume whitespace after a node - Read the next token before the second /memreserve/ - Fix parsing of whitespace - Clean up /delete-node/ and add support for /delete-property/ - Handle /delete-node/ specifying a unit address Obtained from: https://github.com/davidchisnall/dtc @df5ede4 r313709 by dim: Fix build of BSD dtc when NDEBUG is defined (MK_ASSERT_DEBUG=no): * Initialize correct parent in binary_operator's constructor. * Include <errno.h> explicitly, otherwise errno is undefined (without NDEBUG, this is accidentally 'fixed' by including <iostream>). Reported by: matteo r317058 by emaste: dtc: remove unused (since r306806) string.hh r317060 by emaste: dtc: update to upstream 227d6a3 - Report missing includes at the correct location. - Add initial support for the -@ option emitting a symbol table. - Add support for running tests with and without -@ - Add support for generating __fixups__ and __local_fixups__ - Attach the to-string transform to the node path.
Diffstat (limited to 'usr.bin/dtc/dtc.1')
-rw-r--r--usr.bin/dtc/dtc.18
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/dtc/dtc.1 b/usr.bin/dtc/dtc.1
index afb94f7..2201691 100644
--- a/usr.bin/dtc/dtc.1
+++ b/usr.bin/dtc/dtc.1
@@ -38,7 +38,7 @@
.Nd device tree compiler
.Sh SYNOPSIS
.Nm
-.Op Fl fhsv
+.Op Fl @fhsv
.Op Fl b Ar boot_cpu_id
.Op Fl d Ar dependency_file
.Op Fl E Ar [no-]checker_name
@@ -84,6 +84,8 @@ Enable or disable a specified checker.
The argument is the name of the checker.
The full list of checkers is given in
.Sx CHECKERS .
+.It Fl @
+Emit a __symbols__ node to allow plugins to be loaded.
.It Fl f
Force the tool to attempt to generate the output, even if the input had errors.
.It Fl h
@@ -237,6 +239,10 @@ Checks that all nodes with children have both
and
.Va #size-cells
properties.
+.It deleted-nodes
+Checks that all
+.Va /delete-node/
+statements refer to nodes that are merged.
.El
.Sh EXAMPLES
The command:
OpenPOWER on IntegriCloud