VIM1's wifi doesn't work after update to Linux 6.1

Zhang Ning zhangn1985 at outlook.com
Mon Dec 12 04:57:02 PST 2022


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?

> 
> VIM1:~ # connmanctl services
> *AO Wired                ethernet_16a77993beeb_cable
> *A  CIRCOLOCO            wifi_ccb8a8b59f86_434952434f4c4f434f_managed_psk
> 
> I’ve pushed an updated VIM1 image with that kernel here:
> 
> https://chewitt.libreelec.tv/testing/LibreELEC-AMLGX.arm-10.85.0-khadas-vim.img.gz
> 
> There are a couple of patches that tweak SDIO speeds in my tree, but none of them are new.
> 
> As it looks like you have some of my patches already; perhaps bisect my full patchset against default 6.1-rc8 to see if there’s a ‘fixing’ change?
> 
> Christian



More information about the linux-amlogic mailing list