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

Mark Hatle mark.hatle at windriver.com
Fri Nov 7 14:27:45 UTC 2014


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'.

(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.

So based on that reasoning the generic little endian machine was defined as 
qemuarm64.conf.

--Mark



More information about the Openembedded-core mailing list