[Banana BPI-R4] Wifi7 status

Thank you very much for your work! I tried your image and it works fine. But I have problems when I try to install some packages that depend on kmod-tun (e.g. tailscale).

The reason for the problem is that the image you compiled is based on the 6.6.58 kernel, while the 24.10.0-rc2 version of openwrt is based on the 6.6.63 kernel. I looked further into the /lib/modules folder and observed two folders with file names 6.6.58 and 6.6.63 respectively. When I installed the software, the package manager automatically downloaded the 6.6.63 version of kmod-tun and extracted it in the /lib/modules/6.6.63 folder; the running 6.6.58 kernel tried to find the corresponding kernel module from the /lib/modules/6.6.58 folder, which led to the error.

In general, there are two ways to solve this problem:

  1. choose the official 6.6.63 kernel for compilation in pursuit of kmod package compatibility; however, considering that version 24.10 is still in the RC phase, perhaps the kernel version is still subject to minor changes?
  2. I kindly ask you to include support for kmod-tun in your image. Further, if it's convenient for you, could you open source your work to one of the github repositories? That way, if another kmod dependency follows, those who need it can compile it themselves.

Good evening, thanks for the comment. I'm going to rebuild the image in 6.6.58 but you will be able to download the packages for that version.

I'll give you this backup and you should be able to download the packages for version 6.6.58. Tell me if it works correctly.

6.6.58-backup-OpenWrt-2024-12-12-.tar.gz

1 Like

Sorry for the misunderstanding. When I said your image is working fine, I was actually referring to

not

The admin page for image is inaccessible.


Therefore, I am sorry that I cannot test your backup on that image.

I further tested your backup on the previous image I mentioned and found more strange issues.

First, based on the opkg source list in your backup, I tried to replace src/gz openwrt_kmods https://mirror-03.infra.openwrt.org/snapshots/targets/mediatek/filogic/kmods/6.6.58-1-6cce1ce3bdd30a0ef90c5c528fbe908b/ into the system's opkg source list.

The result of the replacement was that when I tried to install any kmod, opkg reported an error similar to "cannot find kmod-xxx for compatible kernel == 6.6.58xxxxxxx."

I further used opkg list to enumerate all packages and found that the version of the kernel package was 6.6.63xxxxxxx. Strangely, using uname -r listed the currently used kernel version number as 6.6.58. This means you generated a package named 6.6.63xxxxxx with an actual version number of 6.6.58 for the kernel, which will prevent the system from downloading and installing any new kmod because:

  1. If using the opkg source for 6.6.63, opkg can normally download and install these modules, but they cannot be used due to version mismatch;
  2. If using the opkg source for 6.6.58, opkg will not be able to handle dependencies properly; you could try forcing their installation but that would generate a lot of errors.

Therefore, it seems that you cannot download and correctly install kmod by modifying the opkg source unless you build and maintain a kmod source where all package version numbers are 6.6.63, which actually corresponds to the 6.6.58 kernel, but that is obviously not possible. The possible solution remains as I mentioned earlier.

PS: Maybe you can try to modify the kernel package name to 6.6.58, which corresponds with the actual kernel version. In that way, use 6.6.58 opkg source may work.

Good evening, please try this version.

burn to sd, insert backup

openwrt-mediatek-filogic-bananapi_bpi-r4-sdcard.img.gz

backup-OpenWrt-2024-12-14.tar.gz

Sorry, the version is made for 6.6.58, I have only updated the image so that the opkg packages can continue to be used, most are compatible and many others are not.

but we can enjoy wifi 7, until they release the official version.

I leave the version 6.6.58 + the backup to be able to use opkgs that are valid

Thanks for your efforts. This version of image works fine. However, installing kmod-tun through opkg is still not available due to version mismatch.

If you are unwilling to adopt either of the two proposals I suggested, may I request that you recompile a firmware with kmod-tun support builtin? You can find it in the compilation menu under Kernel modules - Network support.

Thank you again for your patient response.

