David Gibson 6ea8cd944f tests: More thorough tests of libfdt overlay application without dtc
At the moment we have some rudimentary tests of the fdt_overlay_apply()
function which don't rely on overlay generation support in dtc.  This is
done by avoiding any external references in the sample overlay, in
particularly using the 'target-path' syntax instead of 'target' to avoid
needing external references in the fragment targets.  Thus this test case
doesn't exercise libfdt's processing of the __fixups__ node at all.

We do test that somewhat in combination with dtc's overlay support.
However, in the interests of being able to quickly determine which side a
bug is on, it would be nice to exercise this without requiring the dtc
support.

This adds testcases to do so, by making some examples with manually
constructed __symbols__ and __fixups__ nodes.  In addition we rename some
of the test data files and add some extra check_path tests to make it a bit
clearer what's going on here.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2016-12-09 16:13:35 +11:00
2013-01-27 14:21:44 -06:00
2015-07-02 12:36:12 +10:00
2016-12-09 13:26:39 +11:00
2016-12-09 13:26:39 +11:00
2016-12-09 13:26:39 +11:00
2016-12-09 13:26:39 +11:00
2016-12-09 13:26:39 +11:00
2016-07-24 01:05:05 +10:00
2016-07-24 01:05:05 +10:00
2016-12-09 13:26:39 +11:00
2016-12-09 13:26:39 +11:00
2007-06-25 21:43:11 -05:00
2016-12-09 13:26:39 +11:00
2016-09-28 11:29:07 +10:00
2016-07-13 00:44:53 +10:00
2016-07-13 00:44:53 +10:00
2007-12-19 08:20:26 -06: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
Description
android_external_dtc
Readme 2.2 MiB
Languages
C 76.1%
Shell 7%
SWIG 4.8%
Python 3.8%
Assembly 2%
Other 6.3%