[U-Boot-Users] Are there any instructions how to compile U-boot for ixp425 target?

Teemu Keskinarkaus Teemu.Keskinarkaus at cc-systems.com
Wed Jun 13 12:31:19 CEST 2007


> -----Original Message-----
> From: Stefan Roese [mailto:sr at denx.de]
> 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.
My board uses external uart for console so most (if not all) changes are
because of that. I can try to get the differences to latest version from
git, but I'm not expert in git.

> > 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.
Yes, the PHY addresses are set correctly. At least I think they should
be since I checked them from the schematics. I also checked from the
older version and it seems that the PHY addresses are the same.

> > 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!
Of course, but why doesn't those go to environment variables plus the
lines you deleted? In version 1.1.2 default environment contains those
values, but not in the current one. Maybe something has changed in
environment setup?

> 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 */
Yes,

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

First PHY chip has all address pins grounded and second PHY has A0 up
and all the other to ground so that way I figure out the addresses.
Checked from old code too and it seems that addresses are 0 and 1.

I'll download the older version of Microcode and try with it, but if
that doesn't help then I'm (again) kind of stuck. 

Teemu K.




More information about the U-Boot mailing list