elftosb valid db file

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

elftosb valid db file

507件の閲覧回数
IvanRia
Contributor II

i have bd file:

sources
{
image=extern(0);
}

constants
{
IVT_ADDR = 0x8000;
}

section (0)
{
load image;
load ivt (entry = image:ResetHandler) > IVT_ADDR;
hab call IVT_ADDR;

}



for imx28 processor but i get following error when compiling sb file:

error: line 14: invalid source name 'image'

with the following command:

./elftosb -d -V -z -f mx28 -p "\." -c mx28evk.bd -o test.sb

help me change the file mx28evk.bd to make it correct

0 件の賞賛
2 返答(返信)

490件の閲覧回数
Yuri
NXP Employee
NXP Employee

@IvanRia 
Hello,

  please try the following (input file test.elf is added):

elftosb -d -V -z -f mx28 -p "\." -c mx28evk.bd -o test.sb test.elf

Regards,
Yuri.

0 件の賞賛

497件の閲覧回数
IvanRia
Contributor II

figured out, extern(0) is an analogue of argv[1]

0 件の賞賛