Reply
Thread Tools
Posts: 1 | Thanked: 2 times | Joined on Jul 2008
#1
So I'm trying to compile the kernel so that I can run PowerTOP on the N810. I've had a lot of trouble doing this, and would really appreciate some help.

Basically, I just need to add an extra flag to a config file along the way. Conceptually, pretty straightforward. Unfortunately, I've had limited success. I haven't even been able to compile an unmodified kernel directly from source. The main set of directions I've been following are here:

http://maemo.org/maemo_release_docum....x/node12.html

I have scratchbox (apophis) setup and can build something, but every time I flash a device with the kernel I've created, it just seems to break the tablet: the tablet boots, displays "NOKIA" in big blue letters, and then shuts off (it never makes it to the shaking hands part).

I've read here
(https://wiki.maemo.org/Compiling_the...les_and_initfs) that I might be having some incompatibility issues between the kernel image and the modules in initfs, but I'm not sure how to remedy this.

For installing scratchbox and the sdk I followed the directions under 'diablo' at http://tablets-dev.nokia.com/

Does anyone know what might be going wrong? Any advice on how to compile the kernel? Is there subtle bug in the directions I'm following/for some reason they don't apply to what I'm trying to do?
 

The Following 2 Users Say Thank You to bcharrow For This Useful Post:
Posts: 23 | Thanked: 18 times | Joined on May 2007 @ Fremont, CA
#2
I encountered the similar issue before.

If you run ubuntu 8.04, you need to add the following to /etc/sysctl.conf
vm.vdso_enabled = 0
vm.mmap_min_addr = 4096

and then run
sudo sysctl -p
 

The Following User Says Thank You to kimitake For This Useful Post:
Posts: 90 | Thanked: 32 times | Joined on Sep 2006 @ Bucuresti, Romania
#3
Did you manage to get powertop to run ?

Any interesting results ?
 
Reply


 
Forum Jump


All times are GMT. The time now is 18:56.