ArmbianHelper changed the topic of #armbian to: armbian - Linux for ARM development boards | www.armbian.com | Github: github.com/armbian | Commits: #armbian-commits | Developer talk: #armbian-devel | Forum feed: #armbian-rss | Off-Topic: #armbian-offtopic | Logs: -> irc.armbian.com
LanDi has joined #armbian
LanDi has quit [Quit: LanDi]
aasami_ has quit [Quit: Lost terminal]
archetech has quit [Quit: Leaving]
archetech has joined #armbian
flyback has quit [Remote host closed the connection]
flyback has joined #armbian
DarthGandalf has quit [Read error: Connection reset by peer]
DarthGandalf has joined #armbian
MrFixIt has quit [Remote host closed the connection]
MrFixIt has joined #armbian
lyri has quit [Ping timeout: 240 seconds]
lyri has joined #armbian
lyri has quit [Ping timeout: 256 seconds]
lyri has joined #armbian
lyri has quit [Remote host closed the connection]
archetech has quit [Quit: Konversation terminated!]
archetech has joined #armbian
lanefu has quit [Ping timeout: 265 seconds]
lanefu has joined #armbian
archetech has quit [Quit: Konversation terminated!]
jantones has quit [Quit: Leaving]
s1b1 has quit [Ping timeout: 240 seconds]
kolla has quit [Remote host closed the connection]
kolla has joined #armbian
maknho has quit [Ping timeout: 264 seconds]
maknho has joined #armbian
s1b1 has joined #armbian
jclsn has joined #armbian
aasami_ has joined #armbian
wd has quit [Ping timeout: 240 seconds]
wd has joined #armbian
danilogondolfo has joined #armbian
califax_ has joined #armbian
califax has quit [Ping timeout: 240 seconds]
califax_ is now known as califax
lemonzest has quit [Quit: WeeChat 3.6]
lemonzest has joined #armbian
LanDi has joined #armbian
val has quit [Read error: Connection reset by peer]
val has joined #armbian
LanDi has quit [Quit: LanDi]
arch3r has quit [Ping timeout: 240 seconds]
arch3r has joined #armbian
buzzmarshall has joined #armbian
<DC-IRC> <elias> I'm working on an A64 based board (recore A7) and I'm seeing some dram corruption when switching the DRAM frequency. It appears to be stable when running at full speed, but I'm getting kernel errors that seems to happen when the dram devfreq governor changes speed. If I set the governor to performance, the DRAM frequency is always max, and things work fine, but using sysfsutils to set the governor takes some time and it might cause issues before
<DC-IRC> <elias> Is there a way to set the dram governor before the kernel has booted? Has anyone else seen issues like this? Here is how I do it today:
<DC-IRC> <elias> ```root@recore:~# cat /etc/sysfs.d/dram_governor.conf
<DC-IRC> <elias> class/devfreq/1c62000.dram-controller/governor = performance```
<DC-IRC> <elias> I can disable the mbus driver init in the kernel device tree and then the frequency is set by ATF or u-boot, but it would be nice to know a bit more about this problem. The DRAM routing is not fly-by-wire, but direct, I think that is different from most of the A64 boards, so that might be relevant.
<DC-IRC> <Tenkawa> you should be able to modify the dts for that
<DC-IRC> <Tenkawa> force it to only allow set frequencies and settings
<DC-IRC> <Tenkawa> Not sure if it would need to be done in both u-boot and the kernel's dts but the kernel for sure
alekksander has joined #armbian
<DC-IRC> <elias> Thanks for the reply. Looking at the driver (sun8i-mbus.c) It looks to me like the governor is hardcoded to simple-ondemand in kernel 5.15 at least: https://github.com/armbian/build/blob/59363d5a0f1a833bb54efbde0831a2e3f6626c8a/patch/kernel/archive/sunxi-5.16/patches.megous/PM-devfreq-Add-a-driver-for-the-sun8i-sun50i-MBUS.patch#LL482C13-L482C40
<DC-IRC> <elias> I guess if I don't need that frequency scaling regardless, I might as well disable the driver. This is for a 3D printer, so power saving is not an issue.
<DC-IRC> <Tenkawa> ah its in a patch.. there might be a "technical" reason that was done though
<DC-IRC> <Tenkawa> you might need to read and see if there was a bug that that was implemented for
<DC-IRC> <Tenkawa> (inconsistent behaviour/etc)
lemonzest has quit [Ping timeout: 240 seconds]
lemonzest has joined #armbian
smcavoy16 has quit [Ping timeout: 240 seconds]
<DC-IRC> <elias> I'm on the legacy kernel, but it looks like it's the same in mainline: https://github.com/torvalds/linux/blob/ae8373a5add4ea39f032563cf12a02946d1e3546/drivers/devfreq/sun8i-a33-mbus.c#L433
<DC-IRC> <elias> And looking at the implementation in other platforms, it looks similar (hardcoded).
aasami_ has quit [Quit: Lost terminal]
aasami_ has joined #armbian
lyri has joined #armbian
alekksander has quit [Ping timeout: 265 seconds]
ccatss08 has quit [Quit: Ping timeout (120 seconds)]
ccatss08 has joined #armbian
jantones has joined #armbian
lyri has quit [Ping timeout: 248 seconds]
lyri has joined #armbian
archetech has joined #armbian
alekksander has joined #armbian
alekksander has quit [Client Quit]
alekksander has joined #armbian
alekksander has quit [Quit: Konversation terminated!]
lyri has quit [Ping timeout: 268 seconds]
lyri has joined #armbian
jantones has quit [Ping timeout: 248 seconds]
lyri has quit [Remote host closed the connection]
zeemate has joined #armbian
Suspect has joined #armbian
crabbedhaloablut has quit [Ping timeout: 240 seconds]
danilogondolfo has quit [Remote host closed the connection]
archetech has quit [Quit: Konversation terminated!]
Suspect has quit [Quit: Leaving]
archetech has joined #armbian
Net147 has quit [Quit: Quit]
Net147 has joined #armbian
aasami_ has quit [Quit: leaving]
zeemate has quit [Ping timeout: 240 seconds]