RFC: Host-endian device tree format

Nicolas Pitre nicolas.pitre at linaro.org
Thu Jan 20 03:05:48 EST 2011


On Wed, 19 Jan 2011, Grant Likely wrote:

> On Wed, Jan 19, 2011 at 8:41 AM, Nicolas Pitre <nicolas.pitre at linaro.org> wrote:
> > On Wed, 19 Jan 2011, Dave Martin wrote:
> >> On Wed, Jan 19, 2011 at 1:41 PM, Grant Likely <grant.likely at secretlab.ca> wrote:
> >> > The dtb isn't so much bigendian as it is network byte order.
> >>
> >> (For me, "network byte order" is a euphemism ... <insert
> >> unconstructive rant here>)
> >
> > I concur.
> 
> meh. it's all about conventions.  When talking about external data, it
> is far more important for everyone to agree on the same representation
> than it is to tailor to each platforms preferences.

Exactly what I said, using different words.

> That said, rant
> away!  I love a good tangent.

The actual problem is not that DT chose to use big endian ordering, but 
rather that BE ordering was invented in the first place.  ;-)


Nicolas


More information about the devicetree-discuss mailing list