public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* RE: [ECOS] ixp42x NPE networking build issue.
@ 2006-07-20 10:29 vijay.peshkar
  2006-07-20 13:36 ` Mark Salter
  0 siblings, 1 reply; 20+ messages in thread
From: vijay.peshkar @ 2006-07-20 10:29 UTC (permalink / raw)
  To: msalter; +Cc: jerzy.dyrda, ecos-discuss


Mark,

 I picked up if_npe.c from Jerzy's mail as am not seeing it in any other
place/CVS.
Also, have downloaded the microcode(IxNpeMicrocode.c) from the link you
have suggested below.

But the epk you mentioned contains only the RedBoot Pre-Built Binaries
(includes NPE Ethernet support).
Since my aim is to get the NPE eth working on my regular image, this
would not be helpful.

Now,the only missing link in my puzzle is the access library.
Is there any ecos access library (which intel must have ported for its
ecos redboot binary) that can be used or I have to port the whole access
library to ecos?.

Regards,
Vijay

-----Original Message-----
From: ecos-discuss-owner@ecos.sourceware.org
[mailto:ecos-discuss-owner@ecos.sourceware.org] On Behalf Of Mark Salter
Sent: Tuesday, July 18, 2006 7:52 PM
To: Vijay Kumar Peshkar (WT01 - Semiconductors IP Solutions)
Cc: jerzy.dyrda@kontron.pl; ecos-discuss@ecos.sourceware.org
Subject: RE: [ECOS] ixp42x NPE networking build issue.

On Tue, 2006-07-18 at 09:13 +0530, vijay.peshkar@wipro.com wrote:

> The intel site no longer maintains redboot for IXP425. Its all 2800
now.

http://developer.intel.com/design/network/products/npfamily/ixp425swr1.h
tm

After registration/login you can get to the NPE driver code (eCos .epk)
and microcode. The same driver works for all IXP4xx family. It is a
RedBoot-only driver, but I may have an opportunity to add interrupt
support (Jerzy did this for an earlier version) to the official Intel
package in the near future.

--Mark



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



The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com

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

^ permalink raw reply	[flat|nested] 20+ messages in thread
* RE: [ECOS] ixp42x NPE networking build issue
@ 2006-07-26  5:59 sumanth
  2006-07-26 14:57 ` Mark Salter
  2006-08-01 13:15 ` sumanth
  0 siblings, 2 replies; 20+ messages in thread
From: sumanth @ 2006-07-26  5:59 UTC (permalink / raw)
  To: ecos-discuss


HI Jerzy and Mark,
 
             This is sumanth , i have compiled the source of ecos what intel
gives ,but i am short falling of one header file which i could'nt get in the
intel site, can you please give us the link from where we can get the header
file
devs_eth_intel_npe.h
 
 
Thanks & regards,
Sumanth.
-- 
View this message in context: http://www.nabble.com/RE%3A--ECOS--ixp42x-NPE-networking-build-issue-tf2002214.html#a5498126
Sent from the Sourceware - ecos-discuss forum at Nabble.com.


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

^ permalink raw reply	[flat|nested] 20+ messages in thread
* RE: [ECOS] ixp42x NPE networking build issue.
@ 2006-07-18  3:44 vijay.peshkar
  2006-07-18 14:22 ` Mark Salter
  0 siblings, 1 reply; 20+ messages in thread
From: vijay.peshkar @ 2006-07-18  3:44 UTC (permalink / raw)
  To: jerzy.dyrda, ecos-discuss


Hi Jerzy,

Thanks for the reply. Are you saying that such a driver already exists
For non-interrupt mode?. Am unable to locate it.

The intel site no longer maintains redboot for IXP425. Its all 2800 now.
And, even in this 2800's redboot, I guess I will have to extract the
same and
Port it to IXP425 and also to run in my non-redboot build?.

Another alternative am thinking of is to check if netbsd has a npe
driver.

Regards,
Vijay