Folks,
Tl;Dr Does someone spotted an issue with wifi calling / VoWifi when HW offload is enabled?

More details in BPi-R4 thread

Good afternoon, download kmod-tun 6.6.63-r1 25.74 KiB from the image and install it.

then install

tailscale_1.32.3-1_aarch64_cortex-a53.ipk

I hope this helps you

This is useless. The kernel cannot recognize the installed kmod-tun.
Checking the contents of the /lib/modules folder, you will find that the newly installed kmod-tun 6.6.63-r1 is placed under the 6.6.63 folder, rather than 6.6.58. Manually specifying and enabling the kernel module through insmod will result in an error failed to insert (null)


So, definitely tailscale won't work either.

Today's snapshot is much more usable in terms of wifi performance.
On 6ghz I was able to get 1.8gbps down/1.6gbps up on my pixel 8, and 2.1gbps down/1gbps up on my steamdeck.

# ubus call system board
{
        "kernel": "6.6.65",
        "hostname": "bpi-r4",
        "system": "ARMv8 Processor rev 0",
        "model": "Bananapi BPI-R4",
        "board_name": "bananapi,bpi-r4",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "SNAPSHOT",
                "revision": "r0-15e173b",
                "target": "mediatek/filogic",
                "description": "OpenWrt SNAPSHOT r0-15e173b",
                "builddate": "1734122402"
        }
}

Do you have issues with 5 ghz range by any chance ? Or was it corrected also ?

Is this problem with qualcom card and insanely poor wifi solved?

Anyone know what the kernel node is to read the temp of the SFP stick

I'm ok with the 5 ghz coverage, but it's much slower than 6G. In BE mode, I could only get 1 gbps download/200 mbps upload. I've edited my previous post to indicate that the result was from 6 ghz.
Note: I'm using the BPI-R4-NIC-BE14, so not qualcomm.

Hi everyone,

I'm having trouble getting my Quectel RM520N-GL module to work with my Banana Pi BPI-R4. I've tried various OpenWRT versions without success, including the one provided by @bruda.
Can anyone give some advice on how to get this setup working?

https://openwrt.org/inbox/toh/sinovoip/bananapi_bpi-r4

root@OpenWrt:~# uname -a
Linux OpenWrt 6.6.58 #0 SMP Sat Oct 26 14:21:03 2024 aarch64 GNU/Linux

root@OpenWrt:~# lspci
0000:00:00.0 PCI bridge: MEDIATEK Corp. Device 7988 (rev 01)
0000:01:00.0 Network controller: MEDIATEK Corp. Device 7990
0001:00:00.0 PCI bridge: MEDIATEK Corp. Device 7988 (rev 01)
0001:01:00.0 Network controller: MEDIATEK Corp. Device 7991
0002:00:00.0 PCI bridge: MEDIATEK Corp. Device 7988 (rev 01)
0002:01:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller 980 (DRAM-less)
0003:00:00.0 PCI bridge: MEDIATEK Corp. Device 7988 (rev 01)
0003:01:00.0 Unassigned class [ff00]: Qualcomm Technologies, Inc Device 0308

root@OpenWrt:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux 6.6.58 xhci-hcd xHCI Host Controller
Bus 001 Device 002: ID 2109:2822 VIA Labs, Inc.          USB2.0 Hub
Bus 001 Device 003: ID 2109:8822 VIA Labs, Inc.          USB Billboard Device
Bus 002 Device 001: ID 1d6b:0003 Linux 6.6.58 xhci-hcd xHCI Host Controller
Bus 002 Device 002: ID 2109:0822 VIA Labs, Inc.          USB3.1 Hub

please use lm-sensors package:

0004

please check that thread:

Fibocom FM350-GL Support

might be it is not related to your model but you can get a lot of usefull info.

1 Like

sensors

  1. this topic is about wifi 7 :slight_smile:
  2. please check if your sfps are discovered properly by system unless check your dts files
  3. out of topic questions - please contact on priv or basicly use search option

1 Like

Eh I just wanted to add it to luci statistics app