From: Wolfgang Denk Date: Sun, 12 Jan 2003 21:16:02 +0100 Subject: [U-Boot-Users] U-Boot Boot Sequence In-Reply-To: Your message of "Sun, 12 Jan 2003 20:06:16 +0100." <8911.1042398376@www47.gmx.net> Message-ID: <20030112201607.DFE3DC608E@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 Hello, in message <8911.1042398376@www47.gmx.net> you wrote: > > Im currently looking closely to the boot sequence for the MPC8xx but cant > exactly > figure it out how it works. Every hint is appreciated. Did you read the README file? Section "System Initialization" ? > Since most MPC8xx and MPCxx both start executing at adress 0x100 there This is not necessarily true. It may be 0xFFF00100 as well, depending on the HRCW... > What I dont understand is, that the label _start (In cpu/mpc8xx/start.S) > will be placed to the runtime > adress 0x100, but resides in the .text section which according to the linker > file > (take as example board/cogent/u-boot.lds) wont probably start at adresse > 0x100 > in the image. The .text section is located after the .interp section. See the README. > I have another question concerns the adress calculation > to in_flash label (Some guys already mentioned something about this on this > list). So what was not clear in the previous explanations? > My question is why to calculate the branch to in_flash and why > adding the CFG_MONITOR_BASE? (dont be angry I know the > same question has alredy been asked but....) Which exact part of the previous explanations did you not understand? It makes little sense to repeat the explanations if they are not clear enough for you. 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 In a survey taken several years ago, all incoming freshmen at MIT were asked if they expected to graduate in the top half of their class. Ninety-seven percent responded that they did.