-----Original Message-----
From: jerzy dyrda [mailto:jerzy.dyrda@kontron.pl]
Sent: Monday, July 17, 2006 8:59 PM
To: Vijay Kumar Peshkar (WT01 - Semiconductors IP Solutions)
Subject: Re: [ECOS] ixp42x NPE networking build issue.

Hello Vijay,

> Am a newbie to ecos on ixp425 npe.
> Searching my mails archive, found the below discussion.
> Any pointers on availiblity of eth npe driver(if_npe.c ?)
Discussion was about extending driver to interrupt mode but if you use
Redboot you don't need such feature.

> Or I will have to write it from scratch?.
No driver has been ported to Redboot - below it's mail from Mark Salter
(author of this port) about as I suppose similar question.

> > Hi,
> >
> >                  It may be basic or asked before but still.... ,does

> > Ecos have microcode for the npe's ? which can configure the npe as
> > eternet,
atm,
> > hss ... ,I have options like
> >
>
> The eCos CVS repository does not have the NPE microcode because of
> license issues with it and the Intel CSR library. You can grab both
> from Intel:
>
> http://developer.intel.com/design/network/products/npfamily/ixp425swr1
> .htm
>
> --Mark

Best regards,
jerzy


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com

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

^ permalink raw reply	[flat|nested] 20+ messages in thread
* RE: [ECOS] ixp42x NPE networking build issue.
@ 2006-07-17  5:40 vijay.peshkar
  0 siblings, 0 replies; 20+ messages in thread
From: vijay.peshkar @ 2006-07-17  5:40 UTC (permalink / raw)
  To: jerzy.dyrda, ecos-discuss, kgardas


 Hi all,

Am a newbie to ecos on ixp425 npe.
Searching my mails archive, found the below discussion.
Any pointers on availiblity of eth npe driver(if_npe.c ?)
Or I will have to write it from scratch?.

Jerzy and Karel - any pointers would be helpful.

Regards,
Vijay

-----Original Message-----
From: ecos-discuss-owner@ecos.sourceware.org
[mailto:ecos-discuss-owner@ecos.sourceware.org] On Behalf Of jerzy dyrda
Sent: Monday, January 09, 2006 3:37 PM
To: ecos-discuss@ecos.sourceware.org; Karel Gardas
Subject: Re: [ECOS] ixp42x NPE networking build issue.

Hello all,

On Wednesday 28 of December 2005 23:00, Mark Salter wrote:
> On Wed, 2005-12-28 at 22:13 +0100, Karel Gardas wrote:
> > I've also copied Jerzy's if_npe.c and now I'm fighting with various
> > compilation issues. Generaly Intel code's complaining about RebBoot
> > not enabled. Is RedBoot required for this to work? i.e. do I need to

> > build my NPE-enabled eCos app including RedBoot just to be able to
build it?
>
> Hmm, Jerzy may have had to make changes in the Intel code to get it
> all to build. RedBoot isn't the solution.
>

Sorry, but I have had vacation.

I made some modification in Intel code ( very minor ) but without their
npe
driver can't be compiled.  
Regarding MAC address - I "ported" this driver to custom board with own
mac getting mechanism ( I have special function to do it) - please don't
suggest actual state of CONFIG_ESA - it is valid only for RedBoot.

Karel :  I assume that you need to add some defines like DEBUG ( I made
mistake add counter - variable i - and forgot to remove, this problem
appears only when DEBUG is define ) or NPE_USE_INTS ( initially I tried
to use suspended thread to pool dispatcherFunc() ) which are added to
cdl file.

Best Regards,
jerzy


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



The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com

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

^ permalink raw reply	[flat|nested] 20+ messages in thread
* [ECOS] ixp42x NPE networking build issue.
@ 2005-12-28 16:56 Karel Gardas
  2005-12-28 17:10 ` Andrew Lunn
  2005-12-28 17:15 ` Mark Salter
  0 siblings, 2 replies; 20+ messages in thread
