All times are UTC-06:00




Post new topic  Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Tue Feb 13, 2007 8:49 am 
Offline

Joined: Sun Nov 12, 2006 8:11 pm
Posts: 22
Location: Malaysia
Hi!

I am trying to compile a new kernel for efika. Am using stock 2.6.20 kernel source at the moment.

I took the config file from http://people.debian.org/~luther/efika/

However there are some symbols which does not exist in the stock kernel viz. :
Code:
.config:137:warning: trying to assign nonexistent symbol PPC_MPC5200
.config:138:warning: trying to assign nonexistent symbol PPC_BESTCOMM
.config:1036:warning: trying to assign nonexistent symbol PATA_MPC52xx
.config:1259:warning: trying to assign nonexistent symbol FEC_MPC52xx
.config:2342:warning: trying to assign nonexistent symbol SND_PPC_MPC52xx_AC97
.config:2394:warning: trying to assign nonexistent symbol USB_MULTITHREAD_PROBE
.config:2407:warning: trying to assign nonexistent symbol USB_OHCI_HCD_PPC_OF
.config:2408:warning: trying to assign nonexistent symbol USB_OHCI_HCD_PPC_OF_BE
.config:2409:warning: trying to assign nonexistent symbol USB_OHCI_HCD_PPC_OF_LE
.config:2411:warning: trying to assign nonexistent symbol USB_OHCI_BIG_ENDIAN_DESC
.config:2412:warning: trying to assign nonexistent symbol USB_OHCI_BIG_ENDIAN_MMIO
Secondly, is there somewhere I can get a bare minimum configuration file for efika?

Thanks.


Top
   
 Post subject:
PostPosted: Tue Feb 13, 2007 9:02 am 
Offline

Joined: Thu Oct 19, 2006 7:19 am
Posts: 271
Location: Italy/Greece
hi,

waiting for a new Debian .config maybe you can use the CRUX PPC one [1].


greetz,

[1]http://cvs.sunsite.dk/viewcvs.cgi/cruxppc/kernel/


Top
   
 Post subject:
PostPosted: Tue Feb 13, 2007 9:31 am 
Offline

Joined: Sun Nov 12, 2006 8:11 pm
Posts: 22
Location: Malaysia
thanks acrux!

The config file is just what I am looking for. :)

Question : I still get the same warnings when using config file from CRUX PPC. Do I need to patch the vanilla 2.6.20?


Top
   
 Post subject:
PostPosted: Tue Feb 13, 2007 9:49 am 
Offline

Joined: Thu Oct 19, 2006 7:19 am
Posts: 271
Location: Italy/Greece
yes, you need to patch it.
That .config is used with:
http://cvs.sunsite.dk/viewcvs.cgi/cruxp ... .25.tar.gz
http://cvs.sunsite.dk/viewcvs.cgi/cruxp ... l/v4l.diff
http://cvs.sunsite.dk/viewcvs.cgi/cruxp ... -logo.diff

but obviously you can use it with only sven-efika+cruxppc-2007.01.25.tar.gz


to quickly patch it you can use the bash..
Code:
tar -xjvf linux-2.6.20.tar.bz2
tar -xvzf sven-efika+cruxppc-2007.01.25.tar.gz
cd linux-2.6.20/
make mrproper
for i in ../sven-efika+cruxppc-2007.01.25/*.txt; do patch -p1 < $i ; done
make menuconfig
make
make modules_install
...

good work!


Top
   
 Post subject:
PostPosted: Tue Feb 13, 2007 11:16 am 
Offline

Joined: Sun Nov 12, 2006 8:11 pm
Posts: 22
Location: Malaysia
Thanks acrux!

Am off to bed now. Hope to see a brand new kernel in the morning. :)

p.s. I wonder if I can "cross-compile" on an iBook G4 or PowerMac G5 to speed things up a little. The next time that is. :)

The chances are, I can. :)


Top
   
 Post subject:
PostPosted: Tue Feb 13, 2007 5:12 pm 
Offline

Joined: Sun Nov 12, 2006 8:11 pm
Posts: 22
Location: Malaysia
Done and booted. Next would be installing madwifi for AR5212.


Top
   
 Post subject:
PostPosted: Fri Feb 16, 2007 5:03 am 
Offline

Joined: Sat Feb 25, 2006 8:08 am
Posts: 18
Location: Greece
Let me know if you make it.
It seems that madwifi is looking for some kernel headers which due the migration from ppc to powerpc arch in the kernel are not availiable in kernels > 2.6.15 for some cpu's.


Top
   
 Post subject:
PostPosted: Fri Feb 16, 2007 9:08 pm 
Offline

Joined: Sun Nov 12, 2006 8:11 pm
Posts: 22
Location: Malaysia
Quote:
Let me know if you make it.
It seems that madwifi is looking for some kernel headers which due the migration from ppc to powerpc arch in the kernel are not availiable in kernels > 2.6.15 for some cpu's.
Yes it worked! :D

I suppose I am using etch headers. Not entirely sure. :)

I'll check it up and post here.


Top
   
 Post subject:
PostPosted: Thu Mar 08, 2007 8:43 pm 
Offline

Joined: Sun Nov 12, 2006 8:11 pm
Posts: 22
Location: Malaysia
Quote:
Quote:
Let me know if you make it.
It seems that madwifi is looking for some kernel headers which due the migration from ppc to powerpc arch in the kernel are not availiable in kernels > 2.6.15 for some cpu's.
Yes it worked! :D

I suppose I am using etch headers. Not entirely sure. :)

I'll check it up and post here.
Am using headers from 2.6.18(something) etch provided headers. It installed itself when I do
Code:
apt-get install libc6-dev


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 9 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group