Return-path: Received: from mail-oa0-f48.google.com ([209.85.219.48]:40370 "EHLO mail-oa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751051Ab3LKVVv (ORCPT ); Wed, 11 Dec 2013 16:21:51 -0500 Received: by mail-oa0-f48.google.com with SMTP id l6so7953732oag.35 for ; Wed, 11 Dec 2013 13:21:51 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20131211205532.GE452@us.netrek.org> References: <20131203202607.0b445195@kemnade.info> <1386167786.19448.4.camel@dcbw.foobar.com> <20131209041821.GC14878@us.netrek.org> <20131210022746.GE28975@us.netrek.org> <20131211205532.GE452@us.netrek.org> From: Vasily Khoruzhick Date: Thu, 12 Dec 2013 00:21:31 +0300 Message-ID: (sfid-20131211_222156_313526_E8D5E219) Subject: Re: status of libertas_tf + sdio? To: James Cameron Cc: Dan Williams , Andreas Kemnade , linux-wireless@vger.kernel.org, libertas-dev@lists.infradead.org Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Wed, Dec 11, 2013 at 11:55 PM, James Cameron wrote: > On Wed, Dec 11, 2013 at 11:10:50AM +0300, Vasily Khoruzhick wrote: >> On Tue, Dec 10, 2013 at 5:27 AM, James Cameron wrote: >> > On Mon, Dec 09, 2013 at 12:38:28PM +0300, Vasily Khoruzhick wrote: >> >> On Mon, Dec 9, 2013 at 7:18 AM, James Cameron wrote: >> >> > On Fri, Dec 06, 2013 at 01:40:00PM +0300, Vasily Khoruzhick wrote: >> >> >> Out of curiosity, >> >> >> >> >> >> Does anyone know if it's possible to get thin firmware for 8686 with >> >> >> SPI interface? >> >> > >> >> > What happens when you try? >> >> >> >> How? There's no tf available for 8686 with SPI interface. >> > >> > How do you know that? Are you saying that SPI support was removed >> > from firmware during the conversion from fat to thin? >> >> Err, there's no lbtf_spi.bin file. > > Basing decisions on the names of files rather than the code they > may contain seems rather limiting. > > In the absence of evidence, there's a possibility that SPI support > remained. But fat firmware differs for SPI and SDIO >> >> > How are you downloading firmware over SPI? >> >> >> >> See drivers/net/wireless/libertas/if_spi.c, but it's for fat >> >> firmware >> > >> > What happens if you send the thin firmware instead? >> >> I have no thin firmware for 8686 with SPI interface > > What happens if you send the thin firmware for SDIO interface to the > device using the fat firmware helper for SPI interface? > > I don't have an SPI setup to test, but I gather you do. OK, I'll try. >> >> > I'm not aware of a second stage firmware download helper >> >> > specific to the SPI mode. >> >> >> >> What's a second stage firmware download helper? >> > >> > File sd8686_helper.bin, we use it in Open Firmware with SDIO 8686 on >> > OLPC XO. >> > >> > For SPI, which we don't use, I see if_spi.c uses gspi8686_v9_helper.bin >> > >> > I was wrong; I am now aware of a second stage firmware downloader >> > helper specific to the SPI mode. I hadn't looked before. >> > >> >> > I think it is not possible without firmware engineering. >> >> >> >> Yeah, just hoped that Marvell already did it. It's a pity that >> >> firmware source code isn't available :( >> > >> > Cozybit did the thin firmware, if I recall correctly. >> >> Do you think it makes sense to contact them? > > I don't think it makes sense to ignore them, but I don't wish to > speculate further. OK, thanks! Regards Vasily > -- > James Cameron > http://quozl.linux.org.au/