一区二区三区日韩精品-日韩经典一区二区三区-五月激情综合丁香婷婷-欧美精品中文字幕专区

分享

調(diào)通sina33m下的AP6212A0版本(分色排版)V1.0版本

 蘭寶888 2018-04-19

 

SDK:Android6.0.1

開發(fā)板:SC3817R

 

 

1、

Z:\home\rediron\sina33m\ap6212a0_a33_sc3817\android\device\softwinner\astar-d7\bluetooth\bdroid_buildcfg.h

#ifdef BLUETOOTH_RTK

……

#else

#ifndef _BDROID_BUILDCFG_H

#define _BDROID_BUILDCFG_H

 

#define BTM_DEF_LOCAL_NAME   "SINLINX-V2"

 

// SERVICE_CLASS:0x5A (Bit17 -Networking,Bit19 - Capturing,Bit20 -Object Transfer,Bit22 -Telephony)

// MAJOR CLASS: COMPUTER

// MINOR CLASS: TABLET

#define BTA_DM_COD {0x1A, 0x01, 0x14}

 

#define BTIF_HF_SERVICES (BTA_HSP_SERVICE_MASK)

#define BTIF_HF_SERVICE_NAMES  { BTIF_HSAG_SERVICE_NAME }

#endif

#endif

 

 

 

 

2、

Z:\home\rediron\sina33m\ap6212a0_a33_sc3817\android\device\softwinner\astar-d7\bluetooth\bt_vendor.conf

# UART device port where Bluetooth controller is attached

UartPort = /dev/ttyS1

 

# Firmware patch file location

FwPatchFilePath = /system/vendor/modules/

 

# Firmware Name

FwPatchFileName = bcm43438a0.hcd

 

 

(以下干掉!)

#AP6476_PCM2_Setup=xx:00:xx:00:F4:01:00:xx:0F:00:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx

#There are total 25 configure, the first one is Test_option. 00:40:1F:00, is frequency settings.

#Just leave the field that you don??t want to change as ??xx??

#For more detail, please check BCM2076_PCM2_Setup_Command.pdf

 

#Example: hauwei 3G module 2048K clock

#AP6476_PCM2_Setup=xx:00:00:00:40:1F:00:01:0f:0f:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx

 

 

 

 

3、

Z:\home\rediron\sina33m\ap6212a0_a33_sc3817\android\device\softwinner\astar-d7\bluetooth\vnd_astar-d7.txt

BLUETOOTH_UART_DEVICE_PORT = "/dev/ttyS1"

FW_PATCHFILE_LOCATION = "/system/vendor/modules/"

LPM_IDLE_TIMEOUT_MULTIPLE = 5

UART_TARGET_BAUD_RATE = 1500000

BT_WAKE_VIA_PROC = TRUE

#LPM_SLEEP_MODE = FALSE

BTVND_DBG = TRUE

BTHW_DBG = TRUE

VNDUSERIAL_DBG = TRUE

UPIO_DBG = TRUE

#SCO_PCM_IF_CLOCK_RATE = 2

 

 

 

 

4、

Z:\home\rediron\sina33m\ap6212a0_a33_sc3817\android\device\softwinner\astar-d7\astar_d7.mk

PRODUCT_COPY_FILES += \

    frameworks/native/data/etc/android.hardware.camera.xml:system/etc/permissions/android.hardware.camera.xml \

    frameworks/native/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \

    frameworks/native/data/etc/android.hardware.ethernet.xml:system/etc/permissions/android.hardware.ethernet.xml \

    frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \

    frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \

    frameworks/native/data/etc/android.hardware.bluetooth.xml:system/etc/permissions/android.hardware.bluetooth.xml \

    frameworks/native/data/etc/android.hardware.bluetooth_le.xml:system/etc/permissions/android.hardware.bluetooth_le.xml

 

 

# camera config for camera detector

#PRODUCT_COPY_FILES += \

#    device/softwinner/astar-d7/hawkview/sensor_list_cfg.ini:system/etc/hawkview/sensor_list_cfg.ini

 

 

