Skip to content

Commit

Permalink
WIP: mediatek: add bpi-r3-mini
Browse files Browse the repository at this point in the history
What works:
 * Ethernet with Airoha EN8811H PHYs
 * WiFi
 * USB
 * booting from SPI-NAND
 * PWM fan
 * CPU thermal sensor
 * LEDs
 * reset button

What doesn't work:
 * booting from eMMC (typo somewhere in U-Boot patch probably)

Untested:
 * M.2 NVMe (PCIe)
 * M.2 LTE modem (USB 3)

Partially based on immortalwrt support for the R3 mini, big thanks for
doing the ground work!
  • Loading branch information
dangowrt committed Jan 31, 2024
1 parent 2ea3475 commit a0a46d5
Show file tree
Hide file tree
Showing 6 changed files with 705 additions and 0 deletions.
1 change: 1 addition & 0 deletions package/boot/uboot-envtools/files/mediatek_filogic
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ asus,rt-ax59u)
ubootenv_add_uci_config "/dev/mtd0" "0x100000" "0x20000" "0x20000"
;;
bananapi,bpi-r3|\
bananapi,bpi-r3-mini|\
bananapi,bpi-r4)
. /lib/upgrade/platform.sh

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ unielec,u7623-02)
fw_setenv ethaddr "$(cat /sys/class/net/eth0/address)"
;;
bananapi,bpi-r3)
bananapi,bpi-r3-mini)
[ -z "$(fw_printenv -n ethaddr 2>/dev/null)" ] &&
fw_setenv ethaddr "$(cat /sys/class/net/eth0/address)"
[ -z "$(fw_printenv -n eth1addr 2>/dev/null)" ] &&
Expand Down
Loading

0 comments on commit a0a46d5

Please sign in to comment.