From mboxrd@z Thu Jan 1 00:00:00 1970 From: Detlev Zundel Date: Tue, 12 May 2009 16:30:21 +0200 Subject: [U-Boot] start.s file In-Reply-To: (Deepak Gopalakrishnan's message of "Tue, 12 May 2009 19:17:15 +0530") References: Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Deepak, > In the quest of finding the code for relocation i have reached the start.s > file present in u-boot-1.1.6\cpu\mpc83xx\ folder. This is old code you're looking at. Best would be to look at current code although this doesn't help here. > Even its in assembly language (i dont know assembly language beyond > movlw) i tried to understand that using the descriptions of the > commands given in this site: > http://publib.boulder.ibm.com/infocenter/systems/index.jsp?topic=/com.ibm.aix.aixassem/doc/alangref/mfmsr.htm > but im not able to proceed much. Is there any better way to understand > this. The algorithm is implemented in assembler (at the relocate_code label), so understanding assembler a little bit will be a preliminary to understanding unless you have access to a device which we in german call a "N?rnberger Trichter" [its a mythical mechanical learning device] ;) Cheers Detlev -- I haven't lost my mind, I know exactly where I left it. -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de