All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Kazior <michal.kazior@tieto.com>
To: Sven Schnelle <svens@stackframe.org>
Cc: "ath10k@lists.infradead.org" <ath10k@lists.infradead.org>
Subject: Re: compat-wireless-2014-05-22 breaks ath10k in an Archer C7 v2
Date: Mon, 9 Jun 2014 07:40:46 +0200	[thread overview]
Message-ID: <CA+BoTQm7XA7f3pd0am2eCuJYuHMJfko8XCc2t=n__vpYe3C0nQ@mail.gmail.com> (raw)
In-Reply-To: <5393781C.8090403@stackframe.org>

On 7 June 2014 22:37, Sven Schnelle <svens@stackframe.org> wrote:
> Hi Michal,
>
> Am 05.06.2014 14:20, schrieb Michal Kazior:
>
>> This seems to confirm otp fails to load with error code 2. The assert
>> stack trace points to copy engine in ROM image. Wierd. Anyway, I've
>> extracted firmware files from TP-Link Archer C7 original rootfs. Can you
>> give it a try, please? See the OpenWRT ticket:
>> https://dev.openwrt.org/ticket/16589
>
>
> i tried, but the result doesn't look better:
>
> [    9.640000] ath10k: pci irq legacy irq_mode 0 reset_mode 0
> [    9.730000] ath10k: otp calibration failed: 2
> [   10.540000] ath10k: UART prints enabled
> [   10.600000] ath10k: qca988x hw2.0 (0x4100016c, 0x043202ff) fw
> 10.1.467-tplink-a-c7 api 2 htt 2.1
>
> I removed the error return in ath10k, that's why the firmware starts even
> with the otp error. I don't see the Assertion failure with this otp
> firmware:
>
> CLI>build_version=0x11, rom_version=0x41020000, ram_version=0x11,
> stack_size=6348
> reset reason=0x5
>
> Image startup of Normal mode
> Mac address is : 00:03:7f:4f:00:16
> alloc rem: 197492
> **WMI Service Ready **
> NUM_DEV=16
> TGT_VER: 4100016C
> RegDomain: 0, CfgCtl: 224 - 224
> ar_wal_peer_attach: num_peer_entries 145, num_tid_entries 443
> allocated 64 tids at 0x439a28 (each 96 bytes)
> allocated 379 tids in IRAM at 0x9baf34 (each 96 bytes)
> allocated 64 stateless tids at 0x43b250 (each 40 bytes)
> ### turn on Tx completion index tracking ###
> **WMI Ready **

Thanks for testing.


> Just to be sure, here are the md5sums of the firmware files i'm using:
>
> root@OpenWrt:/# md5sum /lib/firmware/ath10k/QCA988X/hw2.0/*
> 710fb9b582eda3d23728dee757d9ff85
> /lib/firmware/ath10k/QCA988X/hw2.0/board.bin

The attached board.bin in the ticket should be:

  419d73569cb0effc0a8b380f8e4dd197  board.bin

But it might be worth using the data found in mtd4 @ 0x5000-0x5844 as
board.bin (see my other mail) instead.


Michał

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

  parent reply	other threads:[~2014-06-09  5:41 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-28 18:35 compat-wireless-2014-05-22 breaks ath10k in an Archer C7 v2 Andy Lutomirski
2014-05-29  7:48 ` Michal Kazior
2014-05-29  7:48   ` Michal Kazior
2014-05-29 17:52   ` Andy Lutomirski
2014-05-29 17:52     ` Andy Lutomirski
2014-06-05 10:26     ` Kalle Valo
2014-06-05 10:26       ` Kalle Valo
2014-06-05 16:04       ` Andy Lutomirski
2014-06-05 16:04         ` Andy Lutomirski
2014-06-05 16:08       ` Ben Greear
2014-06-05 16:08         ` Ben Greear
2014-06-05 16:23         ` Andy Lutomirski
2014-06-05 16:23           ` Andy Lutomirski
2014-06-06  6:39         ` Kalle Valo
2014-06-06  6:39           ` Kalle Valo
2014-06-06 16:05           ` Ben Greear
2014-06-06 16:05             ` Ben Greear
2014-06-06  8:59       ` Matti Laakso
2014-06-06  9:09         ` Kalle Valo
2014-06-06 23:31           ` Kamal Koshy
2014-06-07  5:36             ` Kalle Valo
2014-06-07  6:11               ` Sven Schnelle
2014-06-08 11:52                 ` Matti Laakso
2014-06-09  8:28                   ` Kalle Valo
2014-06-09 14:39                     ` Kamal Koshy
2014-06-09  5:07                 ` Michal Kazior
2014-06-09 20:01                   ` Sven Schnelle
2014-06-05 11:15   ` Sven Schnelle
2014-06-05 11:36     ` Kalle Valo
2014-06-05 11:49       ` Sven Schnelle
2014-06-05 12:20         ` Michal Kazior
2014-06-07 20:37           ` Sven Schnelle
2014-06-07 20:41             ` Sven Schnelle
2014-06-08  5:59               ` Kamal Koshy
2014-06-09  5:40             ` Michal Kazior [this message]
2014-06-12 12:57             ` Michal Kazior
2014-06-12 19:37               ` Sven Schnelle
2014-06-13 11:12                 ` Michal Kazior
2014-06-14 16:51                   ` Kalle Valo

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='CA+BoTQm7XA7f3pd0am2eCuJYuHMJfko8XCc2t=n__vpYe3C0nQ@mail.gmail.com' \
    --to=michal.kazior@tieto.com \
    --cc=ath10k@lists.infradead.org \
    --cc=svens@stackframe.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.