[Banana BPI-R4] Wifi7 status

Hey, all is in GitHub workflows - dunno which build you use but I guess this one that does not have updated hostapd. Here you have info what project and what branch. Check what patches are there. Hint - there are two commits ahead comparing to what is in main OpenWRT repo.

nice, those two commits will allow me to manually change my source, but is there a way to add a patch file to the openwrt source to make this easier?

So instead of manually editing those two files, simply drop one or two patch files somewhere that do that? This will make it easier to manage if there are changes to the openwrt source of those files.

again, very thankful for the help, I got my r4 today and want to get the wifi solved to then take care of the gpon sfp module. I've read somewhere it wont work so another thing to take care before I can use the r4.

Please do that.
I just want to remind, that you can just add .patch to the commit link on GitHub and you will get a patch.

many thanks @danpawlik , I made the same changes you did on my custom OpenWRT build and was able to get the wifi running. wasn't able to test 6G band as I don't have any 6G client but the 2.4 and 5 seem to be working well.
I also was able to get my xpon stick to run at 2.5g, basically one needs to patch the kernel to force 2.5g link.

I noticed that Luci doen't have yet support for the 6g band, or at least there are no options shown on the webinterface.

Anyway, I will try to figure out how to make patches instead of manually editing the source files as I did this time. Again, much appreciated.

1 Like

Hello BE14 nerds!

Did anyone already found that Mediatek readme and created a running testbuild based on their instructions? Sounds very promising: https://git01.mediatek.com/plugins/gitiles/openwrt/feeds/mtk-openwrt-feeds/+/d7d5c7502b6c24795309e259d44158e99feccb9a/autobuild/unified/Readme.md

EDITH1:
… and maybe change their first git clone instruction to:

git clone --branch master https://github.com/openwrt/openwrt.git openwrt

:wink:

EDITH2:

  1. first build without changes failed …
  2. looks like LuCi got patched out by mediatek | manually added as feed and still building …

EDITH3:
Unexpected quick win! (updated existing build)


Just followed instructions, but modifed openwrt git-source as mentioned above. Added original openwrt feeds after first run, did make menuconfig and selected luci and some additianal packages.
By now only WiFi 6 but no personal repo required anymore (good step forward).

4 Likes

what sku did you choose for the be14?

use the first one:

  1. Filogic 880 (MT7988+MT7996) MTK Reference Board (RFB)
1 Like

it's failing to build for me, maybe because the kernel was bumped today to .6.6.49.
anyway, the way they apply the patches is horrible. it seems I would not be able to select gcc14 as the compiler or add proper gcc arm optimizations, for instance for some reason I can't understand, the BPI-R4 has cortex a53 as it's gcc flag optimization but the cpu is actually a a73, so obviously this is the first thing I change on my custom build. with this mediatek build process, I don't think that optimization can be done later because it seems to be building it with the a53 flag.

Do you use GitHub Actions or your own build system? Could you please share the YAML file from GitHub Actions or the build script? I've encountered errors during the build through Actions and I'm probably missing something.

nope - did this on my own server
but build is broken now because openwrt bump to new kernel ...
... and MTK has their kernel references somehow hardcoded (educated guess - no time to check)