I can't get be14 to work on my own build of openwrt 24

How to download patch files? I found bin files (BPI-Router-Linux/utils/firmware/mediatek/mt7996 at 67a12d766c2ddecc3e3007f406a6e448b430c11d · frank-w/BPI-Router-Linux · GitHub), but I don’t understand how to download. And I also don’t understand where to find and download 0001-wifi-mt76-mt7996-support-mt7996-2-3-3-variant.patch

I’ll try to clone the entire repository. Do I need to apply the patch before running makeconfig? And how can I launch it after I have placed all the files?

The patch will be applied automatically you just have to have it in that location

1 Like

Where can I find this patch? Is it in the repository somewhere?

https://git01.mediatek.com/plugins/gitiles/openwrt/feeds/mtk-openwrt-feeds/+/66d5f99c541dfcdca5466eea16163a749871c719/autobuild/unified/filogic/mac80211/master/files/package/kernel/mt76/patches/0001-wifi-mt76-mt7996-support-mt7996-2-3-3-variant.patch

1 Like

maybe you should start with basics in building openwrt first before using a development board. also, openwrt has an #irc channel.

https://openwrt.org/docs/guide-developer/toolchain/use-buildsystem

https://openwrt.org/docs/guide-developer/toolchain/install-buildsystem

https://openwrt.org/docs/guide-developer/helloworld/chapter7

I configured the system as in the first link

Hello. Were you able to build an image for bpi-r4 from sources? If so, what repository did you use? I am trying to build an image according to the image-builder instructions and using master branch, for wifi I use the 233patch file from git mediatek, I also put the firmware files for 7996 in the right directory and at the moment of processing the patch file the firmware build stops.

Applying /home/kuzevich1983/openwrt/target/linux/mediatek/patches-6.6/0001-wifi-mt76-mt7996-support-mt7996-2-3-3-variant.patch using plaintext: patch unexpectedly ends in middle of line patch: **** Only garbage was found in the patch input. Patch failed! Please fix /home/kuzevich1983/openwrt/target/linux/mediatek/patches-6.6/0001-wifi-mt76-mt7996-support-mt7996-2-3-3-variant.patch! make[4]: *** [Makefile:27: /home/kuzevich1983/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/linux-6.6.51/.prepared_695bd14f69f19eb5c349a0c3c6b03f87] Error 1 make[4]: Leaving directory '/home/kuzevich1983/openwrt/target/linux/mediatek' make[3]: *** [Makefile:11: compile] Error 2 make[3]: Leaving directory '/home/kuzevich1983/openwrt/target/linux' time: target/linux/compile#10.87#5.45#14.16 ERROR: target/linux failed to build. make[2]: *** [target/Makefile:32: target/linux/compile] Error 1 make[2]: Leaving directory '/home/kuzevich1983/openwrt' make[1]: *** [target/Makefile:25: /home/kuzevich1983/openwrt/staging_dir/target-aarch64_cortex-a53_musl/stamp/.target_compile] Error 2 make[1]: Leaving directory '/home/kuzevich1983/openwrt' make: *** [/home/kuzevich1983/openwrt/include/toplevel.mk:248: world] Error 2 kuzevich1983@ubuntu:~/openwrt$

Maybe I missed something somewhere?

I’ll be honest, I started using Linux a couple of days ago, and only to assemble the firmware. Those. I have almost 0 experience. But I managed to build the firmware, I used the danpawlik repository with the be14-and-hostapd-janusz-v5 branch, it added support for be14 and there were patches for the cooler, without which the build would end in error. Here is a link to my build, despite the fact that danpawlik has support for be14, wifi 7 and wifi 6 160MHz do not work for me. https://drive.usercontent.google.com/download?id=1MdvcRUzxKVPAzzZn3ouLjjFbcGwiXbIv&export=download&authuser=0

Here are instructions on how to assemble the assembly as I did.