Opened 5 years ago

Closed 5 years ago

#11568 closed enhancement (fixed)

OFW - ARM - add flattened device tree support

Reported by: wmb@… Owned by: wmb@…
Priority: normal Milestone: Not Triaged
Component: ofw - open firmware Version: not specified
Keywords: Cc: dilinger@…, jon.nettleton@…, saadia@…
Blocked By: Blocking:
Deployments affected: Action Needed: review
Verified: no


The upstream Linux kernel already supports the flattened device tree format, with a pointer passed in r2. OFW on ARM should export a flattened tree.

Change History (6)

comment:1 Changed 5 years ago by wmb@…

  • Cc dilinger@… jon.nettleton@… saadia@… added
  • Status changed from new to assigned

Initial implementation by svn 2800, with test build at . By default, that build exports the old ATAGs thing in r2. If you type "use-fdt" before booting, it will instead export the flattened device tree via r2.

This is just a first step. The device tree needs a lot of work, to

a) Ensure that necessary device nodes are present in the right form. One example is the twsi node, which should be split into multiple twsi@address nodes.

b) Add interrupts properties to all relevant nodes.

The Linux kernel needs work too...

comment:2 Changed 5 years ago by Quozl

Q4C12 has this OpenFirmware change.

comment:3 Changed 5 years ago by martin.langhoff

  • Milestone changed from Not Triaged to 11.3.1

comment:4 Changed 5 years ago by Quozl

  • Action Needed changed from code to add to build

Q4D06 adopts flattened device tree by default. Can be disabled with:

false to use-fdt?

comment:5 Changed 5 years ago by Quozl

  • Action Needed changed from add to build to review
  • Milestone changed from 11.3.1 to Not Triaged

as part of the 11.3.1 build os885 ticket check ... some of this is already in build, i'm not sure what else needs to be done on this ticket, nor which milestone to plug it in to.

comment:6 Changed 5 years ago by wmb@…

  • Resolution set to fixed
  • Status changed from assigned to closed

Device tree work is proceeding full steam ahead and no longer needs to be tracked.

Note: See TracTickets for help on using tickets.