Re: Relocating PPCBoot into SRAM
From: Wolfgang Denk <hidden>
Date: 2003-02-16 19:48:03
In message [off-list ref] 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@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/