2011-01-29 16:32:52     Compiling RC-5 compiles with an error in making the XIP image...

Document created by Aaronwu Employee on Aug 26, 2013
Version 1Show Document
  • View in full screen mode

2011-01-29 16:32:52     Compiling RC-5 compiles with an error in making the XIP image...

John Dowd (CANADA)

Message: 97757   

 

I'm just starting to get used to the Blackfin environment. I downloaded the latest kernel: blackfin-linux-dist-2010R1-RC5 and the latest toolchain. I used the configuration for a BlackStamp board. I have no board as of yet but I wanted to get the toolchain and the kernel in place.

 

When I compile the kernel using just "make" at the command line everything builds except right at the end of the compile I get the following error message:

 

  OBJCOPY arch/blackfin/boot/vmlinux.bin

  BIN     arch/blackfin/boot/vmlinux.bin.xip

  UIMAGE  arch/blackfin/boot/vmImage.xip

/home/jdowd/bin/mkimage: For XIP, the entry point must be the load addr + 64

make[1]: *** [arch/blackfin/boot/vmImage.xip] Error 1

make: *** [vmImage] Error 2

 

I have not modified any make files. I'm wondering if anyone else has run into the problem and if there is an easy fix for it? I don't even know if in the end I'll need an XIP image but I just want to make sure that the system works as "advertised" before I go in and start mucking around.

 

Cheers!!

QuoteReplyEditDelete

 

 

2011-01-29 17:05:37     Re: Compiling RC-5 compiles with an error in making the XIP image...

Mike Frysinger (UNITED STATES)

Message: 97758   

 

you'll probably want to disable XIP usage in the kernel

QuoteReplyEditDelete

 

 

2011-01-29 22:42:56     Re: Compiling RC-5 compiles with an error in making the XIP image...

John Dowd (CANADA)

Message: 97766   

 

Well, I've looked through the make files and config files and now I'll bite, how do you turn XIP usage off? It would appear that all references to anything "XIP" related is turned off but the XIP image will still be built.

 

 

 

Cheers!!

QuoteReplyEditDelete

 

 

2011-01-30 00:18:54     Re: Compiling RC-5 compiles with an error in making the XIP image...

Mike Frysinger (UNITED STATES)

Message: 97771   

 

kernel config -> blackfin options -> Kernel executes from (RAM)

QuoteReplyEditDelete

 

 

2011-01-30 13:40:36     Re: Compiling RC-5 compiles with an error in making the XIP image...

John Dowd (CANADA)

Message: 97779   

 

Thanks that did stop the error but, (I can't let you off that easy!), is this a mistake in that the BlackStamp board should not have had that option enabled or, is there an error in the Makefile/script?

 

Cheers!!

QuoteReplyEditDelete

 

 

2011-01-30 13:46:41     Re: Compiling RC-5 compiles with an error in making the XIP image...

Mike Frysinger (UNITED STATES)

Message: 97781   

 

it has been fixed in current trunk already

QuoteReplyEditDelete

 

 

2011-01-30 13:53:39     Re: Compiling RC-5 compiles with an error in making the XIP image...

John Dowd (CANADA)

Message: 97782   

 

Thanks Mike, I don't see a way of flagging this thread as having been answered or solved but I'm done.

 

Cheers!!

Attachments

    Outcomes