On Fri, Mar 25, 2011 at 12:22 PM, Tixy tixy@yxit.co.uk wrote:
I'm currently trying to get basic device tree support added to B Beagleboard and I suspect I've been going about things the hard/wrong way. Is there a branch which has all the required infrastructure already merged?
I've been working off linux-linaro-2.6.38.git, so I've applied some patches I found through Google:
"Add dtb make rule" http://www.mail-archive.com/linaro-dev@lists.linaro.org/msg02925.html
While not required, this is a useful patch and I'll probably get it added for the 11.05 release.
"Allow the device tree binary to be appended to zImage" http://www.spinics.net/lists/arm-kernel/msg119379.html
You don't need this patch for what needs to be changed to the hwpack. I may add this one for the 11.05 release, but it is not required when u-boot passes the .dtb image.
I was about to go hunting down the next missing bits when it dawned on me I must be doing something wrong. Surely there is a branch somewhere which already has all the essential changes?
Everything you need should be in the current Linaro kernel and u-boot trees. I'm also working on verifying that now for Panda, and I'll post updates if I find missing bits.
g.