Hello,
I am working with imx7ulp eval board (L4.19.35_1.1.0 SW package) and facing issues in setting up bluetooth module.
As per document "iMX Linux User guide" Section 10 "Connectivity", I am trying to setup bluetooth using the following command and the corresponding log:
root@imx7ulpevk:~# hciattach /dev/ttyLP2 bcm43xx 3000000 flow -b -t 120
bcm43xx_init
Set Controller UART speed to 3000000 bit/s
Failed to update baudrate, command failure
Can't initialize device: Success
root@imx7ulpevk:~#
Is there any step that i am missing ? Please provide your inputs.
Thanks,
Jai Ganesh Sridharan
Solved! Go to Solution.
Hello,
Unfortunately it is because Linux BSP L4.19.35 was ment for the i.MX7ULP EVKB. i.MX7ULP EVKB has Murata 1-DX CYW43430 Wi-Fi support instead of QCA9377. So, the BSP has firmware file for CYW43430 instead of QCA9377.
You could try with an older BSP L4.14.98, if this is not an option please try contacting murata for software support if they could provide driver for this device.
https://wireless.murata.com/type-1pj.html
Hope this helps,
Best regards,
Aldo.
Hello,
Are you using i.MX 7ULP EVK?
Since, unfortunately it is due that our latest Linux BSP is targeted for the i.MX 7ULP EVKB, if possible please try with L4.14.98_2.0.0_ga that you'll find here:
https://www.nxp.com/webapp/Download?colCode=L4.14.98_2.0.0_MX7ULP1&appType=license
Also, please note that i.MX 7ULP EVK supports Murata 1PJ (QCA9377-3) Wi-Fi/Bluetooth while EVKB supports Murata 1DX (CYW43430).
Hope this helps,
Best regards,
Aldo.
Hello Aldo Gutierrez,
Thanks for your response. I found that the chip in my eval board is Murata 1PJ (QCA9377-3). I tried to execute similar command (hciattach /dev/ttyLP2 qca 3000000 flow -b -t 120), but the firmware file is not available in the rootfs:
qca_soc_init: Baud rate changed successfully
File Open (/lib/firmware/qca/tfbtfw11.tlv)
/lib/firmware/qca/tfbtfw11.tlv File Open Fail
I tried building "bitbake firmware-qca9377" in the yocto package but it fails with:
--2020-04-07 12:07:42-- https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-qca-3.0.1.bin
Connecting to 127.0.0.1:3128... connected.
Proxy tunneling failed: Proxy Authentication RequiredUnable to establish SSL connection.
ERROR: firmware-qca9377-3.0.1-r0 do_fetch: Fetcher failure for URL: 'https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-qca-3.0.1.bin;fsl-eula=true'. Unable to fetch URL from any source.
Can you please let me know from where I could get the firmware file ?
Thanks,
Jai Ganesh Sridharan
PS: By the way, it has been written as "MCIMX7ULP-EVK REV B1" on my iMX7ULP eval board. Does it mean i am using EVK or EVKB ?
Hello,
Unfortunately it is because Linux BSP L4.19.35 was ment for the i.MX7ULP EVKB. i.MX7ULP EVKB has Murata 1-DX CYW43430 Wi-Fi support instead of QCA9377. So, the BSP has firmware file for CYW43430 instead of QCA9377.
You could try with an older BSP L4.14.98, if this is not an option please try contacting murata for software support if they could provide driver for this device.
https://wireless.murata.com/type-1pj.html
Hope this helps,
Best regards,
Aldo.
Hello Aldo Gutierrez,
Thanks. I got the BT working using L4.14.98 BSP package.