This is the mail archive of the ecos-discuss@sources.redhat.com 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: RedBoot & NPE code


>>>>> Herbold, Steve writes:

> What has to be pulled in (via cdl config, or ecosconfig) to get the NPE code
> into RedBoot?

You really need to ask Intel about NPE support since it is their proprietary
code. But...

> I have tried:

> 	${ECOSCFG_PATH}ecosconfig new ixdp425 redboot
> 	${ECOSCFG_PATH}ecosconfig import
> ${ECOS_REPOSITORY}/hal/arm/xscale/ixdp425/current/misc/redboot_ROM.ecm
> 	${ECOSCFG_PATH}ecosconfig add intel_npe
> 	${ECOSCFG_PATH}ecosconfig add ixdp425_npe
> 	${ECOSCFG_PATH}ecosconfig tree

> and then the make, but still get 'no network interfaces found' message. I
> can issue the set_npe_mac command at RedBoot prompt, but it looks like it is
> looking for the mac in external eeprom on I2C which we do not have. Are
> there config switches to let mac address be in FLASH only?

I have a patch to allow for this, but its not checked in yet. The NPE MAC
addresses are kept in flash for the GRG port...

> Our design has a marvel switch chip between the NPE and the actual physical
> interface, and I think that is in reset, so I will manually bring it out and
> see if it makes a difference.

Its hard to say without more details, but yes, I think you'd need to take the
switch chip out of reset before the eth driver init code runs. Again, you may
want to ask Intel about this since the driver is really just a thin wrapper
around Intel's CSR library.

> I have also chopped a lot of the 82559 & pci code out of the make as we do
> not have PCI interface, is anything dependant on this?

Should not be a problem.

--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


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