public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: stefano babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] smc911x not functional on top of tree
Date: Thu, 15 Sep 2011 22:21:04 +0200	[thread overview]
Message-ID: <4E725E30.8030207@denx.de> (raw)
In-Reply-To: <CAOMZO5CYMsPT66pe=FXqfJ0aaVzuFbY_z9TE22sePqFxOFaHrA@mail.gmail.com>

Am 15/09/2011 21:39, schrieb Fabio Estevam:
> Hi,
>
Hi Fabio,
> When using U-boot from top of tree I am not able to get networking to
> work on a mx31pdk:
>
> uboot> dhcp
> smc911x: detected LAN9217 controller
> smc911x: phy initialized
> smc911x: MAC 00:04:9f:00:8d:6e
> BOOTP broadcast 1
> BOOTP broadcast 2
> DHCP client bound to address 10.29.244.21
> BOOTP broadcast 3
> DHCP client bound to address 10.29.244.21
> BOOTP broadcast 4
> DHCP client bound to address 10.29.244.21
> BOOTP broadcast 5
> DHCP client bound to address 10.29.244.21
>
> Retry count exceeded; starting again
I see...
> I haven't started debugging this, but would like to check first if
> this is a known issue.
I have not heard about this issue.
> Running v2011.06 makes networking to work fine.
>
> I have not enabled the caches on this board yet and I do see a warning
> in boot saying
> that caches are not enabled.
I know the commit, the same warning appears on a lot of other boards. It
is only a remind that cache is not enabled because the drivers do not
work if cache is enabled (as th FEC driver, for example).
> Does anyone have smc911x working with the latest U-boot?

I have now tested on a mx35pdk with Debug board. It has a SMC911x. It works:

U-Boot 2011.09-rc1-00020-g56fa45d (Sep 15 2011 - 22:08:55)

CPU:   Freescale i.MX35 at 532 MHz
Board: MX35 PDK 2.0 i.MX35 2.0 [WDT]
I2C:   ready
DRAM:  256 MiB
WARNING: Caches not enabled
Flash: 64 MiB
NAND:  2048 MiB
In:    serial
Out:   serial
Err:   serial
Net:   smc911x-0, FECWarning: failed to set MAC address

Hit any key to stop autoboot:  0
MX35 U-Boot >

MX35 U-Boot > run load
smc911x: detected LAN9217 controller
smc911x: phy initialized
smc911x: MAC 00:04:9f:00:f4:99
Using smc911x-0 device
TFTP from server 192.168.2.14; our IP address is 192.168.2.97
Filename 'mx35pdk/u-boot.bin'.
Load address: 0x80800000
Loading: #################
done
Bytes transferred = 248892 (3cc3c hex)

Best  regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

  reply	other threads:[~2011-09-15 20:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-15 19:39 [U-Boot] smc911x not functional on top of tree Fabio Estevam
2011-09-15 20:21 ` stefano babic [this message]
2011-09-15 21:33   ` Marek Vasut
2011-09-15 23:13   ` Fabio Estevam
2011-09-16  6:42     ` Stefano Babic
2011-09-19  9:20 ` Helmut Raiger
2011-09-19  9:28   ` Stefano Babic
2011-09-19 11:40   ` Helmut Raiger
2011-09-19 12:31     ` [U-Boot] [PATCH] net: fix a regression in bootp.c Helmut Raiger
2011-09-19 13:01     ` [U-Boot] smc911x not functional on top of tree Peter Korsgaard
2011-09-21  8:07       ` Helmut Raiger

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=4E725E30.8030207@denx.de \
    --to=sbabic@denx.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox