lin
2025-08-21 57113df3a0e2be01232281fad9a5f2c060567981
android/device/softwinner/ceres-c3/BoardConfig.mk
....@@ -26,7 +26,8 @@
2626 BOARD_AVB_VBMETA_VENDOR_ROLLBACK_INDEX_LOCATION := 2
2727
2828 BOARD_BOOTIMAGE_PARTITION_SIZE := $(call get_partition_size,boot,$(PARTITION_CFG_FILE))
29
-BOARD_KERNEL_CMDLINE += selinux=1 androidboot.selinux=enforcing androidboot.dtbo_idx=0,1,2
29
+BOARD_KERNEL_CMDLINE += selinux=1 androidboot.selinux=permissive androidboot.dtbo_idx=0,1,2
30
+#BOARD_KERNEL_CMDLINE += selinux=1 androidboot.selinux=enforcing androidboot.dtbo_idx=0,1,2
3031 BOARD_FLASH_BLOCK_SIZE := 4096
3132 BOARD_CACHEIMAGE_PARTITION_SIZE := $(call get_partition_size,cache, $(PARTITION_CFG_FILE))
3233 BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
....@@ -90,15 +91,28 @@
9091
9192 # wifi and bt configuration
9293 # 1. Wifi Configuration
93
-BOARD_WIFI_VENDOR := xradio
94
-BOARD_USR_WIFI := xr829
95
-WIFI_DRIVER_MODULE_PATH := "/vendor/modules/xr829.ko"
96
-WIFI_DRIVER_MODULE_NAME := "xr829"
97
-WIFI_DRIVER_MODULE_ARG := ""
94
+BOARD_WIFI_VENDOR := common
95
+BOARD_USR_WIFI :=
96
+WIFI_DRIVER_MODULE_PATH :=
97
+WIFI_DRIVER_MODULE_NAME :=
98
+WIFI_DRIVER_MODULE_ARG :=
9899
99100 # 2. Bluetooth Configuration
100
-BOARD_BLUETOOTH_VENDOR := xradio
101
-BOARD_HAVE_BLUETOOTH_NAME := xr829
101
+BOARD_BLUETOOTH_VENDOR := common
102
+BOARD_HAVE_BLUETOOTH_NAME :=
103
+BOARD_BLUETOOTH_CONFIG_DIR := $(PRODUCT_PLATFORM_PATH)/common/wireless/bluetooth
104
+
105
+# wifi and bt configuration
106
+# 1. Wifi Configuration
107
+#BOARD_WIFI_VENDOR := xradio
108
+#BOARD_USR_WIFI := xr829
109
+#WIFI_DRIVER_MODULE_PATH := "/vendor/modules/xr829.ko"
110
+#WIFI_DRIVER_MODULE_NAME := "xr829"
111
+
112
+# 2. Bluetooth Configuration
113
+#BOARD_BLUETOOTH_VENDOR := xradio
114
+#BOARD_HAVE_BLUETOOTH_NAME := xr829
115
+
102116
103117 # Must include after wifi/bt configuration
104118 include device/softwinner/common/config/wireless/wireless_config.mk