PRODUCT_PROPERTY_OVERRIDES += \

    persist.sys.usb.config=mass_storage,adb \

    ro.adb.secure=0 \

    ro.sys.mutedrm=true \

    rw.logger=0

 

 

#$(call inherit-product-if-exists, vendor/google/products/gms_base.mk)

 

#for 8723bs-vq0,should setmacaddr

#PRODUCT_PACKAGES += setmacaddr

 

#for 8723bs-vq0,should setbtmacaddr

#PRODUCT_PACKAGES += setbtmacaddr

 

 

 

 

5、

Z:\home\rediron\sina33m\ap6212a0_a33_sc3817\android\device\softwinner\astar-d7\BoardConfig.mk

# 1.2 broadcom wifi support

# BOARD_USR_WIFI:ap6181/ap6210/ap6212/ap6330/ap6335

BOARD_WIFI_VENDOR := broadcom

ifeq ($(BOARD_WIFI_VENDOR), broadcom)

    BOARD_WPA_SUPPLICANT_DRIVER := NL80211

    WPA_SUPPLICANT_VERSION      := VER_0_8_X

    BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd

    BOARD_HOSTAPD_DRIVER        := NL80211

    BOARD_HOSTAPD_PRIVATE_LIB   := lib_driver_cmd_bcmdhd

    BOARD_WLAN_DEVICE           := bcmdhd

    WIFI_DRIVER_FW_PATH_PARAM   := "/sys/module/bcmdhd/parameters/firmware_path"

 

    BOARD_USR_WIFI := ap6212

    include hardware/broadcom/wlan/bcmdhd/firmware/$(BOARD_USR_WIFI)/device-bcm.mk

 

endif

 

# 2. Bluetooth Configuration

# make sure BOARD_HAVE_BLUETOOTH is true for every bt vendor

# BOARD_HAVE_BLUETOOTH_NAME:rtl8723bs/rtl8723bs_vq0/rtl8723cs/ap6210/ap6212/ap6330/ap6335/

BOARD_HAVE_BLUETOOTH := true

 

BOARD_HAVE_BLUETOOTH_BCM := true

BOARD_HAVE_BLUETOOTH_NAME := ap6212

 

 

 

 

6、

Z:\home\rediron\sina33m\ap6212a0_a33_sc3817\android\device\softwinner\astar-d7\init.sun8i.rc

    # tp & sensors

    init_dev_detect

 

 

on post-fs-data

    mkdir /data/media 0770 media_rw media_rw

 

    # bluetooth MAC address programming

    #chown bluetooth net_bt_stack ro.bt.bdaddr_path

    #chown bluetooth net_bt_stack /system/etc/bluetooth

    #chown bluetooth net_bt_stack /data/misc/bluetooth

    #setprop ro.bt.bdaddr_path "/data/misc/bluetooth/bdaddr"

 

 

 

 

7、

Z:\home\rediron\sina33m\ap6212a0_a33_sc3817\android\device\softwinner\astar-d7\ueventd.sun8i.rc

#/dev/video1                 0777    media       media

/dev/snd/pcmC0D0c           0777    media       media

/dev/snd/pcmC0D0p           0777    media       media

/dev/ttyS1                  0660    bluetooth   bluetooth

 

 

 

 

8、為了調(diào)試方便可選:休眠半小時(shí)+禁止鎖屏!

Z:\home\rediron\sina33m\ap6212a0_a33_sc3817\android\frameworks\base\packages\SettingsProvider\res\values\defaults.xml

    <integer name="def_screen_off_timeout">1800000</integer>

    <bool name="def_lockscreen_disabled">true</bool>

 

 

 

 

9、(不用修改:)

Z:\home\rediron\sina33m\ap6212a0_a33_sc3817\android\hardware\broadcom\wlan\bcmdhd\firmware\ap6212\bcm43438a0.hcd

Z:\home\rediron\sina33m\ap6212a0_a33_sc3817\android\hardware\broadcom\wlan\bcmdhd\firmware\ap6212\device-bcm.mk

