FreeBSD 11-CURRENT on Raspberry Pi 512MB

Daisuke Aoyama aoyama at peach.ne.jp
Fri Oct 31 19:32:39 UTC 2014


>That patch has a lot of unrelated changes.  Could you produce a patch with svn that is just 
>related to cpufreq and its mbox changes?

I have uploaded as:
http://www.peach.ne.jp/archives/rpi/patch/cpufreq-20141101.tar.gz

Please use this archive.

CHANGES:
modify for style(9) and 80 columns
remove multiple cast
remove bootverbose of error case
remove unused code and g_XXXX variables
fix wrong message/comments.
add DPRINTF and dump into #ifdef DEBUG
add tunable int for verbose and lowest_freq
suppress default boot log


default boot:

bcm2835_cpufreq0: ARM 700MHz, Core 250MHz, SDRAM 398MHz, Turbo OFF

verbose boot or hw.bcm2835.cpufreq.verbose=1 by loader.conf:

bcm2835_cpufreq0: Boot settings:
bcm2835_cpufreq0: current ARM 700MHz, Core 250MHz, SDRAM 398MHz, Turbo OFF
bcm2835_cpufreq0: max/min ARM 1000/700MHz, Core 500/250MHz, SDRAM 500/400MHz
bcm2835_cpufreq0: current Core 1200mV, SDRAM_C 1200mV, SDRAM_I 1200mV, SDRAM_P 1200mV
bcm2835_cpufreq0: max/min Core 1350/1200mV, SDRAM_C 1225/1200mV, SDRAM_I 1225/1200mV, SDRAM_P 
1225/1200mV


default (max=1000MHz):
dev.cpu.0.freq_levels: 1000/-1 900/-1 800/-1 700/-1 600/-1 500/-1 400/-1 300/-1

hw.bcm2835.cpufreq.lowest_freq=500 by loader.conf (max=1000MHz):
dev.cpu.0.freq_levels: 1000/-1 900/-1 800/-1 700/-1 600/-1 500/-1


>- Did you measure the power consumption when using the different frequency values?

I have tried to get an ampere on USB power cable both idle and running 
ports/benchmarks/unixbench.
Following table is the result. It's not so different on CPU idle.

Power=5.10V
V=0/0  300MHz idle/0.35A 1.79W 3%DOWN unixbench/0.39A 50.8C 1.99W 9%DOWN
V=0/0  700MHz idle/0.36A 1.84W ------ unixbench/0.43A 54.6C 2.19W ------
V=6/1 1000MHz idle/0.40A 2.04W 10%UP  unixbench/0.51A 58.3C 2.60W 19%UP

Note:
V=0/0 mean default voltage(1.2V/1.2V)
V=6/1 mean over_voltage=6/over_voltage_sdram=1(1.35V/1.225V)
All manual setting without powered
Temperature is checked running only

Thank you.
-- 
Daisuke Aoyama
 



More information about the freebsd-arm mailing list