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] Are there any instructions how to compile U-boot for ixp425 target?
Date: Wed, 13 Jun 2007 11:35:43 +0200	[thread overview]
Message-ID: <200706131135.43140.sr@denx.de> (raw)
In-Reply-To: <330EC2471BF24E48B513AF1A6975EB6912CB7F@MAIL-UA.ccs.local>

On Wednesday 13 June 2007, Teemu Keskinarkaus wrote:
> I was able to get the U-boot to show the console right. I took the old
> modified version, compared to same unmodified version and made the
> changed to latest version. Sounds complicated. ;)

So what changes exactly were necessary? This might help others.

> Only thing that I was unable to get to work was network. I have applied
> the Intel microcode stuff version 2.3(should it be version 2.4 which is
> the latest?). I have also copied the network settings from ixpg425.h

You have to match at least the PHY addresses to your board. And regarding the 
microcode version: The last version I tested successfully with, was version 
2.0. So you might want to download this one and give it a try.

> I did some digging and noticed that default environment variable weren't
> set correctly. Network device were missing its MAC address.

Yes, that's correct. You have to configure the MAC addresses (ethaddr, 
eth1addr) and reset the board for the changes to take effect.

> I did some 
> quick'n'dirty tests and set the MAC address where it was checked and was
> able to continue the network init. Next error was:
>
> Error downloading firmware to NPE-B!
>
> FeatureCtrlDevice is 0 and Stepping is 1. Only first Ethernet port is
> configured in use (CONFIG_HAS_ETH1 is not set) although hardware has
> both ports.
>
> Any idea what might be wrong? Or is it related somehow to that
> environment problem? I have following defines in
> include/configs/ixpd425.h
>
> #define CONFIG_ETHADDR          18:20:3e:26:0a:5b
> #define CONFIG_ETH1ADDR         18:20:3e:26:0a:5c
> #define CONFIG_NETMASK          255.255.255.0
> #define CONFIG_IPADDR           192.168.11.201
> #define CONFIG_SERVERIP         192.168.11.10

Please only use such hardcoded MAC addresses for test purposes!

Are you PHY addresses setup correctly? Something like this:

/*
 * Ethernet
 */
#define CONFIG_IXP4XX_NPE       1       /* include IXP4xx NPE support   */
#define CONFIG_NET_MULTI        1
#define CONFIG_PHY_ADDR         16      /* NPE0 PHY address             */
#define CONFIG_HAS_ETH1
#define CONFIG_PHY1_ADDR        18      /* NPE1 PHY address             */
#define CONFIG_MII              1       /* MII PHY management           */
#define CFG_RX_ETH_BUFFER       16      /* Number of ethernet rx buffers & 
descriptors */


Best regards,
Stefan

=====================================================================
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:[~2007-06-13  9:35 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-07  8:14 [U-Boot-Users] Are there any instructions how to compile U-boot for ixp425 target? Teemu Keskinarkaus
2007-06-07 11:44 ` Stefan Roese
2007-06-07 11:53   ` Ori Idan
2007-06-07 12:00   ` Teemu Keskinarkaus
2007-06-07 12:09     ` Wolfgang Denk
2007-06-07 19:54     ` Stefan Roese
2007-06-11  5:10   ` Queenie
2007-06-13  6:54     ` nitinn
2007-06-13  8:01       ` Teemu Keskinarkaus
2007-06-13  9:35         ` Stefan Roese [this message]
2007-06-13 10:31           ` Teemu Keskinarkaus
2007-06-13 11:06             ` Stefan Roese
2007-06-13 11:44               ` Teemu Keskinarkaus
2007-06-13 12:05                 ` Stefan Roese
2007-06-14  4:30                   ` Teemu Keskinarkaus
2007-06-14  8:42                   ` [U-Boot-Users] Are there any instructions how to compile U-bootfor " Carsten Schlote
2007-06-14  8:51                     ` 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=200706131135.43140.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