Skip to contentSkip to conversation

configure to run a xipImage

U-Boot-Users Joakim Nordell 2 participants 2 messages Apr 4, 2007

lore
Share & tools
lore
#0 lore raw
Quoted 8 lines

-----Original Message-----
From: wd at denx.de [mailto:wd at denx.de]
To: Joakim Nordell

Quoted 2 lines · In message <[email protected]> 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?

Quoted 1 line

For the moment I have an xipImage that prints "Magic Bad

Quoted 9 lines

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

#1 lore raw
Quoted 2 lines · In message <[email protected]> you wrote:
Quoted 2 lines

This is on PowerPC, I assume?

...

Quoted 1 line
Quoted 1 line

An XIP image has the following properties: it is not compressed

...

Quoted 1 line

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

Signature · 4 lines
DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk
Office:  Kirchenstr. 5,       D-82194 Groebenzell,            Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
F u cn rd ths u cnt spl wrth a dm!