From: Wolfgang Denk Date: Tue, 22 Jun 2004 10:01:43 +0200 Subject: [U-Boot-Users] u-boot on top of another bootloader In-Reply-To: Your message of "Mon, 21 Jun 2004 18:34:46 PDT." <20040622013446.79298.qmail@web20730.mail.yahoo.com> Message-ID: <20040622080148.CEE22C13D3@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 <20040622013446.79298.qmail@web20730.mail.yahoo.com> you wrote: > > Can u-boot run on top of another bootloader? The board I'm working on has a > proprietary boot loader. I cannot totally abandon this bootloader because > the vendor is unwilling to disclose some critical details of the board. So > I'm thinking of putting u-boot on top of it. Is this idea feasible? It is possible. Basicly the same modifications need to be made like when attempting to boot from RAM. > The original boot loader is at 0xFFF00000. One thing I need to do is to > move the u-boot location to somewhere else. AFAIK u-boot usually locates at > 0xFFF00000. What feature of a board decides the address of the first This is not correct. It may be true on some boards, but is not a general rule. > instruction? The first instruction is determined by your processor and it's configuration, i. e. from where it fetches the first insruction when waking up out of reset. Common addresses are 0x0000, 0x0100, 0xFFF00100, 0xFFFFFFFC, etc. 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 If you believe that feeling bad or worrying long enough will change a past or future event, then you are residing on another planet with a different reality system.