Of the device tree binary format endianness on little-endianplatform

Laurent Gregoire laurent.gregoire at tomtom.com
Thu Feb 19 19:54:55 EST 2009


> Please take a look at the ePAPR where the flattened 
> device tree format is formally speced out.
> 
> http://www.power.org/resources/downloads/Power_ePAPR_APPROVED_v1.0.pdf
> 
> Integers in property values and in the DTB structure
> are all big-endian.

According to all this discussion so far, we'll then keep the binary
format to big-endian, and dynamically switch endianness on the target
itself.

ARM could be configured in both mode anyway, so that also make sense to
always use the same endianness regardless of the target one.


Laurent GREGOIRE
Embedded Software Engineering | TomTom | www.tomtom.com




More information about the devicetree-discuss mailing list