I spent my weekend (and some evenings) updating the OpenWrt build for the BPi-R2.
What I did:
- bumped Linux to 5.10.51
- updated U-Boot to 2021.04, many new features enabled
- colorful bootmenu and recovery vs. production dual-boot, just like on the R64 (but no PSTORE yet, not sure if that’s even possible with the old preloader)
- no more external scripts and helpers involved in build, all the magic happens in
- no more bootfs FAT partition – now that we have support for parsing uImage.FIT in Linux, there is no need to imitate this anti-pattern originating from the IBM PC and MSDOS…
- just like on the R64, bootdevice is auto-detected when accessing U-Boot environment from inside OpenWrt (
fw_printenvnow installed by default) and also
sysupgradeworks on both, eMMC and SD card, depending on what was used for booting.
What is not working yet:
- HDMI and multimedia features (@frank-w is working on that with upstream afaik)
- 2nd CPU port connected to MT7530 switch (making use of
- on-board IEEE802.11bgn 1T1R WiFi (no driver)
- Bluetooth (?)
- some LEDs are not mapped correctly (volunteers?)
- AHCI driver triggers some MSI related warnings, SATA seems to work nice anyway
You can download from https://downloads.openwrt.org/snapshots/targets/mediatek/mt7623/openwrt-mediatek-mt7623-bananapi_bpi-r2-sdcard.img.gz or build from source yourself if you want to give it a try.