[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [microblaze-uclinux] loadable module support in petalinux kernel2.6



Hi,
does loadable module support also mean that user applications can dynamically link against .so files?
Cheers, F@lk

Jim Van Vorst wrote:
> Can you post the full patch with the header file changes described 
> below, or is it online?
> 
> John Williams wrote:
> > Erik Hansen wrote:
> >> Thanks for your help!
> >>
> >> That was quick, indeed. I have just tried to compile the SMC91C111
> >> driver as a module and was able to load the required modules, to
> >> configure the network and to connect to the outside world.
> >> As soon as I have more time for this I will continue testing.
> >
> > Sounds good.
> >
> >>>  * microblaze_modules.patch - the core loadable module support
> >>>
> >>>  * platform_module_fixup.patch - a fixup to the handling of the 
> >>> platform_device initialisers, so that they work correctly 
> when the 
> >>> associated device drivers are built as modules.  See the 
> comment at 
> >>> the top of microblaze?platform/common/Makefile for details.
> >>
> >>
> >> I have applied both patches to a clean petalinux-v0.20-rc3 
> directory.
> >> Your patches did not include the changes I made to 
> >> include/asm-microblaze/elf.h and include/asm-microblaze/module.h.
> >> Is there any special reason for this? I was not able to compile the
> >> kernel with module support without patching those two files.
> >
> > Ah - an omission on my part.  Will report the patches shortly, with 
> > your header file changes.
 

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/