Fix Powertop on Android

Registered by Zach Pfeffer on 2011-08-07

Powertop is currently broken on Android. It must be fixed.

Blueprint information

Status:
Complete
Approver:
Zach Pfeffer
Priority:
Medium
Drafter:
Tony Mansson
Direction:
Needs approval
Assignee:
Tony Mansson
Definition:
New
Series goal:
Accepted for 2011q2
Implementation:
Implemented
Milestone target:
milestone icon 11.09
Started by
Tony Mansson on 2011-08-23
Completed by
Tony Mansson on 2011-09-26

Related branches

Sprints

Whiteboard

Notes:
Fix ncurses behaviour in console to always get readable output (broken on Pandaboard Android) NOT REQUIRED This behavior is only seen in minicom. When using putty there are no problems.

The sanity check cannot be done until kernel configs are changed which will not be done before 11.09 component deadline.
Propose new BP for 11.10 to check values now that the program is stable. Could be deferred to PMWG.

Fix powertop that is broken on Intel on linaro branch to enable upstreaming (lower prio) POSTPONED Upstreaming is not part of the spirit of this BP. Suggest discussion and possible new BP.

[Tony] This BP is related to https://blueprints.launchpad.net/linaro-powertop/+spec/powertop2.0-support-arm. Linaro powertop is tracking git.kernel.org/pub/scm/status/powertop/powertop.git

[pfefferz, 2011/10/3] Filed a bug on the POSTPONED items.

Headline:
Powertop is now available on Android

Acceptance:
The Linaro branch of Powertop runs and produce meaningful data with Ubuntu and Android on ARM while continuing to work with Ubuntu on Intel.

(?)

Work Items

Work items:
Fix the parsing of /proc/cpuinfo to produce defined result for all boards and Intel. DONE: TODO
Test on Pandaboard for stability in Android DONE: TODO
Bisect linaro branch to identify why linaro branch is broken on Intel DONE: TODO
Sanity check of all obtained measurement values on Pandaboard POSTPONED: TODO

This blueprint contains Public information 
Everyone can see this information.