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
@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.
figured out, extern(0) is an analogue of argv[1]