2009-05-25 08:38:51     Eoor while compiling u-boot-1.1.6 trunk version

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

2009-05-25 08:38:51     Eoor while compiling u-boot-1.1.6 trunk version

Robert J (INDIA)

Message: 74538   

 

Hi,

 

I have u-boot-1.1.6 trunk version. Modified configuration file for my custom board.

 

I am getting error while compiling it. Please see below.

 

bfin-uclinux-objcopy --gap-fill=0xff -O srec u-boot u-boot.srec

bfin-uclinux-objcopy --gap-fill=0xff -O ihex u-boot u-boot.hex

bfin-uclinux-objcopy --gap-fill=0xff -O binary u-boot u-boot.bin

./tools/envcrc --binary > env-ldr.o

bfin-uclinux-ldr -T bf527-0.2 -f -c u-boot.ldr u-boot --bmode para //check this --use-vmas --initcode cpu/blackfin/initcode.o --punchit $(((0x20004000 - 0x20000000))):$((0x2000)):env-ldr.o

Creating LDR u-boot.ldr ...

Adding DXE 'u-boot' ... [initcode 260] [jump block to 0x03FA0000] [ELF block: 127772 @ 0x03FA0000] [ELF block: 8 @ 0xFFA0000C] [ELF block: 25728 @ 0x03FBF324] OK!

Adding DXE '//check' ... bfin-uclinux-ldr: '//check' is not a Blackfin ELF!

Adding DXE 'this' ... bfin-uclinux-ldr: 'this' is not a Blackfin ELF!

Failed to create LDR: Bad file descriptor

make: *** [u-boot.ldr] Error 1

 

Please suggest me to solve the compilation issue.

 

Thanks in advance..

QuoteReplyEditDelete

 

 

2009-05-25 18:55:54     Re: Eoor while compiling u-boot-1.1.6 trunk version

Robin Getz (UNITED STATES)

Message: 74548   

 

Robert:

 

go back to the source that we distribute - there isn't any "//check this " in our sources that would cause the problem.

 

-Robin

QuoteReplyEditDelete

 

 

2009-05-25 22:27:45     Re: Eoor while compiling u-boot-1.1.6 trunk version

Mike Frysinger (UNITED STATES)

Message: 74557   

 

there is no "trunk" version of u-boot-1.1.6.  only 2009.03 is in trunk.

QuoteReplyEditDelete

 

 

2009-05-26 03:23:47     Re: Eoor while compiling u-boot-1.1.6 trunk version

Robert J (INDIA)

Message: 74568   

 

I found that the problem is due to below define in configuration header file.

 

If I use    #define CFG_ENV_ADDR            0x20004000  then it got compiled successfully.

 

But I would like to use the above define as below

 

#define CFG_ENV_ADDR            0x20040000

 

This makes an error while compiling..

 

Can you tell me what is the problem and how to solve it.

QuoteReplyEditDelete

 

 

2009-05-26 03:25:52     Re: Eoor while compiling u-boot-1.1.6 trunk version

Mike Frysinger (UNITED STATES)

Message: 74569   

 

u-boot-1.1.6 is not supported, sorry

Attachments

    Outcomes