summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPraneeth Bajjuri2018-10-18 00:52:07 -0500
committerPraneeth Bajjuri2018-10-17 18:52:54 -0500
commit81187c857c804a4fb1e25d38183936109bd0e02e (patch)
tree2b151fd2b4e2844cc7fcf15ee9a99b74c2ed80ff
parent6abe34c60dfa1c73f209bc6919b16e8811fb6bf1 (diff)
downloaddevice-ti-am65xevm-81187c857c804a4fb1e25d38183936109bd0e02e.tar.gz
device-ti-am65xevm-81187c857c804a4fb1e25d38183936109bd0e02e.tar.xz
device-ti-am65xevm-81187c857c804a4fb1e25d38183936109bd0e02e.zip
am65xevm: Add initial manifest and compatibility_matrix
Inital manifest and compatibility matrix Needed to enable treble configuration Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
-rw-r--r--BoardConfig.mk3
-rw-r--r--compatibility_matrix.xml50
-rw-r--r--device-common.mk16
-rw-r--r--manifest.xml87
4 files changed, 152 insertions, 4 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 4c2b30b..a74a547 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -30,6 +30,7 @@ TARGET_2ND_CPU_VARIANT := cortex-a53
30 30
31TARGET_BOOTIMAGE_FIT := true 31TARGET_BOOTIMAGE_FIT := true
32TARGET_NO_BOOTLOADER := true # We use externally built U-Boot 32TARGET_NO_BOOTLOADER := true # We use externally built U-Boot
33PRODUCT_COMPATIBILITY_MATRIX_LEVEL_OVERRIDE := legacy
33TARGET_NO_RADIOIMAGE := true 34TARGET_NO_RADIOIMAGE := true
34TARGET_NO_RECOVERY := true 35TARGET_NO_RECOVERY := true
35 36
@@ -47,6 +48,8 @@ BOARD_VENDORIMAGE_PARTITION_SIZE := 536870912 # 512MB
47TARGET_USERIMAGES_USE_EXT4 := true 48TARGET_USERIMAGES_USE_EXT4 := true
48BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4 49BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
49 50
51DEVICE_MANIFEST_FILE := device/ti/am65xevm/manifest.xml
52DEVICE_MATRIX_FILE := device/ti/am65xevm/compatibility_matrix.xml
50TARGET_COPY_OUT_VENDOR := vendor 53TARGET_COPY_OUT_VENDOR := vendor
51 54
52BOARD_SEPOLICY_DIRS += \ 55BOARD_SEPOLICY_DIRS += \
diff --git a/compatibility_matrix.xml b/compatibility_matrix.xml
new file mode 100644
index 0000000..e45aa9f
--- /dev/null
+++ b/compatibility_matrix.xml
@@ -0,0 +1,50 @@
1<compatibility-matrix version="1.0" type="device">
2 <hal format="hidl" optional="false">
3 <name>android.frameworks.displayservice</name>
4 <version>1.0</version>
5 <interface>
6 <name>IDisplayService</name>
7 <instance>default</instance>
8 </interface>
9 </hal>
10 <hal format="hidl" optional="false">
11 <name>android.frameworks.schedulerservice</name>
12 <version>1.0</version>
13 <interface>
14 <name>ISchedulingPolicyService</name>
15 <instance>default</instance>
16 </interface>
17 </hal>
18 <hal format="hidl" optional="false">
19 <name>android.frameworks.sensorservice</name>
20 <version>1.0</version>
21 <interface>
22 <name>ISensorManager</name>
23 <instance>default</instance>
24 </interface>
25 </hal>
26 <hal format="hidl" optional="false">
27 <name>android.hardware.graphics.composer</name>
28 <version>2.1</version>
29 <interface>
30 <name>IComposer</name>
31 <instance>vr</instance>
32 </interface>
33 </hal>
34 <hal format="hidl" optional="false">
35 <name>android.hidl.memory</name>
36 <version>1.0</version>
37 <interface>
38 <name>IMapper</name>
39 <instance>ashmem</instance>
40 </interface>
41 </hal>
42 <hal format="hidl" optional="false">
43 <name>android.hidl.token</name>
44 <version>1.0</version>
45 <interface>
46 <name>ITokenManager</name>
47 <instance>default</instance>
48 </interface>
49 </hal>
50</compatibility-matrix>
diff --git a/device-common.mk b/device-common.mk
index 9379282..6074359 100644
--- a/device-common.mk
+++ b/device-common.mk
@@ -19,6 +19,8 @@ PRODUCT_PACKAGES += \
19 android.hardware.graphics.allocator@2.0-impl \ 19 android.hardware.graphics.allocator@2.0-impl \
20 android.hardware.graphics.allocator@2.0-service \ 20 android.hardware.graphics.allocator@2.0-service \
21 android.hardware.graphics.mapper@2.0-impl \ 21 android.hardware.graphics.mapper@2.0-impl \
22 android.hardware.memtrack@1.0-impl \
23 android.hardware.memtrack@1.0-service \
22 modetest \ 24 modetest \
23 libdrm \ 25 libdrm \
24 libgbm \ 26 libgbm \
@@ -39,10 +41,15 @@ PRODUCT_PACKAGES += \
39 41
40# Security 42# Security
41PRODUCT_PACKAGES += \ 43PRODUCT_PACKAGES += \
42 android.hardware.keymaster@3.0-impl \
43 android.hardware.keymaster@3.0-service \
44 android.hardware.drm@1.0-impl \ 44 android.hardware.drm@1.0-impl \
45 android.hardware.drm@1.0-service \ 45 android.hardware.drm@1.0-service \
46 android.hardware.keymaster@3.0-impl \
47 android.hardware.keymaster@3.0-service \
48
49# Other
50PRODUCT_PACKAGES += \
51 android.hardware.power@1.0-impl \
52 android.hardware.power@1.0-service \
46 53
47PRODUCT_COPY_FILES += \ 54PRODUCT_COPY_FILES += \
48 frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \ 55 frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \
@@ -65,10 +72,11 @@ PRODUCT_COPY_FILES += \
65 device/ti/am65xevm/fstab.am65xevmboard:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.am65xevmboard \ 72 device/ti/am65xevm/fstab.am65xevmboard:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.am65xevmboard \
66 device/ti/am65xevm/tablet_core_hardware_am65xevm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/tablet_core_hardware_am65xevm.xml \ 73 device/ti/am65xevm/tablet_core_hardware_am65xevm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/tablet_core_hardware_am65xevm.xml \
67 74
68# device/ti/am57xevm/manifest.xml:$(TARGET_COPY_OUT_VENDOR)/manifest.xml \ 75# Connectivity
69 device/ti/am57xevm/init.am57xevmboard.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.am57xevmboard.usb.rc \ 76PRODUCT_COPY_FILES += \
70 frameworks/native/data/etc/android.hardware.ethernet.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.ethernet.xml \ 77 frameworks/native/data/etc/android.hardware.ethernet.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.ethernet.xml \
71 78
79
72PRODUCT_CHARACTERISTICS := tablet,nosdcard 80PRODUCT_CHARACTERISTICS := tablet,nosdcard
73 81
74DEVICE_PACKAGE_OVERLAYS := \ 82DEVICE_PACKAGE_OVERLAYS := \
diff --git a/manifest.xml b/manifest.xml
new file mode 100644
index 0000000..0bab05d
--- /dev/null
+++ b/manifest.xml
@@ -0,0 +1,87 @@
1<manifest version="1.0" type="device">
2 <hal format="hidl">
3 <name>android.hardware.graphics.allocator</name>
4 <transport>hwbinder</transport>
5 <version>2.0</version>
6 <interface>
7 <name>IAllocator</name>
8 <instance>default</instance>
9 </interface>
10 </hal>
11 <hal format="hidl">
12 <name>android.hardware.graphics.mapper</name>
13 <transport arch="32+64">passthrough</transport>
14 <version>2.0</version>
15 <interface>
16 <name>IMapper</name>
17 <instance>default</instance>
18 </interface>
19 </hal>
20 <hal format="hidl">
21 <name>android.hardware.keymaster</name>
22 <transport>hwbinder</transport>
23 <version>3.0</version>
24 <interface>
25 <name>IKeymasterDevice</name>
26 <instance>default</instance>
27 </interface>
28 </hal>
29 <hal format="hidl">
30 <name>android.hardware.audio</name>
31 <transport>hwbinder</transport>
32 <version>2.0</version>
33 <interface>
34 <name>IDevicesFactory</name>
35 <instance>default</instance>
36 </interface>
37 </hal>
38 <hal format="hidl">
39 <name>android.hardware.audio.effect</name>
40 <transport>hwbinder</transport>
41 <version>2.0</version>
42 <interface>
43 <name>IEffectsFactory</name>
44 <instance>default</instance>
45 </interface>
46 </hal>
47 <hal format="hidl">
48 <name>android.hardware.memtrack</name>
49 <transport>hwbinder</transport>
50 <version>1.0</version>
51 <interface>
52 <name>IMemtrack</name>
53 <instance>default</instance>
54 </interface>
55 </hal>
56 <hal format="hidl">
57 <name>android.hardware.power</name>
58 <transport>hwbinder</transport>
59 <version>1.0</version>
60 <interface>
61 <name>IPower</name>
62 <instance>default</instance>
63 </interface>
64 </hal>
65 <hal format="hidl">
66 <name>android.hardware.configstore</name>
67 <transport>hwbinder</transport>
68 <version>1.0</version>
69 <interface>
70 <name>ISurfaceFlingerConfigs</name>
71 <instance>default</instance>
72 </interface>
73 </hal>
74 <hal format="hidl">
75 <name>android.hardware.media.omx</name>
76 <transport>hwbinder</transport>
77 <version>1.0</version>
78 <interface>
79 <name>IOmx</name>
80 <instance>default</instance>
81 </interface>
82 <interface>
83 <name>IOmxStore</name>
84 <instance>default</instance>
85 </interface>
86 </hal>
87</manifest>