elftosb valid db file

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

elftosb valid db file

506 Views
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 Kudos
2 Replies

489 Views
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 Kudos

496 Views
IvanRia
Contributor II

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

0 Kudos