Hi,
is it possible to backport the bluetooth subsystem for the l4t Kernel?
I want to use Bluetooth 4.2 on Tk1, so try this howto:
Kernel Driver Backports Integration .
The wifi backport works pretty well.
The search for “BT” in menuconfig shows me the following:
Symbol: BT [=n]
Type : tristate
Prompt: Bluetooth subsystem support
Defined at /home/user/source/backports-toradex/net/bluetooth/Kconfig:5
Depends on: m && BP_MODULES [=y] && NET [=y] && !S390 && (RFKILL [=m] || !RFKILL [=m]) && [=m]) \ && CRC16 [=y] && CRYPTO [=y] && CRYPTO_BLKCIPHER [=y] && CRYPTO_AES [=y] && CRYPTO_CMAC [=y] && CRYPTO_ECB [=y] && CRYPTO_SHA256 [=y] && CRYPTO_ECDH && !KERNEL_4_7 [=y]
But i didn’t find CRYPTO_ECDH in l4t…
I tried the precompiled “Apalis-TK1_LXDE-Image_2.8.2”-Image.
Modinfo didn’t show me a backported bluetooth-kernel-module:
root@apalis-tk1:~# modinfo bluetooth
filename: /lib/modules/3.10.40-2.8.2+ge81dd8a/kernel/net/bluetooth/bluetooth.ko
alias: net-pf-31
license: GPL
version: 2.16
description: Bluetooth Core ver 2.16
author: Marcel Holtmann <marcel@holtmann.org>
srcversion: 5624D2B7B8F4B25F17B0826
depends:
intree: Y
vermagic: 3.10.40-2.8.2+ge81dd8a SMP preempt mod_unload modversions ARMv7 p2v8
parm: disable_esco:Disable eSCO connection creation (bool)
parm: disable_ertm:Disable enhanced retransmission mode (bool)
parm: enable_hs:Enable High Speed support (bool)
I also have found no evidence in latest “meta-toradex-tegra”.
Where can I find the backported bluetooth subsystem and driver?
Unfortunately BT backports are not yet fully ported to older kernels, due to crypto subsystem issues. Currently we don’t have ETA for this feature. Depending on your requirements mainline based BSP release may work for you.
I already tried the “Apalis-TK1-Mainline_LXDE-Image_2.8.2”-Image.
After boot the mpcie-Modul isn’t recognized:
root@apalis-tk1-mainline:~# lspci
00:01.0 PCI bridge: NVIDIA Corporation TegraK1 PCIe x4 Bridge (rev a1)
00:02.0 PCI bridge: NVIDIA Corporation TegraK1 PCIe x1 Bridge (rev a1)
02:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)
If i try to rescan:
root@apalis-tk1-mainline:~# echo 1 > /sys/bus/pci/rescan
....
[ 334.170773] tegra-pcie 1003000.pcie: Response decoding error, signature: 13280001
[ 334.178241] tegra-pcie 1003000.pcie: FPCI address: 13280000
[ 334.184165] tegra-pcie 1003000.pcie: Response decoding error, signature: 13280001
[ 334.191645] tegra-pcie 1003000.pcie: FPCI address: 13280000
[ 334.197561] tegra-pcie 1003000.pcie: Response decoding error, signature: 13280001
[ 334.205037] tegra-pcie 1003000.pcie: FPCI address: 13280000
[ 334.210964] tegra-pcie 1003000.pcie: Response decoding error, signature: 13280001
[ 334.218431] tegra-pcie 1003000.pcie: FPCI address: 13280000
[ 334.224358] tegra-pcie 1003000.pcie: Response decoding error, signature: 13280001
[ 334.231837] tegra-pcie 1003000.pcie: FPCI address: 13280000
[ 334.237754] tegra-pcie 1003000.pcie: Response decoding error, signature: 13280001
[ 334.245231] tegra-pcie 1003000.pcie: FPCI address: 13280000
[ 334.251157] tegra-pcie 1003000.pcie: Response decoding error, signature: 13280001
[ 334.258625] tegra-pcie 1003000.pcie: FPCI address: 13280000
[ 334.264548] tegra-pcie 1003000.pcie: Response decoding error, signature: 13280001
[ 334.269574] ath10k_pci 0000:01:00.0: failed to read device register, device is gone
[ 334.269577] ath10k_pci 0000:01:00.0: failed to reset chip: -5
[ 334.269610] pci_generic_config_write32: 17 callbacks suppressed
[ 334.269615] pci_bus 0000:01: 2-byte config write to 0000:01:00.0 offset 0x52 may corrupt adjacent RW1C bits
[ 334.269626] pci_bus 0000:01: 2-byte config write to 0000:01:00.0 offset 0x4 may corrupt adjacent RW1C bits
[ 334.269741] pci_bus 0000:01: 2-byte config write to 0000:01:00.0 offset 0x4 may corrupt adjacent RW1C bits
[ 334.270105] ath10k_pci: probe of 0000:01:00.0 failed with error -5
[ 334.326453] tegra-pcie 1003000.pcie: FPCI address: 13280000
[ 334.332393] tegra-pcie 1003000.pcie: Response decoding error, signature: 13280001
[ 334.339874] tegra-pcie 1003000.pcie: FPCI address: 13280000
If possible, please try using ixora carrier board.
What’s the card you’re using?
I use the ixora V1.1A and the sparklan WNSQ-261ACN with QCA6174A chipset.
Please try adding pex_perst=0
to kernel command line, this should allow you to use pcie cards on ixora with mainline based TK1 BSP.