Murata's LBWA1KL1FX-875 Wi-Fi part Linux driver for TI's AM3351 processor

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
h_maniya
Level 1
Level 1
First reply posted First question asked Welcome!

Hi,

We want to use the Murata's LBWA1KL1FX-875 Wi-Fi part in our project. And this module will be communicating with the TI's AM3351 Processor.

So can you please confirm that, do you have Linux driver for this Murata part for TI's AM3351 Processor?

 

Thanks,

HM

 

0 Likes
1 Solution
raks_99
Moderator
Moderator
Moderator
First question asked 250 replies posted 250 sign-ins

Hi HM,

I confirmed internally that the firmware for CYW43364 is the same as 43430.  So you can use cyfmac43430-sdio.bin . You can place the firmware along with clm and nvram file in /lib/firmware/cypress folder. If you face any issues while loading the driver please post the dmesg logs.

Thanks

View solution in original post

0 Likes
6 Replies
raks_99
Moderator
Moderator
Moderator
First question asked 250 replies posted 250 sign-ins

Hi,

Can you tell me which environment/IDE you'll be using to program the TI host chip?

Let me confirm the availability of drivers for CYW43364.

Thanks

0 Likes
raks_99
Moderator
Moderator
Moderator
First question asked 250 replies posted 250 sign-ins

Hi @h_maniya ,

I did not notice the OS that you were using in the thread description. Please ignore the previous response.

Yes for Linux you can use the latest FMAC driver from here https://community.cypress.com/t5/Wi-Fi-Bluetooth-for-Linux/Cypress-Linux-WiFi-Driver-Release-FMAC-20...

Thanks,

 

0 Likes

Hi raks_99,

Thanks for the response.

From your provided link, I have downloaded the cypress-firmware-v5.4.18-2021_08_12.zip, and under the folder firmware there is file named as "versions". I see many chipset supported by this driver, but it does not include our used chipset i.e., CYW43364.

Do you have any other compatible Cypress-firmware for our chipset?  Or please provide the Wi-Fi Driver for CYW43364 chipset.

Please note that we are using Linux Kernel version 5.4.

Thanks,

HM

0 Likes
raks_99
Moderator
Moderator
Moderator
First question asked 250 replies posted 250 sign-ins

Hi HM,

I confirmed internally that the firmware for CYW43364 is the same as 43430.  So you can use cyfmac43430-sdio.bin . You can place the firmware along with clm and nvram file in /lib/firmware/cypress folder. If you face any issues while loading the driver please post the dmesg logs.

Thanks

0 Likes

Hello raks_99,

Need your guidance here.

We are doing the same as mentioned in your solution, some how facing the challenge.

we generated the *.ko files, compat.ko, cfg80211.ko, brcmutil.ko, brcmfmac.ko.

we see insmod error for  cfg80211.ko and brcmfmac.ko.

please refer below dmesg/error logs, 

