maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N810 (https://talk.maemo.org/forumdisplay.php?f=28)
-   -   Compile Diablo kernel from source (https://talk.maemo.org/showthread.php?t=22428)

bcharrow 2008-07-30 20:17

Compile Diablo kernel from source
 
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?

kimitake 2008-08-02 06:03

Re: Compile Diablo kernel from source
 
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

ddalex 2009-12-04 10:35

Re: Compile Diablo kernel from source
 
Did you manage to get powertop to run ?

Any interesting results ?


All times are GMT. The time now is 16:57.

vBulletin® Version 3.8.8