* 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 ` [ECOS] " sumanth
0 siblings, 2 replies; 8+ 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] 8+ messages in thread
* RE: [ECOS] ixp42x NPE networking build issue
2006-07-26 5:59 [ECOS] ixp42x NPE networking build issue sumanth
@ 2006-07-26 14:57 ` Mark Salter
2006-07-27 9:07 ` [ECOS] " sumanth
2006-07-27 9:08 ` sumanth
2006-08-01 13:15 ` [ECOS] " sumanth
1 sibling, 2 replies; 8+ messages in thread
From: Mark Salter @ 2006-07-26 14:57 UTC (permalink / raw)
To: sumanth; +Cc: ecos-discuss
On Tue, 2006-07-25 at 22:59 -0700, sumanth wrote:
> 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
>
This file is generated during the build. It is not part of the sources.
If you properly configure things to include the NPE packages, that
file will get generated in <builddir>/install/include/pkgconf.
--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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [ECOS] RE: ixp42x NPE networking build issue
2006-07-26 14:57 ` Mark Salter
@ 2006-07-27 9:07 ` sumanth
2006-07-27 9:08 ` sumanth
1 sibling, 0 replies; 8+ messages in thread
From: sumanth @ 2006-07-27 9:07 UTC (permalink / raw)
To: ecos-discuss
Hi Mark,
Thanks for your reply, I am able to build the Redboot Image but
the problem is i am unable to build the default image for the grg from ui.
it is showing following errors
make[1]: Entering directory
`/home/sumant/redboot-intel-ixp4xx-050425/ecos-ecc/def-npe_build/hal/arm/arch/current'
/home/sumant/redboot-intel-ixp4xx-050425/packages/hal/arm/arch/current/src/hal_mk_defs.c:55:25:
pkgconf/hal.h: No such file or directory
arm-elf-gcc -finline-limit=7000 -Wall -Wpointer-arith -Wstrict-prototypes
-Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections
-fdata-sections -fno-rtti -fno-exceptions -mapcs-frame
-I/home/sumant/redboot-intel-ixp4xx-050425/ecos-ecc/def-npe_install/include
-I/home/sumant/redboot-intel-ixp4xx-050425/packages/hal/arm/arch/current
-I/home/sumant/redboot-intel-ixp4xx-050425/packages/hal/arm/arch/current/src
-I/home/sumant/redboot-intel-ixp4xx-050425/packages/hal/arm/arch/current/tests
-I. -Wp,-MD,arm.tmp -o hal_mk_defs.tmp -S
/home/sumant/redboot-intel-ixp4xx-050425/packages/hal/arm/arch/current/src/hal_mk_defs.c
In file included from
/home/sumant/redboot-intel-ixp4xx-050425/packages/hal/arm/arch/current/src/hal_mk_defs.c:57:
/home/sumant/redboot-intel-ixp4xx-050425/ecos-ecc/def-npe_install/include/cyg/hal/hal_arch.h:57:61:
pkgconf/hal.h: No such file or directory
/home/sumant/redboot-intel-ixp4xx-050425/ecos-ecc/def-npe_install/include/cyg/hal/hal_arch.h:58:32:
cyg/infra/cyg_type.h: No such file or directory
In file included from
/home/sumant/redboot-intel-ixp4xx-050425/packages/hal/arm/arch/current/src/hal_mk_defs.c:57:
/home/sumant/redboot-intel-ixp4xx-050425/ecos-ecc/def-npe_install/include/cyg/hal/hal_arch.h:106:
parse error before "cyg_uint32"
I am thinking of default image because i want
attach other applications to the default image while running npe also, can
you please sugesst how to get the macros of the header.
Thanks & regards,
Sumnath
--
View this message in context: http://www.nabble.com/RE%3A--ECOS--ixp42x-NPE-networking-build-issue-tf2002214.html#a5517705
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] 8+ messages in thread
* [ECOS] RE: ixp42x NPE networking build issue
2006-07-26 14:57 ` Mark Salter
2006-07-27 9:07 ` [ECOS] " sumanth
@ 2006-07-27 9:08 ` sumanth
1 sibling, 0 replies; 8+ messages in thread
From: sumanth @ 2006-07-27 9:08 UTC (permalink / raw)
To: ecos-discuss
Hi Mark,
Thanks for your reply, I am able to build the Redboot Image but
the problem is i am unable to build the default image for the grg from ui.
it is showing following errors
make[1]: Entering directory
`/home/sumant/redboot-intel-ixp4xx-050425/ecos-ecc/def-npe_build/hal/arm/arch/current'
/home/sumant/redboot-intel-ixp4xx-050425/packages/hal/arm/arch/current/src/hal_mk_defs.c:55:25:
pkgconf/hal.h: No such file or directory
arm-elf-gcc -finline-limit=7000 -Wall -Wpointer-arith -Wstrict-prototypes
-Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections
-fdata-sections -fno-rtti -fno-exceptions -mapcs-frame
-I/home/sumant/redboot-intel-ixp4xx-050425/ecos-ecc/def-npe_install/include
-I/home/sumant/redboot-intel-ixp4xx-050425/packages/hal/arm/arch/current
-I/home/sumant/redboot-intel-ixp4xx-050425/packages/hal/arm/arch/current/src
-I/home/sumant/redboot-intel-ixp4xx-050425/packages/hal/arm/arch/current/tests
-I. -Wp,-MD,arm.tmp -o hal_mk_defs.tmp -S
/home/sumant/redboot-intel-ixp4xx-050425/packages/hal/arm/arch/current/src/hal_mk_defs.c
In file included from
/home/sumant/redboot-intel-ixp4xx-050425/packages/hal/arm/arch/current/src/hal_mk_defs.c:57:
/home/sumant/redboot-intel-ixp4xx-050425/ecos-ecc/def-npe_install/include/cyg/hal/hal_arch.h:57:61:
pkgconf/hal.h: No such file or directory
/home/sumant/redboot-intel-ixp4xx-050425/ecos-ecc/def-npe_install/include/cyg/hal/hal_arch.h:58:32:
cyg/infra/cyg_type.h: No such file or directory
In file included from
/home/sumant/redboot-intel-ixp4xx-050425/packages/hal/arm/arch/current/src/hal_mk_defs.c:57:
/home/sumant/redboot-intel-ixp4xx-050425/ecos-ecc/def-npe_install/include/cyg/hal/hal_arch.h:106:
parse error before "cyg_uint32"
I am thinking of default image because i want
attach other applications to the default image while running npe also, can
you please sugesst how to get the macros of the header.
Thanks & regards,
Sumnath
--
View this message in context: http://www.nabble.com/RE%3A--ECOS--ixp42x-NPE-networking-build-issue-tf2002214.html#a5517717
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] 8+ messages in thread
* RE: [ECOS] ixp42x NPE networking build issue
2006-07-26 5:59 [ECOS] ixp42x NPE networking build issue sumanth
2006-07-26 14:57 ` Mark Salter
@ 2006-08-01 13:15 ` sumanth
2006-08-01 15:34 ` Mark Salter
1 sibling, 1 reply; 8+ messages in thread
From: sumanth @ 2006-08-01 13:15 UTC (permalink / raw)
To: ecos-discuss
Hi Mark & Jerzy,
I am trying to build the ram based image with npe
support, now i am able to suceed by compiling the redboot related acess
library which intel supplies, but when i call the api which starts the
downloading of microcode and start functioning
ixNpeDlNpeInitAndStart(IX_NPEDL_NPEIMAGE_NPEB_ETH);
he show the error message as [warning] Warning: the NPE B component you
specified does not exist
he is searching the microcode for NPE B at location 0x01000200 ,where that
Macro was defined to.
But since i compiled this NPE B microcode is at different location. are
there any compiler options such that we can specify the binary should be
loaded at specific location ?
are there any other mechanism to locate the microcode for NPE B and
download that into npe.
Thanks for your earlier repley, with that only i could proceed upto here.
Thanks & regards,
Sumanth.
--
View this message in context: http://www.nabble.com/RE%3A--ECOS--ixp42x-NPE-networking-build-issue-tf2002214.html#a5594188
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] 8+ messages in thread
* RE: [ECOS] ixp42x NPE networking build issue
2006-08-01 13:15 ` [ECOS] " sumanth
@ 2006-08-01 15:34 ` Mark Salter
2006-08-02 14:46 ` [ECOS] " sumanth
0 siblings, 1 reply; 8+ messages in thread
From: Mark Salter @ 2006-08-01 15:34 UTC (permalink / raw)
To: sumanth; +Cc: ecos-discuss
On Tue, 2006-08-01 at 06:15 -0700, sumanth wrote:
> Hi Mark & Jerzy,
> I am trying to build the ram based image with npe
> support, now i am able to suceed by compiling the redboot related acess
> library which intel supplies, but when i call the api which starts the
> downloading of microcode and start functioning
> ixNpeDlNpeInitAndStart(IX_NPEDL_NPEIMAGE_NPEB_ETH);
> he show the error message as [warning] Warning: the NPE B component you
> specified does not exist
> he is searching the microcode for NPE B at location 0x01000200 ,where that
> Macro was defined to.
Are you sure? I thought those macros (IX_NPEDL_NPEIMAGE_NPEB_ETH et al)
were bitfields indicating the functionality of the microcode, not the
microcode's address. The CSR library code looks for the microcode in
the IxNpeMicrocode_array[] array.
--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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [ECOS] RE: ixp42x NPE networking build issue
2006-08-01 15:34 ` Mark Salter
@ 2006-08-02 14:46 ` sumanth
2006-08-03 13:05 ` Mark Salter
0 siblings, 1 reply; 8+ messages in thread
From: sumanth @ 2006-08-02 14:46 UTC (permalink / raw)
To: ecos-discuss
HI Mark,
You are correct, it is the array where the microcode is
there, Now am able to analyze that i am failing at the regisering the device
in the ecos cyg_netdevtab_entry , am unable to create the entry to the
device , any pointers in this case.
Thanks for your guidence
Thanks & regards,
Sumanth.
--
View this message in context: http://www.nabble.com/RE%3A--ECOS--ixp42x-NPE-networking-build-issue-tf2002214.html#a5615274
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] 8+ messages in thread
* Re: [ECOS] RE: ixp42x NPE networking build issue
2006-08-02 14:46 ` [ECOS] " sumanth
@ 2006-08-03 13:05 ` Mark Salter
0 siblings, 0 replies; 8+ messages in thread
From: Mark Salter @ 2006-08-03 13:05 UTC (permalink / raw)
To: sumanth; +Cc: ecos-discuss
On Wed, 2006-08-02 at 07:46 -0700, sumanth wrote:
> HI Mark,
> You are correct, it is the array where the microcode is
> there, Now am able to analyze that i am failing at the regisering the device
> in the ecos cyg_netdevtab_entry , am unable to create the entry to the
> device , any pointers in this case.
> Thanks for your guidence
The entry is created at build time at the bottom of if_npe.c, but only
for those NPEs which are configured to be used. The platform specific
.inl file is used to tell the generic if_npe.c code which ports to use.
For instance, devs/eth/arm/ixdp425/cur/include/ixdp425_npe.inl has:
...
#define CYGSEM_INTEL_NPE_USE_ETH0
#define CYGNUM_ETH0_ETH_ID IX_ETH_PORT_1
#define CYGNUM_ETH0_PHY_NO 0
...
#define CYGSEM_INTEL_NPE_USE_ETH1
#define CYGNUM_ETH1_ETH_ID IX_ETH_PORT_2
#define CYGNUM_ETH1_PHY_NO 1
...
--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
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-08-03 13:05 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-26 5:59 [ECOS] ixp42x NPE networking build issue sumanth
2006-07-26 14:57 ` Mark Salter
2006-07-27 9:07 ` [ECOS] " sumanth
2006-07-27 9:08 ` sumanth
2006-08-01 13:15 ` [ECOS] " sumanth
2006-08-01 15:34 ` Mark Salter
2006-08-02 14:46 ` [ECOS] " sumanth
2006-08-03 13:05 ` Mark Salter
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).