|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
RE: [ECOS] ixp42x NPE networking build issueHI 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. |
|
|
RE: ixp42x NPE networking build issueOn 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 |
|
|
RE: ixp42x NPE networking build issueHi 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 |
|
|
RE: ixp42x NPE networking build issueHi 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 |
|
|
RE: [ECOS] ixp42x NPE networking build issueHi 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. |
|
|
RE: ixp42x NPE networking build issueOn 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 |
|
|
RE: ixp42x NPE networking build issueHI 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. |
|
|
Re: RE: ixp42x NPE networking build issueOn 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 |
| Free embeddable forum powered by Nabble | Forum Help |