-include hardware/broadcom/wlan/bcmdhd/config/config-bcm.mk

 

WIFI_DRIVER_FW_PATH_STA    := "/system/vendor/modules/fw_bcm43438a0.bin"

WIFI_DRIVER_FW_PATH_AP     := "/system/vendor/modules/fw_bcm43438a0_apsta.bin"

WIFI_DRIVER_FW_PATH_P2P    := "/system/vendor/modules/fw_bcm43438a0_p2p.bin"

 

PRODUCT_COPY_FILES += \

    hardware/broadcom/wlan/bcmdhd/firmware/ap6212/fw_bcm43438a0.bin:system/vendor/modules/fw_bcm43438a0.bin \

    hardware/broadcom/wlan/bcmdhd/firmware/ap6212/fw_bcm43438a0_apsta.bin:system/vendor/modules/fw_bcm43438a0_apsta.bin \

    hardware/broadcom/wlan/bcmdhd/firmware/ap6212/fw_bcm43438a0_p2p.bin:system/vendor/modules/fw_bcm43438a0_p2p.bin \

    hardware/broadcom/wlan/bcmdhd/firmware/ap6212/nvram_ap6212.txt:system/vendor/modules/nvram.txt \

    hardware/broadcom/wlan/bcmdhd/firmware/ap6212/bcm43438a0.hcd:system/vendor/modules/bcm43438a0.hcd

 

 

Z:\home\rediron\sina33m\ap6212a0_a33_sc3817\android\hardware\broadcom\wlan\bcmdhd\firmware\ap6212\fw_bcm43438a0.bin

Z:\home\rediron\sina33m\ap6212a0_a33_sc3817\android\hardware\broadcom\wlan\bcmdhd\firmware\ap6212\fw_bcm43438a0_apsta.bin

Z:\home\rediron\sina33m\ap6212a0_a33_sc3817\android\hardware\broadcom\wlan\bcmdhd\firmware\ap6212\fw_bcm43438a0_p2p.bin

Z:\home\rediron\sina33m\ap6212a0_a33_sc3817\android\hardware\broadcom\wlan\bcmdhd\firmware\ap6212\nvram_ap6212.txt

 

 

Z:\home\rediron\sina33m\ap6212a0_a33_sc3817\android\packages\apps\Camera2\src\com\android\camera\CameraActivity.java

 

 

 

 

10、

Z:\home\rediron\sina33m\ap6212a0_a33_sc3817\lichee\linux-3.4\arch\arm\mach-sunxi\rf\bt_pm.c

static int rfkill_set_power(void *data, bool blocked)

{

    unsigned int mod_sel = wifi_pm_get_mod_type();

 

    RF_MSG("rfkill set power %d\n", blocked);

 

    switch (mod_sel)

    {

……

        case 9: /* ap6212 */

            if (!blocked) {

                wifi_pm_gpio_ctrl("ap6xxx_bt_regon", 1);

            } else {

                wifi_pm_gpio_ctrl("ap6xxx_bt_regon", 0);

            }

            break;

        default:

            RF_MSG("no bt module matched !!\n");

    }

 

    msleep(10);

    return 0;

}

 

 

 

 

11、

Z:\home\rediron\sina33m\ap6212a0_a33_sc3817\lichee\linux-3.4\arch\arm\mach-sunxi\rf\wifi_pm.c

struct wifi_pm_ops wifi_select_pm_ops;

static char* wifi_mod[] = {" ",

"ap6181",     /* 1 - AP6181*/

"ap6210",     /* 2 - AP6210*/

"rtl8188eu",  /* 3 - RTL8188EU*/

"rtl8723au",  /* 4 - RTL8723AU*/

"rtl8723bs",  /* 5 - RTL8723BS*/

"esp8089",    /* 6 - ESP8089*/

"ap6476",     /* 7 - AP6476*/

"rtl8189es",  /* 8 - rtl8189es*/

"ap6212",     /* 9 - AP6212*/

"ap6330",     /* 10- AP6330*/

"gb9663",     /* 11- GB9663*/

};

 

 

