r8q: Initial vendor tree
Change-Id: I3b9527dbbd4761e11230b6bafe8881d968674e24
This commit is contained in:
+80
@@ -0,0 +1,80 @@
|
|||||||
|
// Automatically generated file. DO NOT MODIFY
|
||||||
|
//
|
||||||
|
// This file is generated by device/samsung/r8q/setup-makefiles.sh
|
||||||
|
|
||||||
|
soong_namespace {
|
||||||
|
imports: [
|
||||||
|
"vendor/samsung/sm8250-common",
|
||||||
|
],
|
||||||
|
}
|
||||||
|
|
||||||
|
cc_prebuilt_library_shared {
|
||||||
|
name: "android.hardware.secure_element-impl-gto",
|
||||||
|
owner: "samsung",
|
||||||
|
strip: {
|
||||||
|
none: true,
|
||||||
|
},
|
||||||
|
target: {
|
||||||
|
android_arm64: {
|
||||||
|
srcs: ["proprietary/vendor/lib64/android.hardware.secure_element-impl-gto.so"],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
compile_multilib: "64",
|
||||||
|
check_elf_files: false,
|
||||||
|
prefer: true,
|
||||||
|
soc_specific: true,
|
||||||
|
}
|
||||||
|
|
||||||
|
cc_prebuilt_library_shared {
|
||||||
|
name: "ese_spi_nxp",
|
||||||
|
owner: "samsung",
|
||||||
|
strip: {
|
||||||
|
none: true,
|
||||||
|
},
|
||||||
|
target: {
|
||||||
|
android_arm64: {
|
||||||
|
srcs: ["proprietary/vendor/lib64/ese_spi_nxp.so"],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
compile_multilib: "64",
|
||||||
|
check_elf_files: false,
|
||||||
|
prefer: true,
|
||||||
|
soc_specific: true,
|
||||||
|
}
|
||||||
|
|
||||||
|
cc_prebuilt_binary {
|
||||||
|
name: "android.hardware.secure_element@1.0-service",
|
||||||
|
owner: "samsung",
|
||||||
|
target: {
|
||||||
|
android_arm64: {
|
||||||
|
srcs: ["proprietary/vendor/bin/hw/android.hardware.secure_element@1.0-service"],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
compile_multilib: "64",
|
||||||
|
check_elf_files: false,
|
||||||
|
strip: {
|
||||||
|
none: true,
|
||||||
|
},
|
||||||
|
prefer: true,
|
||||||
|
relative_install_path: "hw",
|
||||||
|
soc_specific: true,
|
||||||
|
}
|
||||||
|
|
||||||
|
cc_prebuilt_binary {
|
||||||
|
name: "android.hardware.secure_element@1.0-service-gto",
|
||||||
|
owner: "samsung",
|
||||||
|
target: {
|
||||||
|
android_arm64: {
|
||||||
|
srcs: ["proprietary/vendor/bin/hw/android.hardware.secure_element@1.0-service-gto"],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
compile_multilib: "64",
|
||||||
|
check_elf_files: false,
|
||||||
|
strip: {
|
||||||
|
none: true,
|
||||||
|
},
|
||||||
|
prefer: true,
|
||||||
|
relative_install_path: "hw",
|
||||||
|
soc_specific: true,
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
# Automatically generated file. DO NOT MODIFY
|
||||||
|
#
|
||||||
|
# This file is generated by device/samsung/r8q/setup-makefiles.sh
|
||||||
|
|
||||||
|
LOCAL_PATH := $(call my-dir)
|
||||||
|
|
||||||
|
ifeq ($(TARGET_DEVICE),r8q)
|
||||||
|
|
||||||
|
endif
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
# Automatically generated file. DO NOT MODIFY
|
||||||
|
#
|
||||||
|
# This file is generated by device/samsung/r8q/setup-makefiles.sh
|
||||||
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
+8
@@ -0,0 +1,8 @@
|
|||||||
|
service vendor.secure_element_hal_service-gto /vendor/bin/hw/android.hardware.secure_element@1.0-service-gto
|
||||||
|
class hal
|
||||||
|
disabled
|
||||||
|
user system
|
||||||
|
group system
|
||||||
|
|
||||||
|
on property:ro.boot.hardware.sku=s3fwrn5
|
||||||
|
start vendor.secure_element_hal_service-gto
|
||||||
+8
@@ -0,0 +1,8 @@
|
|||||||
|
service vendor.secure_element_hal_service /vendor/bin/hw/android.hardware.secure_element@1.0-service
|
||||||
|
class hal
|
||||||
|
disabled
|
||||||
|
user system
|
||||||
|
group system
|
||||||
|
|
||||||
|
on property:ro.boot.hardware.sku=sn110t
|
||||||
|
start vendor.secure_element_hal_service
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
service vendor.nfc_hal_service /vendor/bin/hw/nxp.android.hardware.nfc@1.2-service
|
||||||
|
interface android.hardware.nfc@1.0::INfc default
|
||||||
|
interface android.hardware.nfc@1.1::INfc default
|
||||||
|
interface android.hardware.nfc@1.2::INfc default
|
||||||
|
interface vendor.samsung.hardware.nfc@2.0::ISehNfc default
|
||||||
|
class hal
|
||||||
|
oneshot
|
||||||
|
disabled
|
||||||
|
user nfc
|
||||||
|
group nfc net_bt_admin
|
||||||
+88
@@ -0,0 +1,88 @@
|
|||||||
|
##This file needs to be pushed into /vendor/etc/libese-nxp.conf
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# Application options
|
||||||
|
SE_DEBUG_ENABLED=1
|
||||||
|
|
||||||
|
|
||||||
|
#Timeout in secs
|
||||||
|
NXP_SWP_RD_TAG_OP_TIMEOUT=0xFF
|
||||||
|
|
||||||
|
#WTX Count in secs
|
||||||
|
NXP_WTX_COUNT_VALUE=180
|
||||||
|
|
||||||
|
#Max WTX Count in OSU mode in secs
|
||||||
|
NXP_OSU_MAX_WTX_COUNT=60
|
||||||
|
|
||||||
|
#Delay(us) to recover if invalid data received
|
||||||
|
RNACK_RETRY_DELAY=7000
|
||||||
|
|
||||||
|
# PN67T_PWR_SCHEME 0x01
|
||||||
|
# PN80T_LEGACY_PWR_SCHEME 0x02
|
||||||
|
# PN80T_EXT_PMU_SCHEME 0x03
|
||||||
|
NXP_POWER_SCHEME=0x02
|
||||||
|
|
||||||
|
# For SOF = 0x5A 0x01
|
||||||
|
# For SOF = 0x00 0x02
|
||||||
|
NXP_SOF_WRITE=0x01
|
||||||
|
|
||||||
|
#SPI Thorughput measurement log enabled(1)/disabled(0) in kernel
|
||||||
|
NXP_TP_MEASUREMENT=0x00
|
||||||
|
|
||||||
|
#Enable/Disable interface reset as part of SPI open
|
||||||
|
NXP_SPI_INTF_RST_ENABLE=0x01
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# SPI WRITE TIMEOUT for RF event synchronization
|
||||||
|
NXP_SPI_WRITE_TIMEOUT=0x14
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# SPI Device Node name
|
||||||
|
NXP_ESE_DEV_NODE="/dev/p61"
|
||||||
|
|
||||||
|
#MAX NO OF R_NACK RETRY ALLOWED IN CASE OF CRC FAILURE
|
||||||
|
NXP_MAX_RNACK_RETRY=0x03
|
||||||
|
NXP_VISO_DPD_ENABLED=0x01
|
||||||
|
#NXP_NAD_POLL_RETRY_TIME is in 100's of us
|
||||||
|
# e.g. 0x05 --> 500 us dealy
|
||||||
|
NXP_NAD_POLL_RETRY_TIME=0x05
|
||||||
|
###############################################################################
|
||||||
|
# P61 interface options for JCOP Download
|
||||||
|
# NFC 0x01
|
||||||
|
# SPI 0x02
|
||||||
|
NXP_P61_JCOP_DEFAULT_INTERFACE=0x01
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# IFS adjustment configuration value of IFSD for eSE
|
||||||
|
# Any value set which is greater than IFSC value will be R-NACKed from JCOP
|
||||||
|
# Default IFSC: 0x00FE = (0x0102 - 0x4(header))(As agreed with JCOP)
|
||||||
|
#
|
||||||
|
NXP_ESE_IFSD_VALUE=0x0200
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# IFS adjustment configuration value of IFSD for eUICC
|
||||||
|
# Any value set which is greater than IFSC value will be R-NACKed from JCOP
|
||||||
|
# Default IFSC: 0x00FE = (0x0102 - 0x4(header))(As agreed with JCOP)
|
||||||
|
#
|
||||||
|
NXP_EUICC_IFSD_VALUE=0x0200
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# Interface to perform the eSE cold reset
|
||||||
|
# Possible value can be 0x00 or 0x01
|
||||||
|
# 0x00 = ESE_HAL
|
||||||
|
# 0x01 = NFC_HAL
|
||||||
|
NXP_P61_COLD_RESET_INTERFACE=0x00
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# Assign terminal number to each interface based on system config
|
||||||
|
NXP_SPI_SE_TERMINAL_NUM="eSE1"
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# Identify the CHIP/OS version for which this config file is targeted
|
||||||
|
# Possible value can be as below
|
||||||
|
# 0x01 = JCOP_4_0
|
||||||
|
# 0x02 = JCOP_5_1
|
||||||
|
# 0x03 = JCOP_5_2
|
||||||
|
NXP_OS_VERSION=0x03
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
+2
@@ -0,0 +1,2 @@
|
|||||||
|
#Gemalto SPI devnode
|
||||||
|
GTO_DEV=/dev/p3;
|
||||||
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,23 @@
|
|||||||
|
# Automatically generated file. DO NOT MODIFY
|
||||||
|
#
|
||||||
|
# This file is generated by device/samsung/r8q/setup-makefiles.sh
|
||||||
|
|
||||||
|
PRODUCT_SOONG_NAMESPACES += \
|
||||||
|
vendor/samsung/r8q
|
||||||
|
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
vendor/samsung/r8q/proprietary/vendor/bin/hw/nxp.android.hardware.nfc@1.2-service:$(TARGET_COPY_OUT_VENDOR)/bin/hw/nxp.android.hardware.nfc@1.2-service \
|
||||||
|
vendor/samsung/r8q/proprietary/vendor/etc/init/android.hardware.secure_element@1.0-service-gto-sku.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.secure_element@1.0-service-gto-sku.rc \
|
||||||
|
vendor/samsung/r8q/proprietary/vendor/etc/init/android.hardware.secure_element@1.0-service-sku.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.secure_element@1.0-service-sku.rc \
|
||||||
|
vendor/samsung/r8q/proprietary/vendor/etc/init/nxp.android.hardware.nfc@1.2-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/nxp.android.hardware.nfc@1.2-service.rc \
|
||||||
|
vendor/samsung/r8q/proprietary/vendor/etc/libese-nxp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libese-nxp.conf \
|
||||||
|
vendor/samsung/r8q/proprietary/vendor/etc/libse-gto-hal.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal.conf \
|
||||||
|
vendor/samsung/r8q/proprietary/vendor/firmware/nfc/libsn100u_fw.so:$(TARGET_COPY_OUT_VENDOR)/firmware/nfc/libsn100u_fw.so \
|
||||||
|
vendor/samsung/r8q/proprietary/vendor/lib64/nfc_nci_nxpsn.so:$(TARGET_COPY_OUT_VENDOR)/lib64/nfc_nci_nxpsn.so \
|
||||||
|
vendor/samsung/r8q/proprietary/vendor/lib64/vendor.samsung.hardware.nfc@2.0.so:$(TARGET_COPY_OUT_VENDOR)/lib64/vendor.samsung.hardware.nfc@2.0.so
|
||||||
|
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
android.hardware.secure_element-impl-gto \
|
||||||
|
ese_spi_nxp \
|
||||||
|
android.hardware.secure_element@1.0-service \
|
||||||
|
android.hardware.secure_element@1.0-service-gto
|
||||||
Reference in New Issue
Block a user