Querying HW info

New RockPi4 user here…

How does one query info about the HW on the RockPi 4?
chip info/processor, etc?
/proc/cpuinfo doesn’t provide the usual Hardware/Revision/Model, but has serial#
On RaspberryPI we have vcgencmd for voltages/speeds/throttling, but that isn’t present.
I found dmidecode, but that doesn’t seem to be supported.

Are the other tools that provide this type of info?

While searching around I came across this log output from U-Boot, what dumps this stuff out?

Thanks in advance.

U-Boot 2017.09-00004-g674eaa57f0-dirty (Oct 27 2019 - 17:45:25 -0700)

Model: Rockchip RK3399 rockpi4b Board
PreSerial: 2
DRAM:  3.9 GiB
Relocation Offset is: f5bdf000
Sysmem: init
I2c speed: 400000Hz
PMIC:  RK808
vdd-center init 950000 uV
MMC:   dwmmc@fe320000: 1, sdhci@fe330000: 0
Using default environment
sudo watch -n 1  cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq

cat /sys/class/thermal/thermal_zone*/temp

dmidecode is x86/EFI isn’t it?

But /proc & /sys Dmesg

1 Like

Does RockPi throttle CPU based on load?
Is there any tool that shows that info?
What about voltages?

Any clue what dumps that U-Boot info in the log?

All CPUs do that - if not, failsafe temp switch them off if they reach critical temperature. Check https://github.com/ThomasKaiser/sbc-bench

… it is not necessary that you will see that in the kernel logs.

Yeah I’m familiar with dmesg, and whatnot.

Essentially, everyone is saying there is no tool for RockPi’s that shows the current throttling states, HW Info, revisions, etc, it seems.

Over in the RaspberryPi world, there are several tools and scripts folks have written, as well as package management HW info hooks and the like to make it easier for projects to detect and tune their install appropriately.
I guess that is a need that someone may fill eventually.

I was curious about the boot-up sequence, in case there was some tool that is being used to dump the HW info, which could then be leveraged for other needs, but I guess that stuff is all hard coded into the kernel itself?
Ah well.

sudo watch -n 1 cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq

Sure and memorize what the max is, which core is which, and the like.
That works on RaspberryPis too.
That isn’t really a tool, just a method to get current info.

Here is a Pi script output for reference:

Status: 0x0
Undervolted:
   Now: NO
   Run: NO
Throttled:
   Now: NO
   Run: NO
Frequency Capped:
   Now: NO
   Run: NO

And a tool showing specifics at a glance:

That is the kind of thing I am asking about, tools to assess the current HW states with dynamic info specific to the HW.