Re: [linux-sunxi] Kernel crash in "cpu_freq"

2022-07-22 Thread Torsten Beyer
Hi Samuel, tried setting OPP voltages in 50mV increments. That doesn't seem to work. Shouldn't /sys/class/regulator/regulator.9/microvolts show the actual microvolts supplied to the CPU? When setting the lowest value to 1.15V I never see a value lower than 1.2V in the above. Either I am

Re: [linux-sunxi] Kernel crash in "cpu_freq"

2022-07-19 Thread Torsten Beyer
Hi Samuel, thanks for the additional hints. Will try to follow (this is the first time I am poking around in a unix kernel since 4.3bsd ... so I'm a bit rusty still). The power supply is suitably stable. I will try and experiment with lower voltages and see what happens. I may run into

Re: [linux-sunxi] Kernel crash in "cpu_freq"

2022-07-19 Thread Samuel Holland
Hi Torsten, On 7/19/22 3:44 AM, Torsten Beyer wrote: > fantastic - I have built a kernel with changed setting yesterday afternoon > (increased min OPP to 1.1V) and the system has been running for about 20hrs > now > without freezes. Thanks for your help - looks like this patch fixes it.  Thanks

Re: [linux-sunxi] Kernel crash in "cpu_freq"

2022-07-19 Thread Torsten Beyer
Hi Samuel, fantastic - I have built a kernel with changed setting yesterday afternoon (increased min OPP to 1.1V) and the system has been running for about 20hrs now without freezes. Thanks for your help - looks like this patch fixes it. cheers Torsten sam...@sholland.org schrieb am

Re: [linux-sunxi] Kernel crash in "cpu_freq"

2022-07-18 Thread Samuel Holland
Hi Torsten, On 7/18/22 7:13 AM, Torsten Beyer wrote: > Hi again, > > I believe I found the place. Can you confirm that changing the microvolts OPPs > in "arch/arm/boot/dts/sun7i-a20.dtsi" is the right place for upping the > microvolts for lower frequencies? Yes, in that file, in the

Re: [linux-sunxi] Kernel crash in "cpu_freq"

2022-07-18 Thread Torsten Beyer
Hi again, I believe I found the place. Can you confirm that changing the microvolts OPPs in "arch/arm/boot/dts/sun7i-a20.dtsi" is the right place for upping the microvolts for lower frequencies? cheers -tb Torsten Beyer schrieb am Montag, 18. Juli 2022 um 09:26:58 UTC+2: > Hi Samuel, > > am

Re: [linux-sunxi] Kernel crash in "cpu_freq"

2022-07-18 Thread Torsten Beyer
Hi Samuel, am stuck trying to figure out how to increase the voltages. Can you point me to some documentation or quickly explain how I would do that? regards Torsten sam...@sholland.org schrieb am Samstag, 16. Juli 2022 um 06:16:16 UTC+2: > Hi Torsten, > > On 7/13/22 3:18 AM, Torsten Beyer

Re: [linux-sunxi] Kernel crash in "cpu_freq"

2022-07-16 Thread Torsten Beyer
Hi Samuel, thanks for your insights. Will try to follow them and will report back here. In the meantime I have built a kernel with dynamic debug and I can see that cpu_freq and the associated calls shown in my earlier post must run millions of times. And then out of the blue a crash...so

Re: [linux-sunxi] Kernel crash in "cpu_freq"

2022-07-15 Thread Samuel Holland
Hi Torsten, On 7/13/22 3:18 AM, Torsten Beyer wrote: > Hi all, > > I am trying to debug a bug on an open source air navigation box for > gliders called openvario . It is > based on a cubieboard (A20) plus some additional serial connections > and an optional