User Tools

Site Tools


Translations of this page:

en:bpi-r3:start

This is an old revision of the document!


BananaPi R3

Hardware

  • mt7986a SoC
  • mt7531 Ethernet-switch

bootmedium

  • SD / eMMC sharing 1 mmc-controller in SoC
    • SD 4bit bus, eMMC 8bit
    • switched first 4 data-lanes by sw6 (bottom)
  • SPI NAND/NOR sharing SPI0-Bus
    • CS switched by sw5

sw2 on top of board near debug-uart chooses between SPI and MMC

Network connections

gmac1----(p6)mt7531(P1-4)--LANx4
                     (P0)----WAN
                     (p5)---right SFP slot
gmac2----left SFP slot

https://forum.banana-pi.org/t/bpi-r3-information/12897/4

SFP

We have both sfp recognized and working

mount -t debugfs none /sys/kernel/debug/
cat /sys/kernel/debug/sfp1/state

WIFI

USB / PCIe

mPCIe slot is usb-only with SIM connector (bottom of board). PCIe is mapped to m.2 key-m slot for nvme SSD

Sata possible via M.2 KEY-M 2lane interface on bottom side of board

I tested mpcie slot with an em7455 LTE module (+key b adapter)

GPIO

Software

partition layout

32MB kernel/256MB root: gpt_sd-20220216.bin

create own partition table: (currently i try to port to python3,but get crc error, so only python2-support):

https://github.com/frank-w/BPI-R3-bsp/tree/r3-atf/tools/mediatek/gpt_editor

(cd tools/mediatek/gpt_editor/;python mtk_gpt.py --i example/mt7986-sd.json --o GPT_SD)

Created a gpt with 100mb kernel+6GB root partition with an python2 venv

https://github.com/frank-w/BPI-R3-bsp/blob/r3-atf/gpt_sdmmc_100m6g.img

atf / u-boot

linux

patches for mt7986

Own repo: https://github.com/frank-w/BPI-R2-4.14/commits/5.19-r3

./build.sh importconfig
./build.sh #build kernel

Then copy bpi-r3.itb to card and start from uboot with commands listed above (setenv, fatload, bootm)

openwrt

debian

root@bpi-r3:~# date -s "2022-09-18 18:02:00+0200"
root@bpi-r3:~# ip link set lan4 up
root@bpi-r3:~# ip addr add 192.168.0.19/24 dev lan4       
root@bpi-r3:~# ip route add default via 192.168.0.10     
root@bpi-r3:~# apt update
root@bpi-r3:~# apt install pciutils usbutils traceroute iperf3 net-tools psmisc wget curl

issues

V1.0:

  • reset switch low/pressed when card in m2 slot (link)

V1.1:

  • wifi is not recognized when debug-uart connected (link)
    • bpi reports only affects profilic adapters, ch340,cp2102,FT4232 are ok (link)
  • reset-bug still there
    • is reported to be fixed in v1.2 (untested)
  • dual-nor (no nand) reported by 1 user link
en/bpi-r3/start.1670148286.txt.gz · Last modified: 2023/06/08 17:06 (external edit)