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.

wl1271 configuration in ezsdk 5.04

Other Parts Discussed in Thread: WL1271, TXB0108, TXB0106

Hi.

We want to use wl1271 with dm8148. But i get the following message when trying to bring up wlan0.

root@dm814x-evm:~# ifconfig wlan0 up
ifconfig: SIOCSIFFLAGS: Cannot assign requested address


Is there any instruction how to bring up wl1271 while working with ezsdk 5.04 for dm8148?

Best regards,

Alexander Vasiljev.

  • Alexander,

    Hope this might help.

    http://processors.wiki.ti.com/index.php/Open_Source_Wireless_Connectivity_Guide

  • Hi, Renjith.

    Thank you.

    But i got the following message from calibrator:

    root@dm814x-evm:/lib/firmware/ti-connectivity# calibrator --debug plt autocalibr
    ate wlan0 /lib/modules/2.6.37\+/kernel/net/wl1271_sdio.ko /usr/share/ti/wifi-uti
    ls/ini_files/127x/TQS_S_2.6.ini wl1271-nvs.bin 00:00:00:00:00:00
    Powering on wl12xx
    wl1271: loaded
    wl1271: initialized
    Powering off wl12xx
    -- Debug: Received Message:
    --------------------------   BEGIN NETLINK MESSAGE ---------------------------
      [HEADER] 16 octets
        .nlmsg_len = 68
        .nlmsg_type = 2 <ERROR>
        .nlmsg_flags = 0 <>
        .nlmsg_seq = 1348939206
        .nlmsg_pid = 1258
      [ERRORMSG] 20 octets
        .error = -95 "Operation not supported"
      [ORIGINAL MESSAGE] 16 octets
        .nlmsg_len = 16
        .nlmsg_type = 17 <0x11>
        .nlmsg_flags = 5 <REQUEST,ACK>
        .nlmsg_seq = 1348939206
        .nlPowering on wl12xxmsg_pid = 1258
    ---------------------------  END NETLINK MESSAGE   ---------------------------
    Fail to set PLT power mode on

    wl1271: unloaded
    Powering off wl12xx
    Calibration not complete. Removing half-baked nvs

    Best regards,

    Alexander Vasiljev.

  • Alexander,

    Have you followed the wiki for calibration

    http://processors.wiki.ti.com/index.php/OMAP_Wireless_Connectivity_Calibration_Proccess_NLCP

    Also can you confirm whether the TQS_S_2.6.ini file is valid and exists at the location specified and has the required permissions?

  • Hi.

    I still cannot get it work. I tested the lines and they seem to be ok. I made test from mistral diagnostics and it passed well. But i notice that i use tiwi module Revision 4 with wl1271 PG3.1 and the linux kernel has ids only for PG10 and PG20. Can this be an issue?

    root@dm814x-evm:/lib/firmware/ti-connectivity# calibrator --debug plt autocalibr
    ate wlan0 /lib/modules/2.6.37\+/kernel/net/wl1271_sdio.ko /usr/share/ti/wifi-uti
    ls/ini_files/127x/TQS_S_2.6.ini wl1271-nvs.bin 00:00:00:00:00:00
    Powering on wl12xx
    wl1271: loaded
    wl1271: initialized
    wl1271: power up
    Powering off wl12xx
    Powering on wl12xx
    wl1271: ERROR sdio write failed (-110)
    wl1271: ERROR sdio read failed (-110)
    wl1271: WARNING unsupported chip id: 0x1
    Powering off wl12xx
    Powering on wl12xx
    wl1271: ERROR sdio write failed (-110)
    wl1271: ERROR sdio read failed (-110)
    wl1271: WARNING unsupported chip id: 0x1
    Powering off wl12xx
    Powering on wl12xx
    wl1271: ERROR sdio write failed (-110)
    wl1271: ERROR sdio read failed (-110)
    wl1271: WARNING unsupported chip id: 0x1
    wl1271: ERROR firmware boot in PLT mode failed despite 3 retries
    Powering off wl12xx
    -- Debug: Received Message:
    --------------------------   BEGIN NETLINK MESSAGE ---------------------------
      [HEADER] 16 octetPowering on wl12xxs
        .nlmsg_len = 68
        .nlmsg_type = 2 <ERROR>
        .nlmsg_flags = 0 <>
        .nlmsg_seq = 1349183893
        .nlmsg_pid = 1187
      [ERRORMSG] 20 octets
        .error = -19 "No such device"
      [ORIGINAL MESSAGE] 16 octets
        .nlmsg_len = 16
        .nlmsg_type = 17 <0x11>
        .nlmsg_flags = 5 <REQUEST,ACK>
        .nlmsg_seq = 1349183893
        .nlmsg_pid = 1187
    ---------------------------  END NETLINK MESSAGE   ---------------------------
    Fail to set PLT power mode on

    wl1271: unloaded
    Calibration not complete. Removing half-baked nvs
    Powering off wl12xx

  • Alexander,

    I'm not getting much idea. But looks like you WLAN SDIO modules is not getting power back as SDIO read/write is failing. Can you just probe the power on pin of your module?

  • We probed the power pin. It seems to be OK. We cannot be sure that other lines working well. Now we use txb0108 as voltage-level translator. We are going to probe txs translator and see if it will help.

  • HI Alexander

      I also encountered the same problem with you.

      This is my message

    wl1271: loaded
    wl1271: initialized
    wl1271: power up
    wl1271: ERROR sdio write failed (-110)
    wl1271: ERROR sdio read failed (-110)
    wl1271: WARNING unsupported chip id: 0x1
    wl1271: ERROR sdio write failed (-110)
    wl1271: ERROR sdio read failed (-110)
    wl1271: WARNING unsupported chip id: 0x1
    wl1271: ERROR sdio write failed (-110)
    wl1271: ERROR sdio write failed (-84)
    wl1271: ERROR sdio read failed (-110)
    wl1271: WARNING unsupported chip id: 0x1
    wl1271: ERROR firmware boot in PLT mode failed despite 3 retries
    -- Debug: Received Message:
    -------------------------- BEGIN NETLINK MESSAGE ---------------------------
    [HEADER] 16 octets
    .nlmsg_len = 68
    .nlmsg_type = 2 <ERROR>
    .nlmsg_flags = 0 <>
    .nlmsg_seq = 1302516848
    .nlmsg_pid = 942
    [ERRORMSG] 20 octets
    .error = -19 "No such device"
    [ORIGINAL MESSAGE] 16 octets
    .nlmsg_len = 16
    .nlmsg_type = 17 <0x11>
    .nlmsg_flags = 5 <REQUEST,ACK>
    .nlmsg_seq = 1302516848
    .nlmsg_pid = 942
    --------------------------- END NETLINK MESSAGE ---------------------------
    Fail to set PLT power mode on
    wl1271: unloaded
    Calibration not complete. Removing half-baked nvs

    So I want to know whether you have solved  the problem?

    we use  txb0106  as voltage-level translator


  • Hi Alexander

     My wl12xx module can work. The  reason that sdio write failed (-110) is sdio bus Impedance matching.

  • Hi ,

    root@Vega0:~# ./calibrator plt calibrate
    [ 8688.601013] wl1271: ERROR command complete timeout
    [ 8691.218200] wl1271: ERROR command complete timeout
    [ 8693.827575] wl1271: ERROR command complete timeout
    [ 8693.838287] wl1271: ERROR firmware boot in PLT mode failed despite 3 retries
    Fail to set PLT power mode on

    Usage: ./calibrator [options] plt calibrate [<single|dual>]

    Do calibrate for single or dual band chip


    Options:
    --debug enable netlink debugging
    root@Vega0:~#


    [ 8750.869567] wl1271: ERROR firmware boot in PLT mode failed despite 3 retries
    -- Debug: Received Message:
    -------------------------- BEGIN NETLINK MESSAGE ---------------------------
    [HEADER] 16 octets
    .nlmsg_len = 68
    .nlmsg_type = 2 <ERROR>
    .nlmsg_flags = 0 <>
    .nlmsg_seq = 1364583621
    .nlmsg_pid = 4831
    [ERRORMSG] 20 octets
    .error = -110 "Connection timed out"
    [ORIGINAL MESSAGE] 16 octets
    .nlmsg_len = 16
    .nlmsg_type = 17 <0x11>
    .nlmsg_flags = 5 <REQUEST,ACK>
    .nlmsg_seq = 1364583621
    .nlmsg_pid = 4831
    --------------------------- END NETLINK MESSAGE ---------------------------
    Fail to set PLT power mode on

    Usage: ./calibrator [options] plt calibrate [<single|dual>]

    Do calibrate for single or dual band chip

    While doing calibration I am getting error.

    Thanks