[U-Boot-Users] PPC405GP - uboot - can't get past stackloop

Wolfgang Denk wd at denx.de
Mon Jan 6 00:46:15 CET 2003


In message <EGEGIJHKDKJGAJMGIDPNMEAHCEAA.jwalden at digitalatlantic.com> you wrote:
> Yes - you are absolutly correct.

Been there myself often enough before ;-)

> Somewhere after about 1000 iterations of placing 0xdeaddead into what is
> supposed to be the temporary stack frame, I get a machine exception.
> 
> So - now I know my memory is not configured correctly.  My hardware guy is

Probably not your _memory_.

> not
> here, however I see that he has defined 64MB starting at 0x70000000.

Ignore that. RAM should always start at 0x0000.

> However if
> I change the value in my config file (CFG_INIT_RAM_ADDR) from 0x4000000 to
> 0x7000000

Be careful! The initial memory is NOT in  RAM!!!  It  used  the  data
cache  or OCM - don't know the design of your board. If in doubt, use
the data cache.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
This all sounds complicated, but it mostly does excatly what you  ex-
pect. It's just difficult for us to explain what you expect...
                       - L. Wall & R. L. Schwartz, _Programming Perl_




More information about the U-Boot mailing list