User Tools

Site Tools


hardwarerelated:raspberry_pi_4

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
hardwarerelated:raspberry_pi_4 [2019/08/12 14:50]
chris [benchmark results]
hardwarerelated:raspberry_pi_4 [2019/11/24 08:51] (current)
chris
Line 1: Line 1:
-==== sensors/addon list ====+==== Sensors/addon list ====
   * Raspberry Pi USB-C power supply 5,1V / 3,0A, EU   * Raspberry Pi USB-C power supply 5,1V / 3,0A, EU
   * Micro HDMI Adaptercable D-Stecker -A-Buchse 15cm schwarz   * Micro HDMI Adaptercable D-Stecker -A-Buchse 15cm schwarz
Line 11: Line 11:
   * 2.9" 296×128 ePaper Display Modul mit SPI Interface, dreifarbig (rot, schwarz, weiß) [[https://​www.berrybase.de/​raspberry-pi-co/​raspberry-pi/​module-sensoren/​2.9-296-215-128-epaper-display-modul-mit-spi-interface-dreifarbig-40-rot-schwarz-wei-223-4|link]] [[https://​www.waveshare.com/​wiki/​2.9inch_e-Paper_Module|docs]]   * 2.9" 296×128 ePaper Display Modul mit SPI Interface, dreifarbig (rot, schwarz, weiß) [[https://​www.berrybase.de/​raspberry-pi-co/​raspberry-pi/​module-sensoren/​2.9-296-215-128-epaper-display-modul-mit-spi-interface-dreifarbig-40-rot-schwarz-wei-223-4|link]] [[https://​www.waveshare.com/​wiki/​2.9inch_e-Paper_Module|docs]]
  
-==== first steps after booting ====+==== First steps after booting ====
 <​code>​ <​code>​
 # ssh pi@<​ip>​ # ssh pi@<​ip>​
Line 38: Line 38:
 ### Are we throttled? Anything else than 0 means "​yes"​ ### Are we throttled? Anything else than 0 means "​yes"​
 $ vcgencmd get_throttled $ vcgencmd get_throttled
 +
 +### temperature in prompt
 +$ export PS1='​\u@\h:'​`vcgencmd measure_temp|cut -b 6,​7`'​°C:​\w\$ '
 +
 +### firmware update
 +apt update ​
 +apt upgrade
 +apt install rpi-eeprom ​
 +rpi-eeprom-update
 </​code>​ </​code>​
  
-==== overheating ​issues ====+==== Overheating ​issues ====
   * My first use of the pi4 was in 32°C environment temperature,​ without passive or active cooling. After some minutes, the pi4 was no longer reachable via SSH.   * My first use of the pi4 was in 32°C environment temperature,​ without passive or active cooling. After some minutes, the pi4 was no longer reachable via SSH.
   * I had directly ordered a set of passive coolers with the pi4, I placed these 4 on the chips, but things got not much better.   * I had directly ordered a set of passive coolers with the pi4, I placed these 4 on the chips, but things got not much better.
Line 80: Line 89:
   * percentages:​ this assumes the Thinkpad values as 100%, and computes the other values on base of that.   * percentages:​ this assumes the Thinkpad values as 100%, and computes the other values on base of that.
   * RAM size is not important for the tests which were performed, less than 2GB were used.   * RAM size is not important for the tests which were performed, less than 2GB were used.
 +  * [[https://​fluxcoil.net/​project_ideas#​raspi4nintendo_switch_benchmarking|Further benchmarking ideas]]
   * sbc execution:   * sbc execution:
 <​code>​ <​code>​
Line 86: Line 96:
 </​code>​ </​code>​
  
-== other == +==== benchmarking future ==== 
-  * iperf upload ​via gbit port936 Mbits/sec bandwidth +  * power: need a usb-c power meter for that 
-  * iperf download via gbis port765 Mbits/sec Mbits/sec bandwidth+    * then compute how much electrical power is required for certain operations. 
 +  * GPU: 
 +    * would be especially interesting to also compare various 3D driver implementations. For example, 3D benchmarks running on horizon (Nintendos OS) and also on Linux/​switch. 
 +    * It's hard to only measure the GPU. It's also a question of how good the 3D drivers are. 
 +    * Benchmarks should include retro game emulation. Simply because it's a common use case for pi4 and switch/​Linux. bsnes and snes9x? 
 +      * free snes rom? 
 +    * geekbench 
 + 
 +==== using 2.9“ 296×128 ePaper Display Modue/SPI Interface ==== 
 +My initial problem, I did not get any output from the device. After recompiling the demo-app with DEBUG, I got this: 
 +<​code>​ 
 +chris@raspberrypi:​~/​rpi/​RaspberryPi/​bcm2835 $ sudo ./epd  
 +2.9inch e-Paper demo 
 +bcm2835 init success !!!  
 +Debug: e-Paper busy 
 +^C 
 +Handler:​Goto Sleep mode 
 +chris@raspberrypi:​~/​rpi/​RaspberryPi/​bcm2835 $  
 +</​code>​ 
 +Tried out: 
 +  * Ensure that spi devices are activated in /​boot/​config.txt:​ "​dtparam=spi=on"​ 
 +  * running rpi-update 
 +  * updating kernel and system with "​apt-get update; apt-get dist-upgrade"​ 
 +  * doublechecking the connected pins 
 +  * running raspi-config,​ to activate SPI 
 +  * https://​www.waveshare.com/​wiki/​2.9inch_e-Paper_Module https://​www.waveshare.com/​w/​upload/​9/​98/​2.9inch-e-paper-module-user-manual-en.pdf 
 +  * The code from the upstream git repo works for me: 
 +<​code>​ 
 +git clone https://​github.com/​waveshare/e-Paper 
 +cd e-Paper/​RaspberryPi&​JetsonNano/​c 
 +vi examples/​main.c 
 +#   // EPD_2in9_test();​ 
 +#   // EPD_2in9bc_test();​ 
 +#   ​EPD_2in9d_test();​ 
 + 
 +# and then run '​epd'​ 
 +sudo ./epd 
 +# this finally works for me 
 +</​code>​ 
 + 
 +==== further ==== 
 +  * [[http://retroflag.com/​|retroflag]] cases do not support raspi4 as of 2019-09
hardwarerelated/raspberry_pi_4.1565614215.txt · Last modified: 2019/08/12 14:50 by chris