Re: [U-Boot-Users] configure to run a xipImage

-----Original Message----- From: wd@denx.de [mailto:wd@denx.de] To: Joakim Nordell In message MLEGLOMOGFHHOOFGOCHAGEBADAAA.tde02003@gmail.com 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

In message MLEGLOMOGFHHOOFGOCHACEBKDAAA.tde02003@gmail.com you wrote:
This is on PowerPC, I assume?
...
An XIP image has the following properties: it is not compressed
...
No, sorry. It is an Atmel AT91RM9200 (uCRouter) board running u-boot 1.1.1.
I'm afraid XIP support has not been added to ARM yet.
Best regards,
Wolfgang Denk
participants (2)
-
Joakim Nordell
-
Wolfgang Denk