Hi, 2008/7/10 Arnaud Derasse <[EMAIL PROTECTED]>: > We have some difficulties to make the linux driver working. Since Accton > advised us to use your driver at > http://svn.openmoko.org/developers/sameo/patches/ar6k-atheros-2.0/2.6.24/ > I prefer ask questions on this mailing list. > > Well, : We are using the last driver for WM3236AQ with Firwmare 2.0. The > driver initialisation fails first in the BMITargetInfo function in bmi.c > > ar6000_available > BMI Write : Ask for Target Info > BMI Read : Read Target Version > Target Info Version : 0xFFFFFFFF > BMI Read : Read Target info bytecount > Target Info Byte Count : 0xA, host is 12 > /home/wifidget/Work/Mx27ADS/kernels/linux-2.6-mx/drivers/sdio/function/wlan/ar6000/bmi/bmi.c:105: > Assertion targ_info->target_info_byte_count == sizeof(*targ_info) failed! > Kernel panic - not syncing: targ_info->target_info_byte_count > ==sizeof(*targ_info)
It looks like the driver you're trying to use is for the older firmware though. The info above is correct for the newer firmware (I don't remember the exact number) but the error message suggests that the driver is expecting the ReadTargetVersion response in the older format. If I'm judging correctly from code, the older firmware returns one word: 0x11000044 while new firmware returns: 0xFFFFFFFF 0x0000000c 0x11000044 (First word is the guard value, second word is the bytecount and the third word is the version ID) This can be seen in the qemu-neo973 emulator code in the file hw/ar6000.c at svn.openmoko.org. I cannot look up the URL because I don't have access to a computer at the moment, other than a handheld. Regards
