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

Re: [microblaze-uclinux] loadable module support in petalinux kernel 2.6



Hi John,

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.

>   * 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.

Cheers,
Erik

-- 

******************************************************* 
Dipl.-Ing. Erik Hansen
Entwickler / Developer 
SHF Communication Technologies AG 
Wilhelm-v.-Siemens-Str. 23 D; 12277 Berlin, Germany
E-Mail: hansen@xxxxxx     
Phone: +49-(0)30- 772 051-0 direct: -66
Fax: +49-(0)30- 753 10 78
Web: www.shf.de 
******************************************************* 
Sitz der Gesellschaft/Registered Office: Berlin;
Registergericht/Register Court: AG Berlin-Charlottenburg HRB 72633; 
Vorstand/Executive Board: Dr. Michael Martin, Dr. Frank Hieronymi, 
Dr. Lars Klapproth (stv.);
Aufsichtsratsvorsitzender/Chairman of the Supervisory Board: Dr. Walter
L. Rust.

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen und ist ausschließlich für den bezeichneten Adressaten
oder dessen Vertreter bestimmt. Wenn Sie nicht der richtige Adressat
sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte
sofort den Absender und vernichten Sie diese Mail. Jede Form der
Kenntnisnahme, Veröffentlichung, Vervielfältigung oder Weitergabe durch
andere Empfänger ist unzulässig.

This e-mail may contain confidential and/or privileged information and
is intended solely for the addressee or a representative there of. If
you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail.
Access to, publishing and copying of the information by a third party is
unauthorised. 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___________________________
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/