This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

wl128x porting issue ~

Other Parts Discussed in Thread: WL1281, WL1271

Hi all

Now ,M trying to porting wl1281 on 2.6.38.4

chip cant be waked up when i run the "wl12xx_sdio_test" and  am getting the following :

[ message->] mmc0: card claims to support voltages below the defined range. These will be ignored.
[ message->] mmc0: queuing unknown CIS tuple 0x91 (3 bytes)
[ message->] mmc0: new high speed SDIO card at address 0001
[ message->] wl1271: wl1271_chip_wakeup result 0
[ message->]  sd_request cmd53 timeout state->2 timeout 100, retries=0
[ message->] wl1271: ERROR sdio write failed (-5)
[ message->]  request cmd53 state->2 timeout 100, retries=0
[ message->] wl1271: ERROR sdio write failed (-5)
[ message->] wl1271: ERROR sdio write failed (-110)
[ message->] wl1271: ERROR sdio write failed (-110)
[ message->] sd_request cmd53 state->2 timeout 100, retries=0
[ message->] wl1271: ERROR sdio write failed (-5)
[ message->]  sd_request cmd53 state->2 timeout 100, retries=0
[ message->] wl1271: ERROR sdio write failed (-5)
[ message->] sd_request cmd53 state->2 timeout 100, retries=0
[ message->] wl1271: ERROR sdio write failed (-5)
[ message->]  sd_request cmd53  state->2 timeout 100, retries=0
[ message->] wl1271: ERROR sdio read failed (-5)
[ message->] wl1271: WARNING unsupported chip id: 0x1
[ message->] wl12xx_sdio_test: could not wake up chip

I think it means that SDIO working wrong or chip isn't running .I have checked the voltage of wifi module it is almost 3.6v and board_ref_clock = 1

so i have some questions  :

1.when i power on and set the pin wlan_en to HIGH ,how can i confirm the chip is running fine?

    do i need set wlan_en low then to high for a manuel reset when driver probe ?

2. I compare my driver to Compat wireless stable version for 2.6.38 ,they were almost same.

   But i find functions in 2.6.38 are all named wl1271 ,does this driver is fit to chip-wl1281(x)?

3.where can i get the datasheet of wl1281 (x).

4.i mask the PM runtime action when  power on  and off ,i think this is not necessary on my board.


Many many thanks~~~~!

 

  • "sd_request cmd53 timeout 2@100, retries=0"

    was happened in  "wl1271_probe->wl1271_chip_wakeup->wl1271_set_partition"

     

  • Hi,

    I assume you are using the NLCP version, right?

    Can you please let me know where you got it from? I want to make sure the firmware in the version you use supports the wl128x.

    In addition, where did you get the sdio test module from?

     

    Best Regards,

    Eyal Reizer

  • Hi Eyal:

    I am porting NLCP dirver for wl128x.

     

    I got code from http://linuxwireless.org/

    the kernel version is 2.6.38.

    but, I got error message when I do "calibrator plt calibrate".

    the message is :

    [  752.200000] wl1271: acx sleep auth

    [  752.200000] wl1271: cmd configure

    [  752.200000] wl1271: acx pm config

    [  752.200000] wl1271: cmd configure

    [  752.200000] wl1271: firmware booted in PLT mode (Rev 7.1.4.50.63)

    [  752.200000] wl1271: testmode cmd test

    [  752.200000] wl1271: cmd test

    [  752.200000] wl1271: testmode cmd test

    [  752.200000] wl1271: cmd test

    [  752.220000] wl1271: IRQ work

    [  752.220000] wl1271: intr: 0x20 (fw_rx_counter = 0, drv_rx_counter = 0, tx_results_counter = 0)

    [  752.230000] wl1271: WL1271_ACX_INTR_HW_AVAILABLE

    [  752.230000] wl1271: intr: 0x0 (fw_rx_counter = 0, drv_rx_counter = 0, tx_results_counter = 0)

    e ith radio stat[  752.240000] wl1271: testmode cmd set plt mode

    Fail to calibrate ith radio status (-36)

     

    Did you any idea about this error???

  • Sorry for the late reply.

     

    If you perform a regular scan (before trying calibration) are you getting scan results?

     

    try:

     

    iw wlan0 scan

     

    Best Regards,

    Eyal

  • Hi:

     

    I try "iwlist wlan0 scan".

    But I can't get any scan results.

     

    Austin