From: Simon Wunderlich <sw@simonwunderlich.de>
To: Larry Finger <Larry.Finger@lwfinger.net>, linux-wireless@vger.kernel.org
Cc: sven@narfation.org, Pannirselvam Kanagaratnam <pannirk@gmail.com>
Subject: Debugging RTL8192CU firmware loading on 3.12 powerpc
Date: Fri, 02 Sep 2016 10:50:41 +0200 [thread overview]
Message-ID: <1586991.4QUcrJhXOm@prime> (raw)
[-- Attachment #1: Type: text/plain, Size: 1433 bytes --]
Hi,
we are trying to integrate a RTL8192CU based WiFi adapter (TP-Link TL-WL822N)
on a PowerPC based platform running a vendor-supplied/modified 3.12 kernel
using compat-wireless (I've tried 2016-01-06 and 2016-06-20 versions). While
the adapter works fine on my Laptop (using Debian 4.6 and 4.7 kernels), it
seems the firmware loading fails on the PowerPC box. Here is some output from
the kernel log:
[ 36.945820] rtl8192cu: Chip version 0x11
[ 37.026208] rtl8192cu: MAC address: ec:08:6b:15:38:0e
[ 37.031301] rtl8192cu: Board Type 0
[ 37.035074] rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 1
[ 37.040911] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
[ 37.049583] usbcore: registered new interface driver rtl8192cu
[...]
[ 221.588911] rtl8192cu:_ResetDigitalProcedure1():<0-0> #####=> 8051 reset
failed!.........................
[ 221.637599] rtl8192cu: MAC auto ON okay!
[ 221.674610] rtl8192cu: Tx queue select: 0x05
[ 233.233554] rtl8192c_common:_rtl92c_fw_free_to_go():<0-0> Polling FW ready
fail!! REG_MCUFWDL:0x00030006 .
[ 233.233566] rtl8192c_common:rtl92c_download_fw():<0-0> Firmware is not
ready to run!
The outputs at 221 starts when I enable hostapd with a minimal AP-starting
configuration.
Do you have any recommendations where the firmware loading problems could come
from, and where we could start to debug? Any pointers would be appreciated.
Thank you,
Simon
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
next reply other threads:[~2016-09-02 9:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-02 8:50 Simon Wunderlich [this message]
2016-09-02 11:13 ` Debugging RTL8192CU firmware loading on 3.12 powerpc Arend Van Spriel
2016-09-02 11:26 ` Sven Eckelmann
2016-09-02 17:17 ` Larry Finger
2016-09-02 17:53 ` Larry Finger
2016-09-06 7:40 ` Sven Eckelmann
2016-09-06 13:09 ` Sven Eckelmann
2016-09-06 13:29 ` Larry Finger
2016-09-07 8:23 ` Simon Wunderlich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1586991.4QUcrJhXOm@prime \
--to=sw@simonwunderlich.de \
--cc=Larry.Finger@lwfinger.net \
--cc=linux-wireless@vger.kernel.org \
--cc=pannirk@gmail.com \
--cc=sven@narfation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox