Part Number: AM3352
Tool/software: Linux
Team,
I have been working with one of my customers who has recently migrated their AM3352 (BZCZ30) Linux platform from Sitara Processor SDK 1.0 to SDK 3.0 (2016 LTS). This exercise took quite some effort and hence was started a while ago and thus prior to the latest 2017 LTS SDK 4.0 release.
All seems to be working well under testing so far although the current draw when running has increased by ~20% between the SDK builds. Digging deeper we have noticed that the power management configurations have changed somewhat and the kernel config options need to be modified.
We have found a processor option that was originally called in the 3.14 kernel
<*> Generic CPU0 cpufreq driver
And is now no longer there... but have found the following option in the later 4.4 kernel
<*> Generic DT based cpufreq driver
Once have added this as a kernel module and it seems to have dropped the power consumption a little. Would that be expected behaviour? It looks like this is the same option but it’s been renamed in newer kernels. This has been added in the build as a module as the kernel doesn’t seem to be happy if I it was build-in to the kernel.
It seems an additional configuration item is also required
<*> Texas Instruments CPUFreq support
With these changes we are now down from 250mA to about 210mA which is more like normal consumption.
We have been using the PM user guides on the wiki as a basis for investigation so far:
http://processors.wiki.ti.com/index.php/Linux_Core_Power_Management_User%27s_Guide_(v3.14)
http://processors.wiki.ti.com/index.php/Linux_Core_Power_Management_User%27s_Guide_(v4.1) (This should be close to 4.4)
Do we have a PM configuration migration guide or wiki article for moving between the Proc SDK releases ? It might be a good idea if not.
Any thoughts/advice on additional settings required would be very much appreciated.
Regards,
Garry
