From 57113df3a0e2be01232281fad9a5f2c060567981 Mon Sep 17 00:00:00 2001 From: lin <lin@kickpi.com> Date: Mon, 25 Aug 2025 12:27:45 +0000 Subject: [PATCH] add vs6621 support in android --- android/device/softwinner/ceres-c3/BoardConfig.mk | 30 ++++++++++++++++++++++-------- 1 files changed, 22 insertions(+), 8 deletions(-) diff --git a/android/device/softwinner/ceres-c3/BoardConfig.mk b/android/device/softwinner/ceres-c3/BoardConfig.mk index d53725b..971835f 100644 --- a/android/device/softwinner/ceres-c3/BoardConfig.mk +++ b/android/device/softwinner/ceres-c3/BoardConfig.mk @@ -26,7 +26,8 @@ BOARD_AVB_VBMETA_VENDOR_ROLLBACK_INDEX_LOCATION := 2 BOARD_BOOTIMAGE_PARTITION_SIZE := $(call get_partition_size,boot,$(PARTITION_CFG_FILE)) -BOARD_KERNEL_CMDLINE += selinux=1 androidboot.selinux=enforcing androidboot.dtbo_idx=0,1,2 +BOARD_KERNEL_CMDLINE += selinux=1 androidboot.selinux=permissive androidboot.dtbo_idx=0,1,2 +#BOARD_KERNEL_CMDLINE += selinux=1 androidboot.selinux=enforcing androidboot.dtbo_idx=0,1,2 BOARD_FLASH_BLOCK_SIZE := 4096 BOARD_CACHEIMAGE_PARTITION_SIZE := $(call get_partition_size,cache, $(PARTITION_CFG_FILE)) BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4 @@ -90,15 +91,28 @@ # wifi and bt configuration # 1. Wifi Configuration -BOARD_WIFI_VENDOR := xradio -BOARD_USR_WIFI := xr829 -WIFI_DRIVER_MODULE_PATH := "/vendor/modules/xr829.ko" -WIFI_DRIVER_MODULE_NAME := "xr829" -WIFI_DRIVER_MODULE_ARG := "" +BOARD_WIFI_VENDOR := common +BOARD_USR_WIFI := +WIFI_DRIVER_MODULE_PATH := +WIFI_DRIVER_MODULE_NAME := +WIFI_DRIVER_MODULE_ARG := # 2. Bluetooth Configuration -BOARD_BLUETOOTH_VENDOR := xradio -BOARD_HAVE_BLUETOOTH_NAME := xr829 +BOARD_BLUETOOTH_VENDOR := common +BOARD_HAVE_BLUETOOTH_NAME := +BOARD_BLUETOOTH_CONFIG_DIR := $(PRODUCT_PLATFORM_PATH)/common/wireless/bluetooth + +# wifi and bt configuration +# 1. Wifi Configuration +#BOARD_WIFI_VENDOR := xradio +#BOARD_USR_WIFI := xr829 +#WIFI_DRIVER_MODULE_PATH := "/vendor/modules/xr829.ko" +#WIFI_DRIVER_MODULE_NAME := "xr829" + +# 2. Bluetooth Configuration +#BOARD_BLUETOOTH_VENDOR := xradio +#BOARD_HAVE_BLUETOOTH_NAME := xr829 + # Must include after wifi/bt configuration include device/softwinner/common/config/wireless/wireless_config.mk -- Gitblit v1.6.2