"Exec format error: 'sdphost "in Ivaldi application

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

"Exec format error: 'sdphost "in Ivaldi application

903 次查看
Kp_krishna
Contributor I

We are using the NVIDIA Jetson TX2 NX with 64bit kernel,Pascal GPU + ARMv8 CPU as a host.
We have to flash the bootloader and application binary together to imxrt controller(MIMXRT106SDVL6B) using the host processor.
For that Ivaldi application(bootloader and application binaries have to be put as different files not together in the Ivaldi application).
While executing the python script “open_prog_full.py” shown this error
“OSError: [Errno 8] Exec format error: 'sdphost'
The tools provided by Ivaldi have some binaries like sdphost,blhost et..that only supports Linux x86 architecture ie is generic linux
We have the ARM aarch64(64 bit kernel) in the host processor, so that we can't validate the flashing using the Ivaldi application.
This validation is a critical requirement for us.
Could you please share the Ivaldi application that supports ARM aarch64(64bit kernel) architecture for flashing all binaries together as a single file or any other solutions for solving the issue as soon as possible?
Is it possible to combine all binary files(bootloader and application binaries) together as a single binary file using the Ivaldi application?

not:error_log,tool names and their supported platforms are attached

@kerryzhou 

标签 (1)
0 项奖励
回复
3 回复数

879 次查看
Kp_krishna
Contributor I

Hi @kerryzhou 
We are using the NVIDIA Jetson TX2 NX with kernel version 4.9 as a host.
We are able to flash bootloader and application binary together to imxrt controller(MIMXRT106SDVL6B) using the Ivaldi application from the host after cross compiling certain tools required by Ivaldi for ARM architecture.
We have set the imxrt to the default boot mode from serial download mode(SWD) after flashing.
After flashing the application binary alone using JTAG debugger to imxrt,we can't access the imxrt controller completely.
Debugger is not showing any error message during flashing,
We can't even access our host due to this issue.
After flashing the complete binary shared by your team solved the issue,and can access imxrt after that.
So could you please let us know if there is any other configuration needed to solve the issue from serial download mode to the default boot mode of imxrt as soon as possible?

0 项奖励
回复

878 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @Kp_krishna ,

  The resolution is do the flash mass erase. Just erase the FCB+IVT area is also OK.

   You even can use the JLINK command: erase all to resolve it, then you should can debug it again.

 

Best Regards,

Kerry

0 项奖励
回复

895 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @Kp_krishna ,

     Thanks for your interest in the NXP MIMXRT product!

    Until now, we just have the nxp.com launched Ivaldi package.

    If you want to check more details, or special function of Ivaldi, please send email to:local-commands@nxp.com

   With your project, company information, then our related solution team will help you directly, thanks.

 

Best Regards,

Kerry

0 项奖励
回复