[OE-core] [PATCH 00/24] V2: Add machine qemuarm64

Koen Kooi koen at dominion.thruhere.net
Thu Nov 13 15:04:54 UTC 2014


CC:ing Steve M. from ARM who went through various arm naming issues for debian.

> Op 7 nov. 2014, om 15:27 heeft Mark Hatle <mark.hatle at windriver.com> het volgende geschreven:
> 
> On 11/7/14, 3:18 AM, Koen Kooi wrote:
>> 
>>> Op 7 nov. 2014, om 09:51 heeft Kai Kang <kai.kang at windriver.com> het volgende geschreven:
>>> 
>>> V2:
>>> * rebase on master and drop qemu upgrade commit
>>> * built for lib32-core-image-sato core-image-sato-sdk meta-toolchain and world
>>> 
>>> V1:
>>> The original configuration files and tune fils for arm arch64 are from linaro.
>>> And we rename it to qemuarm64 for consistency.
>> 
>> Consistent to what? All current qemu machines are named after the qemu arch, so consistent would be 'qemuaarch64'. The 'arm64' moniker is *only* used in the kernel and that was caused by Linus being grumpy, everything else is 'aarch64' or 'armv8'
>> 
> 
> The arm64 name -did- come from Linaro:
> 
> http://git.linaro.org/openembedded/meta-linaro.git/tree/HEAD:/meta-aarch64/conf/machine/include
> 
> The arch-armv8.inc file (that arch-arm64.inc was based on) is located in the directly "arm64".
> 
> In addition, the tune file that forms the basis of the ARM tunes is called 'arch-arm.inc'.  Not arch-aarch32.inc.  If you want to rename that, we can discuss it.. but to match that naming I chose 'arch-arm64.inc'.

'aarch32' is not the same as 'arm', the arch-arm.inc covers armv4..armv7a with it various includes. aarch32 is s subset of armv7a, so please don't use that to denote 32bit arms.

> (arch-armv8.inc was kept, but only includes the arch-arm64.inc file since there are no custom optimizations for 'v8' that I can find.)
> 
> As far as the machine name goes the original Linaro version, genericarmv8.conf and genericarmv8b.conf, don't match any of the naming conventions that are currently used by QEMU BSPs.
> 
> Looking at the existing machine names:
> 
> qemuarm.conf  qemumips64.conf  qemumips.conf  qemuppc.conf  qemux86-64.conf qemux86.conf
> 
> Each of the suffix names used match the Linux kernel arch naming.

It seems to be following the qemu architecture name, which tends to match the kernel arch name, but not always.

Apart from the naming issues, aarch64 support is incomplete in meta-aarch64 since things like ILP32 are missing as well as agreement over page size options.


More information about the Openembedded-core mailing list