PHY (idents) (Was: Re: What goes wrong?)

Soeren Straarup xride at x12.dk
Tue Feb 20 20:06:14 UTC 2007


On Tue, Feb 20, 2007 at 12:25:41PM -0700, M. Warner Losh wrote:
> In message: <20070220142832.GK66059 at x12.dk>
>             Soeren Straarup <xride at x12.dk> writes:
> : On Tue, Feb 20, 2007 at 01:36:16PM +0100, Soeren Straarup wrote:
> : > On Tue, Feb 20, 2007 at 01:48:46PM +0200, Krassimir Slavchev wrote:
> : > > oops. In the Makefile.inc
> : > > 
> : > Hmm.. None of hte 3 worked .. back to eth drawing board and investigate some
> : > more.
> : 
> : Well after some happy hacking i almost got the bootloader to work..
> : But is seems that it doesn't find the emac or phy.
> : I get: TFTP TIMEOUT
> : Some more happy hacking is needed for it to load the kernel.
> 
> There's some code deep in the bowels of emac.c that knows the PHY
> that's present, and querries it to find the speed it negotiated.  This
> info is in model specific registers, so you need to hack things to
> match the PHY on your board.

That is the next task (8 it is a Davicom DM9161 PHY .. just dug up a
datasheet for it.. going to study it a bit

Wonder if there should be some identification code in the loader?

Another thing is there support for writting the loader+kernel(/userland) to
parallel flash?
Even with the 16mb "hole" in the addressing?

/Soeren

-- 
Soeren Straarup   | aka OZ2DAK aka Xride
FreeBSD committer | FreeBSD since 2.2.6-R
  If a program is not working right, then send a patch


More information about the freebsd-arm mailing list