root@am335x-evm:~# insmod cfg80211.ko
[ 106.938406] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 107.107481] ------------[ cut here ]------------
[ 107.112298] WARNING: CPU: 0 PID: 296 at crypto/rsa-pkcs1pad.c:539 pkcs1pad_verify+0x10c/0x124
[ 107.146349] Modules linked in: cfg80211(O+) compat(O)
[ 107.151617] CPU: 0 PID: 296 Comm: insmod Tainted: G O 5.4.106-g175cacaff3 #1
[ 107.180643] Hardware name: Generic AM33XX (Flattened Device Tree)
[ 107.191268] [<c010e6d8>] (unwind_backtrace) from [<c010b2f0>] (show_stack+0x10/0x14)
[ 107.203603] [<c010b2f0>] (show_stack) from [<c093c8d0>] (__warn+0xd0/0xe8)
[ 107.214410] [<c093c8d0>] (__warn) from [<c093c94c>] (warn_slowpath_fmt+0x64/0xc8)
[ 107.225814] [<c093c94c>] (warn_slowpath_fmt) from [<c03e2a60>] (pkcs1pad_verify+0x10c/0x124)
[ 107.238966] [<c03e2a60>] (pkcs1pad_verify) from [<c03e7fdc>] (public_key_verify_signature+0x24c/0x32c)
[ 107.252187] [<c03e7fdc>] (public_key_verify_signature) from [<c03e9184>] (x509_check_for_self_signed+0xb8/0x118)
[ 107.266485] [<c03e9184>] (x509_check_for_self_signed) from [<c03e855c>] (x509_cert_parse+0x158/0x1b8)
[ 107.279607] [<c03e855c>] (x509_cert_parse) from [<c03e8e30>] (x509_key_preparse+0x10/0x18c)
[ 107.291807] [<c03e8e30>] (x509_key_preparse) from [<c03e6b88>] (asymmetric_key_preparse+0x4c/0x7c)
[ 107.304655] [<c03e6b88>] (asymmetric_key_preparse) from [<c03d0970>] (key_create_or_update+0x120/0x414)
[ 107.319110] [<c03d0970>] (key_create_or_update) from [<bf05125c>] (regulatory_init+0x198/0x280 [cfg80211])
[ 107.334548] [<bf05125c>] (regulatory_init [cfg80211]) from [<bf051060>] (__init_backport+0x60/0xc4 [cfg80211])
[ 107.349815] [<bf051060>] (__init_backport [cfg80211]) from [<c0102648>] (do_one_initcall+0x58/0x1c4)
[ 107.363101] [<c0102648>] (do_one_initcall) from [<c019d04c>] (do_init_module+0x5c/0x250)
[ 107.375429] [<c019d04c>] (do_init_module) from [<c019f444>] (load_module+0x2180/0x2434)
[ 107.387596] [<c019f444>] (load_module) from [<c019f954>] (sys_finit_module+0xd0/0xe8)
[ 107.395572] [<c019f954>] (sys_finit_module) from [<c0101000>] (ret_fast_syscall+0x0/0x54)
[ 107.410470] Exception stack(0xed0dffa8 to 0xed0dfff0)
[ 107.415643] ffa0: 00000000 00035190 00000003 000227bc 00000000 00035f08
[ 107.430689] ffc0: 00000000 00035190 00000000 0000017b 0002034c 00000002 0002031c 00000000
[ 107.442572] ffe0: beb32bc0 beb32bb0 0001b3c1 437760e2
[ 107.451367] ---[ end trace 7c2578917fecc5c4 ]---
[ 107.459790] cfg80211: Problem loading in-kernel X.509 certificate (-22)
root@am335x-evm:~# [ 107.544779] ------------[ cut here ]------------
[ 107.556204] WARNING: CPU: 0 PID: 56 at crypto/rsa-pkcs1pad.c:539 pkcs1pad_verify+0x10c/0x124
[ 107.585972] Modules linked in: cfg80211(O) compat(O)
[ 107.591143] CPU: 0 PID: 56 Comm: kworker/0:3 Tainted: G W O 5.4.106-g175cacaff3 #1
[ 107.616568] Hardware name: Generic AM33XX (Flattened Device Tree)
[ 107.622826] Workqueue: events request_firmware_work_func
[ 107.646081] [<c010e6d8>] (unwind_backtrace) from [<c010b2f0>] (show_stack+0x10/0x14)
[ 107.653967] [<c010b2f0>] (show_stack) from [<c093c8d0>] (__warn+0xd0/0xe8)
[ 107.686109] [<c093c8d0>] (__warn) from [<c093c94c>] (warn_slowpath_fmt+0x64/0xc8)
[ 107.693740] [<c093c94c>] (warn_slowpath_fmt) from [<c03e2a60>] (pkcs1pad_verify+0x10c/0x124)
[ 107.722008] [<c03e2a60>] (pkcs1pad_verify) from [<c03e7fdc>] (public_key_verify_signature+0x24c/0x32c)
[ 107.735146] [<c03e7fdc>] (public_key_verify_signature) from [<c03e9184>] (x509_check_for_self_signed+0xb8/0x118)
[ 107.749223] [<c03e9184>] (x509_check_for_self_signed) from [<c03e855c>] (x509_cert_parse+0x158/0x1b8)
[ 107.762164] [<c03e855c>] (x509_cert_parse) from [<c03e9788>] (pkcs7_extract_cert+0x2c/0x60)
[ 107.774407] [<c03e9788>] (pkcs7_extract_cert) from [<c046c8a8>] (asn1_ber_decoder+0x674/0x8cc)
[ 107.786975] [<c046c8a8>] (asn1_ber_decoder) from [<c03e936c>] (pkcs7_parse_message+0xb0/0x194)
[ 107.795735] [<c03e936c>] (pkcs7_parse_message) from [<c01cd674>] (verify_pkcs7_signature+0x1c/0x70)
[ 107.812718] [<c01cd674>] (verify_pkcs7_signature) from [<bf00bdf0>] (valid_regdb+0xc8/0x210 [cfg80211])
[ 107.828648] [<bf00bdf0>] (valid_regdb [cfg80211]) from [<bf00fa64>] (regdb_fw_cb+0x1c/0x10c [cfg80211])
[ 107.842957] [<bf00fa64>] (regdb_fw_cb [cfg80211]) from [<c05de284>] (request_firmware_work_func+0x50/0x94)
[ 107.857183] [<c05de284>] (request_firmware_work_func) from [<c0141ef4>] (process_one_work+0x1c4/0x444)
[ 107.870378] [<c0141ef4>] (process_one_work) from [<c01421cc>] (worker_thread+0x58/0x5cc)
[ 107.882273] [<c01421cc>] (worker_thread) from [<c0146964>] (kthread+0x140/0x184)
[ 107.893535] [<c0146964>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 107.904478] Exception stack(0xeee9ffb0 to 0xeee9fff8)
[ 107.913164] ffa0: 00000000 00000000 00000000 00000000
[ 107.924985] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 107.937114] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 107.943834] ---[ end trace 7c2578917fecc5c5 ]---
[ 107.954809] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid

