Power Developer
https://powerdeveloper.org/forums/

configuring 2.6.20 for efika
https://powerdeveloper.org/forums/viewtopic.php?f=7&t=1176
Page 1 of 1

Author:  volumetric_display [ Tue Feb 13, 2007 8:49 am ]
Post subject:  configuring 2.6.20 for efika

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.

Author:  acrux [ Tue Feb 13, 2007 9:02 am ]
Post subject: 

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/

Author:  volumetric_display [ Tue Feb 13, 2007 9:31 am ]
Post subject: 

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?

Author:  acrux [ Tue Feb 13, 2007 9:49 am ]
Post subject: 

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!

Author:  volumetric_display [ Tue Feb 13, 2007 11:16 am ]
Post subject: 

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. :)

Author:  volumetric_display [ Tue Feb 13, 2007 5:12 pm ]
Post subject: 

Done and booted. Next would be installing madwifi for AR5212.

Author:  ifaistos [ Fri Feb 16, 2007 5:03 am ]
Post subject: 

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.

Author:  volumetric_display [ Fri Feb 16, 2007 9:08 pm ]
Post subject: 

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.

Author:  volumetric_display [ Thu Mar 08, 2007 8:43 pm ]
Post subject: 

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

Page 1 of 1 All times are UTC-06:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/