Thanks! a lot Christophe. Really appreciate your pointers.
Regards
adrip
From: Prigent, Christophe
Sent: 21 November 2013 14:57
To: Mukherjee, Adrip
Subject: RE: PowerTop Installation issue
Hi Adrip,
I don't see the binary anywhere, so yes you have to build it using the NDK from
Linux.
The readme document (in sources) contains a list of parameters to be added in the config
file (section "Kernel Parameters").
As I'm not working on Android, I hope somebody else will answer to you.
Christophe.
From: Mukherjee, Adrip
Sent: Thursday, November 21, 2013 5:19 AM
To: Prigent, Christophe
Subject: RE: PowerTop Installation issue
Hi Christophe,
So is there a way to get the PowerTop binary itself without
building the sources. Or first I need to build the binary using the NDK in a Linux build
machine and then use it on my Android system?
Also is there any kernel configuration needed to support powertop?
Regards
adrip
From: Mukherjee, Adrip
Sent: 21 November 2013 09:43
To: Prigent, Christophe
Subject: RE: PowerTop Installation issue
Thanks a lot Christophe. I will try out the same.
From: Prigent, Christophe
Sent: 20 November 2013 20:15
To: Prigent, Christophe; Mukherjee, Adrip;
powertop@lists.01.org<mailto:powertop@lists.01.org>
Subject: RE: PowerTop Installation issue
Sorry, apk can't be generated :(. It is only possible with java sources. So ignore the
last step.
And another possibility is to use the Android build system: the idea is to add PowerTop
sources inside Android sources and build everything at the same time.
Hope this help,
Christophe.
From: PowerTop [mailto:powertop-bounces@lists.01.org] On Behalf Of Prigent, Christophe
Sent: Wednesday, November 20, 2013 3:15 PM
To: Mukherjee, Adrip; powertop@lists.01.org<mailto:powertop@lists.01.org>
Subject: Re: [Powertop] PowerTop Installation issue
Hi Adrip,
I never tried on Android but I think you need to install the NDK, and use the NDK to build
PowerTop.
It is well documented here:
http://developer.android.com/tools/sdk/ndk/index.html
Here are simplified steps to give you an idea:
Place sources + "Android.mk" in your .../project/jni folder
Build the native code by running $NDK/ndk-build "APP_ABI := x86" script from
your project directory (APP_ABI := x86 is used for Intel Architecture).
Then you can build the Android apk, for example, using Eclipse.
Christophe.
From: PowerTop [mailto:powertop-bounces@lists.01.org] On Behalf Of Mukherjee, Adrip
Sent: Wednesday, November 20, 2013 12:33 PM
To: powertop@lists.01.org<mailto:powertop@lists.01.org>
Subject: [Powertop] PowerTop Installation issue
Hi ,
This is Adrip from Intel India PCCG group. Recently I was trying to install
powertop in my HSW PVT2 system having Android JellyBean internal version . According to
the installation steps listed here:
To build and install PowerTOP type the following commands,
./configure
./make
./make install
Its failing to configure with a message : "permission denied" even though I have
rooted my terminal emulator. Can you please tell me what I need to follow to run the
powertop tool on Android in a Haswell SDS system.
regards
Adrip
---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris,
92196 Meudon Cedex, France
Registration Number: 302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.