linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Firmware files for Ralink RT28x0
@ 2011-04-10 15:56 Ben Hutchings
  2011-04-10 16:18 ` Larry Finger
  2011-04-10 16:35 ` Ivo Van Doorn
  0 siblings, 2 replies; 18+ messages in thread
From: Ben Hutchings @ 2011-04-10 15:56 UTC (permalink / raw)
  To: Ivo van Doorn, Gertjan van Wingerde; +Cc: linux-wireless

[-- Attachment #1: Type: text/plain, Size: 490 bytes --]

I notice that rt2800{pci,usb} each specify only one firmware image,
regardless of the controller version.

This is inconsistent with rt28{6,7}0sta and with the firmware images in
linux-firmware.

If you think that a single image per bus type can cover all controllers,
please identify those firmware images, test them on each hardware
generation, and get them into linux-firmware.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread
* Re: Firmware files for Ralink RT28x0
@ 2011-04-10 17:02 Xose Vazquez Perez
  0 siblings, 0 replies; 18+ messages in thread
From: Xose Vazquez Perez @ 2011-04-10 17:02 UTC (permalink / raw)
  To: linux-wireless, users

Larry Finger wrote:

> With rt2800pci, my rt3090 works with rt2860.bin, which is already in linux-firmware.

rt2870.bin and rt2860.bin files in linux-firmware are *obsolete*
get latest from: http://www.ralinktech.com/support.php?s=2

(This weekend the ralink web is down).

^ permalink raw reply	[flat|nested] 18+ messages in thread
* Re: Firmware files for Ralink RT28x0
@ 2011-04-10 17:29 Xose Vazquez Perez
  2011-04-10 17:35 ` Ivo Van Doorn
  0 siblings, 1 reply; 18+ messages in thread
From: Xose Vazquez Perez @ 2011-04-10 17:29 UTC (permalink / raw)
  To: linux-wireless, users

Ben Hutchings wrote:

> I notice that rt2800{pci,usb} each specify only one firmware image,
> regardless of the controller version.
> 
> This is inconsistent with rt28{6,7}0sta and with the firmware images in
> linux-firmware.
> 
> If you think that a single image per bus type can cover all controllers,
> please identify those firmware images, test them on each hardware
> generation, and get them into linux-firmware.

querida:/datos/kernel/linux-2.6/drivers/net/wireless/rt2x00 $ grep "\.bin" *
rt2800pci.h:#define FIRMWARE_RT2860			"rt2860.bin"
rt2800usb.h:#define FIRMWARE_RT2870			"rt2870.bin"
rt61pci.h:#define FIRMWARE_RT2561			"rt2561.bin"
rt61pci.h:#define FIRMWARE_RT2561s			"rt2561s.bin"
rt61pci.h:#define FIRMWARE_RT2661			"rt2661.bin"
rt73usb.h:#define FIRMWARE_RT2571			"rt73.bin"

rt3070.bin rt3071.bin rt3090.bin should be deleted from linux-firmware.
They were only need by staging drivers.

-- 
«Allá muevan feroz guerra, ciegos reyes por un palmo más de tierra;
que yo aquí tengo por mío cuanto abarca el mar bravío, a quien nadie
impuso leyes. Y no hay playa, sea cualquiera, ni bandera de esplendor,
que no sienta mi derecho y dé pecho a mi valor.»

^ permalink raw reply	[flat|nested] 18+ messages in thread
* Re: Firmware files for Ralink RT28x0
@ 2011-04-10 19:25 Xose Vazquez Perez
  2011-04-10 21:03 ` Ben Hutchings
  0 siblings, 1 reply; 18+ messages in thread
From: Xose Vazquez Perez @ 2011-04-10 19:25 UTC (permalink / raw)
  To: users, linux-wireless, ben

Ben Hutchings wrote:

> Ralink provides multiple drivers per bus type for RT28xx and later
> chips.  For PCI devices they split between RT2860 and RT309x; for USB
> devices they split between RT2870 and RT307x (I think - the chip model
> numbers don't seem to be stated consistently).
> 
> In addition, the USB drivers have two separate images packed together
> and they can select different images based on the controller version:
> 
> #ifdef RTMP_MAC_USB
> 		if ((Version != 0x2860) && (Version != 0x2872) && (Version != 0x3070)) 
> 		{	// Use Firmware V2.
> 			//printk("KH:Use New Version,part2\n");
> 			pFirmwareImage = (PUCHAR)&FirmwareImage[FIRMWAREIMAGEV1_LENGTH];
> 			FileLength = FIRMWAREIMAGEV2_LENGTH;
> 		}
> 		else
> 		{
> 			//printk("KH:Use New Version,part1\n");
> 			pFirmwareImage = FirmwareImage;
> 			FileLength = FIRMWAREIMAGEV1_LENGTH;
> 		}
> #endif // RTMP_MAC_USB //
> 
> The firmware blobs in RT2870 version 2009-08-20 and RT3070 version
> 2009-05-25 are all marked as version 17 (or 0.17), but *they all have
> different contents*.
> 
> I attempted to maintain the same version selection logic when converting
> the staging drivers to use the firmware loader, since I assumed there
> was a good reason for it.
> 

As you can see in the ralink web[1] RT28XX/RT30XX USB devices (RT2870/RT2770/RT3572/RT3070)
need _only_ the rt2870.bin fw-file.

And RT28XX/RT30XX PCI/mPCI/PCIe/CardBus devices
(RT2760/RT2790/RT2860/RT2890/RT3060/RT3062/RT3562/RT2860/RT2760/RT2890/RT2790/RT3090)
need _only_ the rt2860.bin fw-file.

> linux-firmware is supposed to have all firmware files referenced by any
> version of Linux

That's a good joke!
linux-firmware is *unmaintained* , a lot of firmwares are missing.
Even the intel ones(microcode.dat, ipw2{1,2}*), zd1211, etc...
Others are very old, really it's a mess.
Fedora puts _forty_ patches on top of linux-firmware.

[1] http://www.ralinktech.com/support.php?s=2

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2011-04-11  3:01 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-10 15:56 Firmware files for Ralink RT28x0 Ben Hutchings
2011-04-10 16:18 ` Larry Finger
2011-04-10 16:35 ` Ivo Van Doorn
2011-04-10 17:49   ` Ben Hutchings
2011-04-10 18:06     ` Ivo Van Doorn
2011-04-10 19:04       ` Ben Hutchings
  -- strict thread matches above, loose matches on Subject: below --
2011-04-10 17:02 Xose Vazquez Perez
2011-04-10 17:29 Xose Vazquez Perez
2011-04-10 17:35 ` Ivo Van Doorn
2011-04-10 18:12   ` Xose Vazquez Perez
2011-04-10 18:26   ` Larry Finger
2011-04-10 19:25 Xose Vazquez Perez
2011-04-10 21:03 ` Ben Hutchings
2011-04-10 21:30   ` Larry Finger
2011-04-10 21:46   ` Xose Vazquez Perez
2011-04-10 22:37     ` Larry Finger
2011-04-10 22:56       ` Xose Vazquez Perez
2011-04-11  3:01         ` Larry Finger

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).