Monthly Archives: September 2014

ARM big.Little Coherency

http://www.arm.com/files/pdf/big_LITTLE_Technology_the_Futue_of_Mobile.pdf, http://www.arm.com/products/system-ip/interconnect/corelink-cci-400.php   ”Cache Coherent Interconnect” – in this case the ARM CoreLink™ CCI-400 interconnect IP. The system is completed by the CoreLink GIC-400, which provides dynamically configurable interrupt distribution to all the cores. the bus interfaces of Cortex-A15 and … Continue reading

Posted in Uncategorized | Leave a comment

Apple gives U2’s new album free. How to download it step by step.

Apple gives U2’s new album “Songs of Innocence” to all iTunes users. (detailed info from http://www.apple.com/pr/library/2014/09/09Apple-U2-Release-Songs-of-Innocence-Exclusively-for-iTunes-Store-Customers.html) Here we listed the steps to get it on your devices. 1. First, check if the album is yours now. Search its name “Songs … Continue reading

Posted in Uncategorized | Leave a comment

CPUFreq Intro

The file is based on http://blog.csdn.net/droidphone/article/details/9346981 , from section 1 to 3. CPUFreq系统把一些公共的逻辑和接口代码抽象出来,这些代码与平台无关,也与具体调频策略无关,内核的文档把它称为CPUFreq Core(/Documents/cpufreq/core.txt)。另外一部分,与实际的调频策略相关的部分被称作cpufreq_policy,cpufreq_policy又是由频率信息和具体的governor组成,governor才是具体策略的实现者,当然governor需要我们提供必要的频率信息,governor的实现最好能做到平台无关,与平台相关的代码用cpufreq_driver表述,它完成实际的频率调节工作。最后,如果其他内核模块需要在频率调节的过程中得到通知消息,则可以通过cpufreq notifiers来完成。 policy 该变量可以取以下两个值:CPUFREQ_POLICY_POWERSAVE和CPUFREQ_POLICY_PERFORMANCE,该变量只有当调频驱动支持setpolicy回调函数的时候有效,这时候由驱动根据policy变量的值来决定系统的工作频率或状态。如果调频驱动(cpufreq_driver)支持target回调,则频率由相应的governor来决定。 governor 和governor_data 指向该policy当前使用的cpufreq_governor结构和它的上下文数据。governor是实现该policy的关键所在,调频策略的逻辑由governor实现。 cpufreq_driver_target是带锁的版本,而__cpufreq_driver_target是不带锁的版本,如果确定是在governor的上下文中,使用不带锁的版本,否则需要使用带锁的版本。 cpu_dbs_common_info  该结构把对计算cpu负载需要使用到的一些辅助变量整合在一起,通常,每个cpu都需要一个cpu_dbs_common_info结构体,该结构体中的成员会在governor的生命周期期间进行传递,以用于统计当前cpu的负载 (dbs缩写,实际是:demand based switching) Odroid XU  Android default Ondemand code: https://github.com/hardkernel/linux/blob/odroidxu-3.4.y/drivers/cpufreq/cpufreq_ondemand.c HotPlug In case: (Freq > 1.6GHz boost level count is over BOOST_LV_CNT) static void … Continue reading

Posted in Uncategorized | Leave a comment