04-16-2019, 09:09 AM
Thank you for your answer, but it shows basically the same. Problem is, when DMC is enabled, I get kernel oopses even when login with dropbear.
[quote pid='45731' dateline='1555417705']
$ grep '' /sys/class/devfreq/dmc/*
/sys/class/devfreq/dmc/available_frequencies:786000000 800000000 850000000 933000000 1066000000
/sys/class/devfreq/dmc/available_governors:dmc_ondemand powersave simple_ondemand
/sys/class/devfreq/dmc/cur_freq:786000000
/sys/class/devfreq/dmc/governor:dmc_ondemand
/sys/class/devfreq/dmc/max_freq:1066000000
/sys/class/devfreq/dmc/min_freq:786000000
/sys/class/devfreq/dmc/polling_interval:50
/sys/class/devfreq/dmc/system_status:0x1
/sys/class/devfreq/dmc/target_freq:786000000
/sys/class/devfreq/dmc/trans_stat: From : To
/sys/class/devfreq/dmc/trans_stat: :7860000008000000008500000009330000001066000000 time(ms)
/sys/class/devfreq/dmc/trans_stat:*786000000: 0 0 0 0 0 45925
/sys/class/devfreq/dmc/trans_stat: 800000000: 0 0 0 0 0 0
/sys/class/devfreq/dmc/trans_stat: 850000000: 0 0 0 0 0 0
/sys/class/devfreq/dmc/trans_stat: 933000000: 0 0 0 0 0 0
/sys/class/devfreq/dmc/trans_stat: 1066000000: 0 0 0 0 0 0
/sys/class/devfreq/dmc/trans_stat:Total transition : 0
[/quote]
I think these frequencies are set in arch/arm64/boot/dts/rockchip/rk3328.dtsi as dmc_opp_table. And 768Mhz is just to much.
I'll try my luck with 400Mhz and 600Mhz. It seems a trade off between stability and memory bandwidth.
Funny thing is, on my rockpro64 the target_freq is 400Mhz.
TIA,
hunderteins
[quote pid='45731' dateline='1555417705']
$ grep '' /sys/class/devfreq/dmc/*
/sys/class/devfreq/dmc/available_frequencies:786000000 800000000 850000000 933000000 1066000000
/sys/class/devfreq/dmc/available_governors:dmc_ondemand powersave simple_ondemand
/sys/class/devfreq/dmc/cur_freq:786000000
/sys/class/devfreq/dmc/governor:dmc_ondemand
/sys/class/devfreq/dmc/max_freq:1066000000
/sys/class/devfreq/dmc/min_freq:786000000
/sys/class/devfreq/dmc/polling_interval:50
/sys/class/devfreq/dmc/system_status:0x1
/sys/class/devfreq/dmc/target_freq:786000000
/sys/class/devfreq/dmc/trans_stat: From : To
/sys/class/devfreq/dmc/trans_stat: :7860000008000000008500000009330000001066000000 time(ms)
/sys/class/devfreq/dmc/trans_stat:*786000000: 0 0 0 0 0 45925
/sys/class/devfreq/dmc/trans_stat: 800000000: 0 0 0 0 0 0
/sys/class/devfreq/dmc/trans_stat: 850000000: 0 0 0 0 0 0
/sys/class/devfreq/dmc/trans_stat: 933000000: 0 0 0 0 0 0
/sys/class/devfreq/dmc/trans_stat: 1066000000: 0 0 0 0 0 0
/sys/class/devfreq/dmc/trans_stat:Total transition : 0
[/quote]
I think these frequencies are set in arch/arm64/boot/dts/rockchip/rk3328.dtsi as dmc_opp_table. And 768Mhz is just to much.
I'll try my luck with 400Mhz and 600Mhz. It seems a trade off between stability and memory bandwidth.
Funny thing is, on my rockpro64 the target_freq is 400Mhz.
TIA,
hunderteins