i.MX6Q Sabre-SD Board, problem with loading Marvell 8787 FW

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX6Q Sabre-SD Board, problem with loading Marvell 8787 FW

825 Views
qiuyewang
Contributor I

Hello Community,

 

I am trying to integrate Marvell's 8787 SDIO wifi module on the i.MX6Q Sabre-SD Board. By inserting the sd8xxx.ko, it always ends with a firmware download error.

 

After system goes up, I can see "mmc1: new high speed SDIO card at address 0001" in dmesg. Then I try to insert the corresponding driver module like mlan.ko, cfg80211.ko and sd8xxx.ko.

 

According to Marvell, before the FW gets downloaded, a register CARD_TO_HOST_EVENT_REG (0x30) would be checked by driver and only when bit[3] and bit[0] are 1, FW download can be started.

You can see line 405 in the attachment that this 0x30 register is 0xc which means bit[0] Dwnld_Card_Rdy is 0. So FW download/init faild.

 

Am I missing some patches for the SDIO bus? Is there a way to debug this issue? Any suggestion is much appreciated.

 

Attached the dmesg by loading the driver.

 

Cheers,

Qiuye

Original Attachment has been moved to: dmesg.1.zip

Labels (2)
Tags (2)
0 Kudos
1 Reply

490 Views
alejandrolozan1
NXP Employee
NXP Employee

Hi,

I do not have that board to test it. But attached you can find an example for the AR6103 in the i,MX28.

The steps should be similar, I hope it helps.

Best Regards,

Alejandro

0 Kudos