• Yokemate of Keyboards
    Yokemate of Keyboards
    Zylesea
    Posts: 2053 from 2003/6/4
    Quote:

    Andreas_Wolf schrieb:
    > AFAIK most ARM CPU's are bi-endian. At least I think that's the case with ARMv7/Cortex

    After half a decade of assumptions, speculation and guesswork here on MorphZone, I think I found the definite answer on the question of ARM's endianness using these references:

    http://translatedcode.wordpress.com/2012/04/02/this-end-up/
    http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0203g/Chddgffb.html

    The gist of it is that ARM knows one little-endian mode (on both data and code level, aka true little-endian) and two big-endian modes: BE32 and BE8. BE32 is big endianness on both data and code level (aka true big-endian), whereas BE8 is data-only big endianness.

    BE32 is supported by:
    - ARMv4
    - ARMv5
    - ARMv6

    BE8 is supported by:
    - ARMv6
    - ARMv7
    - ARMv8


    Andreas, you're the man! Good find. I almost gave up about that issue.
    The beefier ARMs hence don't have the benefit of an easier to accomplish binary compability.

    The Raspberry pi however is ARMv6 based....
    --
    http://via.bckrs.de

    Whenever you're sad just remember the world is 4.543 billion years old and you somehow managed to exist at the same time as David Bowie.
    ...and Matthias , my friend - RIP
  • »21.02.14 - 22:37
    Profile Visit Website