6.1.11 doesn't have thermal info.

Discussion about U-Boot and the kernel.

Re: 6.1.11 doesn't have thermal info.

Postby davep » Sun Feb 12, 2023 6:12 pm

$this->bbcode_second_pass_code('', '# find /sys -name 'temp1_input'
/sys/devices/w1_bus_master1/28-00000330dd13/hwmon/hwmon2/temp1_input
/sys/devices/w1_bus_master1/28-000003c215b8/hwmon/hwmon0/temp1_input')
These are DS18B20 "1-wire" temperature probes which are connected to the GPIO pins on the Pi.
davep
 
Posts: 10
Joined: Tue Jun 25, 2019 12:24 pm

Re: 6.1.11 doesn't have thermal info.

Postby Babets » Sun Feb 12, 2023 8:00 pm

@graysky with my raspberry pi 2 I got all the same results as davep, except for the last "find /sys -name 'temp1_input'" output as I don't have an external temp sensor.
Babets
 
Posts: 2
Joined: Sat Feb 11, 2023 8:11 pm

Re: 6.1.11 doesn't have thermal info.

Postby graysky » Mon Feb 13, 2023 12:40 pm

I do not have RPi2 or RPi3 for testing. I am thinking this must be a kernel config issue. Do either of you have anything custom in /boot/config.txt?
graysky
Developer
 
Posts: 1731
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: 6.1.11 doesn't have thermal info.

Postby davep » Mon Feb 13, 2023 1:49 pm

Here is the config.txt file from my Pi 2 version 1:

$this->bbcode_second_pass_code('', 'gpu_mem=16
start_file=start_cd.elf
fixup_file=fixup_cd.dat
dtoverlay=w1-gpio.dtbo
initramfs initramfs-linux.img followkernel
')
I have the same issue on a Pi3:

$this->bbcode_second_pass_code('', 'gpu_mem=16
max_usb_current=1
initramfs initramfs-linux.img followkernel
')
davep
 
Posts: 10
Joined: Tue Jun 25, 2019 12:24 pm

Re: 6.1.11 doesn't have thermal info.

Postby NotEinstein » Tue Feb 14, 2023 12:36 am

Nothing unusual
$this->bbcode_second_pass_code('', 'disable_overscan=1

framebuffer_width=1920
framebuffer_height=1080

gpu_mem=64

dtparam=audio=on

##If you use the 3.5mm analogue output
hdmi_ignore_edid_audio=1
hdmi_force_edid_audio=0
audio_pwm_mode=2
audio_pwm_mode=2 driver
amixer -c 0 cset numid=3 1

dtoverlay=vc4-kms-v3d
initramfs initramfs-linux.img followkernel

# Uncomment to enable bluetooth
#dtparam=krnbt=on

[pi4]
# Run as fast as firmware / board allows
arm_boost=1')
My panel temperature sensor applet shows -273
NotEinstein
 
Posts: 41
Joined: Mon Jul 22, 2019 2:05 am

Re: 6.1.11 doesn't have thermal info.

Postby hyke » Tue Feb 14, 2023 5:30 am

@graysky The problem maybe be that CONFIG_BCM2835_THERMAL for armv7 (i.e. config) was unset in the core/linux-rpi to 6.1.10-1 update.

https://github.com/archlinuxarm/PKGBUIL ... nfig#L4075

That config option is set in the config8 for aarch64...so on my RPI3 running aarch64 I have thermal_zone0. But that may explain why the RPI2/3 on armv7 doesn't work.
Raspberry Pi 3 Model B Rev 1.2|Raspberry Pi Zero 2 W Rev 1.0|Hardkernel ODROID-HC4|Orange Pi 5
linux-rpi|linux-rpi|linux-odroid|linux-opi5:aarch64
hyke
 
Posts: 8
Joined: Sun Nov 10, 2013 2:26 am

Re: 6.1.11 doesn't have thermal info.

Postby graysky » Tue Feb 14, 2023 1:09 pm

You are correct, hyke. The option is present on aarch64 but not on armv7h. 6.1.11-2 should fix this. Once it hits the repos, can someone please update and confirm restoration of functionality?
graysky
Developer
 
Posts: 1731
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: 6.1.11 doesn't have thermal info.

Postby davep » Tue Feb 14, 2023 3:18 pm

I built my own kernel with CONFIG_BCM2835_THERMAL enabled and confirm that the change fixes the issue. Thanks all.
davep
 
Posts: 10
Joined: Tue Jun 25, 2019 12:24 pm

Re: 6.1.11 doesn't have thermal info.

Postby NotEinstein » Wed Feb 15, 2023 5:32 am

Yes, all is good with 6.1.11-2 thanks.
NotEinstein
 
Posts: 41
Joined: Mon Jul 22, 2019 2:05 am

Previous

Return to U-Boot/Kernel

Who is online

Users browsing this forum: Google [Bot] and 2 guests