cannot execute binary file: Exec format error..how do u solve this??

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

cannot execute binary file: Exec format error..how do u solve this??

6,665件の閲覧回数
varun_kumar
Contributor II

Hi,

I my getting following error, I'm not able to execute .elf file in both via terminal and vision sdk.

Error in final launch sequence
Failed to execute MI command:
-exec-run
Error message from debugger back end:
During startup program exited with code 126.
During startup program exited with code 126.

Thank you in advance

eclipse_exe_error.pngterminal_exe_error.png

タグ(3)
0 件の賞賛
返信
3 返答(返信)

5,725件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Um, from your console it looks that target is linux. So - what is your EVB? The uname -a output doesn't look familiar for me. Aren't you trying execute .elf file on your Linux host machine instead on EVB? 

Jiri 

0 件の賞賛
返信

5,725件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi, 

what is your target configuration? Baremetal or Linux? In my opinion you are trying start baremetal .elf file on EVB running on Linux. 

Jiri

0 件の賞賛
返信

5,725件の閲覧回数
varun_kumar
Contributor II

Hi,

you can see the debug config and followed by after debugging

Screenshot_20181121_134703.pngScreenshot_20181121_135425.png

0 件の賞賛
返信