User Tools

Site Tools



en:bpi-r3:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
en:bpi-r3:start [2023/04/15 14:19] – [partition layout] franken:bpi-r3:start [2024/03/25 18:07] – [Network connections] frank
Line 62: Line 62:
  
   mount -t debugfs none /sys/kernel/debug/   mount -t debugfs none /sys/kernel/debug/
-  cat /sys/kernel/debug/sfp1/state+  ethtool -m eth1 
 +  cat /sys/kernel/debug/sfp*/state
  
-Some sfp are still not recognized (e.g. gpon).+Some sfp are still not recognized (e.g. gpon).maybe quirks are needed.
  
 After some phylink-conversion there are some issues with 2g5 sfp on left sfp/eth1. A workaround is disabling autoneg on the interface After some phylink-conversion there are some issues with 2g5 sfp on left sfp/eth1. A workaround is disabling autoneg on the interface
Line 71: Line 72:
  
 Left sfp does not support vlan in linux 6.1 because tag is stripped. Left sfp does not support vlan in linux 6.1 because tag is stripped.
 +
 +Power: "All SFP power supplies are connected to the system VDD33" which is 3v3/8A [[https://forum.banana-pi.org/t/banana-pi-bpi-r3-router-board-with-mediatek-mt7986-filogic-830-support-wi-fi-6-6e-2-5gbe-sfp/12933/31|source]] [[https://forum.banana-pi.org/t/bpi-r3-support-for-sfp-vdsl-modem/15320/5|Dts patch from Daniel]] I sent 3W patch to ML...
  
 == compatibility == == compatibility ==
Line 84: Line 87:
   ethtool -s eth1 autoneg off   ethtool -s eth1 autoneg off
   ethtool -s lan4 autoneg off   ethtool -s lan4 autoneg off
 +
 +Eric works on phy driver which looks very good now for 6.6 (6.5-next),but now yet posted upstream.
  
 === WIFI === === WIFI ===
Line 94: Line 99:
  
 Antenna order by band (5g in corners): https://forum.banana-pi.org/t/how-to-mount-the-antenna-to-the-box/14429/15 Antenna order by band (5g in corners): https://forum.banana-pi.org/t/how-to-mount-the-antenna-to-the-box/14429/15
 +
 +WED (wireless dispatch - hw offloading):
 +
 +https://forum.banana-pi.org/t/wed-and-beamforming-on-bpi-r3/15099/16
 +
 +> You need to edit /etc/modules.conf to enable WED. Add a line as follow:
 +> options mt7915e wed_enable=Y
 +
 +
 +  zgrep 'WED' /proc/config.gz
 +  lsmod
 +  cat /sys/module/mt7915e/parameters/wed_enable
 +  conntrack -L #should show HW_OFFLOAD when traffic is offloaded
 +  cat /sys/kernel/debug/ppe*/bind #should show BND (same for entries file)
 +  
 +Example configs: https://forum.banana-pi.org/t/hostapd-wifi-speed-not-reach-the-maximum-in-debian11/17642/14
 ==== USB / PCIe ==== ==== USB / PCIe ====
  
Line 168: Line 189:
  
 ^      SD  ^  eMMC  ^ ^      SD  ^  eMMC  ^
-^ gpt |  -  |  0-33  | 
 ^ bl2 |  34 - 8191  |  in boot0  | ^ bl2 |  34 - 8191  |  in boot0  |
 ^ u-boot-env |  8192 - 9215  || ^ u-boot-env |  8192 - 9215  ||
Line 227: Line 247:
 === Emmc partition creation === === Emmc partition creation ===
  
-Todo...+Todo...currently only via linux initrd from nor/usb
  
 It is possible to create gpt in uboot. Example for rk3568: It is possible to create gpt in uboot. Example for rk3568:
Line 254: Line 274:
  
 <code> <code>
-setenv partitions "uuid_disk=${uuid_gpt_disk};name=gpt,start=0,size=34,uuid=${uuid_gpt_table};name=u-boot-env,start=8192,size=1024,uuid=${uuid_gpt_env};name=factory,start=9216,size=4096,uuid=${uuid_gpt_factory}; +setenv partitions "uuid_disk=${uuid_gpt_disk};name=gpt,start=0,size=34,uuid=${uuid_gpt_table};name=u-boot-env,start=8192,size=1024,uuid=${uuid_gpt_env};name=factory,start=9216,size=4096,uuid=${uuid_gpt_factory};name=fip,start=13312,size=4096,uuid=${uuid_gpt_fip};name=kernel,size=100M,uuid=${uuid_gpt_kernel};name=rootfs,size=0,uuid=${uuid_gpt_rootfs}"
-name=fip,start=13312,size=4096,uuid=${uuid_gpt_fip};name=kernel,size=100M,uuid=${uuid_gpt_kernel};name=rootfs,size=0,uuid=${uuid_gpt_rootfs}"+
 </code> </code>
  
Line 288: Line 307:
  
 === openwrt === === openwrt ===
 +
 +configuration: [[openwrt]]
  
 https://git.openwrt.org/openwrt/openwrt.git https://git.openwrt.org/openwrt/openwrt.git
Line 295: Line 316:
  
 Or using firmware selector (currently only snapshot): https://firmware-selector.openwrt.org/ (adding luci-ssl) Or using firmware selector (currently only snapshot): https://firmware-selector.openwrt.org/ (adding luci-ssl)
 +
 +changing to kernel 6.1: https://forum.banana-pi.org/t/wed-and-beamforming-on-bpi-r3/15099/37
  
 Install: https://forum.banana-pi.org/t/install-openwrt-snapshot-on-bpi-r3/14231/7?u=frank-w Install: https://forum.banana-pi.org/t/install-openwrt-snapshot-on-bpi-r3/14231/7?u=frank-w
Line 306: Line 329:
 https://forum.banana-pi.org/t/bpi-r3-change-or-add-partion-to-overlay/14240/12 https://forum.banana-pi.org/t/bpi-r3-change-or-add-partion-to-overlay/14240/12
 https://forum.banana-pi.org/t/cannot-resize-my-root-partition-on-bpi-r3/13937/5 https://forum.banana-pi.org/t/cannot-resize-my-root-partition-on-bpi-r3/13937/5
 +
 +Modifications from user va1der: https://forum.banana-pi.org/t/bpi-r3-openwrt-whats-the-best-way-to-use-the-rest-of-my-space-on-my-sd-card/15675/10
 +
 +parted way from user ned14: https://forum.banana-pi.org/t/bpi-r3-openwrt-23-05-0-how-to-extend-production-partition/16572/4
  
 === debian === === debian ===
en/bpi-r3/start.txt · Last modified: 2024/04/23 12:31 by frank