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

Stefan Roese
2007-06-13T12:05:51Z

On Wednesday 13 June 2007, Teemu Keskinarkaus wrote:
> > As mentioned above it is strongly discouraged to use hard coded MAC
> > addresses.
>
> Yes, because you seem to get stuck with the fixed MAC addresses even
> though I mentioned that they are for test, please ignore them. Problem
> is that default environment is not setup correctly. Only bootargs is
> set. No bootcmd, netmask, ipaddr, serverip is set. Should they be
> defined differently in configuration file than what they are defined in
> version 1.1.2 in order to get them to default environment?

Sorry, but I fail to understand you here. Please give an example.

> And by
> default environment I mean the environment you get when the environment
> sector has invalid CRC (for example sector is empty).
>
> > Please do this test and let us know if the behavior changes.
>
> The network started working. I removed my test code and set the ethaddr
> and eth1addr and both interfaces were found by U-boot.

Such a small sentence for such a big and good news. So for the record:

YOU HAVE TO USE MICROCODE VERSION 2.0!!!

(Sorry for shouting.)

> One thing though. Not so much related to ixp425 - platform. When I erase
> memory, I get dot printed to screen after every sector. When I copy
> something to flash I get nothing. It seems as U-boot got stuck after
> that command but after a while command is finished.

Yes, this is the way to current implementation handles the "cp" command. At
least in the common CFI flash driver.

> Is there a way to
> get some indication that something is happening?

Not sure if this is welcome. The "cp" command is not a (NOR) FLASH specific
command, but a memory subsystem command. So a change here would also affect a
copy from memory to memory too.

But sure, technically it is possible to do. You could implement this behavior
(e.g. print a dot each second while copying) and send a patch to the list.

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
=====================================================================