[coreboot] visualizing the coreboot device tree

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Fri Aug 29 12:57:46 CEST 2008


On 29.08.2008 12:40, Stefan Reinauer wrote:
> This patch creates static.dot visualizing the coreboot device tree (v2)
>
> create pngs with
>  $ fdp -o static.png -Tpng static.dot
> or
>  $ dot -o static.png -Tpng static.dot
>
> edge colors:
>  blue: parent->self relation
>  red: self->child relation
>  green: self->sibling relation
>  pink: self->next relation
>
> TODO/ideas:
>  node colors according to device type?
>  put devices belonging to the same parent on the same level
>  add an agenda
>
> I don't think this should be committed yet, it's just a rough try I created
> to debug a problem with the device tree code / resource allocator.
>
> Signed-off-by: Stefan Reinauer <stepan at coresystems.de>
>   

Very cool stuff! I'll test later. Now if we had something like that for
v3, it would be even more awesome.

Regards,
Carl-Daniel




More information about the coreboot mailing list