We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Dear All,
I am using a raspberry pi B+ that uses a Broadcom BCM2837 SoC with an ARMV8 processor. I want to get the cpu temperature in a Linux kernel file. Like in x86, I can use rdmsr_on_cpu function to load the temperature from MSR_IA32_THERM_STATUS register. But I don't know how to do it on Arm, can someone please guide me?
Any help would be greatly appreciated.
Sincerely,
ZT