[Banana BPI-R4] Wifi7 status

What is the correct sequence image/series to flash SPI Nand with the output artifacts from a built and tested sdimage?

I've managed to build some test builds which are in various states of 'workiing well enough' and want to install these to nand as fallbacks. Can the sdimage just be written verbatim to the entire spi nand mtd block from zero, or is there a specific sequence/set from the output artifacts I should be flashing?

I'm having issues with uci/config settings not retaining after a reboot, but I also haven't touched the bootloader/spi from whatever it shipped with.

I managed to build it with CONFIG_PACKAGE_eip197-mini-firmware=y,
but you said on Github:

NOTE: There is no kmod-eip included and other mediatek packages, because it require access to mediatek.inc domain, which is internal.

That package was in the feed and didn't require access to the internal domain.

Odd, I tried few times (wanna create pure image) but each time it fails on kmod-eip. Maybe the eip-firmware-mini is OK, but no luck with kmod, which IIUC is required, right?
Could you share yours pure images to others @radioguy?

crypto-eip has a dependency on mtk_hnat that doesn't exist on 6.6

so if you want to build just don't select it ... I guess will have to wait for mediatek or someone port quite a number of things for crypto-eip to work

1 Like

Sorry being probably ignorant, but how I can install additional packages on this ? Tried Tailscale and * The installed version of package kernel is not compatible, require 6.6.49~129ccc9eā€¦-r1 while 6.6.49~083450e0ā€¦-r1 is installed.

1 Like

On which version? To who is that question?

Edit
If to me and you are mentioning about mediatek build, there is a file:0001-Add-custom-settings-with-desire-packages.patch that have important info

I presume if I used OpenWRT BPI-R4 with BE14 + luci + hostapd + Janusz 320MHz fix, I should ask you. So do I understand correct, that I need to compile own ?

Yes. What kmod is missing to you? I can try to compile with all kmods as module, so later would be available as archive

EDIT:
@mucflyer added kmod-tun: https://github.com/danpawlik/openwrt-builder/releases/tag/bpi-r4-be14-hostapd-320mhz-janusz .

Appreciate
image

My build is pretty much exact to yours, I just didn't select kmod-safeaxcel.
Kmods:

and:

I can share my .config but I literally didn't change much except removing some MTK stuff, and adding some vanilla stuff like LuCI.

** I now understand what you mean, the part that requires strongswan as well?
Just commented it out since it didn't seem to me as essential package.
But the eip197 drivers seem to accelerate IPsec so I guess it's worth to include.

1 Like

Doing something wrong ?

The kernel in master is already 6.6.50, This one was built against 6.6.48.

Let me pull latest changes that will include change with kernel 6.6.50.
It will take some time, but I will push new release today.

EDIT:
Published https://github.com/danpawlik/openwrt-builder/releases/tag/bpi-r4-be14-hostapd-320mhz-janusz-v2

4 Likes

Now is different fail2ban

Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.49~129ccc9ecf700e21ecff22394a05f2be-r1) for kmod-nf-reject
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.49~129ccc9ecf700e21ecff22394a05f2be-r1) for kmod-nf-ipt
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.49~129ccc9ecf700e21ecff22394a05f2be-r1) for kmod-nf-log
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.49~129ccc9ecf700e21ecff22394a05f2be-r1) for kmod-ipt-core
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.49~129ccc9ecf700e21ecff22394a05f2be-r1) for kmod-nfnetlink
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.49~129ccc9ecf700e21ecff22394a05f2be-r1) for kmod-nf-reject6
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.49~129ccc9ecf700e21ecff22394a05f2be-r1) for kmod-nf-conntrack
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.49~129ccc9ecf700e21ecff22394a05f2be-r1) for kmod-nf-conntrack6
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.49~129ccc9ecf700e21ecff22394a05f2be-r1) for kmod-nf-nat
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.49~129ccc9ecf700e21ecff22394a05f2be-r1) for kmod-nf-log6
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.49~129ccc9ecf700e21ecff22394a05f2be-r1) for kmod-crypto-hash
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.49~129ccc9ecf700e21ecff22394a05f2be-r1) for kmod-crypto-crc32c
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.49~129ccc9ecf700e21ecff22394a05f2be-r1) for kmod-lib-crc32c
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.49~129ccc9ecf700e21ecff22394a05f2be-r1) for kmod-nft-core
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.49~129ccc9ecf700e21ecff22394a05f2be-r1) for kmod-nft-compat

