please choosego to mobile | Continue to access the PC version
View: 5505|Reply: 1

editing dvfs table in script.fex

[Copy link]

1

threads

2

posts

43

credits

Novice

Rank: 1

credits
43
Published in 2016-1-17 21:39:15 | Show all floors |Read mode
Hi, I was editing dvfs table to downclock my orange pi PC, to reduce temperatures and power consumption.
I came across two lines that read:

pmu_level0 = 11300
pmu_level1 = 576 (or pmu_level1 = 1100 on some other script.fex files)

can someone explain what they do and how should I edit them when changing voltages.

Thanks.

1

threads

2

posts

43

credits

Novice

Rank: 1

credits
43
 Author| Published in 2016-1-26 07:02:26 | Show all floors
I tried the value 1100 and it worked ok.
I will share some info about my personal solution if anyone else stumbles upon this thread.

the folowing sections differ in certain script.fex files. I decided to go with versions that have lower frequencies and voltages. (taken from https://raw.githubusercontent.co ... g/h3/orange_pi2.fex)

note that I just copied the values and do not fully understand all of them so use at your discretion


****
[dvfs_table]
pmuic_type = 2
pmu_gpio0 = portL06<1><1><2><1>
pmu_level0 = 11300
pmu_level1 = 1100
max_freq = 1296000000
min_freq = 648000000
LV_count = 8
LV1_freq = 1296000000
LV1_volt = 1340
LV2_freq = 1200000000
LV2_volt = 1320
LV3_freq = 1008000000
LV3_volt = 1200
LV4_freq = 816000000
LV4_volt = 1100
LV5_freq = 648000000
LV5_volt = 1040
LV6_freq = 0
LV6_volt = 1040
LV7_freq = 0
LV7_volt = 1040
LV8_freq = 0
LV8_volt = 1040

[gpu_dvfs_table]
G_LV_count = 3
G_LV0_freq = 312000000
G_LV0_volt = 1200000
G_LV1_freq = 384000000
G_LV1_volt = 1200000
G_LV2_freq = 456000000
G_LV2_volt = 1200000

[cooler_table]
cooler_count = 6
cooler0 = "1296000 4 4294967295 0"
cooler1 = "1200000 4 4294967295 0"
cooler2 = "1008000 4 4294967295 0"
cooler3 = "816000 4 4294967295 0"
cooler4 = "648000 4 4294967295 0"
cooler5 = "480000 1 4294967295 0"

[target]
boot_clock = 1008
storage_type = -1

[mali_para]
mali_used = 1
mali_clkdiv = 1
mali_extreme_freq = 456
mali_extreme_vol = 1200
*****

in adition to this i also changed the line "dram_clk"  to  600, but i dont think this one is doing its job.
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list