diff options
author | Kai Kang <kai.kang@windriver.com> | 2014-12-18 16:50:58 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-23 10:18:17 +0000 |
commit | 8781b4952da9f618103a4c609efa5d694b7f195f (patch) | |
tree | 184924a8cdd995ea1d09ed66104a1bfa48b795e8 | |
parent | 28ba4d349e1b096f9f7e5f11a22d613de8ffa948 (diff) | |
download | poky-8781b4952da9f618103a4c609efa5d694b7f195f.tar.gz |
Add machine qemuarm64
Add machine qemuarm64. The configure files are derived from linaro.
Update:
* rename genericarmv8 to qemuarm64 for coordination in oe-core
* include qemu.inc then remove common part of config
* disable using autoserial
* move arch-armv8.inc from machine/include/arm64 to machine/include/arm
[YOCTO #6487]
(From OE-Core rev: d7314c3bc804b7bcc921b0a6c5b63d71ca2e73db)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/conf/machine/include/arm/arch-armv8.inc | 20 | ||||
-rw-r--r-- | meta/conf/machine/qemuarm64.conf | 12 |
2 files changed, 32 insertions, 0 deletions
diff --git a/meta/conf/machine/include/arm/arch-armv8.inc b/meta/conf/machine/include/arm/arch-armv8.inc new file mode 100644 index 0000000000..c86142ab47 --- /dev/null +++ b/meta/conf/machine/include/arm/arch-armv8.inc | |||
@@ -0,0 +1,20 @@ | |||
1 | DEFAULTTUNE ?= "aarch64" | ||
2 | |||
3 | ARMPKGARCH ?= "aarch64" | ||
4 | |||
5 | TUNEVALID[aarch64] = "Enable instructions for aarch64" | ||
6 | TUNEVALID[bigendian] = "Enable big-endian mode." | ||
7 | TUNECONFLICTS[aarch64] = "" | ||
8 | MACHINEOVERRIDES .= "${@bb.utils.contains("TUNE_FEATURES", "aarch64", ":aarch64", "" ,d)}" | ||
9 | |||
10 | # Little Endian base configs | ||
11 | AVAILTUNES += "aarch64 aarch64_be" | ||
12 | TUNE_FEATURES_tune-aarch64 ?= "aarch64" | ||
13 | TUNE_FEATURES_tune-aarch64_be ?= "${TUNE_FEATURES_tune-aarch64} bigendian" | ||
14 | |||
15 | ARMPKGSFX_ENDIAN = "${@bb.utils.contains("TUNE_FEATURES", "bigendian", "_be", "", d)}" | ||
16 | |||
17 | TUNE_ARCH = "aarch64${ARMPKGSFX_ENDIAN}" | ||
18 | TUNE_PKGARCH = "aarch64${ARMPKGSFX_ENDIAN}" | ||
19 | |||
20 | PACKAGE_EXTRA_ARCHS = "aarch64${ARMPKGSFX_ENDIAN}" | ||
diff --git a/meta/conf/machine/qemuarm64.conf b/meta/conf/machine/qemuarm64.conf new file mode 100644 index 0000000000..20bcfbac99 --- /dev/null +++ b/meta/conf/machine/qemuarm64.conf | |||
@@ -0,0 +1,12 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: generic armv8 machine | ||
3 | #@DESCRIPTION: Machine configuration for running a generic armv8 | ||
4 | |||
5 | require conf/machine/include/arm/arch-armv8.inc | ||
6 | require conf/machine/include/qemu.inc | ||
7 | |||
8 | MACHINE_FEATURES = "" | ||
9 | |||
10 | KERNEL_IMAGETYPE = "Image" | ||
11 | |||
12 | SERIAL_CONSOLE = "38400 ttyAMA0" | ||