User Tools

Site Tools



en:bpi-r2pro: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-r2pro:start [2023/04/16 16:04] – [hardware] franken:bpi-r2pro:start [2024/02/17 13:49] frank
Line 26: Line 26:
     * v00:RTL8367RB-VB-CG Switch chip ([[https://drive.google.com/drive/folders/1EruavDemzSxQUi7GbHw8AMbC8nplEjKF|datasheet]])     * v00:RTL8367RB-VB-CG Switch chip ([[https://drive.google.com/drive/folders/1EruavDemzSxQUi7GbHw8AMbC8nplEjKF|datasheet]])
       * gmac1/eth0 - only for lan-ports (wan-port directly connected to gmac0/eth1 via RTL8211 PHY)       * gmac1/eth0 - only for lan-ports (wan-port directly connected to gmac0/eth1 via RTL8211 PHY)
-    * 1.0: mt7531be chip ([[https://drive.google.com/file/d/1aVdQz3rbKWjkvdga8-LQ-VFXjmHR8yf9/view?usp=sharing|datasheet]])+    * 1.0: MT7531BE chip ([[https://drive.google.com/file/d/1aVdQz3rbKWjkvdga8-LQ-VFXjmHR8yf9/view?usp=sharing|datasheet]])
       * vendor provides phy driver,dsa driver mainline but will need some changes       * vendor provides phy driver,dsa driver mainline but will need some changes
       * gmacs now swapped (gmac1 for wan,gmac0 with switch for lan)       * gmacs now swapped (gmac1 for wan,gmac0 with switch for lan)
Line 57: Line 57:
 https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/16952/8 https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/16952/8
  
-I have merged v8 to my repo here (only compilation tested yet):+I have merged v11 to my repo here (only compilation tested yet):
  
 https://github.com/frank-w/u-boot/tree/rk-atf https://github.com/frank-w/u-boot/tree/rk-atf
Line 97: Line 97:
     append earlycon=uart8250,mmio32,0xfe660000 console=tty1 fbcon=map:0 console=ttyS2,1500000n8     append earlycon=uart8250,mmio32,0xfe660000 console=tty1 fbcon=map:0 console=ttyS2,1500000n8
 </code> </code>
 +
 +This is about to be changed with this u-boot patch series: https://patchwork.ozlabs.org/project/uboot/patch/20230409084454.v9.8.I4cf7708a1ba953b9abd81375d93af34665c7b251@changeid/
 +
 +So i'm adding fit booting and builtin env like for r64 and r3 for 2023.07+
 +
 +  BPI-R2PRO> ls $device $partition
 +  BPI-R2PRO> setenv fit bpi-r2pro-netnext.itb
 +  BPI-R2PRO> run buildargs
 +  BPI-R2PRO> fatload $device $partition $loadaddr $fit
 +  10845897 bytes read in 937 ms (11 MiB/s)
 +  BPI-R2PRO> bootm $loadaddr
 +
 +R2pro will be supprted as own board in uboot 2024.01.
 +
 +Pcie is usable too,but needs manual enabling regulators
 +
 +https://www.mail-archive.com/u-boot@lists.denx.de/msg488399.html
 +
 +
 +=== tftp ===
 +
 +  run buildargs
 +  tftp $loadaddr 192.168.0.10:6.6-main-bpi-r2pro.itb
 +  bootm $loadaddr
 ==== barebox ==== ==== barebox ====
 alternative to uboot as bootloader, supports ethernet/tftp-boot (wan-port only due to missing switch driver) alternative to uboot as bootloader, supports ethernet/tftp-boot (wan-port only due to missing switch driver)
Line 135: Line 159:
  
 Started my own work here: https://github.com/frank-w/BPI-R2-4.14/tree/5.16-next2 Started my own work here: https://github.com/frank-w/BPI-R2-4.14/tree/5.16-next2
 +
 +=== thermal ===
 +
 +  root@bpi-r2pro:~# cat /sys/class/thermal/thermal_zone0/temp                                                                               
 +  37222                                                                                                                                     
 +  root@bpi-r2pro:~# cat /sys/class/thermal/thermal_zone1/temp                                                                               
 +  35000 
  
 === Network === === Network ===
Line 175: Line 206:
   # mount -t debugfs none /sys/kernel/debug/   # mount -t debugfs none /sys/kernel/debug/
   # cat /sys/kernel/debug/gpio   # cat /sys/kernel/debug/gpio
-  # cat /sys/kernel/debug/pinctrl+  # cat /sys/kernel/debug/pinctrl/pinctrl-handles
   # cat /sys/kernel/debug/regulator/regulator_summary   # cat /sys/kernel/debug/regulator/regulator_summary
 +  # cat /sys/kernel/debug/clk/clk_summary
  
 === other === === other ===
en/bpi-r2pro/start.txt · Last modified: 2024/04/27 20:21 by frank