This is a FFe request for the new upstream version of device-tree-compiler, 1.2.0, which introduces new features such as include files support. This tool is primarily of use to developers, but it is also a build-dependency of certain kernel-related packages for powerpc (the various armel kernel packages also have this as a [powerpc] build-dep): -- natty/main build deps on device-tree-compiler: linux linux-ti-omap4 ps3-kboot qemu-kvm -- natty/universe build deps on device-tree-compiler: linux-linaro-mx51 linux-linaro-omap linux-linaro-s5pv310 linux-linaro-u8500 linux-linaro-vexpress linux-n900 The debdiff is pretty reasonable. $ debdiff device-tree-compiler_1.*.dsc | filterdiff -x '**/tests/**' -x '**/Documentation/**' | diffstat .gitignore | 9 + Makefile | 34 +++- Makefile.dtc | 18 -- checks.c | 90 +++++++++--- comment-test.dts | 38 ----- convert-dtsv0-lexer.l | 257 ++++++++++++++++++++++++++++++++++++ data.c | 62 ++++---- debian/changelog | 7 debian/control | 3 debian/watch | 2 dtc-lexer.l | 64 +++------ dtc-parser.y | 45 +++++- dtc.c | 45 ++---- dtc.h | 43 +----- flattree.c | 217 +++++++++++------------------- fstree.c | 8 - ftdump.c | 195 +++++++++++++++++++++++++++ libfdt/Makefile.libfdt | 8 - libfdt/fdt.c | 61 +++++++- libfdt/fdt_ro.c | 333 +++++++++++++++-------------------------------- libfdt/fdt_rw.c | 188 ++++++++++++-------------- libfdt/fdt_strerror.c | 38 ++--- libfdt/fdt_sw.c | 55 +++---- libfdt/fdt_wip.c | 9 - libfdt/libfdt.h | 42 +++-- libfdt/libfdt_env.h | 27 +-- libfdt/libfdt_internal.h | 24 ++- livetree.c | 10 - srcpos.c | 11 - srcpos.h | 3 treesource.c | 13 - 31 files changed, 1151 insertions(+), 808 deletions(-) Upstream git log shows mostly bugfixes and a few new features, but no major code reorg or architecture changes. $ git log --oneline v1.1.0..v1.2.0 52c356d Tag Version 1.2.0 a653228 libfdt: Fix 'make install' target handling of .h files. 17773b0 Tag Version 1.2.0-rc2 08309aa libfdt: Improve documentation in libfdt.h b6d80a2 libfdt: Increase namespace-pollution paranoia 4d7bea7 dtc: Run relevant checks on dtb input as well as dts 1409097 dtc: Enable and fix -Wcast-qual warnings 36786db dtc: Enable and fix -Wpointer-arith warnings 76e0622 dtc: Clean up lexing of include files cdcb415 dtc: Address an assortment of portability problems 11d7100 dtc: Use libfdt endian conversion functions in libfdt c8c374b dtc: Use the same endian-conversion functions as libfdt 5335901 dtc: Use stdint.h types throughout dtc f8e52fe dtc: Testcase for /include/ directive f8bf4bf Tag Version 1.2.0-rc1 e37ec7d dtc: Add support for binary includes. 050e6f0 dtc: Add a testcase for 'reg' or 'ranges' in / 6aaee51 dtc: Fix some printf() format warnings when compiling 64-bit fc6e6f8 dtc: Remove some small bashisms from test scripts aa1baab libfdt: Several cleanups to parameter checking e4a64a8 dtc: Remove reference to dead Makefile variables a84c065 dtc: Add program to convert dts files from v0 to v1 548767f dtc: Rework handling of boot_cpuid_phys a742aad dtc: Make dt_from_blob() open its own input file, like the other input formats c260154 dtc: Trivial formatting fixes 6a6c972 dtc: Clean up included Makefile fragments 35aa1a2 dtc: Simplify error handling for unparseable input 1577696 dtc: Change exit code for usage message 2192d46 dtc: Cleanup \nnn and \xNN string escape handling 3bdd393 dtc: Add some documentation for the dts formta 1a9468c dtc: Abolish asize field of struct data 8a88ad8 dtc: Remove ugly include stack abuse f7ea370 dtc: Make dtc_open_file() die() if unable to open requested file 6c2e4d6 dtc: Testcases for input handling 68fe10b dtc: Assorted improvements to test harness 6b8e056 dtc: Make eval_literal() static b2de518 dtc: Make -I dtb mode use fill_fullpaths() 5ac97df dtc: Use for_each_marker_of_type in asm_emit_data() a266e5c dtc: Test and fix conversion to/from old dtb versions d028e84 dtc: Strip redundant "name" properties 2b3a967 dtc: Fix indentation of fixup_phandle_references fa5b520 dtc: Implement checks for the format of node and property names 7c635dc dtc: Fix error reporting in push_input_file() 2512a7e libfdt: Remove no longer used code from fdt_node_offset_by_compatible() 8a4e750 libfdt: Trivial cleanup for CHECK_HEADER) a90b590 libfdt: More tests of NOP handling behaviour d8b6942 dtc: Fold comment handling test into testsuite 089adb9 libfdt: Fix NOP handling bug in fdt_add_subnode_namelen() fc9769a libfdt: Add and use a node iteration helper function.