Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - compilation of mpc85xx driver: (3 Items)
   
compilation of mpc85xx driver  
on Linux when I attempt to compile the devnp-mpc85xx with the "core_networking_snapshot" version (1588) I have the 
beloaw error message :

/home/charles/ide-4.6-workspace/TC640_2772_pppd-Update/sys/dev_qnx/mpc85xx/detect.c:24:28: error: hw/hwinfo_85xx.h: No 
such file or directory
/home/charles/ide-4.6-workspace/TC640_2772_pppd-Update/sys/dev_qnx/mpc85xx/detect.c: In function 
'ppc8xxx_get_syspage_params':
/home/charles/ide-4.6-workspace/TC640_2772_pppd-Update/sys/dev_qnx/mpc85xx/detect.c:1353: error: 'PPC85xx_HWI_eTSEC' 
undeclared (first use in this function)
/home/charles/ide-4.6-workspace/TC640_2772_pppd-Update/sys/dev_qnx/mpc85xx/detect.c:1353: error: (Each undeclared 
identifier is reported only once
/home/charles/ide-4.6-workspace/TC640_2772_pppd-Update/sys/dev_qnx/mpc85xx/detect.c:1353: error: for each function it 
appears in.)
/home/charles/ide-4.6-workspace/TC640_2772_pppd-Update/sys/dev_qnx/mpc85xx/detect.c:1368: warning: implicit declaration 
of function 'hwitag_find_nicaddr'
/home/charles/ide-4.6-workspace/TC640_2772_pppd-Update/sys/dev_qnx/mpc85xx/detect.c:1371: warning: implicit declaration 
of function 'hwitag_find_phyaddr'
cc: /opt/qnx641/host/linux/x86/usr/lib/gcc/powerpc-unknown-nto-qnx6.4.0/4.3.3/cc1 error 1

I don't where to find the file : hwinfo_85xx.h
RE: compilation of mpc85xx driver  
The file you are looking for is under hardware/startup/lib. You will
have to check out this directory and then do a "make hinstall".


-----Original Message-----
From: Charles-Hubert PERRE [mailto:community-noreply@qnx.com] 
Sent: Wednesday, October 28, 2009 7:56 AM
To: drivers-networking
Subject: compilation of mpc85xx driver

on Linux when I attempt to compile the devnp-mpc85xx with the
"core_networking_snapshot" version (1588) I have the beloaw error
message :

/home/charles/ide-4.6-workspace/TC640_2772_pppd-Update/sys/dev_qnx/mpc85
xx/detect.c:24:28: error: hw/hwinfo_85xx.h: No such file or directory
/home/charles/ide-4.6-workspace/TC640_2772_pppd-Update/sys/dev_qnx/mpc85
xx/detect.c: In function 'ppc8xxx_get_syspage_params':
/home/charles/ide-4.6-workspace/TC640_2772_pppd-Update/sys/dev_qnx/mpc85
xx/detect.c:1353: error: 'PPC85xx_HWI_eTSEC' undeclared (first use in
this function)
/home/charles/ide-4.6-workspace/TC640_2772_pppd-Update/sys/dev_qnx/mpc85
xx/detect.c:1353: error: (Each undeclared identifier is reported only
once
/home/charles/ide-4.6-workspace/TC640_2772_pppd-Update/sys/dev_qnx/mpc85
xx/detect.c:1353: error: for each function it appears in.)
/home/charles/ide-4.6-workspace/TC640_2772_pppd-Update/sys/dev_qnx/mpc85
xx/detect.c:1368: warning: implicit declaration of function
'hwitag_find_nicaddr'
/home/charles/ide-4.6-workspace/TC640_2772_pppd-Update/sys/dev_qnx/mpc85
xx/detect.c:1371: warning: implicit declaration of function
'hwitag_find_phyaddr'
cc:
/opt/qnx641/host/linux/x86/usr/lib/gcc/powerpc-unknown-nto-qnx6.4.0/4.3.
3/cc1 error 1

I don't where to find the file : hwinfo_85xx.h



_______________________________________________

Networking Drivers
http://community.qnx.com/sf/go/post40866
Re: RE: compilation of mpc85xx driver  
Thank you.
It works fine now.
I think that the idea to add emu_phy option in the driver is great.
Today lot of new design use MII associate with a switch and not only Phy Transceiver.


> The file you are looking for is under hardware/startup/lib. You will
> have to check out this directory and then do a "make hinstall".
> 
> 
> -----Original Message-----
> From: Charles-Hubert PERRE [mailto:community-noreply@qnx.com] 
> Sent: Wednesday, October 28, 2009 7:56 AM
> To: drivers-networking
> Subject: compilation of mpc85xx driver
> 
> on Linux when I attempt to compile the devnp-mpc85xx with the
> "core_networking_snapshot" version (1588) I have the beloaw error
> message :
> 
> /home/charles/ide-4.6-workspace/TC640_2772_pppd-Update/sys/dev_qnx/mpc85
> xx/detect.c:24:28: error: hw/hwinfo_85xx.h: No such file or directory
> /home/charles/ide-4.6-workspace/TC640_2772_pppd-Update/sys/dev_qnx/mpc85
> xx/detect.c: In function 'ppc8xxx_get_syspage_params':
> /home/charles/ide-4.6-workspace/TC640_2772_pppd-Update/sys/dev_qnx/mpc85
> xx/detect.c:1353: error: 'PPC85xx_HWI_eTSEC' undeclared (first use in
> this function)
> /home/charles/ide-4.6-workspace/TC640_2772_pppd-Update/sys/dev_qnx/mpc85
> xx/detect.c:1353: error: (Each undeclared identifier is reported only
> once
> /home/charles/ide-4.6-workspace/TC640_2772_pppd-Update/sys/dev_qnx/mpc85
> xx/detect.c:1353: error: for each function it appears in.)
> /home/charles/ide-4.6-workspace/TC640_2772_pppd-Update/sys/dev_qnx/mpc85
> xx/detect.c:1368: warning: implicit declaration of function
> 'hwitag_find_nicaddr'
> /home/charles/ide-4.6-workspace/TC640_2772_pppd-Update/sys/dev_qnx/mpc85
> xx/detect.c:1371: warning: implicit declaration of function
> 'hwitag_find_phyaddr'
> cc:
> /opt/qnx641/host/linux/x86/usr/lib/gcc/powerpc-unknown-nto-qnx6.4.0/4.3.
> 3/cc1 error 1
> 
> I don't where to find the file : hwinfo_85xx.h
> 
> 
> 
> _______________________________________________
> 
> Networking Drivers
> http://community.qnx.com/sf/go/post40866