The current eMenlow build is using the kernel 2.6.33, in which some configurations are not enabled so the SDK tools is not working. These kernel configurations needs to be enabled. (The WindRiver kernel has enabled these, but eMenlow is not using the WR kernel). oprofile: CONFIG_OPROFILE latencytop: CONFIG_LATENCYTOP powertop: e.g. CONFIG_TIMER_STATS, CONFIG_ACPI_BATTERY, etc.
Additional kernel configurations: libust(which is used by user mode lttng): CONFIG_SYSVIPC
Can you please provide a complete list of kernel configs that need to be enabled.
For oprofile/latencytop/lttng, I believe what's mentioned above is enough. For powertop, below is an excerpt from http://www.lesswatts.org/projects/powertop/faq.php: - What distribution is required? Any distribution that supports kernel 2.6.21 or newer with dynticks enabled. - What kernel options should I enable inside the kernel? CONFIG_NO_HZ CONFIG_HIGH_RES_TIMERS CONFIG_HPET_TIMER CONFIG_CPU_FREQ_GOV_ONDEMAND CONFIG_USB_SUSPEND CONFIG_SND_AC97_POWER_SAVE CONFIG_TIMER_STATS - What kernel options should I disable inside the kernel? CONFIG_IRQBALANCE CONFIG_ACPI_DEBUG Also the PowerTOP program itself suggests the following configurations: Suggestion: Enable the CONFIG_INOTIFY kernel configuration option. This option allows programs to wait for changes in files and directories instead of having to poll for these changes Suggestion: Enable the CONFIG_CPU_FREQ_STAT kernel configuration option. This option allows PowerTOP to show P-state percentages P-states correspond to CPU frequencies. Suggestion: Enable the CONFIG_PCIEASPM kernel configuration option. PCI Link Powermanagement (ASPM) allows the hardware to go to low power mode automatically when a PCI-E device is idle. Suggestion: Enable the CONFIG_HPET_TIMER kernel configuration option. Without HPET support the kernel needs to wake up every 20 milliseconds for some housekeeping tasks. Suggestion: Enable the CONFIG_ACPI_BATTERY kernel configuration option. This option is required to get power estimages from PowerTOP Suggestion: Enable the CONFIG_NO_HZ kernel configuration option. This option is required to get any kind of longer sleep times in the CPU. Suggestion: Enable the CONFIG_CPU_FREQ_GOV_ONDEMAND kernel configuration option. The 'ondemand' CPU speed governor will minimize the CPU power usage while giving you performance when it is needed. Suggestion: Enable the CONFIG_PM_RUNTIME kernel configuration option. This option enables the kernel to manage power for various devices in your compu ter. Suggestion: Enable the CONFIG_PM_ADVANCED_DEBUG kernel configuration option. This option will allow PowerTOP to collect runtime power management statistics. Suggestion: Enable the CONFIG_USB_SUSPEND kernel configuration option. This option will automatically disable UHCI USB when not in use, and may save approximately 1 Watt of power.
Assign to Tom since he's owning eMenlow and Intel BSPs
http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=5783e717ee9f503d8e03992306a6b9ddfda6f73e
Verified in M4 RC2.