Hi.
I would like to use bluetooth in imx8mm evk board.
But There is not the uart device file, I think ttymxc0 is connected to bluetooth module.
----------
root@imx8mmevk:~# hciattach /dev/ttymxc0 any 115200 flow
Can't open serial port: No such file or directory
Can't initialize device: No such file or directory
root@imx8mmevk:~# ls /dev/ttymxc*
/dev/ttymxc1 /dev/ttymxc2
----------
■ Question
1. What image should i use?
Now, I use imx-image-multimedia-imx8mmevk.wic.
2. What dtb should i use?
Now, I use imx8mm-evk.dtb.
----------
u-boot=> printenv fdtfile
fdtfile=imx8mm-evk.dtb
----------
■ additional explaination
1. Image and dtb is installed from https://www.nxp.jp/webapp/Download?colCode=L6.6.3_1.0.0_MX8MM&appType=license
I resolved this problem.
I didn't need to execute command [hciattach /dev/ttymxc0 any 115200 flow].
I execute only following command.
-------------------
modprobe moal mod_para=nxp/wifi_mod_para.conf
modprobe btnxpuart
hciconfig hci0 up
-------------------
I refered https://community.nxp.com/t5/i-MX-Processors-Knowle\dge-Base/Bluetooth-NXP-UART-Driver-Linux-BSP-6-1-22-btnxpuart/ta-p/1708588.
Thanks for a lot!!
Why does it use Linux Open Source UART driver?
[6 Bring-up of Bluetooth] section is described as follows.
• Bring up using NXP Bluetooth UART driver on the i.MX Linux BSP version L6.1.22 and later.
• Bring up using Linux Open Source UART driver on i.MX Linux BSP version earlier than L6.1.22.
I downloaded image from following url. I maybe use version 6.6.3.
So I guess that I should refer 6.1 Bring-up using NXP Bluetooth UART driver.
https://www.nxp.jp/webapp/Download?colCode=L6.6.3_1.0.0_MX8MM&appType=license
pls refer to the chapter 6.2 Bring-up using Linux open source UART driver of enclosed file
Maybe, It's AW-CM358SM (NXP 88W8987).
evk board is not expanding.
what BT module do you test on your board?
did you use nxp imx8mm lpddr4 evk board?
pls try the command as below
before running BT:
modprobe moal mod_para = wifi_mod_para.conf