From: Wolfgang Denk Date: Wed, 28 Jul 2004 00:05:20 +0200 Subject: [U-Boot-Users] bootm change for standalone images In-Reply-To: Your message of "Mon, 26 Jul 2004 18:21:14 PDT." <20040727012114.GA22062@acmay.homeip.net> Message-ID: <20040727220525.F2879C109F@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 Dear Andrew, in message <20040727012114.GA22062@acmay.homeip.net> you wrote: > > I need to boot a HW test program and it expects to be loaded down at address 0x0 > with the interrupt vectors laid out. So it is like a stupid homegrown OS. This is a perfectly valid requirement. > I came up with this quick fix to check for a load to address 0x0 for a standalone > type, and not re-enable interrupts. Thisi s not a good idea; at least it is not general enough if you consider all the different architectures etc. > But I am not sure if the check would be universal. > Would it better to add a new type or flag to image header. If you boot "a stupid homegrown OS" then do it like that: use the "bootm" command for it. > It looks like RTEMS is the simplest OS loader and it should work as > is with my image, but it would be nice to have a generic print instead. What exactly do you mean by "have a generic print instead" ? 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 Sometimes a man will tell his bartender things he'll never tell his doctor. -- Dr. Phillip Boyce, "The Menagerie" ("The Cage"), stardate unknown.