public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Kernel XIP
@ 2005-06-16 12:15 shivappa.kushtagi at wipro.com
  2005-06-16 12:23 ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: shivappa.kushtagi at wipro.com @ 2005-06-16 12:15 UTC (permalink / raw)
  To: u-boot

Hello,

I configured for kernel XIP and created xipImage. When I tried to load
it through u-boot, it complained about invalid magic number. Later I
added a 64 byte header required for u-boot with the following mkimage
command:

mkimage -A arm -O linux -T kernel -C none -a 0x00080000 -e 0x00080040 -d
xipImage XIPImage.

Actually some of the document found at CELF wiki specifies that we need
to give "-x" option to mkimage. With -x option, mkimage fails with the
following error message :

mkimage: Bad file: "xipImage" has invalid buffer for XIP.

After looking into the mkimage source code, found that it expects 0xFF
for the first 64 bytes of xipImage. Which is missing in the xipImage I
have built. There must be some in-consistency between the way xipImage
is built or mkimage command.

Also, I didn't find any significance of the code for "-x" if we specify
the "entry point" correctly (load address + 0x40).

After the mkimage, I flashed the XIPImage at address 0x00080000. After
resetting the board, I got the following boot messages :

## Booting image at 00080000 ...
   Image Name:
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2009016 Bytes =  1.9 MB
   Load Address: 00080000
   Entry Point:  00080040
   Verifying Checksum ... OK
   XIP Kernel Image ... OK

Starting kernel ...

And it stops here....

Any idea what is going wrong here ?

My configuration:

Processor       : ARM926EJ-Sid(wb) rev 3 (v5l)
Kernel          : 2.6.10

Regards
Shivappa

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

* [U-Boot-Users] Kernel XIP
  2005-06-16 12:15 [U-Boot-Users] Kernel XIP shivappa.kushtagi at wipro.com
@ 2005-06-16 12:23 ` Wolfgang Denk
  2006-05-19 13:54   ` Hurricane555
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2005-06-16 12:23 UTC (permalink / raw)
  To: u-boot

In message <DCAFE6B52143A24082BB128C3AEF61E07C70EF@BLR-EC-MBX03.wipro.com> you wrote:
> 
> I configured for kernel XIP and created xipImage. When I tried to load
> it through u-boot, it complained about invalid magic number. Later I
> added a 64 byte header required for u-boot with the following mkimage
> command:
> 
> mkimage -A arm -O linux -T kernel -C none -a 0x00080000 -e 0x00080040 -d
> xipImage XIPImage.

U-Boot does not provide direct support for XIP on ARM;  the  existing
code has only been tested on PowerPC.

> Any idea what is going wrong here ?

Search the ARM linux mailing list and  you  will  find  an  extensive
discussion about all these issues.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
core error - bus dumped

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

* [U-Boot-Users] Kernel XIP
  2005-06-16 12:23 ` Wolfgang Denk
@ 2006-05-19 13:54   ` Hurricane555
  0 siblings, 0 replies; 3+ messages in thread
From: Hurricane555 @ 2006-05-19 13:54 UTC (permalink / raw)
  To: u-boot

I?ve the same problem! Did you find a solution for this problem?
--
View this message in context: http://www.nabble.com/Kernel+XIP-t79165.html#a4469807
Sent from the Uboot - Users forum at Nabble.com.

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

end of thread, other threads:[~2006-05-19 13:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-16 12:15 [U-Boot-Users] Kernel XIP shivappa.kushtagi at wipro.com
2005-06-16 12:23 ` Wolfgang Denk
2006-05-19 13:54   ` Hurricane555

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