status of libertas_tf + sdio?
Hi,
I want to be able to use my marvel sdio wifi as an ap, so I am interested in having the sdio interface of libertas_tf. I sucessfully copied over the libertas_tf directory from somewhere and fixed a bit of things and compiled that in a 3.7 kernel. It works.
But now I am thinking about generating a clean patch.
I found this one here:
http://www.spinics.net/lists/linux-wireless/msg55245.html
Is there any newer patch to start working on?
Greetings
Andreas Kemnade
Quoted 11 lines · Andreas Kemnade
Hi,
I want to be able to use my marvel sdio wifi as an ap, so I am interested in having the sdio interface of
libertas_tf. I sucessfully copied over thelibertas_tfdirectory from somewhere and fixed a bit of things and compiled that in a 3.7 kernel. It works.
But now I am thinking about generating a clean patch.I found this one here:
http://www.spinics.net/lists/linux-wireless/msg55245.html
Is there any newer patch to start working on?
I don't think so. If you're interested in working on this, great!
Dan
Out of curiosity,
Does anyone know if it's possible to get thin firmware for 8686 with SPI interface?
Regards
Vasily
Quoted 22 lines · Dan Williams
Quoted 11 lines · Andreas Kemnade
Hi,
I want to be able to use my marvel sdio wifi as an ap, so I am interested in having the sdio interface of
libertas_tf. I sucessfully copied over thelibertas_tfdirectory from somewhere and fixed a bit of things and compiled that in a 3.7 kernel. It works.
But now I am thinking about generating a clean patch.I found this one here:
http://www.spinics.net/lists/linux-wireless/msg55245.html
Is there any newer patch to start working on?I don't think so. If you're interested in working on this, great!
Dan
_______________________________________________
libertas-dev mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/libertas-dev
Quoted 4 lines · Vasily Khoruzhick
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 are you downloading firmware over SPI?
I'm not aware of a second stage firmware download helper specific to the SPI mode.
I think it is not possible without firmware engineering.
Signature · 2 lines
James Cameron http://quozl.linux.org.au/
Quoted 7 lines · James Cameron
Quoted 4 lines · Vasily Khoruzhick
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.
Quoted 1 line
How are you downloading firmware over SPI?
See drivers/net/wireless/libertas/if_spi.c, but it's for fat firmware
Quoted 2 lines
I'm not aware of a second stage firmware download helper specific to the SPI mode.
What's a second stage firmware download helper?
Quoted 1 line
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 :(
Regards
Vasily
Quoted 4 lines
--
James Cameron
http://quozl.linux.org.au/
Quoted 10 lines · Vasily Khoruzhick
Quoted 7 lines · James Cameron
Quoted 4 lines · Vasily Khoruzhick
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?
Quoted 4 lines
Quoted 1 line
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?
Quoted 4 lines
Quoted 2 lines
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.
Quoted 4 lines
Quoted 1 line
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.
Signature · 2 lines
James Cameron http://quozl.linux.org.au/
Quoted 8 lines · James Cameron
Quoted 7 lines · Vasily Khoruzhick
Quoted 6 lines · James Cameron
Quoted 4 lines · Vasily Khoruzhick
Out of curiosity,
Does anyone know if it's possible to get thin firmware for 8686 with SPI interface?
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
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.
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
How are you downloading firmware over SPI?
See
drivers/net/wireless/libertas/if_spi.c, but it's for fat firmwareWhat happens if you send the thin firmware instead?
I have no thin firmware for 8686 with SPI interface
Quoted 13 lines
Quoted 4 lines
Quoted 2 lines
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.cuses gspi8686_v9_helper.binI was wrong; I am now aware of a second stage firmware downloader helper specific to the SPI mode. I hadn't looked before.
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
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?
Regards
Vasily
Quoted 4 lines
--
James Cameron
http://quozl.linux.org.au/
Quoted 9 lines · Vasily Khoruzhick
Quoted 8 lines · James Cameron
Quoted 7 lines · Vasily Khoruzhick
Quoted 6 lines · James Cameron
Quoted 4 lines · Vasily Khoruzhick
Out of curiosity,
Does anyone know if it's possible to get thin firmware for 8686 with SPI interface?
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
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.
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
How are you downloading firmware over SPI?
See
drivers/net/wireless/libertas/if_spi.c, but it's for fat firmwareWhat 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.
Quoted 13 lines
Quoted 13 lines
Quoted 4 lines
Quoted 2 lines
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.cuses gspi8686_v9_helper.binI was wrong; I am now aware of a second stage firmware downloader helper specific to the SPI mode. I hadn't looked before.
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
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.
Signature · 2 lines
James Cameron http://quozl.linux.org.au/
Quoted 17 lines · James Cameron
Quoted 16 lines · Vasily Khoruzhick
Quoted 14 lines · James Cameron
Quoted 10 lines · Vasily Khoruzhick
Quoted 7 lines · James Cameron
Quoted 4 lines · Vasily Khoruzhick
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?
Quoted 7 lines
Quoted 1 line
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
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
Quoted 1 line
How are you downloading firmware over SPI?
See
drivers/net/wireless/libertas/if_spi.c, but it's for fat firmware
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
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.
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 4 lines
Quoted 2 lines
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.cuses gspi8686_v9_helper.binI was wrong; I am now aware of a second stage firmware downloader helper specific to the SPI mode. I hadn't looked before.
Quoted 4 lines
Quoted 1 line
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 :(
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
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
Quoted 3 lines
--
James Cameron
http://quozl.linux.org.au/
Quoted 20 lines · Vasily Khoruzhick
Quoted 19 lines · James Cameron
Quoted 17 lines · Vasily Khoruzhick
Quoted 8 lines · James Cameron
Quoted 7 lines · Vasily Khoruzhick
Quoted 6 lines · James Cameron
Quoted 4 lines · Vasily Khoruzhick
Out of curiosity,
Does anyone know if it's possible to get thin firmware for 8686 with SPI interface?
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
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.
Quoted 7 lines
Quoted 5 lines
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
Correct. AFAIK (and I could be wrong, I haven't been involved for a few years) CozyBit only did the thin firmware for OLPC-specific deployments of the usb8388 and sd868x parts which were included in OLPC devices, to support the mesh networking protocols used by OLPC. None of those parts used SPI; and thus I would not expect there to be a thin firmware for any SPI parts. I'd love to be proved wrong though.
Each bus type uses different firmware, so yes, you'd need both a helper firmware and a main firmware that contains code specific to the bus type.
Dan
Quoted 54 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
Quoted 1 line
How are you downloading firmware over SPI?
See
drivers/net/wireless/libertas/if_spi.c, but it's for fat firmwareQuoted 8 lines
Quoted 3 lines
Quoted 1 line
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.
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 4 lines
Quoted 2 lines
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.cuses gspi8686_v9_helper.binI was wrong; I am now aware of a second stage firmware downloader helper specific to the SPI mode. I hadn't looked before.
Quoted 4 lines
Quoted 1 line
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 :(
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
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
VasilyQuoted 3 lines
--
James Cameron
http://quozl.linux.org.au/_______________________________________________
libertas-dev mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/libertas-dev
Quoted 37 lines · Dan Williams
Quoted 20 lines · Vasily Khoruzhick
Quoted 19 lines · James Cameron
Quoted 17 lines · Vasily Khoruzhick
Quoted 8 lines · James Cameron
Quoted 7 lines · Vasily Khoruzhick
Quoted 6 lines · James Cameron
Quoted 4 lines · Vasily Khoruzhick
Out of curiosity,
Does anyone know if it's possible to get thin firmware for 8686 with SPI interface?
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
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.
Quoted 7 lines
Quoted 5 lines
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
Correct. AFAIK (and I could be wrong, I haven't been involved for a few years) CozyBit only did the thin firmware for OLPC-specific deployments of the usb8388 and sd868x parts which were included in OLPC devices, to support the mesh networking protocols used by OLPC. None of those parts used SPI; and thus I would not expect there to be a thin firmware for any SPI parts. I'd love to be proved wrong though.
Quoted 6 lines
Each bus type uses different firmware, so yes, you'd need both a helper firmware and a main firmware that contains code specific to the bus type.
Dan
Hi guys,
Sorry for not noticing this earlier. I'm the guy (formerly) at Cozybit who wrote the driver and did the thinfirmware for OLPC. I never got a chance to get the driver cleaned up so it could be accepted into the kernel mainline; ended up shifted off to a different project right away and then, well, you know how it goes.
In case you weren't aware, the git repo for the driver is at:
http://dev.laptop.org/git/users/derosier/wireless-testing/
There's also an old compat-wireless for it:
http://dev.laptop.org/git/users/derosier/compat-wireless/
The driver of course requires the thinfirm firmware. You should be able to find it somewhere on OLPC's site, or in various posts or emails from me. If you really can't find it, let me know and I'll see if I can find the binary by digging through my archives.
As for SPI support... The SDIO spec requires SPI support. I don't recall any specific support or no support for SPI (either way) in the SD8686 firmware. If I were you I'd give it a try (assuming you're not having to do hardware spins to try it). It may work. Then again, I haven't looked at that code in over three years (and no longer have it to check) and my recollections may be fuzzy.
If it doesn't work, contact Cozybit, they can fairly easily make a thinfirm change to the SPI version of the firmware if that indeed exists as a separate project. Frankly the hard part is not in making the thinfirm change, its is in fitting it into the chip and doing all the testing to be sure you didn't break anything else.
Useful links:
http://wiki.laptop.org/go/Thinfirm_1.5
http://wiki.laptop.org/go/Thin_firmware_spec
http://wiki.laptop.org/go/XO_as_AP
- Steve
PS sorry for the resend... Darn google HTMLified it on me and I hadn't noticed.
Quoted 38 lines · Steve deRosier
Quoted 37 lines · Dan Williams
Quoted 20 lines · Vasily Khoruzhick
Quoted 19 lines · James Cameron
Quoted 17 lines · Vasily Khoruzhick
Quoted 8 lines · James Cameron
Quoted 7 lines · Vasily Khoruzhick
Quoted 6 lines · James Cameron
Quoted 4 lines · Vasily Khoruzhick
Out of curiosity,
Does anyone know if it's possible to get thin firmware for 8686 with SPI interface?
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
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.
Quoted 7 lines
Quoted 5 lines
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
Correct. AFAIK (and I could be wrong, I haven't been involved for a few years) CozyBit only did the thin firmware for OLPC-specific deployments of the usb8388 and sd868x parts which were included in OLPC devices, to support the mesh networking protocols used by OLPC. None of those parts used SPI; and thus I would not expect there to be a thin firmware for any SPI parts. I'd love to be proved wrong though.
Quoted 8 lines
Quoted 6 lines
Each bus type uses different firmware, so yes, you'd need both a helper firmware and a main firmware that contains code specific to the bus type.
Dan
Hi guys,
Hi Steve,
Quoted 24 lines
Sorry for not noticing this earlier. I'm the guy (formerly) at Cozybit who wrote the driver and did the thinfirmware for OLPC. I never got a chance to get the driver cleaned up so it could be accepted into the kernel mainline; ended up shifted off to a different project right away and then, well, you know how it goes.
In case you weren't aware, the git repo for the driver is at:
http://dev.laptop.org/git/users/derosier/wireless-testing/There's also an old compat-wireless for it:
http://dev.laptop.org/git/users/derosier/compat-wireless/The driver of course requires the thinfirm firmware. You should be able to find it somewhere on OLPC's site, or in various posts or emails from me. If you really can't find it, let me know and I'll see if I can find the binary by digging through my archives.
As for SPI support... The SDIO spec requires SPI support. I don't recall any specific support or no support for SPI (either way) in the SD8686 firmware. If I were you I'd give it a try (assuming you're not having to do hardware spins to try it). It may work. Then again, I haven't looked at that code in over three years (and no longer have it to check) and my recollections may be fuzzy.
Quoted 5 lines
If it doesn't work, contact Cozybit, they can fairly easily make a thinfirm change to the SPI version of the firmware if that indeed exists as a separate project. Frankly the hard part is not in making the thinfirm change, its is in fitting it into the chip and doing all the testing to be sure you didn't break anything else.
OK, thanks, I'll give it a try!
Regards
Vasily
Quoted 8 lines
Useful links:
http://wiki.laptop.org/go/Thinfirm_1.5
http://wiki.laptop.org/go/Thin_firmware_spec
http://wiki.laptop.org/go/XO_as_AP- Steve
PS sorry for the resend... Darn google HTMLified it on me and I hadn't noticed.