From: Wolfgang Denk Date: Wed, 12 Jul 2006 19:51:32 +0200 Subject: [U-Boot-Users] PPC U-boot Don't Want to Relocated In-Reply-To: Your message of "Wed, 12 Jul 2006 09:03:22 PDT." <20060712160322.56304.qmail@web34504.mail.mud.yahoo.com> Message-ID: <20060712175132.BCAE6353B04@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <20060712160322.56304.qmail@web34504.mail.mud.yahoo.com> you wrote: > > We have been using U-boot now for about two years. We are seeing some extremely strange behavior in our product and we are concerned about the code relocation. You should be concerned about your system initialization insted, especially about the initialization of your system RAM. > At this time, we do not want to relocate the code from flash to RAM. I know that this is a loaded question, what do we need to do to NOT relocate the code? We just want to execute out of Flash. You would have no stack, no writable data segment, no BSS, no malloc() area, nothing. Just forgwet it. Don't close your eyes when you are facing a problem - trying to ignore it doesn't make it go away. It will bite agin, just later, and harder. And now go and fix your memory initialization. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "I refuse to have a battle of wits with an unarmed person."