update new sdk
This commit is contained in:
parent
f33907443a
commit
744c72c133
1643 changed files with 83006 additions and 28021 deletions
|
@ -57,10 +57,10 @@ ifeq ($(BOARD_WIFI_VENDOR), broadcom)
|
|||
BOARD_HOSTAPD_DRIVER := NL80211
|
||||
BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_bcmdhd
|
||||
BOARD_WLAN_DEVICE := bcmdhd
|
||||
WIFI_DRIVER_MODULE_NAME := "bcmdhd"
|
||||
WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/bcmdhd/parameters/firmware_path"
|
||||
|
||||
BOARD_USR_WIFI := ap6212
|
||||
include hardware/aw/wlan/config/config.mk
|
||||
include hardware/aw/wlan/firmware/firmware.mk
|
||||
endif
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
-->
|
||||
<mixPort name="primary input" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100"
|
||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
</mixPorts>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#ifdef BLUETOOTH_RTK
|
||||
|
||||
/*
|
||||
#define BTM_DEF_LOCAL_NAME "Realtek Bluetooth"
|
||||
#define BTM_DEF_LOCAL_NAME "bananapi"
|
||||
*/
|
||||
|
||||
// SERVICE_CLASS:0x1A (Bit17 -Networking,Bit19 - Capturing,Bit20 -Object Transfer)
|
||||
|
@ -74,7 +74,7 @@
|
|||
#define KERNEL_MISSING_CLOCK_BOOTTIME_ALARM TRUE
|
||||
|
||||
#else
|
||||
#define BTM_DEF_LOCAL_NAME "BPI-M64"
|
||||
#define BTM_DEF_LOCAL_NAME "bananapi"
|
||||
#define BTA_DM_COD {0x20, BTM_COD_MAJOR_AUDIO, BTM_COD_MINOR_SET_TOP_BOX}
|
||||
|
||||
#define BLE_VND_INCLUDED TRUE
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#/dev/block/by-name/system /system ext4 ro,barrier=1 wait
|
||||
#/dev/block/by-name/vendor /vendor ext4 ro,barrier=1 wait
|
||||
/dev/block/by-name/cache /cache ext4 noatime,nosuid,nodev,barrier=1,data=ordered,nomblk_io_submit,noauto_da_alloc,errors=panic wait,check,formattable
|
||||
/dev/block/by-name/UDISK /data f2fs noatime,nosuid,nodev,discard wait,check,formattable,quota,encryptable=/dev/block/by-name/metadata
|
||||
/dev/block/by-name/UDISK /data f2fs noatime,nosuid,nodev,discard wait,check,formattable,quota,forceencrypt=/dev/block/by-name/metadata
|
||||
/dev/block/by-name/boot /boot emmc defaults defaults
|
||||
/dev/block/by-name/recovery /recovery emmc defaults defaults
|
||||
/dev/block/by-name/misc /misc emmc defaults defaults
|
||||
|
|
|
@ -11,15 +11,13 @@ on boot
|
|||
write /proc/sys/vm/page-cluster 0
|
||||
write /proc/sys/vm/swappiness 80
|
||||
|
||||
# led
|
||||
insmod /vendor/modules/leds-sunxi.ko
|
||||
# rgb led
|
||||
insmod /vendor/modules/leds-sunxi.ko
|
||||
|
||||
#insmod gsensor module
|
||||
# gsensor module
|
||||
#insmod /vendor/modules/bma250.ko
|
||||
#tp
|
||||
chown system system /sys/devices/platform/soc/twi0/i2c-0/0-0038/input/input3/runtime_suspend
|
||||
|
||||
### csi module
|
||||
# csi module
|
||||
insmod /vendor/modules/videobuf2-core.ko
|
||||
insmod /vendor/modules/videobuf2-memops.ko
|
||||
insmod /vendor/modules/videobuf2-v4l2.ko
|
||||
|
@ -29,13 +27,15 @@ on boot
|
|||
insmod /vendor/modules/vfe_v4l2.ko
|
||||
|
||||
on property:sys.boot_completed=1
|
||||
#inmod tp module
|
||||
|
||||
# tp module
|
||||
#insmod /vendor/modules/ft5x16_ts.ko
|
||||
#insmod /vendor/modules/gt9xxnew_ts.ko
|
||||
#chown system system /sys/devices/platform/soc/twi0/i2c-0/0-005d/input/input3/runtime_suspend
|
||||
|
||||
#insmod ir module
|
||||
# ir module
|
||||
insmod /vendor/modules/ir-nec-decoder.ko
|
||||
insmod /vendor/modules/sunxi-ir-rx.ko
|
||||
|
||||
# 40pin
|
||||
insmod /vendor/modules/gpio-sunxi.ko
|
||||
# 40pin
|
||||
#insmod /vendor/modules/gpio-sunxi.ko
|
||||
|
|
Binary file not shown.
|
@ -99,8 +99,8 @@ PRODUCT_COPY_FILES += \
|
|||
device/softwinner/common/config/awbms_config:$(TARGET_COPY_OUT_VENDOR)/etc/awbms_config \
|
||||
|
||||
# bootanimation
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/softwinner/tulip-m64-hdmi/media/bootanimation.zip:system/media/bootanimation.zip
|
||||
#PRODUCT_COPY_FILES += \
|
||||
# device/softwinner/tulip-m64-hdmi/media/bootanimation.zip:system/media/bootanimation.zip
|
||||
|
||||
# audio
|
||||
PRODUCT_COPY_FILES += \
|
||||
|
@ -119,8 +119,9 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
|||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.product.first_api_level=27
|
||||
|
||||
# hdmi 1080P set 213
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.sf.lcd_density=160
|
||||
ro.sf.lcd_density=213
|
||||
|
||||
# limit dex2oat threads to improve thermals
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
|
@ -139,8 +140,8 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
|||
dalvik.vm.heapminfree=512k \
|
||||
dalvik.vm.heapmaxfree=8m
|
||||
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.lmk.downgrade_pressure=95
|
||||
#PRODUCT_PROPERTY_OVERRIDES += \
|
||||
# ro.lmk.downgrade_pressure=95
|
||||
|
||||
# Reduces GC frequency of foreground apps by 50% (not recommanded for 512M devices)
|
||||
PRODUCT_PROPERTY_OVERRIDES += dalvik.vm.foreground-heap-growth-multiplier=2.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue