MilhouseVH / bcmstat

Simple Raspberry Pi monitoring tool
GNU General Public License v2.0
263 stars 36 forks source link

Incorrect board and memory detection #22

Open vcheburkin opened 3 years ago

vcheburkin commented 3 years ago

On PI 4B/4GB RAM:

root@localhost:bin# ./bcmstat.sh
  Config: v0.5.5, args "", priority lowest (+19)
   Board: 4 x  cores available, ondemand governor (Pi1 Model B rev 1.1, BCM2835 SoC with 256MB RAM by Sony UK)
  Memory: 1014MB (split 998MB ARM, 16MB GPU) plus 1913MB Swap
HW Block: |   ARM   |  Core  |  H264  |    SDRAM    |
Min Freq: |  600MHz | 250MHz |   0MHz |   3200MHz   |
Max Freq: | 1800MHz | 500MHz | 500MHz |   3200MHz   |
Voltages: |        +2, 0.9188V        | +0, 1.2000V |
   Other: temp_limit=85
Firmware: Oct 8 2020 16:53:11, version 98d4a47662dd4fe24f8637651a89a83665d99675 (clean) (release) (start_cd)
  Codecs: none
  Booted: Mon Dec 21 14:29:31 2020
inspector71 commented 11 months ago

FWIW, I have a Pi4 B with 4GB RAM and whilst the board is correctly identified, the "Memory" line seems to think the board maybe only has 1GB RAM:

  Config: v0.5.5, args "", priority lowest (+19)
   Board: 4 x ARMv7 cores available, ondemand governor (Pi4 Model B rev 1.2, BCM2838 SoC with 4GB RAM by Sony UK)
  Memory: 1023MB (split 511MB ARM, 512MB GPU)
HW Block: |   ARM   |  Core  |  H264  |    SDRAM    |
Min Freq: |  600MHz | 250MHz |   0MHz |   3180MHz   |
Max Freq: | 1500MHz | 500MHz | 500MHz |   3180MHz   |
Voltages: |         0, 0.8438V        |  0, 1.2000V |
   Other: temp_limit=85
Firmware: Jun 26 2020 14:49:28, version b078012603a6a094178f959805996ad225a0d83b (clean) (release) (start_x)
  Codecs: H264 VP8 VP6 VORB THRA MJPG FLAC PCM
  Booted: Mon Jan  1 15:13:04 2024

The 511 / 512 split is due to me trying that in config.txt with gpu_mem=512 so that is correct.

Alas, our posts are 3 years apart and it would seem @MilhouseVH is not actively working on this cool script because the version has not changed in that time.