From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joakim Nordell Date: Wed, 4 Apr 2007 08:30:12 +0200 Subject: [U-Boot-Users] configure to run a xipImage 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 > -----Original Message----- > From: wd at denx.de [mailto:wd at denx.de] > To: Joakim Nordell > In message you wrote: > > > > I would like to run a xipImage. I'm sure I have to tell u-boot > that this is the case, but how? > > For the moment I have an xipImage that prints "Magic Bad > Number" when I try to start it. > > This is on PowerPC, I assume? > > An XIP image has the following properties: it is not compressed > (IH_COMP_NONE), and load address is the current start address in > memory (ntohl(hdr->ih_load) == addr); see "common/cmd_bootm.c" lines > 320ff. > No, sorry. It is an Atmel AT91RM9200 (uCRouter) board running u-boot 1.1.1. I have built a linux-2.6.15-xipImage to run in the flash memory. My thought is that the start up time will increase a bit. I have insearted the start address for the kernel within the menuconfig -> boot options. I guess I now have to tell u-boot that the kernel should not be loaded to RAM, and instead run in flash. Is that correct? If so, How can I do that? Greetings Joakim Nordell