Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2007 21:06:10 +0100
From:      Soeren Straarup <xride@x12.dk>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        freebsd-arm@freebsd.org
Subject:   PHY (idents) (Was: Re: What goes wrong?)
Message-ID:  <20070220200610.GM66059@x12.dk>
In-Reply-To: <20070220.122541.1649770164.imp@bsdimp.com>
References:  <45DAE01E.80704@bulinfo.net> <20070220123615.GJ66059@x12.dk> <20070220142832.GK66059@x12.dk> <20070220.122541.1649770164.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 20, 2007 at 12:25:41PM -0700, M. Warner Losh wrote:
> In message: <20070220142832.GK66059@x12.dk>
>             Soeren Straarup <xride@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070220200610.GM66059>