diff options
author | Raphael Gault <raphael.gault@linaro.org> | 2020-06-17 15:51:46 +0000 |
---|---|---|
committer | Raphael Gault <raphael.gault@linaro.org> | 2020-09-11 14:53:27 +0000 |
commit | 4c0867c4666fe27811880ddedb225dc85ba4abaa (patch) | |
tree | cfed6977926a16a4f366e02a1763cc766d933ef5 | |
parent | 0e92ac6b74f9427d96ab88bd1931b6c5fe5290c6 (diff) | |
download | art-4c0867c4666fe27811880ddedb225dc85ba4abaa.tar.gz |
Create a target for Arm Cortex-A55 cpu variant.
Support a new cpu variant to be able to test Armv8.X features
on Cortex-A55 devices.
Test: test-art-target
Change-Id: Ib4108a04b117e24526061a9a46ac5b3e710b504b
-rw-r--r-- | armv8_cortex_a55/AndroidProducts.mk | 21 | ||||
-rw-r--r-- | armv8_cortex_a55/BoardConfig.mk | 26 | ||||
-rw-r--r-- | armv8_cortex_a55/armv8_cortex_a55.mk | 28 |
3 files changed, 75 insertions, 0 deletions
diff --git a/armv8_cortex_a55/AndroidProducts.mk b/armv8_cortex_a55/AndroidProducts.mk new file mode 100644 index 0000000..7275325 --- /dev/null +++ b/armv8_cortex_a55/AndroidProducts.mk @@ -0,0 +1,21 @@ +# +# Copyright (C) 2020 The Android Open-Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +PRODUCT_MAKEFILES := \ + $(LOCAL_DIR)/armv8_cortex_a55.mk + +COMMON_LUNCH_CHOICES := \ + armv8_cortex_a55-eng diff --git a/armv8_cortex_a55/BoardConfig.mk b/armv8_cortex_a55/BoardConfig.mk new file mode 100644 index 0000000..ea49fbc --- /dev/null +++ b/armv8_cortex_a55/BoardConfig.mk @@ -0,0 +1,26 @@ + +# Copyright (C) 2020 The Android Open-Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +include device/generic/art/BoardConfigCommon.mk + +TARGET_ARCH := arm64 + +TARGET_CPU_ABI := arm64-v8a +TARGET_CPU_VARIANT := cortex-a55 +TARGET_ARCH_VARIANT := armv8-2a-dotprod + +TARGET_SUPPORTS_64_BIT_APPS := true + diff --git a/armv8_cortex_a55/armv8_cortex_a55.mk b/armv8_cortex_a55/armv8_cortex_a55.mk new file mode 100644 index 0000000..efabf4e --- /dev/null +++ b/armv8_cortex_a55/armv8_cortex_a55.mk @@ -0,0 +1,28 @@ +# +# Copyright (C) 2020 The Android Open-Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +PRODUCT_COPY_FILES += \ + art/tools/public.libraries.buildbot.txt:system/etc/public.libraries.txt + +$(call inherit-product, build/target/product/core_minimal.mk) + +PRODUCT_NAME := armv8_cortex_a55 +PRODUCT_DEVICE := armv8_cortex_a55 +PRODUCT_BRAND := Android +PRODUCT_MODEL := Cortex A55 + +# Force 64bits executables. +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.zygote=zygote64 |