Rasberry Pi: Difference between revisions

From Smithnet Wiki
Jump to navigation Jump to search
Line 15: Line 15:
  dphys-swapfile swapoff
  dphys-swapfile swapoff


Edit /etc/dphys-swapfile, eg 1GB:
Edit /etc/dphys-swapfile, eg 1 GB:
  CONF_SWAPSIZE=1024  
  CONF_SWAPSIZE=1024  


Line 27: Line 27:
In config.txt, set for PAL (UK):
In config.txt, set for PAL (UK):
* sdtv_mode=2
* sdtv_mode=2
=== Temperature ===
Divide value by 1000 to get temp in C:
* /sys/class/thermal/thermal_zone0/temp
CPU Core throttling above 80 C.

Revision as of 10:36, 25 April 2024

Device

Windows IOT

Rasberry Pi OS

See /boot/firmware/config.txt.

Change swap

dphys-swapfile swapoff

Edit /etc/dphys-swapfile, eg 1 GB:

CONF_SWAPSIZE=1024 
dphys-swapfile setup
dphys-swapfile swapon

Composite Video

Note: CVBS is on sleve; Gnd is ring 3.

In config.txt, set for PAL (UK):

  • sdtv_mode=2

Temperature

Divide value by 1000 to get temp in C:

  • /sys/class/thermal/thermal_zone0/temp

CPU Core throttling above 80 C.