User Tools

Site Tools



en:bpi-r4: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
en:bpi-r4:start [2024/04/21 13:25] – [GPIO] franken:bpi-r4:start [2024/05/07 07:56] (current) – [Network] frank
Line 31: Line 31:
  
 {{:en:bpi-r4:bpi-r4_v1.1_top.jpg?direct&400 |}} {{ :en:bpi-r4:bpi-r4_v1.1_bottom.jpg?direct&400|}} {{:en:bpi-r4:bpi-r4_v1.1_top.jpg?direct&400 |}} {{ :en:bpi-r4:bpi-r4_v1.1_bottom.jpg?direct&400|}}
 +
 +
 +
 ===== thermal ===== ===== thermal =====
 +
 +  cat /sys/class/thermal/thermal_zone0/temp
  
 Uses lvts driver Uses lvts driver
Line 80: Line 85:
  
 NETSYS: V2 for mt7986 (bpi-r3) V3 for mt7988 (bpi-r4) NETSYS: V2 for mt7986 (bpi-r3) V3 for mt7988 (bpi-r4)
 +
 +Daniel tells me that lro should be enabled via userspace with
 +
 +  ethtool -N $ifname flow-type tcp4 dst-ip $lan_ip loc 0
 ==== Wifi ==== ==== Wifi ====
  
Line 144: Line 153:
 root@bpi-r4-v11:~ root@bpi-r4-v11:~
 # echo 1 > /sys/devices/platform/gpio-leds/leds/green:status/brightness # echo 1 > /sys/devices/platform/gpio-leds/leds/green:status/brightness
 +root@bpi-r4-v11:~
 +</code>
 +
 +===== rtc =====
 +
 +Battery connection looks like charging circuit for ml2032. You should not connect non-rechargeable battery like cr2032.
 +
 +https://forum.banana-pi.org/t/bpi-r3-bpi-r4-does-the-bpi-r3-r4-have-a-rtc/17763/36
 +
 +Connector is JST with 1.25mm pitch
 +
 +RTC time will survive software reboot
 +<code>
 +# dmesg | grep rtc
 +[    1.479923] rtc-pcf8563 2-0051: low voltage detected, date/time is not reliable.
 +[    1.487390] rtc-pcf8563 2-0051: registered as rtc0
 +[    1.493378] rtc-pcf8563 2-0051: low voltage detected, date/time is not reliable.
 +[    1.500771] rtc-pcf8563 2-0051: hctosys: unable to read the hardware clock
 +root@bpi-r4-v11:~
 +# date -s "2024-04-27 09:55 CEST"
 +Sat Apr 27 07:55:00 UTC 2024
 +root@bpi-r4-v11:~
 +# hwclock -w
 +root@bpi-r4-v11:~
 +# hwclock -r
 +2024-04-27 07:56:23.979830+00:00
 +root@bpi-r4-v11:~
 +# reboot
 +...
 +root@bpi-r4-v11:~
 +# dmesg | grep rtc
 +[    1.480067] rtc-pcf8563 2-0051: registered as rtc0
 +[    1.486061] rtc-pcf8563 2-0051: setting system clock to 2024-04-27T07:56:53 )
 +root@bpi-r4-v11:~
 +# date
 +Sat Apr 27 08:00:46 UTC 2024
 root@bpi-r4-v11:~ root@bpi-r4-v11:~
 </code> </code>
Line 151: Line 196:
 currently use these: currently use these:
  
-  * uboot: https://github.com/frank-w/u-boot/tree/2023-10-bpi+  * uboot: https://github.com/frank-w/u-boot/tree/2024-04-bpi
   * ATF: https://github.com/frank-w/u-boot/tree/mtk-atf   * ATF: https://github.com/frank-w/u-boot/tree/mtk-atf
  
en/bpi-r4/start.1713698742.txt.gz · Last modified: 2024/04/21 13:25 by frank