BPI-R4 OpenWRT breaking changes in build r27965+

Hello BPI-R4 users!

I would be pleased to have a quick feedback for the obseration/scenario as follows:

  • Since latest build temerature of router was increased by about 10 °C
  • … because fan was not active (but technical functional)
  • overlay partition was not mounted anymore after reboot by power cut (but was mounted before when used “reboot” …)
  • it seems that partly RAM (2 GB) was used for /overlay/tmp data and that data was gone after every reboot (behavior starting after power cut)
  • dev/fitrw could not mounted anymore as it was not seen by luci but technicaly available in uci (see below) - has f2fs driver been removed?
root@BananaPi4:~# lsblk -o +FSTYPE; losetup -l
NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS FSTYPE
mtdblock0    31:0    0    2M  1 disk
mtdblock1    31:1    0  126M  0 disk             ubi
mmcblk0     179:0    0 29.1G  0 disk
├─mmcblk0p1 179:1    0    4M  0 part
├─mmcblk0p2 179:2    0  512K  0 part
├─mmcblk0p3 179:3    0    2M  0 part
├─mmcblk0p4 179:4    0    4M  0 part
├─mmcblk0p5 179:5    0   32M  0 part
├─mmcblk0p6 179:6    0   20M  0 part
└─mmcblk0p7 179:7    0 29.1G  0 part
ubiblock0_1 254:0    0 54.9M  0 disk             squashfs
fit0        259:0    0   17M  1 disk /rom        squashfs
fitrw       259:1    0 29.1G  0 disk

Any idea what has happend in the last builds? Hints and help to solve this are very welcome :slight_smile:

… now restored all functions by downgrading to build r27833 / kernel 6.6.57

1 Like

Still works for me on 27913 using kernel 6.6.58 so the kernel update is unlikely to be related to the breakage…

1 Like

@buz thanks for your feedback

… not sure, what has caused this strange behavior. I’ve build it from scratch used latest updated device config (dated 2024-11-01) and everything worked in build r27993-2915cfb626 as before.

1 Like

… ok addendum: kmod-thermal is still missing and may the root cause for the not working fan. I’ll patch device config on every build run to fix this.

(src: mediatek: add kmod-thermal for BPI-R4 device · openwrt/openwrt@54c1ba9 · GitHub)

1 Like

… ok, fan setup is not solved, even with forced kmod-thermal package. BPI-Forum members: any idea why fan is not activated in self build images but in those of firmware-selector.openwrt.org?

1 Like

… aaaand another self-reply for documentation (if other BPI users face this issue too):

Temperature settings for thermal zone seemed to be changed in a very bad temp range …

root@BananaPi4:~# cat /sys/class/thermal/thermal_zone0/trip_point_0_temp
125000
root@BananaPi4:~# cat /sys/class/thermal/thermal_zone0/trip_point_1_temp
120000
root@BananaPi4:~# cat /sys/class/thermal/thermal_zone0/trip_point_2_temp
115000
root@BananaPi4:~# cat /sys/class/thermal/thermal_zone0/trip_point_3_temp
85000
root@BananaPi4:~# cat /sys/class/thermal/thermal_zone0/trip_point_4_temp
40000
root@BananaPi4:~# cat /sys/class/thermal/thermal_zone0/mode
enabled
root@BananaPi4:~# cat /sys/class/thermal/thermal_zone0/temp
64424

Changed them to own custom device safe values:

root@BananaPi4:~# echo 45000 > /sys/class/thermal/thermal_zone0/trip_point_3_temp
root@BananaPi4:~# echo 55000 > /sys/class/thermal/thermal_zone0/trip_point_2_temp
root@BananaPi4:~# echo 65000 > /sys/class/thermal/thermal_zone0/trip_point_1_temp
root@BananaPi4:~# echo 80000 > /sys/class/thermal/thermal_zone0/trip_point_0_temp

This put me in the right direction:

2 Likes