static int __devinit wifi_pm_probe(struct platform_device *pdev)

{

struct wifi_pm_ops *ops = &wifi_select_pm_ops;

 

switch (ops->module_sel.val) {

……

case 9: /* AP6212 */

ap6xxx_gpio_init();

break;

default:

wifi_pm_msg("wrong sdio module select %d !\n", ops->module_sel.val);

}

 

awwifi_procfs_attach();

wifi_pm_msg("wifi gpio init is OK !!\n");

return 0;

}

 

 

 

 

12、

Z:\home\rediron\sina33m\ap6212a0_a33_sc3817\lichee\linux-3.4\drivers\net\wireless\bcmdhd\include\bcmdevs.h

#define BCM4350_CHIP_ID 0x4350          

#define BCM43430_CHIP_ID43430/* 43430 chipcommon chipid 0xa9a6 */

 

#define BCM4342_CHIP_ID 4342

 

 

 

 

13、

Z:\home\rediron\sina33m\ap6212a0_a33_sc3817\lichee\linux-3.4\drivers\net\wireless\bcmdhd\dhd_common.c

void

dhd_common_init(osl_t *osh)

{

int select_type = 0;

//aw checkout which wifi had select

//select_type = wifi_pm_get_mod_type();

select_type = 9;

#ifdef CONFIG_BCMDHD_FW_PATH

//select ap6181 or ap6210 or ap6476

if (select_type == 1 || select_type == 2 || select_type == 7) {

bcm_strncpy_s(fw_path, sizeof(fw_path), "/system/vendor/modules/fw_bcm40181a2.bin", MOD_PARAM_PATHLEN-1);

}

#else /* CONFIG_BCMDHD_FW_PATH */

fw_path[0] = '\0';

#endif /* CONFIG_BCMDHD_FW_PATH */

#ifdef CONFIG_BCMDHD_NVRAM_PATH

switch (select_type)

{

//ap6181

case 1:

  bcm_strncpy_s(nv_path, sizeof(nv_path), "/system/vendor/modules/nvram_ap6181.txt", MOD_PARAM_PATHLEN-1);

  break;

 

//ap6210

case 2:

  bcm_strncpy_s(nv_path, sizeof(nv_path), "/system/vendor/modules/nvram_ap6210.txt", MOD_PARAM_PATHLEN-1);

  break;

 

//ap6476

case 7:

bcm_strncpy_s(nv_path, sizeof(nv_path), "/system/vendor/modules/nvram_ap6476.txt", MOD_PARAM_PATHLEN-1);

break;

//ap6212

case 9:

  bcm_strncpy_s(nv_path, sizeof(nv_path), "/system/vendor/modules/nvram.txt", MOD_PARAM_PATHLEN-1);

  break;

default:

break;

}

#else /* CONFIG_BCMDHD_NVRAM_PATH */

nv_path[0] = '\0';

#endif /* CONFIG_BCMDHD_NVRAM_PATH */

#ifdef CONFIG_BCMDHD_CONFIG_PATH

bcm_strncpy_s(conf_path, sizeof(conf_path), "/system/vendor/modules/config.txt", MOD_PARAM_PATHLEN-1);

#else /* CONFIG_BCMDHD_CONFIG_PATH */

conf_path[0] = '\0';

#endif /* CONFIG_BCMDHD_CONFIG_PATH */

#ifdef SOFTAP

fw_path2[0] = '\0';

#endif

}

 

 

 

 

14、

Z:\home\rediron\sina33m\ap6212a0_a33_sc3817\lichee\linux-3.4\drivers\net\wireless\bcmdhd\dhd_linux.c

int

dhd_bus_start(dhd_pub_t *dhdp)