And tailscale

Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.49~129ccc9ecf700e21ecff22394a05f2be-r1) for kmod-tun
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-tun found, but incompatible with the architectures configured
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for tailscale:
 * 	kernel (= 6.6.49~129ccc9ecf700e21ecff22394a05f2be-r1)
 * opkg_install_cmd: Cannot install package tailscale.

And radio2 doesnt work

Kernel mod didn't match ... so packages can't be installed for 5G modems

@mucflyer did you run system upgrade to new image and then install kmods from the tar.zst archive? It should be ok.

@KFO you can download required packages from https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/ and when it will be an error, just install missing kmods from the packages.tar.zst archive. I will not create new image just to support 5G.

On my side, it looks like:

What hostapd settings do you have for radio2 / uci settings?

The minute I touch anything to do with radio2 I get mode not supported messages

1 Like

It is:

root@BPI-R4:~# cat /etc/config/wireless

config wifi-device 'radio0'
	option type 'mac80211'
	option path 'soc/11300000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
	option band '2g'
	option channel '8'
	option country 'PL'
	option cell_density '0'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option ssid 'Majki_2G'
	option encryption 'psk2'
	option key 'mytestkey'
	option wnm_sleep_mode '1'
	option bss_transition '1'

config wifi-device 'radio1'
	option type 'mac80211'
	option path 'soc/11300000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0+1'
	option band '5g'
	option channel '100'
	option htmode 'HE160'
	option txpower '23'
	option country 'PL'
	option cell_density '0'

config wifi-iface 'default_radio1'
	option device 'radio1'
	option network 'lan'
	option mode 'ap'
	option ssid 'Majki'
	option encryption 'sae-mixed'
	option key 'mytestkey'
	option ieee80211r '1'
	option nasid '4a-5'
	option mobility_domain 'abab'
	option ft_over_ds '1'
	option ieee80211k '1'
	option time_advertisement '2'
	option time_zone 'CET-1CEST,M3.5.0,M10.5.0/3'
	option wnm_sleep_mode '1'
	option bss_transition '1'
	option ocv '0'

config wifi-device 'radio2'
	option type 'mac80211'
	option path 'soc/11300000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0+2'
	option band '6g'
	option channel '53'
	option htmode 'HE160'
	option country 'PL'
	option cell_density '0'

config wifi-iface 'default_radio2'
	option device 'radio2'
	option network 'lan'
	option mode 'ap'
	option ssid 'Majki'
	option encryption 'sae'
	option key 'mytestkey'
	option wnm_sleep_mode '1'
	option bss_transition '1'
	option ocv '0'
	option ieee80211k '1'

config wifi-iface 'wifinet3'
	option device 'radio1'
	option mode 'ap'
	option ssid 'Majki_iot'
	option encryption 'sae'
	option key 'mytestkey'
	option wnm_sleep_mode '1'
	option bss_transition '1'
	option ocv '0'
	option network 'lan'

NOTE: I can not check 6GHz, due I don't have device with such network card.

One more think.
I just want to remind (due I receive few private messages), that if someone have issue that "there is no wireless card detected", please remember to change power to 12V as on that ugly picture:

2 Likes

I think I will also need to add a heatsink to the sfp cage. My 10g module is reading 89 degrees C.
Because I am using a alluminum case, I was thinking of getting a full alluminum block the height of the sfp cage to the top of the case and use thermal pads to make the heat flow from the sfp cage to the alluminum case but I wasn't able to find anyting online that is the right size.

Yeah the Copper modules run super hot; I likewise started looking through my assortment of heatsinks in the bits box for something I can shim in there