mirror of https://lore.kernel.org/linux-amlogic/
 help / color / mirror / Atom feed
From: Christian Hewitt <christianshewitt@gmail.com>
To: Zhang Ning <zhangn1985@outlook.com>
Cc: linux-amlogic <linux-amlogic@lists.infradead.org>,
	Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Subject: Re: VIM1's wifi doesn't work after update to Linux 6.1
Date: Mon, 12 Dec 2022 17:41:04 +0400	[thread overview]
Message-ID: <295B87DA-07A6-42AE-A364-837579C8262B@gmail.com> (raw)
In-Reply-To: <OS0P286MB06413425DA9936EC32D100ABCDE29@OS0P286MB0641.JPNP286.PROD.OUTLOOK.COM>


> On 12 Dec 2022, at 4:57 pm, Zhang Ning <zhangn1985@outlook.com> wrote:
> 
> On Fri, Dec 09, 2022 at 02:57:40PM +0400, Christian Hewitt wrote:
>> [snip]
>> 
>> Hello Zhang,
>> 
>> I’ve test-booted a VIM1 using my current amlogic-6.1.y branch (based on rc8) and I don’t see an issue with WiFi:
>> 
>> http://ix.io/4i7M
>> 
>> Here’s the kernel source and defconfig:
>> 
>> https://github.com/chewitt/linux/commits/amlogic-6.1.y
>> https://github.com/chewitt/LibreELEC.tv/blob/amlogic/projects/Amlogic/linux/linux.aarch64.conf
> 
> I native build kernel from debian's kernel repo: https://salsa.debian.org/kernel-team/linux/
> with some Amlogic patches: https://salsa.debian.org/zhangn1985/linux/-/tree/master/debian/patches/features/arm64/meson
> all follow debian's kernel config.
> 
>> 
>> In the LE image I have wlan0 and connman is listing services:
>> 
>> VIM1:~ # ifconfig
>> eth0      Link encap:Ethernet  HWaddr 16:A7:79:93:BE:EB  
>>         inet addr:192.168.20.12  Bcast:192.168.20.255  Mask:255.255.255.0
>>         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>         RX packets:1036 errors:0 dropped:0 overruns:0 frame:0
>>         TX packets:308 errors:0 dropped:0 overruns:0 carrier:0
>>         collisions:0 txqueuelen:1000 
>>         RX bytes:252473 (246.5 KiB)  TX bytes:134189 (131.0 KiB)
>>         Interrupt:32 
>> ...
>> 
>> wlan0     Link encap:Ethernet  HWaddr CC:B8:A8:B5:9F:86  
>>         UP BROADCAST MULTICAST  MTU:1500  Metric:1
>>         RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>>         collisions:0 txqueuelen:1000 
>>         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
> 
> I'm happy to see WIFI works.
> 
> WIFI on my VIM1, it can connect to AP and get IP address.
> but after a while, 1sec~5min, ssh thru wifi is stucked, timeout logs
> print to uart console.
> 
> could you try to connect to AP and use wifi?

On the 6.1-rc8 image I was using it connected once, then on a reboot I had no wlan0
interface and this was logged:

[   13.789321] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout

I’ve since updated to an image using 6.1 final and got the interface back. I’m not
sure I can explain the disappearance but it’s been fine since and I’ve had a movie
playing now for ~20 mins. Normally if I’m going to see a WiFi issue things fail to
play or connect.

VIM1:~ # dmesg | grep brcmfmac
[   10.228356] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
[   10.257752] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[   10.357510] brcmfmac mmc2:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.clm_blob failed with error -2
[   10.510738] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[   10.511472] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Oct  8 2016 15:31:47 version 7.46.57.4.ap.r4 (A1 Station/P2P) FWID 01-3621395e es6.c5.n4.a3

I occasionally see this logged, but I assume this is normal/not-harmful:

[  201.574811] ieee80211 phy0: brcmf_p2p_send_action_frame: Unknown Frame: category 0x5, action 0x4
[  204.223895] meson-gx-mmc d0070000.mmc: unaligned sg len 312 blksize 512, disabling descriptor DMA for transfer

Christian


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

  reply	other threads:[~2022-12-12 13:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-09 10:57 Christian Hewitt
2022-12-12 12:57 ` Zhang Ning
2022-12-12 13:41   ` Christian Hewitt [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-12-08 13:02 Zhang Ning
2022-12-08 21:40 ` Martin Blumenstingl
2022-12-08 23:32   ` Zhang Ning
2022-12-09  0:26   ` Zhang Ning
     [not found]   ` <Y5KAxhvFzvoNYL2j@orangepipc>
2022-12-09  0:45     ` Zhang Ning
2022-12-18  2:00 ` Zhang Ning

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=295B87DA-07A6-42AE-A364-837579C8262B@gmail.com \
    --to=christianshewitt@gmail.com \
    --cc=linux-amlogic@lists.infradead.org \
    --cc=martin.blumenstingl@googlemail.com \
    --cc=zhangn1985@outlook.com \
    /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

all inboxes | Powered by JetHome®