{

int ret = -1;

dhd_info_t *dhd = (dhd_info_t*)dhdp->info;

unsigned long flags;

 

ASSERT(dhd);

 

DHD_TRACE(("Enter %s:\n", __FUNCTION__));

 

#ifdef DHDTHREAD

if (dhd->threads_only)

dhd_os_sdlock(dhdp);

#endif /* DHDTHREAD */

 

 

/* try to download image and nvram to the dongle */

if  ((dhd->pub.busstate == DHD_BUS_DOWN) &&

(fw_path[0] != '\0') && (nv_path[0] != '\0')) {

#ifdef SHOW_NVRAM_TYPE

{ /* Show nvram type in the kernel log */

int i;

for (i = 0; nv_path[i] != '\0'; ++i) {

if (nv_path[i] == '.') {

++i;

break;

}

}

DHD_ERROR(("%s: nvram_type = [%s]\n", __FUNCTION__, &nv_path[i]));

}

#endif /* SHOW_NVRAM_TYPE */

/* wake lock moved to dhdsdio_download_firmware */

if (!(dhd_bus_download_firmware(dhd->pub.bus, dhd->pub.osh,

fw_path, nv_path, conf_path))) {

DHD_ERROR(("%s: dhdsdio_probe_download failed. firmware = %s nvram = %s config = %s\n",

__FUNCTION__, fw_path, nv_path, conf_path));

#ifdef DHDTHREAD

if (dhd->threads_only)

dhd_os_sdunlock(dhdp);

#endif /* DHDTHREAD */

// 2017/6/23 18:40 wenyuanbo download ap6212 fail not return error!!!!

//return -1;

}

}

if (dhd->pub.busstate != DHD_BUS_LOAD) {

#ifdef DHDTHREAD

if (dhd->threads_only)

dhd_os_sdunlock(dhdp);

#endif /* DHDTHREAD */

return -ENETDOWN;

}

 

……

 

return 0;

}

 

 

 

 

15、

Z:\home\rediron\sina33m\ap6212a0_a33_sc3817\lichee\linux-3.4\drivers\net\wireless\bcmdhd\dhd_sdio.c

static bool

dhdsdio_chipmatch(uint16 chipid)

{

……

if (chipid == BCM4350_CHIP_ID)

return TRUE;

if (chipid == BCM43430_CHIP_ID)

return TRUE;

return FALSE;

}

 

 

 

 

16、

Z:\home\rediron\sina33m\ap6212a0_a33_sc3817\lichee\tools\pack\chips\sun8iw5p1\configs\d7\sys_config.fex

[power_sply]

dcdc1_vol       = 3000

dcdc2_vol       = 1100

dcdc3_vol       = 1200

dcdc4_vol       = 0

dcdc5_vol       = 1500

aldo1_vol       = 3300

aldo2_vol       = 2500

aldo3_vol       = 3000

dldo1_vol       = 3300

dldo2_vol       = 3300

dldo3_vol       = 2800

;gpio0_vol      = 2800

ldoio0_vol      = 2800

 

 

[jtag_para]

jtag_enable     = 0

 

 

[dram_para]

dram_clk        = 552

 

 

[uart0]

uart_used       = 1

uart_port       = 0

uart_type       = 2

uart_tx         = port:PF02<3><1><default><default>

uart_rx         = port:PF04<3><1><default><default>

 

[uart1]

uart_used       = 1

uart_port       = 1

uart_type       = 4

uart_tx         = port:PG06<2><1><default><default>

uart_rx         = port:PG07<2><1><default><default>

uart_rts        = port:PG08<2><1><default><default>

uart_cts        = port:PG09<2><1><default><default>

 

[uart2]

uart_used       = 1

uart_type       = 4

uart_tx         = port:PB00<2><1><default><default>

uart_rx         = port:PB01<2><1><default><default>

uart_rts        = port:PB02<2><1><default><default>

uart_cts        = port:PB03<2><1><default><default>

 

 

[ctp_para]

ctp_used            = 1

ctp_name            = "gt82x"

ctp_twi_id          = 0

ctp_twi_addr        = 0x5d

ctp_screen_max_x    = 1280

ctp_screen_max_y    = 800

