public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Network problem in u-boot.
Date: Wed, 16 Nov 2005 18:53:18 +0100	[thread overview]
Message-ID: <200511161853.19164.sr@denx.de> (raw)
In-Reply-To: <518B77BB6246D54D9E88FC49AFB0389D2F1C48@seskoptronicmsx.optronic.local>

Hi Andre,

On Wednesday 16 November 2005 14:09, Andr? Berggren wrote:
> I made some more tests and found that the old 405enet driver wont halt
> forever like the old 440 and the latest 4xx driver does. The old 405enet
> only outputs "ENET Speed is 100 Mbps - FULL duplex connection" sleeps for a
> while and then resumes the transfer.
>
> Observe that the problem only occurs when another computer send packets to
> u-boot or broadcasting on the network. If non of this occurs the transfer
> is always successful.

OK.

> I enabled debug and got following output:
>
> => run setup
> miiphy_register: non unique device name 'ppc_4xx_eth0'
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

This is a problem recently added to the 4xx ethernet driver. I haven't found 
the time to fix it yet.

> ENET Speed is 100 Mbps - FULL duplex connection
> BOOTP broadcast 1
> DHCPHandler: got packet: (src=67, dst=68, len=300) state: 3
> Filtering pkt = 0
> DHCPHandler: got DHCP packet: (src=67, dst=68, len=300) state: 3
> DHCP: state=SELECTING bp_file: "/tftpboot/kernel.img"
> TRANSITIONING TO REQUESTING STATE
> Bootfile: /tftpboot/kernel.img
> DhcpSendRequestPkt: Sending DHCPREQUEST
> Transmitting DHCPREQUEST packet: len = 343
> DHCPHandler: got packet: (src=67, dst=68, len=300) state: 4
> Filtering pkt = 0
> DHCPHandler: got DHCP packet: (src=67, dst=68, len=300) state: 4
> DHCP State: REQUESTING
> Bootfile: /tftpboot/kernel.img
> DHCP client bound to address 172.18.22.66
> TFTP from server 172.18.22.110; our IP address is 172.18.22.66
> Filename '/tftpboot/kernel.img'.
> Load address: 0x200000
> Loading: #################################################################
>          #################################################################
>          #################################################################
>          #################################################################
>          ##########################################T miiphy_register: non
> unique device name 'ppc_4xx_eth0'
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

See above.

I assume, that you don't have CONFIG_NET_MULTI enabled right now. Correct? As 
a simple workaround for this problem, please enable CONFIG_NET_MULTI in your 
config file. And please let me know, if this helped.

Best regards,
Stefan

  reply	other threads:[~2005-11-16 17:53 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-16 13:09 [U-Boot-Users] Network problem in u-boot André Berggren
2005-11-16 17:53 ` Stefan Roese [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-11-17 13:01 André Berggren
2005-11-17 10:13 André Berggren
2005-11-17 10:34 ` Stefan Roese
2005-11-17  8:55 André Berggren
2005-11-17  9:58 ` Stefan Roese
2005-11-14 15:34 André Berggren
2005-11-14 13:52 André Berggren
2005-11-14 15:12 ` Wolfgang Denk
2005-11-14 15:19   ` Stefan Roese

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=200511161853.19164.sr@denx.de \
    --to=sr@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