[Gta04-owner] [QtMoko] Wifi

Dr. H. Nikolaus Schaller hns at goldelico.com
Wed Apr 10 18:37:26 CEST 2013


Am 09.04.2013 um 21:57 schrieb Flemming Richter Mikkelsen:

> On Tue, Apr 9, 2013 at 7:00 PM, Flemming Richter Mikkelsen
> <quatrox at gmail.com> wrote:
>> On Tue, Apr 9, 2013 at 6:49 PM, Dr. H. Nikolaus Schaller
>> <hns at goldelico.com> wrote:
>> --cut--
>>> Hi,
>>> what does the hw-test report as the mpurate?
>> 
>> As posted a few mails ago:
>> 26 CPU-MPUrate ok 1000 MHz # mpurate reported by U-Boot
>> 
>>> 
>>> We just found out that the 3.7 kernel might have problems switching
>>> the DM3730CBP to 1 GHz leading to strange effects with the latest
>>> hw-validation image. For 800 MHz CPUs it appears to work fine.
>>> 
>>> So please try again with the old 2.6.32 image (on SD):
>>> 
>>> <http://download.goldelico.com/gta04/20121212-GTA04-Production/>
>> 
>> Thank you for the hint.
>> I will try this and report back.
> 
> I just generated the SD card, inserted it and powered up.
> The output below shows the same as the output from the latest stable
> HW validation.  Below that is a more interesting part from dmesg.  The
> complete dmesg log is attached.
> 
> gta04:~# ./hw-test
> 1 Tests-Start ok Tue Apr  9 19:46:58 UTC 2013
> 2 Tests-Version ok 2.7
> 3 LED ok  # enable LEDs
> 4 VAUX2 ok  # Sensor power
> 5 BMP085 ok 991 mBar, 29 C # Barometer values
> 6 ITG3200 ok 18, 22, -47, 25 C # Gyroscope values
> 7 BMA180 ok 77, -180, 4500 # Accelerometer values
> 8 HMC5883L ok 492, 395, 552 # Compass values
> 9 TSC2007 ok 0 0 0 0 306 0 0 1327 1596 106 65535 # Touch screen values
> 10 OV9655 nok  # Camera driver
> 11 TPS61050 ok  # Torch/Flash I2C response
> 12 M24LR64 ok  # RFID-EEPROM I2C response
> 13 Si47xx ok  # FM TRX I2C response
> 14 TCA6507 ok  # LED controller I2C response
> 15 Batt-Volt ok 4215 mV # main battery voltage
> 16 Batt-Status ok Charging # main battery status
> 17 Batt-Temp ok 29 C # main battery temperature (may not be real value)
> 18 Batt-Backup ok 2050 mV # backup battery voltage
> 19 CPU-Memory ok 500624 kB # Memory size (/proc/meminfo)
> 20 CPU-NAND ok 1066926 kB # NAND size (/proc/mtd)
> 21 CPU-ID ok 2c4e00029ff8000001683b050a020029 # Die ID
> 22 CPU-MPUrate ok 1000 MHz # mpurate reported by U-Boot
> 23 USB-IP ok 83.151.26.121 # IP access through Ethernet over USB
> 24 Sound ok  # enabling sound
> 25 TVout ok  # enabling TVout
> 26 GTM601-USB ok  # check internal USB port
> 27 GTM601-Device ok /dev/ttyHS3 # find out application port
> 28 GTM601-IMEI ok 354154040030774 # IMEI
> 29 GTM601-SN ok LG3MB1Z011 # Serial Number
> 30 GTM601-HWV ok 3.0 # Hardware Version
> 31 GTM601-FWV ok 1.7.4.0 # Firmware Version
> 32 GTM601-FBT ok Jan  5 2011,11:14:34 # Firmware Build Time
> 33 GTM601-PMN ok GTM601W_STD # Product Name
> 34 GTM601-Wakeup ok  # check for 3G Wakeup through AT_ORESET
> 35 VSIM ok  # GPS Antenna power
> 36 W2SG0004 ok $GPGGA,235947.061,,,,,0,00,,,M,0.0,M,,0000*5F # UART2
> and GPS receiver
> 37 W2CBW003-BT/VAUX4 ok 3000000 # Bluetooth/WLAN power, UART1,
> Bluetooth and initial baudrate
> 38 W2CBW003-BT-BootBaud ok 3000000 # read boot baudrate
> 39 W2CBW003-BT-MAC ok 00:19:88:1A:56:C1 # read MAC address
> 40 W2CBW003-BT-Scan nok  # scan for Bluetooth Base station
> 41 W2CBW003-WLAN-libertas ok  # check if kernel did load libertas driver
> 42 W2CBW003-WLAN-IF nok  # find the interface
> 43 W2CBW003-WLAN-VAUX4-off ok  # powering down
> 44 TVout-off ok  # switching back to LCD
> 45 Tests-End nok Tue Apr  9 19:48:28 UTC 2013 # Summary of all tests
> gta04:~#

everything works - except WLAN.

So the other 'nok' in the previous test are induced by some 3.7 kernel bug.
> 
> 
> 
> [  150.925750] mmc1: new SDIO card at address 0001
> [  150.932739] bus: 'mmc': driver_probe_device: matched device
> mmc1:0001 with driver mmcblk
> [  150.932769] bus: 'mmc': really_probe: probing driver mmcblk with
> device mmc1:0001
> [  151.029418] cfg80211: Using static regulatory domain info
> [  151.035095] cfg80211: Regulatory domain: 00
> [  151.047241]     (start_freq - end_freq @ bandwidth),
> (max_antenna_gain, max_eirp)
> [  151.055145]     (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
> [  151.062561]     (2457000 KHz - 2482000 KHz @ 20000 KHz), (600 mBi, 2000 mBm)
> [  151.069915]     (2474000 KHz - 2494000 KHz @ 20000 KHz), (600 mBi, 2000 mBm)
> [  151.078491]     (5170000 KHz - 5250000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
> [  151.085937]     (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
> [  151.094451] cfg80211: Calling CRDA to update world regulatory domain
> [  151.157318] libertas_sdio: Libertas SDIO driver
> [  151.162139] libertas_sdio: Copyright Pierre Ossman
> [  151.167175] bus: 'sdio': driver_probe_device: matched device
> mmc1:0001:1 with driver libertas_sdio
> [  151.167175] bus: 'sdio': really_probe: probing driver libertas_sdio
> with device mmc1:0001:1
> [  151.167938] libertas_sdio mmc1:0001:1: firmware: requesting sd8686_helper.bin
> [  151.214599] Spurious DMA IRQ
> [  151.217742] libertas: failed to load helper firmware
> [  151.223327] libertas_sdio: probe of mmc1:0001:1 failed with error -110

that -110 appears to be ETIMEDOUT

I.e. the WLAN module is found to respond on the interface but does not accept the firmware.
Or does not respond fast enough.

This indeed looks as if the WLAN part of the module is broken :(

Nikolaus



More information about the Gta04-owner mailing list