Mirror of DTC
Find a file
David Gibson fa928fba7e Fix an off-by-2 error in the source output code
This has been there for ages, but the assertion makes no sense in the
context of the test immediately preceding it.  This caused an abort()
when in -I dts -O dts mode with the right sort of internal labels in a
string property value.

Add a testcase for this and another candidate edge case (though this one
we already get right).

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2014-06-18 22:49:43 +10:00
Documentation Update source code location for dtc in manual.txt 2014-03-03 10:51:24 +11:00
libfdt libfdt: Add helpers to read #address-cells and #size-cells 2014-05-12 16:01:09 +10:00
scripts Add DTC release version information. 2007-07-07 13:52:25 -05:00
tests Fix an off-by-2 error in the source output code 2014-06-18 22:49:43 +10:00
.gitignore .gitignore: Add rule for *.patch 2013-01-27 14:21:44 -06:00
checks.c dtc: fix some more -Wshadow warnings 2014-02-01 16:48:19 +11:00
convert-dtsv0-lexer.l util: add common ARRAY_SIZE define 2013-05-24 18:20:53 +10:00
data.c Use stdbool more widely 2013-10-28 21:06:53 +11:00
dtc-lexer.l Fix bug with references to root node 2014-05-09 20:48:49 +10:00
dtc-parser.y Remove references to unused DT_BASE token 2014-02-15 19:47:23 +11:00
dtc.c Use stdbool more widely 2013-10-28 21:06:53 +11:00
dtc.h dtc: fix some more -Wshadow warnings 2014-02-01 16:48:19 +11:00
dtdiff dtc: Add code to make diffing trees easier 2010-11-13 15:47:29 -06:00
fdtdump.c Correct output from memreserve in fdtdump 2014-06-18 21:02:51 +10:00
fdtget.c util: drop "long" from usage helpers 2013-05-24 18:20:53 +10:00
fdtput.c Consistently use xrealloc instead of realloc 2014-03-03 10:37:30 +11:00
flattree.c Use stdbool more widely 2013-10-28 21:06:53 +11:00
fstree.c dtc: fix some more -Wshadow warnings 2014-02-01 16:48:19 +11:00
GPL dtc: Remove redundant copy of the GPL 2007-06-25 21:43:11 -05:00
livetree.c Fix bug with references to root node 2014-05-09 20:48:49 +10:00
Makefile Add a basic test for fdtdump 2014-06-18 21:24:48 +10:00
Makefile.convert-dtsv0 Implement and use an xstrdup() function 2008-10-03 11:12:33 -05:00
Makefile.dtc Implement and use an xstrdup() function 2008-10-03 11:12:33 -05:00
Makefile.utils Add fdtput utility to write property values to a device tree 2012-01-21 15:08:39 -06:00
README Add a README file for dtc and libfdt 2014-02-12 11:33:42 +11:00
README.license dtc/libfdt: Add README clarifying licensing 2008-01-04 08:37:36 -06:00
srcpos.c dtc: avoid shadowing dirname() 2014-01-25 15:11:20 +11:00
srcpos.h Make srcpos_{v,}error() more widely useful 2014-01-01 23:27:31 +11:00
TODO dtc: Update TODO files 2007-12-19 08:20:26 -06:00
treesource.c Fix an off-by-2 error in the source output code 2014-06-18 22:49:43 +10:00
util.c Tweak code to display cell values 2014-06-18 21:02:51 +10:00
util.h Use stdbool more widely 2013-10-28 21:06:53 +11:00

The source tree contains the Device Tree Compiler (dtc) toolchain for
working with device tree source and binary files and also libfdt, a
utility library for reading and manipulating the binary format.

DTC and LIBFDT are maintained by:

David Gibson <david@gibson.dropbear.id.au>
Jon Loeliger <jdl@jdl.com>

Mailing list
------------
The following list is for discussion about dtc and libfdt implementation
mailto:devicetree-compiler@vger.kernel.org

Core device tree bindings are discussed on the devicetree-spec list:
mailto:devicetree-spec@vger.kernel.org

Home Page
---------
http://devicetree.org/Device_Tree_Compiler