Hi Mark/Dave,

Thank you very much!!! It is now working and indeed a problem of wrong variable name. While replacing ${3254736} with ${filesize}, the u-boot also requires me to remove the space ' ' between 'cp' and '.b', otherwise it prompts "cp - usage" this kind message.

David Jea

On 10/7/06, Dave Hylands <dhylands@gmail.com> wrote:
Hi Mark/David,

> I think this is your problem:
>     GUM> cp .b a2000000 40000 ${3254736}
> U-Boot is looking for an environment variable named 3254736, which doesn't
> exist.
> Replace the size with the literal "filesize" (without the quotes); U-Boot
> created that variable when you downloaded the image. Alternatively you could
> probably just remove the ${ and the }, but using the variable is less prone
> to errors.

Also, u-boot work in hex, so if you did use:

GUM> cp .b a2000000 40000 3254736

it would still be wrong. Using:

GUM> cp .b a2000000 40000 31a9d0

should work properly. As Mark suggested, using

GUM> cp .b a2000000 40000 ${filesize}

would be best.

Dave Hylands
Vancouver, BC, Canada

Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
gumstix-users mailing list