see command
modprobe cfg80211
GitHub - LibreELEC/brcmfmac_sdio-firmware: Broadcom SDIO firmware used with...
Broadcom SDIO firmware used with LibreELEC. Contribute to LibreELEC/brcmfmac_sdio-firmware development by creating an account on GitHub.
see command
modprobe cfg80211
returns nothing
the same with me
i did it according to this thread
https://doc.wsn.lierda.com/pages/viewpage.action?pageId=30904286
Because this is build-in kernel module and no need to load it manually.
All right, this is clearly out of my league. I’ll watch from the sidelines while you big guys handle it.
When you think I can help, just tell me what to do.
The wifi and Bluetooth chips used by Tencent Aurora 4pro are:SparkLAN AP6275P - 802.11ax + BT, mPCIe (Wi-Fi), UART/PCM (BT) • Broadcom BCM43752.
Broadcom SDIO firmware used with LibreELEC. Contribute to LibreELEC/brcmfmac_sdio-firmware development by creating an account on GitHub.
I’d like to keep testing this MT7668 driver for the BT BR/EDR functionality with my test kernel. How can I include this in my kernel compilation?
@vpeter I’m trying compile the Google Coral MT7668 BT driver to be included in my kernel. I’ve followed the steps below based on various posts on the forum, but the MT7668 BT driver isn’t being included with the kernel. Can you please point me out where I’m going wrong.
Create a folder for new driver to be included
CoreELEC/projects/Amlogic-ce/packages/linux-drivers/mt7668bt
Create package.mk
CoreELEC/projects/Amlogic-ce/packages/linux-drivers/mt7668bt/package.mk
Fillout package.mk
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2018-present Team CoreELEC (https://coreelec.tv)
PKG_NAME="mt7668bt"
PKG_VERSION="0b3cfd4b7d7a39ee33b590a5d380f63924a93940"
PKG_SHA256="ac3f25bc7c64c924deb2d3b058f85e413ed91041023c06ddd932adfa05f60126"
PKG_ARCH="arm aarch64"
PKG_LICENSE="GPL"
PKG_SITE="https://coral.googlesource.com/mt7668-bluetooth-mod"
PKG_URL="https://coral.googlesource.com/mt7668-bluetooth-mod/+archive/0b3cfd4b7d7a39ee33b590a5d380f63924a93940.tar.gz"
PKG_DEPENDS_TARGET="toolchain linux"
PKG_NEED_UNPACK="$LINUX_DEPENDS"
PKG_LONGDESC="mt7668 bluetooth Linux driver"
PKG_IS_KERNEL_PKG="yes"
PKG_TOOLCHAIN="manual"
pre_make_target() {
unset LDFLAGS
}
make_target() {
make V=1 \
ARCH=$TARGET_KERNEL_ARCH \
KSRC=$(kernel_path) \
CROSS_COMPILE=$TARGET_KERNEL_PREFIX \
CONFIG_POWER_SAVING=n
}
makeinstall_target() {
mkdir -p $INSTALL/$(get_full_module_dir)/$PKG_NAME
cp *.ko $INSTALL/$(get_full_module_dir)/$PKG_NAME
}
Edit options file to include new driver package
CoreELEC/projects/Amlogic-ce/devices/Amlogic-ng/options
# additional drivers to install:
# for a list of additinoal drivers see packages/linux-drivers
# Space separated list is supported,
# e.g. ADDITIONAL_DRIVERS="DRIVER1 DRIVER2"
ADDITIONAL_DRIVERS+=" RTL8192CU RTL8192DU RTL8192EU RTL8188EU RTL8812AU RTL8821CU
ssv6xxx-aml mt7668-aml RTL8188FTV-aml RTL8189ES-aml RTL8189FS-aml
RTL8723BS-aml RTL8814AU RTL8822BU-aml RTL8822BS-aml
RTL8821CS-aml qca9377-aml qca6174-aml smartchip mt7668bt"
Compile the kernel
PROJECT=Amlogic-ce DEVICE=Amlogic-ng ARCH=aarch64 ./scripts/build linux
You need to build image to include this new driver in image itself.
DEVICE=Amlogic-ng make
DEVICE=Amlogic-ng make
Ah ok thank you. It’s not possible to build just the kernel with the new driver?
This is out of tree driver which means it is build separately like
DEVICE=Amlogic-ng ./scripts/build mt7668bt
and included in image with make.
You can build just this driver and cop kernel module to device and use insmod to load it.
ok thank you, I understand. I’ll stick to manually loading it with insmod for now to save some time.
[ 0.507253] <6>[ 0.507253@2] aml_wifi aml_wifi: [wifi_dev_probe] no interrupt pin
[ 0.507276] <6>[ 0.507276@2] wifi: power_on_pin_OD = 0;
[ 0.507280] <6>[ 0.507280@2] aml_wifi aml_wifi: [wifi_dev_probe] no power_on_pin2
[ 0.507284] <6>[ 0.507284@2] aml_wifi aml_wifi: [wifi_dev_probe] use double channel
[ 0.507378] <6>[ 0.507378@2] aml_wifi aml_wifi: [pwm_double_channel_conf_dt] wifi pwm dt ok
[ 0.507395] <6>[ 0.507395@2] aml_wifi aml_wifi: [pwm_double_channel_conf] wifi pwm conf ok
[ 0.507399] <6>[ 0.507399@2] aml_wifi aml_wifi: [wifi_dev_probe] dhd_static_buf setup
[ 0.507403] <6>[ 0.507403@2] Wifi: bcmdhd_init_wlan_mem: bcmdhd_init_wlan_mem(): 100.10.545.22 (r826445-20210615-1)
[ 0.509971] <6>[ 0.509971@2] Wifi: bcmdhd_init_wlan_mem: bcmdhd_init_wlan_mem prealloc ok
[ 0.509980] <6>[ 0.509980@2] aml_wifi aml_wifi: [wifi_dev_probe] interrupt_pin=0
[ 0.509984] <6>[ 0.509984@2] aml_wifi aml_wifi: [wifi_dev_probe] irq_num=0, irq_trigger_type=0
[ 0.509988] <6>[ 0.509988@2] aml_wifi aml_wifi: [wifi_dev_probe] power_on_pin=481
[ 0.509992] <6>[ 0.509992@2] aml_wifi aml_wifi: [wifi_dev_probe] clock_32k_pin=0
[ 0.510131] <6>[ 0.510131@2] aml_wifi aml_wifi: [wifi_setup_dt] wifi_setup_dt
[ 0.510151] <6>[ 0.510151@2] aml_wifi aml_wifi: [set_power] wifi power: Enable
[ 0.510160] <6>[ 0.510160@2] aml_wifi aml_wifi: [wifi_setup_dt] power_on_pin(481)
[ 0.510177] <6>[ 0.510177@2] aml_wifi aml_wifi: [wifi_dev_probe] Reset wifi
[ 0.510181] <6>[ 0.510181@2] aml_wifi aml_wifi: [set_power] wifi power: Disable
[ 0.510187] <6>[ 0.510187@2] aml_wifi aml_wifi: [extern_wifi_set_enable] WIFI Disable! 481
[ 0.717244] <6>[ 0.717244@2] aml_wifi aml_wifi: [set_power] wifi power: Enable
[ 0.717254] <6>[ 0.717254@3] aml_wifi aml_wifi: [extern_wifi_set_enable] WIFI Enable! 481
The above content is from here:
tencent android 11 TV dmesg.txt (201.1 KB)
you will be doing more tests for aic8800
Should I post the logs from the last build?
T95W2 (s905w2)
Wifi = Not work
Bluetooth = Work
CoreELEC (official): 20.3-Nexus_nightly_20230810 (Amlogic-ne.aarch64)
Machine model: Amlogic
CoreELEC dt-id: s4_s905w2_2g
CoreELEC:~ # udevadm info /sys/bus/sdio/devices/* | paste
http://ix.io/4F0k
CoreELEC:~ # dmesg | paste
http://ix.io/4F0l
Hi @vpeter Is the driver incompatible?
In case it is useful, here is the Android dtb
dtb.img.gz (51.6 KB)
I got a Bluetooth dongle since the built-in Bluetooth of my box it not supported. This one announces as 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode). I saw that some others here were asking about that same dongle, but the answers were from some time ago. Anything new in this regard? Any chance that it will be supported? Or should I give up on it and get a different one? It’s really a bit sad since this one was even advertised as compatible with Linux…
Please provide the corresponding information. What is the interface? @mszs
please, any ideas on this?
If your issue relates to a USB WiFi or BT dongle then please paste the output of the command lsusb
instead.
Please also provide a dmesg:
dmesg | paste
Please also post which device you are using.
About | FAQ | Terms of Service | Privacy Policy | Legal Notice