Thread (7 messages) 7 messages, 5 authors, 2011-06-20

[PATCH] Support multiple MEM tags with atags->fdt conversion

From: Nicolas Pitre <hidden>
Date: 2011-06-15 19:50:37
Also in: linux-arm-msm, linux-devicetree

Possibly related (same subject, not in this thread)

On Tue, 14 Jun 2011, David Brown wrote:
Some targets have multiple memory regions.  Parse up to 8 of these
when converting the atags to fdt.

Signed-off-by: David Brown <redacted>
I've added your patch to my zImage patch queue.
With this change, I am able to boot MSM8x60 combining ATAGS and my DT.
It seems to work as long as my device tree has placeholders for all of
the properties I need.
I think those missing nodes should simply be created if missing.  I 
however don't see any function in the libfdt API to do that -- there is 
fdt_add_subnode() but no fdt_add_node().  Any DT expert please?

Also, should the DTB be enlarged in order to add new nodes, or even 
modify existing ones with larger properties?  In other words, 
should something like fdt_move(fdt, fdt, fdt_totalsize(fdt)+HEADROOM) be 
used beforehand?


Nicolas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help