public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] configure to run a xipImage
@ 2007-04-03 11:32 Joakim Nordell
  2007-04-03 12:56 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Joakim Nordell @ 2007-04-03 11:32 UTC (permalink / raw)
  To: u-boot

Hello!

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.

Greetings

---
Joakim Nordell

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] configure to run a xipImage
  2007-04-03 11:32 [U-Boot-Users] configure to run a xipImage Joakim Nordell
@ 2007-04-03 12:56 ` Wolfgang Denk
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2007-04-03 12:56 UTC (permalink / raw)
  To: u-boot

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.

Best regards,

Wolfgang Denk

-- 
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
You Don't Have To Be 'Damned' To Work Here, But It Helps!!!
                                             - Terry Pratchett, _Eric_

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] configure to run a xipImage
@ 2007-04-04  6:30 Joakim Nordell
  2007-04-04  8:49 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Joakim Nordell @ 2007-04-04  6:30 UTC (permalink / raw)
  To: u-boot

> -----Original Message-----
> From: wd at denx.de [mailto:wd at 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] configure to run a xipImage
  2007-04-04  6:30 Joakim Nordell
@ 2007-04-04  8:49 ` Wolfgang Denk
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2007-04-04  8:49 UTC (permalink / raw)
  To: u-boot

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

-- 
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!

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-04-04  8:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-03 11:32 [U-Boot-Users] configure to run a xipImage Joakim Nordell
2007-04-03 12:56 ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2007-04-04  6:30 Joakim Nordell
2007-04-04  8:49 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox