Relocating PPCBoot into SRAM

Wolfgang Denk wd at denx.de
Mon Feb 17 06:48:03 EST 2003


In message <200302161415.19790.ADharankar at ATTBI.Com> you wrote:
> Hello!  Thanks for the nice reply!

You're welcome.

> To test the region of SDRAM where PPCBoot/U-Boot resides, how could
> a non-destructive test be implemented? Perhaps, would one way would be
> to do these test for that region of PPCBoot/U-Boot before it is
> relocated to SDRAM?

This is a good idea, especially since you also have to deal with  the
exception vectors...

> Some of the x86 PC BIOSs/Bootloaders/Monitors seem to be able to do
> a full/destructive memory test without a reboot. That is what seems
> to be appealing to for PPCBoot/U-Boot.

Did you check how U-Boot's POST routines  (especially  post/memory.c)
work?

Don't re-invent the wheel.


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
See us @ Embedded World, Nuremberg, Feb 18-20, Hall 12.0 Booth 12-442

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list