linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: Chen-Yu Tsai <wens@csie.org>, linux-sunxi <linux-sunxi@googlegroups.com>
Cc: Julian Calaby <julian.calaby@gmail.com>,
	linux-wireless <linux-wireless@vger.kernel.org>,
	Arend van Spriel <arend@broadcom.com>,
	Olliver Schinagl <oliver+list@schinagl.nl>,
	benn@cubietech.com
Subject: Re: [linux-sunxi] Firmware for Bluetooth (and wifi)
Date: Thu, 26 Dec 2013 21:29:32 +0100	[thread overview]
Message-ID: <52BC91AC.3070703@redhat.com> (raw)
In-Reply-To: <CAGb2v66646-1Sye=Eb04_SoeCGBU064OePcxDi7th1fqU8XfBg@mail.gmail.com>

Hi,

On 12/26/2013 05:13 PM, Chen-Yu Tsai wrote:
> Hi,
>
> On Thu, Dec 19, 2013 at 6:12 PM, Chen-Yu Tsai <wens@csie.org> wrote:
>> Hi,
>>
>> On Thu, Dec 19, 2013 at 12:39 AM, Chen-Yu Tsai <wens@csie.org> wrote:
>>> Hi,
>>>
>>> On Thu, Dec 19, 2013 at 12:16 AM, Arend van Spriel <arend@broadcom.com> wrote:
>>>> On 12/18/2013 02:12 PM, Hans de Goede wrote:
>>>>> Hi,
>>>>>
>>>>> On 12/18/2013 11:31 AM, Arend van Spriel wrote:
>>>>>> On 12/05/2013 10:46 PM, Julian Calaby wrote:
>>>>>>> Firstly, are there any plans to support the BCM43362 chipset with the
>>>>>>> brcmfmac driver in the near future?
>>>>>>
>>>>>> Hi Julian,
>>>>>>
>>>>>> I am working on a patch to support this chip. It is looking promising.
>>>>>> Just have to go after a firmware image to be sure.
>>>>>
>>>>> Cool. Do you have a cubietruck? With my latest wip tree:
>>>>> https://github.com/jwrdegoede/linux-sunxi/commits/sunxi-next
>>>>
>>>> No cubietruck here. I googled the term last week because it came up and
>>>> found embeddedcomputer.nl selling it.
>>>>
>>>>> We've mmc/sdio controller support on top of 3.13-rc4, it would be
>>>>> nice if we could also get the wifi and bluetooth to work here.
>>
>> I got the chip to respond to probing. It is BCM43362 for sure.
>>
>>    root@cubietruck:/sys/bus/mmc/devices/mmc1:0001/mmc1:0001:1# cat device
>>    0xa962
>>    root@cubietruck:/sys/bus/mmc/devices/mmc1:0001/mmc1:0001:1# cat vendor
>>    0x02d0
>>
>> Vendor ID is Broadcom. Device ID is 43362.
>> But I get two devices, mmc1:0001:1 and mmc1:0001:2. I don't know
>> if this is normal or not.
>
> Merry Christmas everyone. I got AP6210 (BCM43362) to work with mainline
> brcmfmac driver. I only tested managed mode. Monitor mode does not work.
> You can use firmware from CubieTech images.
>
> Things missing:
>
>    1. output clock is using default 32KHz from 24M / 750.
>       need to find some place to put clk_set_rate call.
>
>    2. BCM43362 out-of-band interrupts not supported.
>       OOB interrupt in brcmfmac is set using platform data.
>       Need to put this is board code, or add device tree support.
>
> Core ID and addresses were found using bcmdhd driver debug output.
> Arend might want to take a look at the patch:
>
>    https://github.com/wens/linux/commit/d945809d27de930eba5db0ca4bb7936e3ca88865
>
> Working tree:
>
>    https://github.com/wens/linux/tree/wip/sunxi-next-wifi
>
> Comments welcome :)

Awesome! So now we have this working in upstream before we have it working with
3.4 kernels (at-least I've never managed to get it to work with 3.4 kernels).

Very nice Christmas present, thanks :)

I'll give this a spin and add it to the sunxi-devel branch.

Regards,

Hans



  reply	other threads:[~2013-12-26 20:29 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <52A040CE.5040706@schinagl.nl>
     [not found] ` <CAFXj5xjJ0DTa0Qo1avLboQF-e3TFv3aEr_jjkuZjinwuTzXykQ@mail.gmail.com>
     [not found]   ` <52A09B5B.70800@schinagl.nl>
2013-12-05 21:46     ` [linux-sunxi] Firmware for Bluetooth (and wifi) Julian Calaby
2013-12-06  9:00       ` Arend van Spriel
2013-12-18 10:31       ` Arend van Spriel
2013-12-18 13:12         ` Hans de Goede
2013-12-18 16:16           ` Arend van Spriel
2013-12-18 16:39             ` Chen-Yu Tsai
2013-12-19 10:12               ` Chen-Yu Tsai
2013-12-26 16:13                 ` Chen-Yu Tsai
2013-12-26 20:29                   ` Hans de Goede [this message]
2013-12-27 11:47                   ` Arend van Spriel
2013-12-27 12:36                     ` Chen-Yu Tsai
2014-01-02 13:59                       ` Arend van Spriel
2014-01-02 17:09                         ` Chen-Yu Tsai
     [not found]                           ` <5ce9ab14-5794-4c0d-a859-7a158655f58e@googlegroups.com>
2014-01-02 19:26                             ` Michal Suchanek
2014-01-02 20:29                             ` Arend van Spriel
2014-01-02 21:03                           ` Arend van Spriel
2014-01-03  3:02                             ` Chen-Yu Tsai
2014-01-08  8:56                       ` Arend van Spriel
2014-01-08  9:23                         ` Chen-Yu Tsai
2014-01-08  9:33                           ` Arend van Spriel
2014-01-08 10:17                             ` Chen-Yu Tsai
2014-01-23 22:39                           ` Hans de Goede
2014-01-24 10:25                             ` Arend van Spriel
2014-01-24 16:34                               ` Hans de Goede
2014-01-26  8:53                                 ` Arend van Spriel
2014-01-26  8:56                                   ` Arend van Spriel
2014-01-26 10:23                                   ` Hans de Goede
2014-01-26 12:58                                     ` Arend van Spriel
2014-01-26 13:19                                       ` Hans de Goede
2014-01-26 12:07                                   ` Hans de Goede
2014-01-26 15:49                                   ` Hans de Goede
2014-01-26 11:04                                 ` Arend van Spriel
2014-01-26 12:09                                   ` Hans de Goede
2014-01-26 12:50                                     ` Arend van Spriel
2014-01-02 16:52                 ` Michal Suchanek
2014-01-02 17:11                   ` Chen-Yu Tsai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52BC91AC.3070703@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=arend@broadcom.com \
    --cc=benn@cubietech.com \
    --cc=julian.calaby@gmail.com \
    --cc=linux-sunxi@googlegroups.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=oliver+list@schinagl.nl \
    --cc=wens@csie.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).