Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add support for bpi r3 mini#1407

Open
mattiaswal wants to merge 4 commits intomain from
add-support-for-bpi-r3-mini
Open

Add support for bpi r3 mini #1407
mattiaswal wants to merge 4 commits intomain from
add-support-for-bpi-r3-mini

Conversation

@mattiaswal
Copy link
Contributor

@mattiaswal mattiaswal commented Feb 19, 2026

Description

Checklist

Tick relevant boxes, this PR is-a or has-a:

  • Bugfix
    • Regression tests
    • ChangeLog updates (for next release)
  • Feature
    • YANG model change => revision updated?
    • Regression tests added?
    • ChangeLog updates (for next release)
    • Documentation added?
  • Test changes
    • Checked in changed Readme.adoc (make test-spec)
    • Added new test to group Readme.adoc and yaml file
  • Code style update (formatting, renaming)
  • Refactoring (please detail in commit messages)
  • Build related changes
  • Documentation content changes
    • ChangeLog updated (for major changes)
  • Other (please describe):

This is a simple two port router board, with the same
WiFi chips as BPI-r3.
The bootloader shall be the same as the BPI-r3, the bootloader
now probes which of the two is booting by checking for the PHYS
that only exist on BPI-r3-mini.
The important part is that it needs a special flow to go from
vendor firmware to Infix.
$? needs to be $$? inside a make rule to expand the
bash variable.
@mattiaswal mattiaswal marked this pull request as ready for review February 20, 2026 08:49
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for the Banana Pi BPI-R3 Mini board, which shares the same SoC and bootloader as the BPI-R3 but has key hardware differences including an EN8811H Ethernet PHY instead of a switch.

Changes:

  • Added runtime board variant detection in U-Boot to differentiate between BPI-R3 and BPI-R3 Mini
  • Integrated Airoha EN8811H PHY driver with firmware loading support from MMC partition
  • Added device tree and configuration files for BPI-R3 Mini

Reviewed changes

Copilot reviewed 27 out of 29 changed files in this pull request and generated no comments.

Show a summary per file
File Description
utils/mkimage.sh Adds EN8811H firmware image preparation functions
test/test.mk Fixes shell variable escaping in test command
patches/uboot/2025.01/0007-bpi-r3-r4-Add-probe-for-specific-model.patch Adds U-Boot board detection code for BPI-R3/R3-mini/R4 variants
patches/uboot/2025.01/0006-Add-bpi-r3-mini-device-tree.patch Adds BPI-R3 Mini device tree to U-Boot
patches/uboot/2025.01/0005-net-phy-Add-the-Airoha-EN8811H-PHY-driver.patch Adds Airoha EN8811H PHY driver to U-Boot
patches/uboot/2025.01/0004-arm-dts-at91-sama7g5ek-supports-high-speed-on-mmc0-e.patch Enables eMMC high-speed capabilities for sama7g5ek
patches/uboot/2025.01/0003-arm-dts-at91-sama7g5ek-increase-clock-for-sdmmc-from.patch Increases SDMMC clock frequency for sama7g5ek
patches/uboot/2025.01/0002-add-rpidisplay-check.patch Adds RPi display detection command
patches/uboot/2025.01/0001-hush-Remove-Ctrl-C-detection-in-loops.patch Removes Ctrl-C detection in shell loops
doc/ChangeLog.md Documents BPI-R3 Mini support addition
configs/bpi_r3_emmc_boot_defconfig Enables Airoha EN8811H firmware in buildroot config
buildroot Updates buildroot submodule reference
board/aarch64/bananapi-bpi-r3/uboot/mt7986-env.dtsi Adds EN8811H firmware environment variables
board/aarch64/bananapi-bpi-r3/uboot/extras.config Enables EN8811H PHY driver and multi-DTB fit support
board/aarch64/bananapi-bpi-r3/rootfs/usr/share/product/bananapi,bpi-r3mini/etc/udev/rules.d/90-bpi-r3-mini-rename-ethernet.rules Adds udev rules for BPI-R3 Mini ethernet naming
board/aarch64/bananapi-bpi-r3/rootfs/usr/share/product/bananapi,bpi-r3mini/etc/product/init.d/S01-trigger-udev.sh Adds init script for triggering udev events
board/aarch64/bananapi-bpi-r3/rootfs/usr/share/product/bananapi,bpi-r3mini/etc/factory-config.cfg Adds factory configuration for BPI-R3 Mini
board/aarch64/bananapi-bpi-r3/genimage.cfg.in Adds EN8811H firmware partition to image layout
board/aarch64/bananapi-bpi-r3/dts/mediatek/mt7986a-bananapi-bpi-r3.dtsi Removes upstream include to avoid duplication
board/aarch64/bananapi-bpi-r3/dts/mediatek/mt7986a-bananapi-bpi-r3-sd.dts Restores upstream include for SD variant
board/aarch64/bananapi-bpi-r3/dts/mediatek/mt7986a-bananapi-bpi-r3-mini.dtsi Adds device tree include for BPI-R3 Mini
board/aarch64/bananapi-bpi-r3/dts/mediatek/mt7986a-bananapi-bpi-r3-mini.dts Adds complete device tree for BPI-R3 Mini with PHY overrides
board/aarch64/bananapi-bpi-r3/dts/mediatek/mt7986a-bananapi-bpi-r3-emmc.dts Restores upstream include for eMMC variant
board/aarch64/bananapi-bpi-r3/dts/Makefile Adds BPI-R3 Mini device tree to build
board/aarch64/bananapi-bpi-r3/bananapi-bpi-r3.mk Enables EN8811H PHY kernel module
board/aarch64/bananapi-bpi-r3/README.md Updates documentation for BPI-R3 Mini installation
board/aarch64/bananapi-bpi-r3/Config.in Adds Airoha EN8811H firmware dependency

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot Copilot left review comments

@troglobit troglobit Awaiting requested review from troglobit

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

Comments

AltStyle によって変換されたページ (->オリジナル) /