[PATCH 0/2] Make PowerTOP generic
amit.kucheria at linaro.org
Mon Aug 2 16:11:37 BST 2010
On 10 Jul 30, Loïc Minier wrote:
> On Fri, Jul 30, 2010, Amit Kucheria wrote:
> > > Will it make sense to have a "readme.ARM" or some other file in
> > > powertop which describes this step ? Any suggestions on how best to do
> > > this ?
> > Compiling natively (on target) or in a qemu-based armel environment on the
> > desktop will be required.
> > I'm hoping our debian friends will suggest some nifty tricks to make this
> > easy.
> xdeb cross-buildt it fine :-)
> xdeb --apt-source -a armel powertop
> should cross-build the pre-dependencies and powertop itself and output
> powertop_1.11+git20091208-0ubuntu1_armel.deb which has an ARM
> For this to work, you want:
> * a maverick install or chroot
> * hrw's cross-toolchain packages installed
> * xdeb and build-essential installed
Got this setup and fixed the wiki documentation along the way.
All my xdeb builds crash and burn with the following error:
arm-linux-gnueabi-objdump: /lib/libm.so.6: File format not recognized
dpkg-shlibdeps: error: arm-linux-gnueabi-objdump gave error exit status 1
I've tried grep, powertop and binutils.
I'm running this in a maverick chroot on Lucid (64-bit).
Any clues what might be going wrong?
More information about the Linaro-dev