Re: [U-Boot] building enc28j60 for omap3: SILICON ERRATA

2011-02-25 Thread jacopo mondi
On Wed, 23 Feb 2011 23:32:01 +0100 Anatolij Gustschin ag...@denx.de wrote: You will have to implement the Master Transmit-Receive Mode (full-duplex) in the omap3_spi driver for proper enc28j60 register and buffer access. Currently this driver is using Tx-Only Mode for transmitting a Rx-Only

Re: [U-Boot] building enc28j60 for omap3: SILICON ERRATA

2011-02-23 Thread Anatolij Gustschin
Hi, On Tue, 22 Feb 2011 17:34:30 +0100 jacopo mondi j.mo...@voltaelectronics.com wrote: ... Second issue is related to enc identification. The following code section: phid1 = phy_read(enc, PHY_REG_PHID1); phid2 = phy_read(enc, PHY_REG_PHID2) ENC_PHID2_MASK; if (phid1 !=

Re: [U-Boot] building enc28j60 for omap3: SILICON ERRATA

2011-02-23 Thread Wolfgang Denk
Dear Anatolij Gustschin, In message 20110223233201.09aee7e4@wker you wrote: No, please do not remove them. Fix the register access problem instead. Anyway all read and write to enc fails. Could that be related to omap3_spi implementation? Yes. If you use the omap3_spi driver in

Re: [U-Boot] building enc28j60 for omap3: SILICON ERRATA

2011-02-23 Thread Wolfgang Denk
Hi, I wrote: The omap3_spi driver was one of those affected by the bug fixed in commit 495df3b ARM: fix write*() I/O accessors, see http://patchwork.ozlabs.org/patch/82841/ Sorry, I mixed this up. That was the davinci_spi driver, not the omap3_spi one. Best regards, Wolfgang Denk --

Re: [U-Boot] building enc28j60 for omap3: SILICON ERRATA

2011-02-22 Thread jacopo mondi
On Wed, 16 Feb 2011 18:31:23 +0100 Reinhard Meyer u-b...@emk-elektronik.de wrote: Not sure, the driver builds fine with ARM boards. Maybe you need to have CONFIG_NET_MULTI set? Best Regards, Reinhard I've continued working on enc28j60 in those days, trying to make it finally work with my