Problem uploading to BW16 from Linux

Hi, I’m developing and compiling my code with the standard SDK on a linux box and everything works smooth.

But I’ve been unable to upload directly from my linux, I have to download to my windows and then, from there, use the upload_image_tool cmd (or the image tool windows app) to upload my code.

If I run upload_image_tool_linux I get this output:

Please enter the upload mode (wait 5s)
05
04
03
02
01
Uploading.sh: 1: ./tools/linux/image_tool/amebad_image_tool: not found
Upload Image done.

I’ve done sudo find / -name Uploading.sh but there is no such script in my box.

any help?
Thz

Looks it is a tool issue, normally the tool is installation problem.
Please try to remove/uninstall all arduino ide related apps. Then reinstall by https://github.com/Ameba-AIoT/ameba-arduino-d/raw/dev/Arduino_package/package_realtek_amebad_early_index.json