rkdeveloptool error "cannot execute binary file" on MacOS M1

userHead danito 2023-10-19 17:18:33 842 Views3 Replies

I have downloaded rkdeveloptool file (https://dfimg.dfrobot.com/64228321aa9508d63a42c28b/wikien/8c8439a830949744ac108b7e2717911b.zip) from https://www.unihiker.com/wiki/burner_command_line

 

But when I run a command as directed:

 

./rkdeveloptool ld

 

error → zsh: exec format error: ./rkdeveloptool

 

or

 

sudo ./rkdeveloptool

 

error → cannot execute binary file

 

 

I think the binary executable file for the Apple M1 is different from the Intel version.

Can someone help me provide a link to the rkdeveloptool binary executable file for the Apple M1 version?

 

Thank You in advance

 

2023-11-24 22:28:13

I've identified the issue you were experiencing with the unihiker development board. It turns out that the documentation and files were outdated. The relevant materials have now been updated on the official website. Please download the latest versions of the files and follow the updated instructions to see if that resolves your problem. You can find the updated documentation and files here: [https://www.unihiker.com/wiki/burner_command_line](https://www.unihiker.com/wiki/burner_command_line)

 

userHeadPic LL
LL wrote:
2023-11-24 22:41:12
1 Replies
2023-11-02 08:54:34

the command file shows that the link to macos binary is wrong.

 

(base) ➜  unihiker file burner_mac/rkdeveloptool burner_mac/rkdeveloptool: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=67559ea3e573e54277cea0f4041c3dacd465beab, for GNU/Linux 3.2.0, with debug_info, not stripped

userHeadPic titimoby