ctp_revert_x_flag   = 1

ctp_revert_y_flag   = 1

ctp_exchange_x_y_flag = 1

 

ctp_int_port        = port:PL04<4><default><default><default>

ctp_wakeup          = port:PL03<1><default><default><1>

ctp_power_ldo       =

ctp_power_ldo_vol   =

ctp_power_io        =

 

 

[ctp_list_para]

ctp_det_used              = 1

ft5x_ts                   = 1

gt82x                     = 1

gslX680                   = 1

gslX680new                = 0

gt9xx_ts                  = 1

gt9xxf_ts                 = 0

tu_ts                     = 0

gt818_ts                  = 1

zet622x                   = 1

aw5306_ts                 = 1

icn83xx_ts                = 0

 

 

[motor_para]

motor_used          = 0

 

 

[lcd0_para]

lcd_used            = 1

 

lcd_driver_name     = "default_lcd"

lcd_if              = 3

lcd_x               = 1280

lcd_y               = 800

lcd_width           = 150

lcd_height          = 94

lcd_dclk_freq       = 71

lcd_pwm_used        = 1

lcd_pwm_ch          = 0

lcd_pwm_freq        = 50000

lcd_pwm_pol         = 1

lcd_hbp             = 20

lcd_ht              = 1418

lcd_hspw            = 10

lcd_vbp             = 10

lcd_vt              = 830

lcd_vspw            = 5

lcd_lvds_if         = 0

lcd_lvds_colordepth = 1

lcd_lvds_mode       = 0

lcd_frm             = 1

lcd_gamma_en        = 0

lcd_bright_curve_en = 0

lcd_cmap_en         = 0

 

deu_mode            = 0

lcdgamma4iep        = 22

smart_color        = 90

 

lcd_bl_en           = port:PD13<1><0><default><1>

;ap6xxx_wl_regon      = port:PL06<1><default><default><0>

;lcd_bl_en           = port:PL06<1><0><default><1>

lcd_power           = "axp22_dc1sw"

 

lcdd0               = port:PD18<3><0><default><default>

lcdd1               = port:PD19<3><0><default><default>

lcdd2               = port:PD20<3><0><default><default>

lcdd3               = port:PD21<3><0><default><default>

lcdd4               = port:PD22<3><0><default><default>

lcdd5               = port:PD23<3><0><default><default>

lcdd6               = port:PD24<3><0><default><default>

lcdd7               = port:PD25<3><0><default><default>

lcdd8               = port:PD26<3><0><default><default>

lcdd9               = port:PD27<3><0><default><default>

 

;----------------------------------------------------------------------------------

;pwm config

;----------------------------------------------------------------------------------

[pwm0_para]

pwm_used            = 0

pwm_positive        = port:PH00<2><0><default><default>

 

[pwm1_para]

pwm_used            = 1

pwm_positive        = port:PH01<2><0><default><default>

 

 

[usbc0]

usb_used            = 1

usb_port_type       = 2

usb_detect_type     = 1

usb_id_gpio         = port:PD10<0><1><default><default>

usb_det_vbus_gpio   = "axp_ctrl"

usb_drv_vbus_gpio   = port:power4<1><0><default><0>

usb_restrict_gpio   =

usb_host_init_state = 0

usb_restric_flag    = 0

usb_restric_voltage = 3550000

usb_restric_capacity= 5

usb_regulator_io    = "nocare"

usb_regulator_vol   = 0

usb_regulator_id_vbus = "axp22_dcdc1"

usb_regulator_id_vbus_vol = 3000000

 

[usbc1]

usb_used            = 1

usb_drv_vbus_gpio   = port:PD12<1><0><default><0>

usb_restrict_gpio   =

usb_host_init_state = 1

usb_restric_flag    = 0

usb_regulator_io    = "nocare"

usb_regulator_vol   = 0

usb_not_suspend     = 0

 

 

;--------------------------------------------------------------------------------

;wifi/bt/fm/gps/nfc modules configuration

;module_num:   

