[Skiboot] [PATCH 0/6] Introduce external/devicetree

Reza Arbab arbab at linux.ibm.com
Thu Feb 14 08:42:32 AEDT 2019


A little while back I tried to add a custom op-build package which could
deliver device tree(s) to accompany the skiboot/kernel/rootfs output images.

After some discussion, the consensus was that instead of using op-build, it
would be better to consolidate these reference device trees in the skiboot
repo, as skiboot is their primary consumer anyway.

So here's a patch set that uses the existing
doc/device-tree/example/power9-phb4.dts as the basis of a new
external/devicetree directory, where we derive a p9-simics.dtb from it.

With this in, we can add a BR2_SKIBOOT_DEVICETREE or somesuch to op-build that
installs dtb files per the original intention.

Reza Arbab (6):
  devicetree: Fix syntax error in power9-phb4.dts
  devicetree: Fix typo in power9-phb4.dts
  devicetree: Add nx node to power9-phb4.dts
  devicetree: Move power9-phb4.dts
  devicetree: Add p9-simics.dts
  devicetree: Add Makefile to build dtb binaries

 doc/device-tree/examples/power9-phb4.dts | 230 -------------------------------
 external/devicetree/.gitignore           |   1 +
 external/devicetree/Makefile             |  10 ++
 external/devicetree/p9-simics.dts        |  16 +++
 external/devicetree/p9.dts               | 221 +++++++++++++++++++++++++++++
 5 files changed, 248 insertions(+), 230 deletions(-)
 delete mode 100644 doc/device-tree/examples/power9-phb4.dts
 create mode 100644 external/devicetree/.gitignore
 create mode 100644 external/devicetree/Makefile
 create mode 100644 external/devicetree/p9-simics.dts
 create mode 100644 external/devicetree/p9.dts

-- 
1.8.3.1



More information about the Skiboot mailing list