[PATCH v4 7/7] dt: add documentation of ARM dt boot interface

Grant Likely grant.likely at secretlab.ca
Tue Feb 22 23:35:30 EST 2011


On Tue, Feb 22, 2011 at 7:55 PM, Nicolas Pitre <nicolas.pitre at linaro.org> wrote:
> On Tue, 22 Feb 2011, Grant Likely wrote:
>
>> +The boot loader must load a device tree image (dtb) into system ram
>> +at a 64bit aligned address and initialize it with the boot data.
> [...]
>> +                r2 : physical pointer to the device-tree block
>> +                (defined in chapter II) in RAM.  Device tree can be located
>> +                anywhere in system RAM, but it should be aligned on a 32 bit
>> +                boundary.
>
> So... which one is true?

Oops, I thought I fixed that.  It should be 64 bit boundary (actually,
32 bit is probably just fine, but there are some header fields which
are u64 physical address values so it probably makes sense to keep it
aligned for 64 bits).

g.

>
>
> Nicolas
>



-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.



More information about the linux-arm-kernel mailing list