;             0- none

;             1- ap6181(wifi)

;             2- ap6210(wifi+bt)

;             3- rtl8188eu(wifi)

;             4- rtl8723au(wifi+bt)

;             5- rtl8723bs(wifi+bt)

;             6- esp8089(wifi)

;             7- ap6476(wifi+bt+fm+gps)

;             8- rtl8189es(wifi)

;             9- ap6212(wifi+bt+fm)

;            10- ap6330(wifi+bt+fm)

;            11- gb9663(wifi+bt+fm)

;module_power1: ""- bat, "axp_dldo1"- axp dldo1

;module_power1_vol: power1 voltage, mv; not used for module_power1 is ""

;module_power2: ""- bat, "axp_dldo2"- axp dldo2

;module_power2_vol: power2 voltage, mv; not used for module_power2 is ""

;module_power3: ""- bat, "axp_dldo2"- axp dldo2

;module_power3_vol: power3 voltage, mv; not used for module_power3 is ""

;power_switch:  module power switch io when bat supply

;chip_en:       enable chip io

;lpo_use_apclk: ""- not use, "losc_out"- a23/33, "ac10032k1"、"ac10032k2"、"ac10032k3"- a80/a83

;--------------------------------------------------------------------------------

[rf_para]

module_num          = 9

module_power1       = "axp22_dldo1"

module_power1_vol   = 3000000

module_power2       = "axp22_dldo2"

module_power2_vol   = 3000000

module_power3       = "axp22_aldo1"

module_power3_vol   = 3000000

power_switch        =

chip_en             =

lpo_use_apclk       = "losc_out"

 

;--------------------------------------------------------------------------------

;wifi configuration

;wifi_used:      0-not use, 1- use

;wifi_sdc_id:    0- SDC0, 1- SDC1, 2- SDC2, 3- SDC3

;wifi_usbc_id:   0- USB0, 1- USB1, 2- USB2

;wifi_usbc_type: 1- EHCI(speed 2.0), 2- OHCI(speed 1.0)

;wl_reg_on:      wifi function enable io

;wl_host_wake:   wifi device wake-up host

;wl_host_wake_invert: whether wl_host_wake use inverter between ap and module

;                     0: not used, 1: used   

;--------------------------------------------------------------------------------

[wifi_para]

wifi_used          = 1

wifi_sdc_id        = 1

wifi_usbc_id       = 1

wifi_usbc_type     = 1

wifi_mod_sel       = 2

wifi_power         = ""

wifi_power_ext1    = ""

wifi_power_ext2    = ""

 

; 1 - ap6181 sdio wifi gpio config

;ap6xxx_wl_regon      = port:PL06<1><default><default><0>

;ap6xxx_wl_host_wake  = port:PL07<4><default><default><0>

;ap6xxx_lpo_use_apclk = 1

 

; 2 - ap6210 sdio wifi gpio config

ap6xxx_wl_regon      = port:PL06<1><default><default><0>

ap6xxx_wl_host_wake  = port:PL07<4><default><default><0>

ap6xxx_bt_regon      = port:PL08<1><default><default><0>

ap6xxx_bt_wake       = port:PL10<1><default><default><0>

ap6xxx_bt_host_wake  = port:PL09<4><default><default><0>

ap6xxx_lpo_use_apclk = 1

 

; 3 - rtl8188eu usb wifi gpio conifg

 

; 4 - rtl8723au usb wifi + bt

 

; 5 - rtl8723bs sdio wifi + bt

;rtl8723bs_chip_en       = port:PL11<1><default><default><0>

;rtl8723bs_wl_regon      = port:PL06<1><default><default><0>

;rtl8723bs_wl_host_wake  = port:PL07<4><default><default><0>

;rtl8723bs_bt_regon      = port:PL08<1><default><default><0>

;rtl8723bs_bt_wake       = port:PL10<1><default><default><0>

;rtl8723bs_bt_host_wake  = port:PL09<4><default><default><0>

;rtl8723bs_lpo_use_apclk = 0

 

