All of lore.kernel.org
 help / color / mirror / Atom feed
* WCN6885 crashes on Xperia 1 IV
@ 2022-11-16 15:07 Konrad Dybcio
  2022-11-21 16:14 ` Kalle Valo
  0 siblings, 1 reply; 3+ messages in thread
From: Konrad Dybcio @ 2022-11-16 15:07 UTC (permalink / raw)
  To: ath11k, kvalo, Dmitry Baryshkov

Hi Kalle, Dmitry

I recently got Wi-Fi to work on my SM8450 Sony Xperia 1 IV (with the 
help of Dmitry), but I can only get it to function using very old CrOS 
firmware [1]. Linux-next fw breaks for me in the same way that it did 
for Dmitry here [2]. There is however also the fw shipped with the phone 
(not sure how redistributable it is, you can extract it from the OTA [3] 
update by running simg2img from android-tools and mounting it. You will 
find it in image/):

- amss20.bin (renamed to amss.bin)
- m3.bin
- board.e[0-9af] (Dmitry gave me a hint that I should choose board.e8d 
based on the reported board_id; renamed to board.bin)
- regdb.bin

Using this set of firmwares I get a veeery long and unpleasant set of 
crashes [4].

Any ideas where to start tackling this?


Konrad

[1] 
https://chromium.googlesource.com/chromiumos/third_party/linux-firmware/+/d233ddd89abe06448070471963a58c0a7da81d79/ath11k/WCN6855/hw2.0

[2] https://bugzilla.kernel.org/show_bug.cgi?id=215987

[3] 
https://drive.google.com/file/d/1gBkKplxUJuoUab71HMTLdf55jIl-ieoH/view?usp=share_link

[4] https://pastebin.com/ZF8ks51p


-- 
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

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

* Re: WCN6885 crashes on Xperia 1 IV
  2022-11-16 15:07 WCN6885 crashes on Xperia 1 IV Konrad Dybcio
@ 2022-11-21 16:14 ` Kalle Valo
  2022-11-21 16:16   ` Konrad Dybcio
  0 siblings, 1 reply; 3+ messages in thread
From: Kalle Valo @ 2022-11-21 16:14 UTC (permalink / raw)
  To: Konrad Dybcio; +Cc: ath11k, Dmitry Baryshkov

Konrad Dybcio <konrad.dybcio@linaro.org> writes:

> Hi Kalle, Dmitry
>
> I recently got Wi-Fi to work on my SM8450 Sony Xperia 1 IV (with the
> help of Dmitry), but I can only get it to function using very old CrOS
> firmware [1]. Linux-next fw breaks for me in the same way that it did
> for Dmitry here [2]. There is however also the fw shipped with the
> phone (not sure how redistributable it is, you can extract it from the
> OTA [3] update by running simg2img from android-tools and mounting it.
> You will find it in image/):
>
> - amss20.bin (renamed to amss.bin)
> - m3.bin
> - board.e[0-9af] (Dmitry gave me a hint that I should choose board.e8d
> based on the reported board_id; renamed to board.bin)
> - regdb.bin
>
> Using this set of firmwares I get a veeery long and unpleasant set of
> crashes [4].
>
> Any ideas where to start tackling this?

So if I'm understanding correctly, you are using ath11k firmware but the
board file from the somewhere else? That won't work, the ath11k firmware
has it's own board file format so you cannot take a board file from
another driver.

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

-- 
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

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

* Re: WCN6885 crashes on Xperia 1 IV
  2022-11-21 16:14 ` Kalle Valo
@ 2022-11-21 16:16   ` Konrad Dybcio
  0 siblings, 0 replies; 3+ messages in thread
From: Konrad Dybcio @ 2022-11-21 16:16 UTC (permalink / raw)
  To: Kalle Valo; +Cc: ath11k, Dmitry Baryshkov



On 21.11.2022 17:14, Kalle Valo wrote:
> Konrad Dybcio <konrad.dybcio@linaro.org> writes:
> 
>> Hi Kalle, Dmitry
>>
>> I recently got Wi-Fi to work on my SM8450 Sony Xperia 1 IV (with the
>> help of Dmitry), but I can only get it to function using very old CrOS
>> firmware [1]. Linux-next fw breaks for me in the same way that it did
>> for Dmitry here [2]. There is however also the fw shipped with the
>> phone (not sure how redistributable it is, you can extract it from the
>> OTA [3] update by running simg2img from android-tools and mounting it.
>> You will find it in image/):
>>
>> - amss20.bin (renamed to amss.bin)
>> - m3.bin
>> - board.e[0-9af] (Dmitry gave me a hint that I should choose board.e8d
>> based on the reported board_id; renamed to board.bin)
>> - regdb.bin
>>
>> Using this set of firmwares I get a veeery long and unpleasant set of
>> crashes [4].
>>
>> Any ideas where to start tackling this?
> 
> So if I'm understanding correctly, you are using ath11k firmware but the
> board file from the somewhere else? That won't work, the ath11k firmware
> has it's own board file format so you cannot take a board file from
> another driver.
No, the combinations I tried are:

- ath11k fw (doesn't work, see the bugzilla link)
- Android-bundled fw (doesn't work, see [4])
- CrOS fw (works)

where "fw" means "the full set of all firmware files (amss.bin/board[-2].bin/m3.bin) from that source"

Konrad
> 

-- 
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

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

end of thread, other threads:[~2022-11-21 16:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-16 15:07 WCN6885 crashes on Xperia 1 IV Konrad Dybcio
2022-11-21 16:14 ` Kalle Valo
2022-11-21 16:16   ` Konrad Dybcio

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.