OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Kernel Headers For R198
scrapheap
post Oct 30 2007, 05:52 AM
Post #1





Group: Members
Posts: 42
Joined: 8-August 06
Member No.: 10,687



Hi,
Does anyone have the kernel headers available as a tar so that I can quickly add them to my Zaurus for compiling modules. I have tried making them on the zaurus but I have no idea what the configuration used for pdaxrom's 2.6.16 kernel is.

Thanks
Go to the top of the page
 
+Quote Post
InSearchOf
post Oct 30 2007, 06:50 AM
Post #2





Group: Admin
Posts: 1,210
Joined: 20-January 06
From: York, Pennsylvania
Member No.: 8,961



I'm not really using the 2.6.16 kernel so I cant get you the headers... but here are the default kernel configs


http://pdaxrom.svn.sourceforge.net/svnroot...el-2.6.16-akita
http://pdaxrom.svn.sourceforge.net/svnroot...el-2.6.16-corgi

Late

Go to the top of the page
 
+Quote Post
scrapheap
post Oct 30 2007, 07:54 AM
Post #3





Group: Members
Posts: 42
Joined: 8-August 06
Member No.: 10,687



Thanks for the links they will make a big difference for me.

After downloading the config I renamed it .config and then ran make oldconfig. Now do I need to actually build the kernel or just link to the includes directory in the kernel tree?
Go to the top of the page
 
+Quote Post
Capn_Fish
post Oct 30 2007, 10:23 AM
Post #4





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



I think you just need to do a "make dep," then point the thing you want to compile to the kernel source directory.
Go to the top of the page
 
+Quote Post
scrapheap
post Oct 30 2007, 12:06 PM
Post #5





Group: Members
Posts: 42
Joined: 8-August 06
Member No.: 10,687



QUOTE(Capn_Fish @ Oct 30 2007, 06:23 PM) *
I think you just need to do a "make dep," then point the thing you want to compile to the kernel source directory.


Thanks I will give it a try.
Go to the top of the page
 
+Quote Post
scrapheap
post Oct 31 2007, 07:58 AM
Post #6





Group: Members
Posts: 42
Joined: 8-August 06
Member No.: 10,687



I had to build the kernel but now that I have done this I can compile the module.

Thanks for the help with this guys.
Go to the top of the page
 
+Quote Post
InSearchOf
post Oct 31 2007, 08:08 AM
Post #7





Group: Admin
Posts: 1,210
Joined: 20-January 06
From: York, Pennsylvania
Member No.: 8,961



If I believe correctly... you have build the full kernel... then once the kernel is fully built... you can package the headers

Late
Go to the top of the page
 
+Quote Post
scrapheap
post Oct 31 2007, 08:30 AM
Post #8





Group: Members
Posts: 42
Joined: 8-August 06
Member No.: 10,687



Is there any info on creating ipks for pdaxrom? If so I will look at packaging them. Of course it might be easier to just tar the lot for those few who would want it.
Go to the top of the page
 
+Quote Post
Capn_Fish
post Oct 31 2007, 10:25 AM
Post #9





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



There are links to nice how-tos (written by me smile.gif) here:

http://www.tyrannozaurus.com/?q=wiki/Main_Page
Go to the top of the page
 
+Quote Post
scrapheap
post Nov 1 2007, 02:30 AM
Post #10





Group: Members
Posts: 42
Joined: 8-August 06
Member No.: 10,687



Is there a way to make an ipk run a script after the module has been installed (can I just add a post-install script in the control.tar.gz).

What I need this for is I am making a ipk for my patched dm9601 kernel module and I need to get the zaurus to run depmod -a after installing.
Go to the top of the page
 
+Quote Post
Capn_Fish
post Nov 1 2007, 03:39 AM
Post #11





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



I believe there is. You just need to name the script something special (can't remember what it is).

You could just tell people to run it after installing the ipk, though smile.gif
Go to the top of the page
 
+Quote Post
scrapheap
post Nov 1 2007, 03:55 AM
Post #12





Group: Members
Posts: 42
Joined: 8-August 06
Member No.: 10,687



From the other pages about ipk's that I have looked at it look like it needs to be called postinst and I also need to create a postrm as well for uninstalling.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th October 2014 - 09:23 PM