OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: scrapheap on October 30, 2007, 09:52:03 am
-
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
-
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/pdaxrom/branches/pdaxrom-stable/config/kernel/kernel-2.6.16-akita)
http://pdaxrom.svn.sourceforge.net/svnroot...el-2.6.16-corgi (http://pdaxrom.svn.sourceforge.net/svnroot/pdaxrom/branches/pdaxrom-stable/config/kernel/kernel-2.6.16-corgi)
Late
-
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?
-
I think you just need to do a "make dep," then point the thing you want to compile to the kernel source directory.
-
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.
-
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.
-
If I believe correctly... you have build the full kernel... then once the kernel is fully built... you can package the headers
Late
-
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.
-
There are links to nice how-tos (written by me ) here:
http://www.tyrannozaurus.com/?q=wiki/Main_Page (http://www.tyrannozaurus.com/?q=wiki/Main_Page)
-
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.
-
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
-
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.