[Bug 1654213] [NEW] fdtdump doesn't ouput correctly

Hiroshi Takekawa sian.ht at gmail.com
Thu Jan 5 10:51:34 UTC 2017


Public bug reported:

fdtdump of device tree compiler package (I found in 16.04 LTS and 14.04
LTS) outputs bogus dts.

Would you please consider at least applying the upstream patch below?

https://git.kernel.org/cgit/utils/dtc/dtc.git/patch/?id=883238dc508e721db694277c5273a4c3e9a7132f

Test:
Prepare dtb (device tree blob, any dtb would be suffice).

$ fdtdump dtb > dts
$ dtc -I dts -O dtb < dts > dtb.new
$ cmp dtb dtb.new

There should be no difference between dtb and dtb.new.
I tested successfully with the patch applied (and failed with the vanilla package).

** Affects: device-tree-compiler (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: dtb dtc dts fdtdump kernel

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to device-tree-compiler in Ubuntu.
https://bugs.launchpad.net/bugs/1654213

Title:
  fdtdump doesn't ouput correctly

Status in device-tree-compiler package in Ubuntu:
  New

Bug description:
  fdtdump of device tree compiler package (I found in 16.04 LTS and
  14.04 LTS) outputs bogus dts.

  Would you please consider at least applying the upstream patch below?

  https://git.kernel.org/cgit/utils/dtc/dtc.git/patch/?id=883238dc508e721db694277c5273a4c3e9a7132f

  Test:
  Prepare dtb (device tree blob, any dtb would be suffice).

  $ fdtdump dtb > dts
  $ dtc -I dts -O dtb < dts > dtb.new
  $ cmp dtb dtb.new

  There should be no difference between dtb and dtb.new.
  I tested successfully with the patch applied (and failed with the vanilla package).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/device-tree-compiler/+bug/1654213/+subscriptions



More information about the foundations-bugs mailing list