; 6 - eagle sdio wifi

;esp_wl_chip_en        = port:PL03<1><default><default><0>

;esp_wl_rst            = port:PL02<1><default><default><0>

 

; 7 - ap6476 sdio wifi gpio config

;ap6xxx_wl_regon      = port:PL06<1><default><default><0>

;ap6xxx_wl_host_wake  = port:PL07<4><default><default><0>

;ap6xxx_bt_regon      = port:PL08<1><default><default><0>

;ap6xxx_bt_wake       = port:PL10<1><default><default><0>

;ap6xxx_bt_host_wake  = port:PL09<4><default><default><0>

;ap6xxx_lpo_use_apclk = 1

 

; 8 - rtl8189es sdio wifi gpio conifg

;rtl8189es_shdn        = port:PL06<1><default><default><0>

;rtl8189es_host_wake   = port:PL07<4><default><default><0>

 

usb_vbus_power_ctrl    = port:PL11<1><default><default><1>

usb_eth_power_ctrl     = port:PL04<1><default><default><1>

 

;--------------------------------------------------------------------------------

;bluetooth configuration

;bt_used:       0- no used, 1- used

;bt_uard_id: 0- uart0, 1- uart1, 2- uart2

;bt_rst_n:      bt function enable io

;bt_wake:       host wake-up bluetooth device

;bt_wak_host:   bt device wake-up host

;bt_wake_invert: whether bt_wake use inverter between ap and module

;                     0: not used, 1: used

;bt_host_wake_invert: whether bt_host_wake use inverter between ap and module

;                     0: not used, 1: used

;--------------------------------------------------------------------------------

[bt_para]

bt_used               = 1

bt_uart_id            = 1

bt_rst_n              = port:PL08<1><default><default><0>

bt_wake               = port:PL10<1><default><default><0>

bt_host_wake          = port:PL09<4><default><default><0>

(這里必須修改,否則BT打不開的,折騰了一個(gè)下午?。?/p>

bt_wake_invert        = 0

bt_host_wake_invert   = 0

ls_int                = port:PB07<1><default><default><0>

pcm_ch                = port:PB05<1><default><default><0>

    本站是提供個(gè)人知識(shí)管理的網(wǎng)絡(luò)存儲(chǔ)空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請(qǐng)注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購(gòu)買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊一鍵舉報(bào)。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評(píng)論

    發(fā)表

    請(qǐng)遵守用戶 評(píng)論公約

    類似文章 更多

    久久大香蕉一区二区三区| 亚洲综合精品天堂夜夜| 亚洲av秘片一区二区三区| 麻豆国产精品一区二区三区| 成人免费视频免费观看| 午夜精品久久久99热连载| 色婷婷中文字幕在线视频| 亚洲精品中文字幕熟女| 日韩精品一区二区毛片| 日本一区二区三区久久娇喘| 国产欧美日韩视频91| 亚洲一区二区三区有码| 91国内视频一区二区三区| 亚洲一区二区三区av高清| 人妻熟女中文字幕在线| 国产日韩中文视频一区| 国产精品福利精品福利| 91精品日本在线视频| 欧美日韩国产综合特黄| 久久精品国产亚洲av麻豆| 91精品蜜臀一区二区三区| 激情内射亚洲一区二区三区| 日韩视频在线观看成人| 国产一区二区精品高清免费| 高清不卡视频在线观看| 国内午夜精品视频在线观看| 扒开腿狂躁女人爽出白浆av | 不卡一区二区高清视频| 69精品一区二区蜜桃视频| 91人妻人人做人碰人人九色| 日本加勒比中文在线观看| 亚洲三级视频在线观看免费| 国产精品视频一区麻豆专区| 色老汉在线视频免费亚欧| 一区二区三区18禁看| 国内外免费在线激情视频| 欧美胖熟妇一区二区三区| 91人妻久久精品一区二区三区| 亚洲一区在线观看蜜桃| 久久夜色精品国产高清不卡| 精品伊人久久大香线蕉综合 |