Skip to contentSkip to conversation

What is this "flat device tree"

DISCUSSION Alex Zeffertt 2 participants 2 messages Sep 7, 2006

lore
Share & tools
lore
#0 lore raw

Can anybody explain to me what the "flat device tree" is? The phrase comes up often but I can't find a definition for it anywhere on the web.

TIA,

Alex

#1 lore raw
Quoted 2 lines · Alex Zeffertt

Can anybody explain to me what the "flat device tree" is? The phrase comes up often but I can't find a definition for it anywhere on the web.

See Documentation/powerpc/booting-without-of.txt in the kernel tree.

It's basically a representation of an Open Firmware device tree that has been flattened and given to the kernel when it boots. For platforms without Open Firmware, it needs to be constructed by the boot loader, or using the Device Tree Compiler (DTC).

josh