From: Karel Gardas @ 2005-12-28 16:56 UTC (permalink / raw)
  To: eCos Mailing List


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!"
In file included 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/IxOsal.h:1133: 
warning: function declaration isn't a prototype
In file included from 
/home/karel/usr/local/xscale-npe1/full_install/include/IxOsalBackward.h:57,
                  from 
/home/karel/usr/local/xscale-npe1/full_install/include/IxOsBuffMgt.h:52,
                  from 
/home/karel/usr/local/xscale-npe1/full_install/include/IxEthAcc.h:56,
                  from 
/usr/local/src/cvs/ecos/ecos/packages/devs/eth/intel/npe/common/v2_0/src/if_npe.c:69:
/home/karel/usr/local/xscale-npe1/full_install/include/IxOsalBackwardOsServices.h:72:1: 
warning: "LOG_WARNING" redefined
In file included from 
/home/karel/usr/local/xscale-npe1/full_install/include/cyg/io/eth/eth_drv.h:63,
                  from 
/usr/local/src/cvs/ecos/ecos/packages/devs/eth/intel/npe/common/v2_0/src/if_npe.c:66:
/home/karel/usr/local/xscale-npe1/full_install/include/sys/param.h:1023:1: 
warning: this is the location of the previous definition
In file included from 
/home/karel/usr/local/xscale-npe1/full_install/include/IxOsalBackward.h:63,
                  from 
/home/karel/usr/local/xscale-npe1/full_install/include/IxOsBuffMgt.h:52,
                  from 
/home/karel/usr/local/xscale-npe1/full_install/include/IxEthAcc.h:56,
                  from 
/usr/local/src/cvs/ecos/ecos/packages/devs/eth/intel/npe/common/v2_0/src/if_npe.c:69:
/home/karel/usr/local/xscale-npe1/full_install/include/IxOsalBackwardOssl.h:166: 
warning: function declaration isn't a prototype
/home/karel/usr/local/xscale-npe1/full_install/include/IxOsalBackwardOssl.h:246: 
warning: function declaration isn't a prototype
/usr/local/src/cvs/ecos/ecos/packages/devs/eth/intel/npe/common/v2_0/src/if_npe.c: 
In function 'npe_init':
/usr/local/src/cvs/ecos/ecos/packages/devs/eth/intel/npe/common/v2_0/src/if_npe.c:917: 
warning: unused variable 'i'
make[1]: *** [src/if_npe.o.d] Error 1
make[1]: Leaving directory 
`/home/karel/usr/local/xscale-npe1/full_build/devs/eth/intel/npe/common/v2_0'
make: *** [build] Error 2


Has anybody here succeed compiling this stuff?

Thanks,
Karel
--
Karel Gardas                  kgardas@objectsecurity.com
ObjectSecurity Ltd.           http://www.objectsecurity.com

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

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2006-08-01 15:34 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-20 10:29 [ECOS] ixp42x NPE networking build issue vijay.peshkar
2006-07-20 13:36 ` Mark Salter
  -- strict thread matches above, loose matches on Subject: below --
2006-07-26  5:59 sumanth
2006-07-26 14:57 ` Mark Salter
2006-08-01 13:15 ` sumanth
2006-08-01 15:34   ` Mark Salter
2006-07-18  3:44 vijay.peshkar
2006-07-18 14:22 ` Mark Salter
2006-07-17  5:40 vijay.peshkar
2005-12-28 16:56 Karel Gardas
2005-12-28 17:10 ` Andrew Lunn
2005-12-28 17:15 ` Mark Salter
2005-12-28 18:35   ` Karel Gardas
2005-12-28 20:39     ` Karel Gardas
2005-12-28 21:05       ` Mark Salter
2005-12-28 21:14         ` Karel Gardas
2005-12-28 21:31           ` Andrew Lunn
2005-12-28 21:51             ` Karel Gardas
2005-12-28 22:00           ` Mark Salter
2006-01-09 10:07             ` jerzy dyrda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).