From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oliver Fuchs Date: Tue, 06 Jul 2004 17:19:28 +0200 Subject: [U-Boot-Users] relocate_code problem In-Reply-To: <20040706080626.6309BC109F@atlas.denx.de> References: Your message of "Tue, 06 Jul 2004 09:52:53 +0200." <40EA7675.1087.8A1955@localhost> Message-ID: <40EADF20.20424.AE0466@localhost> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Wolfgang Denk Date sent: Tue, 06 Jul 2004 10:06:21 +0200 > > of in_ram correctly, but the copied code is somehow shifted. > > Maybe it just looks shifted or repeated? You are right. It was hard to accept the idea that the seen code was not within the RAM. > > You don't need much knowledge about assembler code. "grep" will just > do fine (hint: search for "relocate_code", and probably you want to > searchin the relevant directory with CPU specific code, i. e. > "cpu/mpc8260/"). It was not the problem to find relocate_code. I was not smart enough to recognize the nice little loop. Because the destination content did not change during relocate_code, I thought it was done elsewhere. > Best regards, > > Wolfgang Denk Thanks, Oliver Fuchs