This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ixp42x NPE networking build issue.


On Wed, Dec 28, 2005 at 05:56:05PM +0100, Karel Gardas wrote:
> 
> Hello,
> 
> I'm experimenting with CVS eCos and trying to get it working for ixp42x 
> board including NPE ethernet support. I've downloaded:
> 
> Redboot-v2_01-epk.zip
> Redboot-v2_01-npe-microcode.zip
> 
> files from intel.com and installed them following their documentation. 
> Unfortunately when I try to build ixdp425 with NPE Ethernet with `all' 
> packages, I get this error message:
> 
> arm-elf-gcc -c  -I/home/karel/usr/local/xscale-npe1/full_install/include 
> -I/usr/local/src/cvs/ecos/ecos/packages/devs/eth/intel/npe/common/v2_0 
> -I/usr/local/src/cvs/ecos/ecos/packages/devs/eth/intel/npe/common/v2_0/src 
> -I/usr/local/src/cvs/ecos/ecos/packages/devs/eth/intel/npe/common/v2_0/tests 
> -I. 
> -I/usr/local/src/cvs/ecos/ecos/packages/devs/eth/intel/npe/common/v2_0/src/ 
> -finline-limit=7000 -mcpu=xscale -Wall -Wpointer-arith -Wstrict-prototypes 
> -Winline -Wundef  -g -O2 -ffunction-sections -fdata-sections 
> -fno-exceptions  -mapcs-frame -D_KERNEL -D__ECOS -DCPU=33 -DXSCALE=33 
> -DIX_COMPONENT_NAME=1 -DNDEBUG 
> -I/home/karel/usr/local/xscale-npe1/full_install/include/osal 
> -I/home/karel/usr/local/xscale-npe1/full_install/include/osal/modules/bufferMgt 
> -I/home/karel/usr/local/xscale-npe1/full_install/include/osal/modules/ioMem 
> -I/home/karel/usr/local/xscale-npe1/full_install/include/osal/modules/ioMem 
> -I/home/karel/usr/local/xscale-npe1/full_install/include/osal/ecos/core 
> -I/home/karel/usr/local/xscale-npe1/full_install/include/osal/ecos/modules/bufferMgt 
> -I/home/karel/usr/local/xscale-npe1/full_install/include/osal/ecos/modules/ioMem 
> -I/home/karel/usr/local/xscale-npe1/full_install/include/osal/ecos/platforms/ixp400 
> -Wp,-MD,src/if_npe.tmp -o src/devs_eth_intel_npe_common_if_npe.o 
> /usr/local/src/cvs/ecos/ecos/packages/devs/eth/intel/npe/common/v2_0/src/if_npe.c
> In file included from 
> /home/karel/usr/local/xscale-npe1/full_install/include/osal/modules/ioMem/IxOsalIoMem.h:58,
>                  from 
> /home/karel/usr/local/xscale-npe1/full_install/include/osal/IxOsalConfig.h:68,
>                  from 
> /home/karel/usr/local/xscale-npe1/full_install/include/osal/IxOsal.h:62,
>                  from 
> /usr/local/src/cvs/ecos/ecos/packages/devs/eth/intel/npe/common/v2_0/src/if_npe.c:68:
> /home/karel/usr/local/xscale-npe1/full_install/include/osal/modules/ioMem/IxOsalEndianess.h:74:2: 
> error: #error "Need something for non-RedBoot case!"

The code from Intel is only for RedBoot, not normal eCos applications.

Search the archive, there have been a few people who have added the
extra code needed for using the ethernet in normal applications.

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]