Support for the BananaPi BPi-R3 is now available in vanilla OpenWrt since
boot log: https://termbin.com/de6q asciinema: https://asciinema.org/a/518024
Snapshot images are available for download at
https://downloads.openwrt.org/snapshots/targets/mediatek/filogic
To start using the R3 download openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz
and write the decompressed content of this file to a microSD card, e.g.
gzip -cd openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz | dd of=/dev/mmcblk0
You can run OpenWrt directly from the microSD card or use the bootloader menu in the serial console to install OpenWrt on either the SPI-NAND or the SPI-NOR flash chip (depending on the position of the physical switch on the board).
As microSD and eMMC cannot be accessed at the same time (and space on SPI-NOR is more scarce), the option to install to eMMC is only available when booting from SPI-NAND.
bootloader update required when updating from OpenWrt snapshots before 2023-06-06
Users running OpenWrt before commit 7a0ec001ff of 2023-06-06 (or on the openwrt-23.05 branch commit a65ec9fea7 of 2023-06-09) have to re-install from SD card or manually update the U-Boot bootloader.
For more information, see the page about the Bananapi BPI-R3 on the OpenWrt wiki
At this point working (will keep editing):
- all 4 boot methods incl. installation via U-Boot, sysupgrade, …
- copper LAN and WAN ports
- SFP1 (connected to MT7986A gmac1, eth1 in Linux, 1G and 2.5G modes supported)
- SFP2 (connected to MT7531 switch, sfp2 DSA user port in Linux, 1G and 2.5G modes supported)
- WiFi
- LEDs
- Buttons (
RST
clashes with M.2/NGFF slot on the back, at least on V1.0 board, hence disabled) - PSTORE/ramoops based dual-boot
- M.2/NGFF slot (PCIe x2) (using it breaks
RST
button on my V1.0 board though) - mPCIe slot (USB 2.0 works, SIM works, no actual PCIe signals connected to that slot)
- thermal zone using PWM0 to control 5V fan according the CPU temperature
- PWM1 on pin 7 of the 26-pin GPIO header
Edit: SFP2 is now fully supported since https://github.com/openwrt/openwrt/commit/bd6783f4fb8f6171927e9067c0005a6d69fc13fe
Edit: @frank-w tested SIM slot and it works.
Edit 2: Thermal zone and PWM now works
For now only the R3 board layout variant with two SFP cages is supported. The board layout variant with only one SFP cage and Airoha EN8811 2.5G PHY with PoE is unsupported (please provide hardware sample!).
BPi-R3 as tri-band router with AMD RZ608 MT7921K WiFi 6E + Bluetooth module for 6GHz band:
Bootlog with MT7921K WiFi 6E module, doing speed test with 2.5G SFP on both SFP ports: https://termbin.com/tvss