We have been using Colibri iMX7D EMMC SoM for a long time in our products. As a wireless module we have been using RS9116N from Redpine (Silicon Labs Now) on SDIO port
Simply by enabling them on menuconfig of kernel the modules become available and our interface for WiFi comes up however we have problems with bluetooth
Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello there!
To address your Bluetooth issue on the Toradex device, here are some steps you can follow:
Verify the Bluetooth Service: Ensure that the Bluetooth service is running properly by executing the following command:
systemctl start bluetooth.service
Enable Bluetooth with ConnMan: Use ConnMan to enable Bluetooth:
connmanctl enable bluetooth
Check Bluetooth Device Status: Use hciconfig to check the status of your Bluetooth device:
hciconfig
These steps should help you get started with troubleshooting your Bluetooth issue. If the problem persists, it might be related to specific configurations or issues with the RS9116N module on BSP 5.x.y. In such cases, reviewing the device logs and configurations might provide further insights.
Since Kernel 5.4 there have been many fixes to the drivers involved here.
Therefore pointing out exactly what is wrong may not be that easy.
As BSP 5 is no longer maintained, the recommendation is to go to BSP 7, which is the latest one.
If that is not currently an option, there is another difference which may be relevant here.
On BSP 5, the default kernel used for the Colibri iMX7 was a downstream kernel, not a mainline one.
On BSP 6 onwards, the default kernel is mainline.
Therefore, you can try to use the mainline BSP 5 kernel and check if the same problem is present.
To do so:
Initialize the build, using the last tag for BSP 5:
Thanks for the input! Yeah like I wrote in the first message I already tested this with BSP 7 and the bluetooth works there.
I followed your idea and build the image with DISTRO=tdx-xwayland-upstream. I see that this way the kernel that is built is a later version than ours. (5.4.264 instead of 5.4.193) and with tdx-reference-minimal-image hci0 interface came up!
Now I am stuck on the second step though… When I try to update my target with this zImage it hangs at this point
[ 2.320333] Waiting for root device /dev/mmcblk0p2...
This was not the case when I was rebuilding tdx-xwayland kernel, is there a difference with partitions?
It is good to know that this got bluetooth to work.
Please note that the kernel has not only a greater version number, but is a very different kernel.
The one used previously was a downstream kernel based on NXP’s kernel, while the new one is an upstream kernel based on the upstream kernel.
I would recommend that you update both u-boot and Linux when using this new image so you ensure that the image has a compatible bootloader.
Is this a possibility for your use case?
Thanks for the idea to update also the u-boot that took me a bit further on my image. However instead of updating the u-boot on the target I updated manually the tezi image to have the new u-boot and the kernel. It felt a bit dirty to do so but it brought results!
I wanted to ask you though. When I build boot2qt manifest for lts 5.15 LTS