[imx8 mini / 88w8987 / linux 6.1.55 ] ttymxc0 is not shown in /dev/

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[imx8 mini / 88w8987 / linux 6.1.55 ] ttymxc0 is not shown in /dev/

Jump to solution
730 Views
tayjung
Contributor II

Hello

I'm trying to make 88w8987 bluetooth work on imx8 mini EVK

(imx8 mini has 88w8987 on the EVK board)

In UM11513, It guide that BT uart device name of linux for 88w8987 is 'ttymxc0' .

However, It isn't shown in /dev on my imx8 mini

tayjung_0-1710235565858.png

In that I checked on boot messages, ttymxc0 seems to be registered

tayjung_1-1710235649899.png

 

I can't do 'hciattach' to use Bluetooth because ttymxc0 is not 

the kernel verions of yocto imx is 6.1.55

tayjung_2-1710235836559.png

Please let me know if I did something wrong

 

 

Labels (1)
0 Kudos
Reply
1 Solution
710 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @tayjung !
Thank you for contacting NXP Support!

The UM11513 uses as an example an old BSP.

If you are using the kernel 6.1.55 please refer to chapter "11 Connectivity", in that chapter explains how to use the Bluetooth and Wifi module in the new BSP.

To run Wi-Fi, execute the following commands first and follow the common commands below:
• For the following steps, execute these commands using connman
# For all the Wi-Fi modules:

modprobe moal mod_para=nxp/wifi_mod_para.conf
$connmanctl
connmanctl> enable wifi
connmanctl> scan wifi
connmanctl> services /* This should list of the network. For example
wifi_c0e4347f5053_4a62726f_managed_psk*/
connmanctl> agent on
connmanctl> connect wifi_c0e4347f5053_4a62726f_managed_psk /* Enter Passphrase
*/
Agent RequestInput wifi_c0e4347f5053_4a62726f_managed_psk
Passphrase = [ Type=psk, Requirement=mandatory ]
Passphrase?
connmanctl> quit


To run NXP Bluetooth with BlueZ stack, execute the following commands (it requires load Wi-Fi first to load
Bluetooth firmware):

modprobe btnxpuart
hciconfig hci0 up
Run the following commands to connect the Bluetooth device for all chips:
$ bluetoothctl
[bluetooth]# default-agent
[bluetooth]# agent on
[bluetooth]# scan on
[bluetooth]# pair xx:xx:xx:xx:xx:xx
[BT dev]# connect xx:xx:xx:xx:xx:xx
[BT dev]# quit


https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf


Best Regards!
Chavira

View solution in original post

0 Kudos
Reply
2 Replies
704 Views
tayjung
Contributor II

Hi Chavira

I made it with your guide.

WiFi and Bluetooth work well on my im8 mini EVK.

Thank you so much for your guide

Regards

Tay

0 Kudos
Reply
711 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @tayjung !
Thank you for contacting NXP Support!

The UM11513 uses as an example an old BSP.

If you are using the kernel 6.1.55 please refer to chapter "11 Connectivity", in that chapter explains how to use the Bluetooth and Wifi module in the new BSP.

To run Wi-Fi, execute the following commands first and follow the common commands below:
• For the following steps, execute these commands using connman
# For all the Wi-Fi modules:

modprobe moal mod_para=nxp/wifi_mod_para.conf
$connmanctl
connmanctl> enable wifi
connmanctl> scan wifi
connmanctl> services /* This should list of the network. For example
wifi_c0e4347f5053_4a62726f_managed_psk*/
connmanctl> agent on
connmanctl> connect wifi_c0e4347f5053_4a62726f_managed_psk /* Enter Passphrase
*/
Agent RequestInput wifi_c0e4347f5053_4a62726f_managed_psk
Passphrase = [ Type=psk, Requirement=mandatory ]
Passphrase?
connmanctl> quit


To run NXP Bluetooth with BlueZ stack, execute the following commands (it requires load Wi-Fi first to load
Bluetooth firmware):

modprobe btnxpuart
hciconfig hci0 up
Run the following commands to connect the Bluetooth device for all chips:
$ bluetoothctl
[bluetooth]# default-agent
[bluetooth]# agent on
[bluetooth]# scan on
[bluetooth]# pair xx:xx:xx:xx:xx:xx
[BT dev]# connect xx:xx:xx:xx:xx:xx
[BT dev]# quit


https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf


Best Regards!
Chavira

0 Kudos
Reply