Edited by silentcreek at Fri May 15, 2015 20:31 |
Ok, I checked my config and I guess you would have to add a few more THERMAL related options.
Here is my current configuration for Kernel 4.0.3:
If you search for all occurences of THERMAL, compare that to what you have enabled.
However, if you want to try to use this configuration on a newer version (4.1-rc3 or the sunxi-next branch), a better way would be to use the following defconfig file:
If you save it as my_custom_defconfig and place it in arch/arm/configs of your source tree, then you can runand it will generate a .config file non-interactively, including default values for features introduced in newer versions than 4.0.
(As opposed to make oldconfig that will ask you a lot of questions about new features...)
And just to be clear (even if that means repeating myself): Make sure that you use a dts file that comes with your kernel source (at least as a basis) to make sure the drivers work as expected.
P.S.: A few remarks on my configuration: I use this for simple server applications - no other devices than hard drives and flash drives (and sometimes a keyboard) attached. So don't expect all kinds of devices (like e.g. wifi adaptors or soundcards, etc.) to work out of the box with this. And even though iptables/netfilter (firewall) support is enabled, certain features to make the device act as a router are not enabled. Furthemore, I have the AppArmor security framework enabled by default. You might not need that and can disable this - even though it usually doesn't harm even if it is enabled as long as you don't have application profiles installed. Use it as a reference, or basis - but don't take it for granted that it would be suitable for all types of applications.