root@am335x-evm:~# insmod brcmfmac.ko
[ 126.774259] brcmfmac: Unknown symbol usb_alloc_urb (err -2)
[ 126.780573] brcmfmac: Unknown symbol usb_autopm_put_interface (err -2)
[ 126.796836] brcmfmac: Unknown symbol usb_free_urb (err -2)
[ 126.804294] brcmfmac: Unknown symbol usb_register_driver (err -2)
[ 126.827288] brcmfmac: Unknown symbol usb_submit_urb (err -2)
[ 126.835268] brcmfmac: Unknown symbol usb_deregister (err -2)
[ 126.847705] brcmfmac: Unknown symbol usb_autopm_get_interface (err -2)
[ 126.854660] brcmfmac: Unknown symbol usb_kill_urb (err -2)
insmod: ERROR: could not insert module brcmfmac.ko: Unknown symbol in module
root@am335x-evm:~# insmod brcmfmac.ko debug=0x00100006
[ 196.076518] brcmfmac: Unknown symbol usb_alloc_urb (err -2)
[ 196.082392] brcmfmac: Unknown symbol usb_autopm_put_interface (err -2)
[ 196.096686] brcmfmac: Unknown symbol usb_free_urb (err -2)
[ 196.104135] brcmfmac: Unknown symbol usb_register_driver (err -2)
[ 196.127614] brcmfmac: Unknown symbol usb_submit_urb (err -2)
[ 196.135564] brcmfmac: Unknown symbol usb_deregister (err -2)
[ 196.147831] brcmfmac: Unknown symbol usb_autopm_get_interface (err -2)
[ 196.154773] brcmfmac: Unknown symbol usb_kill_urb (err -2)
insmod: ERROR: could not insert module brcmfmac.ko: Unknown symbol in module

0 Likes

Hi,

This problem fixed.

solution:  Rrecompilation for cfg error

                    Driver name reconfiguration for brcmfmac

and had to add wpa_supplicant and hostapd in the .bb file and rebuild the file system.

 

Thanks,

Mohammed 

0 Likes