On Fri, Mar 25, 2011 at 2:21 PM, Tixy tixy@yxit.co.uk wrote:
On Fri, 2011-03-25 at 12:47 -0600, Grant Likely wrote:
On Fri, Mar 25, 2011 at 12:22 PM, Tixy tixy@yxit.co.uk wrote:
[...]
"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.
That was one of the clues I was missing :-) Are there any instructions anywhere for getting U-Boot to pass a device tree?
Yes, look at what I wrote in the device tree status update Sunday night for the config bits:
http://lists.ozlabs.org/pipermail/devicetree-discuss/2011-March/005024.html
From looking at the uboot source I see the flattened device tree file is the 3rd argument to bootm, and I've found mkimage has a flat_dt type
Don't use mkimage on the dtb. Just load the raw dtb into RAM and pass the base address in the 3rd argument.
option. But I think I'm still missing something. I can carry on analysing U-Boot code but would be grateful for any tips on now to get my dtb file seen by a running kernel.
g.