linux-mips
[Top] [All Lists]

Re: [RFC v2 00/12] bcma: add support for embedded devices like bcm4716

To: Rafał Miłecki <zajec5@gmail.com>
Subject: Re: [RFC v2 00/12] bcma: add support for embedded devices like bcm4716
From: Hauke Mehrtens <hauke@hauke-m.de>
Date: Mon, 20 Jun 2011 23:28:13 +0200
Cc: linux-wireless@vger.kernel.org, linux-mips@linux-mips.org, mb@bu3sch.de, george@znau.edu.ua, arend@broadcom.com, b43-dev@lists.infradead.org, bernhardloos@googlemail.com, arnd@arndb.de, julian.calaby@gmail.com, sshtylyov@mvista.com
In-reply-to: <BANLkTim5R1ukc5OJQRRpF6EsmzeoL=SUoA@mail.gmail.com>
References: <1308520209-668-1-git-send-email-hauke@hauke-m.de> <BANLkTim5R1ukc5OJQRRpF6EsmzeoL=SUoA@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110516 Lightning/1.0b2 Thunderbird/3.1.10
On 06/20/2011 02:41 AM, Rafał Miłecki wrote:
> Hey Hauke,
> 
> 2011/6/19 Hauke Mehrtens <hauke@hauke-m.de>:
>> This patch series adds support for embedded devices like bcm47xx to
>> bcma. Bcma is used on bcm4716 and bcm4718 SoCs. With these patches my
>> bcm4716 device boots up till it tries to access the flash, because the
>> serial flash chip is unsupported for now, this will be my next task.
>> This adds support for MIPS cores, interrupt configuration and the
>> serial console.
>>
>> These patches are based on ssb code, some patches by George Kashperko
>> and Bernhard Loos and parts of the source code release by ASUS and
>> Netgear for their devices.
>>
>> This was tested on a Netgear WNDR3400, but did not work fully because
>> of serial flash.
>>
>> This is bases on linux-next next-20110616, to which subsystem
>> maintainer should I send these patches later, as it is based on the
>> most recent version of bcma and bcm47xx?
>> I do not have any normal PCIe based wireless device using this bus, so
>> I have not tested it with such a device, it will be nice to hear if it
>> is still working on them.
>> The parallel flash should work so it could be that it will boot on an
>> Asus rt-n16, I have not tested that.
> 
> I'm glad you are still working on it!
> Unfortunately it's really late right now and I'm leaving tomorrow
> (well, today as we passed midnight) for the whole week :( I'm not sure
> if I'll get a chance to review this, not to mention testing against
> any of my PCIe card.

No problem have a look at it when you find some time for it. There are
still some todos and the serial flash chip is also on my list, so I will
not run out of stuff to do. ;-)

> 
>> An Ethernet driver is not included because the Braodcom source code
>> available is not licensed under a GPL compatible license and building a
>> new driver on that based is not possible.
> 
> I wonder if you could write specs for that core, so I could write
> GPL/any driver for it? Is that driver really big?
> 
Now I think this will be the fastest solution. Henry Ptasinski from
Broadcom wanted to make it possible for us to use the Braodcom driver
directly as a base, but talking to all the lawyers and managers at
Braodcom to make this possible takes a lot of time and is not promising.
After this and flash support is in the kernel I will work on the
Ethernet driver.

The driver is not really big so it will not take that long to write a
spec and implement it.

I published my git repo with the modifications integrated into OpenWrt:
https://github.com/hauke/openwrt/tree/bcma-list

Hauke

<Prev in Thread] Current Thread [Next in Thread>