All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stelian Pop <stelian@popies.net>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Uboot (AT91 tree) macb in MII mode
Date: Mon, 14 Apr 2008 13:28:23 +0200	[thread overview]
Message-ID: <1208172503.6399.60.camel@galileo> (raw)
In-Reply-To: <4803294D.6010205@vermin.nl>


Le lundi 14 avril 2008 ? 11:52 +0200, Sander Vermin a ?crit :
> >
> > The official toolchain for U-Boot is the DENX ELDK:
> > http://www.denx.de/wiki/DULG/ELDK . I don't really think this is your
> > issue, but when nothing works it may make sense to put yourself in a
> > well known configuration.
> >
> >   
> Is there some pre compiled  arm version?

ftp://ftp.denx.de/pub/eldk/4.1/arm-linux-x86/iso

ARM support in latest ELDK (4.2) seems to lag a bit ...

> >> Olimex has indeed, but that is a old version of uboot, the old ETHER 
> >> driver and not the new. I inspected the initialization code on the ARM 
> >> side, that was the same. The rest of te code is completely different, so 
> >> spotting differences is difficult.
> >>     
> >
> > Ah, I understand. However, there must be a difference somewhere. I'm not
> > sure about this board, but on the SAM boards a software reset has to be
> > performed once the PHY address is configured to activate the PHY (look
> > into at91sam9260.c). Maybe your board needs something equivalent ?
> >
> >   
> Currently I am using the at91sam9260ek config with the options above edited.

This means that you're doing the soft-reset sequence I told you above
(in boards/atmel/at91sam9260ek/at91sam9260ek.c). Maybe your board
doesn't need this, try commenting out the relevant code in
at91sam9260ek_macb_hw_init() (keep only the gpio set_A/B_periph().

-- 
Stelian Pop <stelian@popies.net>

      reply	other threads:[~2008-04-14 11:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-14  8:10 [U-Boot-Users] Uboot (AT91 tree) macb in MII mode Sander Vermin
2008-04-14  9:08 ` Stelian Pop
2008-04-14  9:19   ` Sander Vermin
2008-04-14  9:41     ` Stelian Pop
2008-04-14  9:52       ` Sander Vermin
2008-04-14 11:28         ` Stelian Pop [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1208172503.6399.60.camel@galileo \
    --to=stelian@popies.net \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.