cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Studio Wi-Fi Combo

Anonymous
Not applicable

Hi,

I use a Murata SN8000UFL module that integrate a BCM43362 chip on a SDIO bus connected to an Atmel SAMA5D25 processor running Linux 3.19. The chip is correctly detected on the SDIO bus then load the brcmfmac and brcmutil kernel module to handle it. But the brcmfmac driver want to read a NVRAM file /lib/firmare/brcm/brcmfmac43362-sdio.txt and I don't know where to find nor how create this file.

Here is the kernel log when the chip is powered up:

[ 396.130000] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)

[  396.140000] mmc2: queuing unknown CIS tuple 0x80 (6 bytes)

[  396.150000] mmc2: queuing unknown CIS tuple 0x80 (8 bytes)

[  396.150000] mmc2: queuing unknown CIS tuple 0x80 (2 bytes)

[  396.160000] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)

[  396.170000] mmc2: queuing unknown CIS tuple 0x80 (5 bytes)

[  396.190000] mmc2: new high speed SDIO card at address 0001

[  396.200000] brcmfmac: F1 signature read @0x18000000=0x1591a962

[  396.210000] brcmfmac_sdio mmc2:0001:1: Direct firmware load for brcm/brcmfmac43362-sdio.txt failed with error -2

[  397.250000] brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50

[  398.260000] brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50

The firmware is into the file /lib/firmware/brcm/brcmfmac43362-sdio.bin and have the SHA1 sum fbfac4a2581cdfc06ee343bece5fe912f88a3b49 .

As I understand the NVRAM file is a simple text key=value per line format, but the few examples I have found contain very complex keys and values I have no idea about but for the macaddr key and are for other chips. Do exists a standard NVRAM file for the SN8000UFL where I only have to change the macaddr key ?

Best Regards,
Jean-Christian

0 Likes
2 Replies
Anonymous
Not applicable

I finally found a DCT structure in the Murata patches for WICED that seem to contain the dictionary for the SN8000xUFL. I have converted it into this text file:

manfid=0x2d0

prodid=0x4336

vendid=0x14e4

devid=0x4343

boardtype=0x0598

boardrev=0x1207

boardnum=777

xtalfreq=26000

clkreq_conf=1

boardflags=0xa00

sromrev=3

wl0id=0x431b

aa2g=1

ag0=2

maxp2ga0=74

ofdm2gpo=0x33333333

mcs2gpo0=0x6666

mcs2gpo1=0x6666

pa0b0=0x14B8

pa0b1=0xFD5C

pa0b2=0xFF27

pa0itssit=62

pa1itssit=62

cck2gpo=0

cckPwrOffset=0

cckdigfilttype=22

ccode=0

rssismf2g=0xa

rssismc2g=0x3

rssisav2g=0x7

rfreg033=0x19

rfreg033_cck=0x1f

triso2g=1

noise_cal_enable_2g=0

pacalidx2g=10

swctrlmap_2g=0x0c050c05,0x0a030a03,0x0a030a03,0x0,0x1ff

RAW1=4a 0b ff ff 20 04 d0 02 62 a9

logen_mode=0x0,0x2,0x1b,0x0,0x1b

noise_cal_po_2g=2

noise_cal_dbg.fab.3=1

noise_cal_high_gain.fab.3=76

noise_cal_nf_substract_val.fab.3=356

noise_cal_po_2g.fab.3=4


Now the driver is happy loading it without error and bring up a working wlan interface:

[   30.990000] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)

[   31.000000] mmc2: queuing unknown CIS tuple 0x80 (6 bytes)

[   31.020000] mmc2: queuing unknown CIS tuple 0x80 (8 bytes)

[   31.030000] mmc2: queuing unknown CIS tuple 0x80 (2 bytes)

[   31.040000] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)

[   31.050000] mmc2: queuing unknown CIS tuple 0x80 (5 bytes)

[   31.170000] mmc2: new high speed SDIO card at address 0001

[   31.850000] brcmfmac: F1 signature read @0x18000000=0x1591a962

[   31.850000] usbcore: registered new interface driver brcmfmac

[   32.380000] brcmf_c_preinit_dcmds: Firmware version = wl0: Apr 22 2013 14:50:00 version 5.90.195.89.6 FWID 01-b30a427d

[   32.550000] brcmfmac_sdio mmc2:0001:1 wlan1: renamed from wlan0


I still don't know if the values are correct or if I should adapt them to target board.


Any ideas are welcome.

0 Likes
SeyhanA_31
Employee

Hi,

Wiced WiFi SDK forum is primarily for Wiced SDK. The NVRAM support for Linux please contact Murata.

Seyhan

0 Likes