From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25180 invoked by alias); 28 Dec 2005 17:10:01 -0000 Received: (qmail 25173 invoked by uid 22791); 28 Dec 2005 17:10:00 -0000 X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 28 Dec 2005 17:09:59 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1EreoD-0007jI-00; Wed, 28 Dec 2005 18:09:53 +0100 Date: Wed, 28 Dec 2005 17:10:00 -0000 To: Karel Gardas Cc: eCos Mailing List Message-ID: <20051228170953.GB29606@lunn.ch> Mail-Followup-To: Karel Gardas , eCos Mailing List References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 From: Andrew Lunn X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] ixp42x NPE networking build issue. X-SW-Source: 2005-12/txt/msg00139.txt.bz2 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