OK - The memtester run from yesterday completed successfully.... eventually.
I then did some calcs in a spreadsheet. The total delays using the default kernel values seem incredibly short.... unless regulator_enable_ramp_delay defaults to a non-zero value if undefined, but the documents don't suggest there is a default
Defaulted Kernel dtb values
dV
| dμV
| regulator_enable_ramp_delay (μs)
| regulator_ramp_delay (μV/μs)
| delay (μs)
|
0.025
| 25000
| 0
| 12500
| 2
|
0.05
| 50000
| 0
| 12500
| 4
|
0.075
| 75000
| 0
| 12500
| 6
|
0.1
| 100000
| 0
| 12500
| 8
|
jock2 recommended the following, considerably longer delays generally.
dV
| dμV
| regulator_enable_ramp_delay (μs)
| regulator_ramp_delay (μV/μs)
| delay (μs)
|
0.025
| 25000
| 0
| 300
| 83.33333
|
0.05
| 50000
| 0
| 300
| 166.6667
|
0.075
| 75000
| 0
| 300
| 250
|
0.1
| 100000
| 0
| 300
| 333.3333
|
my initial "guess" values actually result in an overall delay in the same ballpark as jock2, and seem to work fairly well also....
dV
| dμV
| regulator_enable_ramp_delay (μs)
| regulator_ramp_delay (μV/μs)
| delay (μs)
|
0.025
| 25000
| 300
| 6000
| 304.1667
|
0.05
| 50000
| 300
| 6000
| 308.3333
|
0.075
| 75000
| 300
| 6000
| 312.5
|
0.1
| 100000
| 300
| 6000
| 316.6667
|
I then tried to find where the sweet-spot might be, working from low overall delay, and increasining to get more uptime... I've had my board running for > 10 hours with the following settings.... which is a massive improvement...
dV
| dμV
| regulator_enable_ramp_delay (μs)
| regulator_ramp_delay (μV/μs)
| delay (μs)
|
0.025
| 25000
| 100
| 5000
| 105
|
0.05
| 50000
| 100
| 5000
| 110
|
0.075
| 75000
| 100
| 5000
| 115
|
0.1
| 100000
| 100
| 5000
| 120
|
However.... Although the Librelec OS has been up > 10 hours, Kodi.bin partially crashed after 70minutes....
The IR LED was still responsive, and I could ssh onto the box and actually shutdown kodi using systemctrl stop kodi, and then I ran another memtester over 825MBtest, which is nearly finished now...
There was no kodi crashlog, as kodi was still running to some extent, but there were dmesg errors for the time the clock had stopped on the UI (09:15) . With 3 messages like this...
Thread JobWorker 2835341952 terminating (autodelete)
Thread JobWorker 2817503872 terminating (autodelete)
Thread JobWorker 2809111168 terminating (autodelete)
There was a corresponding kernel error...
[ 4065.211853] Hardware name: Generic DT based system
[ 4065.217217] PC is at 0x0 [ 4065.224612] LR is at xas_load+0xc/0x70
[ 4065.228812] pc : [<00000000>] lr : [<c068b8e0>] psr: 680e0013
[ 4065.235829] sp : c3c0fd18 ip : ffffc005 fp : ffffffff
[ 4065.241675] r10: 00000008 r9 : 00000003 r8 : 00000402
[ 4065.247527] r7 : 00000406 r6 : c3c0fd54 r5 : 00000003 r4 : 00000000
[ 4065.254832] r3 : 97ec674a r2 : 97ec674a r1 : ffffffff r0 : 00000000
[ 4065.262142] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
[ 4065.270135] Control: 10c5387d Table: 637c406a DAC: 00000051
[ 4065.276572] Process kodi.bin (pid: 611, stack limit = 0x60538f89)
[ 4065.283395] Stack: (0xc3c0fd18 to 0xc3c10000)
[ 4065.288275] fd00: 00000000 97ec674a
[ 4065.297433] fd20: 00000000 c1f58db0 c3c0e000 c54d76c8 c482dec0 00000000 c4509b4c 0000003f
[ 4065.306595] fd40: c37d9a00 c0758670 00000000 00000cc0 c4509a50 00000000 00000000 c54d7680
[ 4065.315753] fd60: c3c0fdf4 97ec674a c54d7680 c54d7680 c3c0fdf4 00000000 c482dec0 c079d54c
[ 4065.324908] fd80: c3d79800 c3c0e000 c1505434 00000000 c4509a50 c3c0e000 c3d79800 00000000
[ 4065.334065] fda0: 00000000 c1d35100 0000e4c4 0000004a 00010000 97ec674a 00000000 c3c0fe74
[ 4065.343223] fdc0: c2430468 c4509a50 c3c0e000 c4509800 c4833900 c54d7680 c4833a00 c079a238
[ 4065.352380] fde0: 00ba3d08 c482d840 c54d76f0 00000110 c496ce40 c4833a00 00000001 00000000
[ 4065.361545] fe00: c4509800 c4509a50 0000004a 00000000 00000000 00000004 c54d7680 97ec674a
[ 4065.370704] fe20: 00000000 40306443 00000000 c0d88170 00000030 c3c0e000 c3c0fe74 00000043
[ 4065.379863] fe40: c4833900 c075a260 0000e280 00000001 c105b378 c0170e34 bee45728 c3c0fe74
[ 4065.389027] fe60: 00000030 c448a000 c0799fe8 00000051 00000000 00000000 00000001 0000004a
[ 4065.398185] fe80: 00000110 01b518a8 00000000 bee45818 00000000 00000000 00000004 00000000
[ 4065.407342] fea0: 00000000 c157a300 c157a300 680e0113 00000000 c01aab88 ef6cf8c8 ef6cf8f0
[ 4065.416503] fec0: ef6cf918 c01c6110 c1504fd0 002b4fe3 00000000 ef6ca380 ffffe000 c1d35100
[ 4065.425663] fee0: 00000009 c3c0e000 c16491a0 ef6ca380 c3c0e000 97ec674a 00000003 40306443
[ 4065.434821] ff00: c448a001 40306443 c3c0e000 bee45728 c448a000 0000001b c24103c8 c0312c80
[ 4065.443984] ff20: 0000000a c148a2dc c1495c40 c1495c40 00113c57 c1503d00 00400100 c9284000
[ 4065.453147] ff40: c3c0ff90 c3c0e000 ffffe000 c3c0ff68 00000001 c9284000 c3c0ff90 c3c0ffb0
[ 4065.462305] ff60: bee45748 bee45748 c1494f44 c1494f44 00000000 c0192688 c1505714 97ec674a
[ 4065.471466] ff80: f0802000 01b37b10 bee45728 40306443 00000036 c01002c4 c3c0e000 00000036
[ 4065.480625] ffa0: 00000000 c0100060 01b37b10 bee45728 0000001b 40306443 bee45728 00000000
[ 4065.489784] ffc0: 01b37b10 bee45728 40306443 00000036 00fcab64 00fcb1fc 00000000 00000000
[ 4065.498943] ffe0: b48fb114 bee4570c b48f1568 b476011c a80e0010 0000001b 00000000 00000000
[ 4065.508120] [<c068b8e0>] (xas_load) from [<97ec674a>] (0x97ec674a)
[ 4065.515342] Code: bad PC value
[ 4065.518973] ---[ end trace 56b0a57b8af61b99 ]---
The kodi and dmesg logs are attached..
logs_202205060915.zip
Does this look like an OS, or do you think its a Kodi issue?
Any help would be great.
Thanks,
Barry