[FFe] update dtc to newer version

Bug #726632 reported by Rob Herring
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
device-tree-compiler (Debian)
Fix Released
Unknown
device-tree-compiler (Ubuntu)
Fix Released
Undecided
Steve Langasek

Bug Description

Binary package hint: device-tree-compiler

The 1.1.0 version of dtc is quite old and missing some features like include files in device-tree source. The current mainline version is 1.2.0, but head of tree may be better as 1.2.0 is 2 years old.

Steve Langasek (vorlon)
Changed in device-tree-compiler (Ubuntu):
assignee: nobody → Steve Langasek (vorlon)
Changed in device-tree-compiler (Debian):
status: Unknown → New
Steve Langasek (vorlon)
summary: - update dtc to newer version
+ [FFe] update dtc to newer version
Revision history for this message
Steve Langasek (vorlon) wrote :
Download full text (4.8 KiB)

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 ...

Read more...

tags: added: upgrade-software-version
Revision history for this message
Martin Pitt (pitti) wrote :

Primarily a developer tool, low regression impact potential for the released products. Approved, thanks!

Changed in device-tree-compiler (Ubuntu):
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package device-tree-compiler - 1.2.0-0ubuntu1

---------------
device-tree-compiler (1.2.0-0ubuntu1) natty; urgency=low

  * Feature Freeze exception: LP: #726632.
  * Add a debian/watch file to point at the upstream website.
  * New upstream release.
 -- Steve Langasek <email address hidden> Fri, 04 Mar 2011 09:04:13 -0800

Changed in device-tree-compiler (Ubuntu):
status: Confirmed → Fix Released
Changed in device-tree-compiler (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.