diff --git a/lichee/buildroot/target/dragonboard/src/testcases/bluetooth/bcm43438a0.hcd b/lichee/buildroot/target/dragonboard/src/testcases/bluetooth/bcm43438a0.hcd index 1965f1c19c..9205ae6151 100644 Binary files a/lichee/buildroot/target/dragonboard/src/testcases/bluetooth/bcm43438a0.hcd and b/lichee/buildroot/target/dragonboard/src/testcases/bluetooth/bcm43438a0.hcd differ diff --git a/lichee/buildroot/target/dragonboard/src/testcases/bluetooth/bcm43438a1.hcd b/lichee/buildroot/target/dragonboard/src/testcases/bluetooth/bcm43438a1.hcd new file mode 100755 index 0000000000..c4a4b5510f Binary files /dev/null and b/lichee/buildroot/target/dragonboard/src/testcases/bluetooth/bcm43438a1.hcd differ diff --git a/lichee/linux-4.9/arch/arm64/configs/sun50iw1p1smp_dragonboard_defconfig b/lichee/linux-4.9/arch/arm64/configs/sun50iw1p1smp_dragonboard_defconfig index 8db8b627aa..f985102912 100644 --- a/lichee/linux-4.9/arch/arm64/configs/sun50iw1p1smp_dragonboard_defconfig +++ b/lichee/linux-4.9/arch/arm64/configs/sun50iw1p1smp_dragonboard_defconfig @@ -1015,9 +1015,12 @@ CONFIG_NET_FLOW_LIMIT=y # CONFIG_IRDA is not set CONFIG_BT=y CONFIG_BT_BREDR=y -# CONFIG_BT_RFCOMM is not set -# CONFIG_BT_BNEP is not set -# CONFIG_BT_HIDP is not set +CONFIG_BT_RFCOMM=y +CONFIG_BT_RFCOMM_TTY=y +CONFIG_BT_BNEP=y +CONFIG_BT_BNEP_MC_FILTER=y +CONFIG_BT_BNEP_PROTO_FILTER=y +CONFIG_BT_HIDP=y CONFIG_BT_HS=y CONFIG_BT_LE=y # CONFIG_BT_LEDS is not set @@ -1032,10 +1035,10 @@ CONFIG_BT_DEBUGFS=y # CONFIG_BT_HCIBTSDIO is not set CONFIG_BT_HCIUART=y CONFIG_BT_HCIUART_H4=y -CONFIG_BT_HCIUART_BCSP=y +# CONFIG_BT_HCIUART_BCSP is not set # CONFIG_BT_HCIUART_ATH3K is not set # CONFIG_BT_HCIUART_LL is not set -CONFIG_BT_HCIUART_3WIRE=y +# CONFIG_BT_HCIUART_3WIRE is not set # CONFIG_BT_HCIUART_INTEL is not set # CONFIG_BT_HCIUART_BCM is not set # CONFIG_BT_HCIUART_QCA is not set @@ -1045,8 +1048,8 @@ CONFIG_BT_HCIUART_3WIRE=y # CONFIG_BT_HCIBPA10X is not set # CONFIG_BT_HCIBFUSB is not set # CONFIG_BT_HCIVHCI is not set -# CONFIG_BCM_BT_LPM is not set -CONFIG_RTL_BT_LPM=m +CONFIG_BCM_BT_LPM=m +# CONFIG_RTL_BT_LPM is not set # CONFIG_BT_MRVL is not set # CONFIG_AF_RXRPC is not set # CONFIG_AF_KCM is not set diff --git a/lichee/tools/pack/chips/sun50iw1p1/configs/m64/sys_config_linux-4.9.fex b/lichee/tools/pack/chips/sun50iw1p1/configs/m64/sys_config_linux-4.9.fex index 9bb71b5d38..63025979cb 100755 --- a/lichee/tools/pack/chips/sun50iw1p1/configs/m64/sys_config_linux-4.9.fex +++ b/lichee/tools/pack/chips/sun50iw1p1/configs/m64/sys_config_linux-4.9.fex @@ -995,8 +995,8 @@ wlan_hostwake = port:PL03<6><0> ;-------------------------------------------------------------------------------- [bt] compatible = "allwinner,sunxi-bt" -bt_used = 0 -clocks = +bt_used = 1 +;clocks = bt_power = "vcc-wifi" bt_io_regulator = "vcc-wifi-io" bt_rst_n = port:PL04<1><0> @@ -1010,7 +1010,7 @@ bt_rst_n = port:PL04<1><0> ;-------------------------------------------------------------------------------- [btlpm] compatible = "allwinner,sunxi-btlpm" -btlpm_used = 0 +btlpm_used = 1 uart_index = 1 bt_wake = port:PL06<1><1> bt_hostwake = port:PL05<6><0> diff --git a/lichee/tools/pack/chips/sun50iw1p1/configs/m64/test_config.fex b/lichee/tools/pack/chips/sun50iw1p1/configs/m64/test_config.fex index f8c0ee3a01..5c965f9f69 100644 --- a/lichee/tools/pack/chips/sun50iw1p1/configs/m64/test_config.fex +++ b/lichee/tools/pack/chips/sun50iw1p1/configs/m64/test_config.fex @@ -155,17 +155,17 @@ test_size = 128 ;------------------------------------------------------------------------------- [bluetooth] display_name= "蓝牙" -activated = 0 +activated = 1 program = "bttester.sh" test_time = 3 category = 0 dst_bt = ":" run_type = 1 -module_path = +module_path = "/system/vendor/modules/bcm43438a1.hcd" device_node = "/dev/ttyS1" -baud_rate = -bt_vnd = "realtek" -rtk_bt_chip = "rtl8723cs_xx" +baud_rate = 1500000 +bt_vnd = "broadcom" +;rtk_bt_chip = "rtl8723cs_xx" [mmc] display_name= "SDCard"