Active Topics

 


Reply
Thread Tools
Guest | Posts: n/a | Thanked: 0 times | Joined on
#11
Originally Posted by Vento View Post
Guys... I've some problem to understand exactly what I've to do it. I found some pages (very old) that explain how to compile a kernel from the beginning. I'm not a noob.. I've already complied successfuly a lot of kernel on my PC for my PC, but this is the first time that:

- I complile a kernel from my PC for another architecture/device
- I compile for Maemo
- I use Maemo SDK
- I use Scrathbox

Btw, I know how to edit a f***** config file to compile a kernel... Can someone write down here step-by-step what I've to do ? Pleeeeeessssseeeeeee
hmm I suppose you may find help here
http://talk.maemo.org/showthread.php?t=57123
 

The Following User Says Thank You to For This Useful Post:
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#12
in scratchbox, FREMANTLE_ARMEL target:

1. add deb and deb-src extras-devel repos in /etc/apt/sources.list :

Code:
    deb http://repository.maemo.org/extras-devel/ fremantle free non-free
    deb-src http://repository.maemo.org/extras-devel/ fremantle free
2. apt-get update
3. apt-get source kernel-power
4. cd kernel-power...
5. dpkg-buildpackage -rfakeroot -b
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer

 

The Following 3 Users Say Thank You to freemangordon For This Useful Post:
Posts: 178 | Thanked: 91 times | Joined on May 2011 @ Mira (Venice) - Italy
#13
Yay ty all.

Vistualbox, SDK Lucid, your comments, some google and now i can use "make menuconfig"

As far I know, make menuconfig (the first time) will load the default configuration. I would like to use the original config from kernel-power 52, so I download the .deb, extract it, extract zImage-2.6.28.10-power52.fiasco wit 0xFFFF, now I have a kernel_2.6.28.10-power52 file.... maybe I'm dooing something wrong :P? Where I can find the original config of kernel_2.6.28.10-power52? or maybe is the default one?
 
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#14
check in debian/rules, how is make called
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer

 

The Following User Says Thank You to freemangordon For This Useful Post:
Posts: 178 | Thanked: 91 times | Joined on May 2011 @ Mira (Venice) - Italy
#15
Solved

Reading here : http://wiki.maemo.org/Documentation/...o_Kernel_Guide
After downloading the source with :
apt-get source kernel-power

if I try :

make EXTRAVERSION=-vento52 rx51_defconfig

make say :

HOSTCC scripts/basic/fixdep
scripts/basic/fixdep.c: In function 'traps':
scripts/basic/fixdep.c:377:2: warning: dereferencing type-punned pointer will break strict-aliasing rules
scripts/basic/fixdep.c:379:4: warning: dereferencing type-punned pointer will break strict-aliasing rules
HOSTCC scripts/basic/docproc
HOSTCC scripts/basic/hash
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/kxgettext.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
***
*** Can't find default configuration "arch/arm/configs/rx51_defconfig"!
***
make[1]: *** [rx51_defconfig] Error 1
make: *** [rx51_defconfig] Error 2

So... no default config on kernel-power source or the name isn't rx51_defconfig ?

Last edited by Vento; 2014-07-03 at 12:33.
 

The Following User Says Thank You to Vento For This Useful Post:
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#16
Originally Posted by Vento View Post
Solved
Care to share how?
 

The Following User Says Thank You to reinob For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 07:55.