Skip to content

Instantly share code, notes, and snippets.

@mamemomonga
Created July 20, 2019 05:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mamemomonga/aed165874dc686caf09a0c470df24398 to your computer and use it in GitHub Desktop.
Save mamemomonga/aed165874dc686caf09a0c470df24398 to your computer and use it in GitHub Desktop.
Debian buster Raspberry Pi(arm64) で vcgencmd を使えるようにする方法

Debian buster Raspberry Pi(arm64) で vcgencmd を使えるようにする方法

Ubuntu arm64のパッケージを入れる

$ wget https://launchpad.net/~ubuntu-raspi2/+archive/ubuntu/ppa/+files/libraspberrypi0_1.20161003.2350bf2-1_arm64.deb
$ wget https://launchpad.net/~ubuntu-raspi2/+archive/ubuntu/ppa/+files/libraspberrypi-bin_1.20161003.2350bf2-1_arm64.deb
$ dpkg -i libraspberrypi0_1.20161003.2350bf2-1_arm64.deb
$ dpkg -i libraspberrypi-bin_1.20161003.2350bf2-1_arm64.deb

vcgencmd get_config int

概要 コマンド
コマンドリスト vcgencmd commands
config情報 vcgencmd get_config int
ファームウェアのバージョン vcgencmd version
CPU温度 vcgencmd measure_temp
CPU動作周波数 vcgencmd measure_clock arm
CPU動作電圧 vcgencmd measure_volts
ARMメモリ vcgencmd get_mem arm
GPUメモリ vcgencmd get_mem gpu
フレームバッファ vcgencmd get_lcd_info

参考: https://l-w-i.net/t/raspbian/hard_001.txt

温度とクロックの監視

$ while true; do vcgencmd measure_clock arm; vcgencmd measure_temp; sleep 1; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment