Hello, NXP team:
I download "L5.4.70-2.3.0_images_MX8MMEVK.zip" and flash "imx-image-multimedia-imx8mmevk.wic".
The imx8mmevk we have is with QCA9377 WIFI, so i switch to use the default device tree file "imx8mm-evk-qca-wifi.dtb".
Bluetooth firmware is loaded and "hci0" is created.
When i try to enable hci0, there is error message:
root@imx8mmevk:~# dmesg | grep -i model
[ 0.000000] Machine model: FSL i.MX8MM LPDDR4 EVK with QCA WIFI revB board
root@imx8mmevk:~# hciattach -t 30 /dev/ttymxc0 qca 115200 flow
root@imx8mmevk:~# hciconfig -a
hci0: Type: Primary Bus: UART
BD Address: 61:47:AA:32:44:06 ACL MTU: 1024:7 SCO MTU: 60:8
DOWN
RX bytes:564 acl:0 sco:0 events:25 errors:0
TX bytes:363 acl:0 sco:0 commands:25 errors:0
Features: 0xff 0xfe 0x8f 0xfe 0xd8 0x3f 0x5b 0x87
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF
Link mode: SLAVE ACCEPT
root@imx8mmevk:~# hciconfig hci0 up
[ 552.165747] debugfs: File 'dut_mode' in directory 'hci0' already present!
Can't init device hci0: Invalid request code (56)
root@edm-g-imx8mm:~# hcitool -i hci0 scan
Invalid device: Network is down
We have tried Linux 5.4.47_2.2.0 and it works fine.
Could you give me a tip what is the difference between Linux 5.4.47_2.2.0 and 5.4.70_2.3.0 to cause this issue?
Thanks!
BR,
Richard
Any updates on how to fix ?
Thanks
hi @richard_hu , could you tell me how did you fix this? I'm experiencing the same issue with IMX7 and can't figure it out what I'm missing..
Hi
Can you attach your boot log?
BR
Zhiming
Hello, @Zhiming_Liu :
Thanks~!!!
We figure out the problem.
I think this thread can be closed.
I have encountered the same problem. Can you tell me how you solved it!thank you
Hello @richard_hu,
i have the same problem, could you please explain how you solved this problem?
Best regards
Can you tell me how to solve it?
Thanks.