This is the mail archive of the ecos-discuss@sourceware.org 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]

LAN91C96 on OMAP5912 OSK board


Hi all,

I succeeded in running redboot on OMAP5912 OSK board but i want now to
make ethernet work.

OMAP5912 OSK board has SMSC LAN91C96 ethernet chip with base address 0x04800000.

First I added these packages:

package CYGPKG_IO_ETH_DRIVERS current ;
package -hardware CYGPKG_DEVS_ETH_ARM_OSK5912 current ;
package -hardware CYGPKG_DEVS_ETH_SMSC_LAN91CXX current ;

And then i enable Redboot networking and change base address in the
devs_eth_osk5912.inl to 0x04800000.

but ping is not working. with the help of diag_printf() i know it
enter the smsc_lan91cxx_init() with correct argument.

Then i enable DEBUG in the if_lan91cxx.c the output is next of

LAN91CXX - supposed BankReg @ 480000e = 3330
LAN91CXX - type: 0, rev: 0
no link
no link
no link
no link
no link
no link
no link
no link
no link
no link
no link

You see above that type is "0" and revision is "0" which it obviously
wrong but the higher byte of bank select register is 0x33 as the
lan91c96 datasheet says.
i think the problem in the lan91cxx files not on the omap Board!
(entering wrong registers).

Does anybody face this problem and know how to solve it. i will
appreciate his help a lot.

Thanks in advance
Yasser Nour

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