On 09/27/2005 10:09 PM [EMAIL PROTECTED] wrote: > > Hi Wolfgang , > > Thanks for the advice, > now i am in a bit of confusion , > as I am not compiling the driver as module normal linux enet driver , > and for rtnet to get it up , i need to compile it as a module , i mean > to say as i am not compiling this driver at all how will the symbols of > this will get exported ? > or is it in commproc.c , u say these symbols will be avilable to the rtnet > module , correct me please ,
You cannot compile the normal Linux enet driver as module because it's not supported. But for RTnet, a module must be loaded to provide the required functionality. Therefore you have to export the missing symbols in ppc_ksym.c: EXPORT_SYMBOL(cpmp); EXPORT_SYMBOL(m8xx_cpm_hostalloc); EXPORT_SYMBOL(m8xx_cpm_dpalloc); EXPORT_SYMBOL(m8xx_cpm_dpfree); ... EXPORT_SYMBOL(consistent_alloc); EXPORT_SYMBOL(consistent_free); And do not forget to disable the "enet" driver in the kernel. The README.rtnet at ftp://ftp.denx.de/pub/RTAI/old/24.1.12/ might be useful, even if it's not up to date. > yes i would like to go higher vesrion , as our project needs to meet > deadline , i need to make many chnages with higher version of kernel , yes > but will take it up after sometime . OK, good luck. Wolfgang. > > > > > (Embedded Wolfgang Grandegger <[EMAIL PROTECTED]>@lists.sourceforge.net > > image moved 09/28/2005 12:44 AM > > to file: > > pic14962.pcx) > > > > > > > > Sent by: [EMAIL PROTECTED] > > > To: [EMAIL PROTECTED] > cc: [EMAIL PROTECTED], [EMAIL PROTECTED], > rtnet-users@lists.sourceforge.net, [EMAIL PROTECTED] > Subject: Re: [RTnet-users] rtnet ethernet driver > > Security Level:? Internal > > On 09/27/2005 05:39 PM [EMAIL PROTECTED] wrote: >> >> hi , >> I am newbie to rtai and rtnet , >> onmy custom controller i am running linux-2.4.19 ,with rtai24.2.12 and >> rtnet-0.8.0 , on mpc862 >> first problem i faced when insmod rtai-rtdm.o is , it says resource not >> avialble temporarily , then i found in the code , its not able to make >> entry in proc it was failing create_proc_entry , i disabled > CONFIG_PROC_FS >> , i got rtai-rtdm working , later got rtnet.o working , is this the > correct >> soulution ? >> now when i try to insmod rt_mpc8xx_enet.o >> i get this >> >> Using rt_mpc8xx_enet.o >> insmod: unresolved symbol m8xx_cpm_dpalloc >> insmod: unresolved symbol consistent_alloc >> insmod: unresolved symbol m8xx_cpm_dpfree >> insmod: unresolved symbol cpmp >> >> is it that i needto EXPORT_SYMBOL in arch/ppc/kernel/ppc_ksysm.c file , >> correct me if am wrong , or what else i am missing . > > You are right. The missing symbols have to be exported in ppc_ksysm.c > like it is already done inthe DENX linuxppc_2_4_devel tree (have a look > to http://www.denx.de). It may also make sense to update to a more > recent version of Linux 2.4. Furthermore I recommand to use RTnet > version 0.8.3 and RTAI 24.1.13 from the RTAI "stromboli" CVS branch. > > Wolfgang. > >> >> Thanks In Advance >> neelu >> >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: >> Power Architecture Resource Center: Free content, downloads, discussions, >> and more. http://solutions.newsforge.com/ibmarch.tmpl >> _______________________________________________ >> RTnet-users mailing list >> RTnet-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/rtnet-users >> >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > RTnet-users mailing list > RTnet-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/rtnet-users > > > ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users