LuckfoxTECH / luckfox-pico

luckfox-pico sdk
257 stars 91 forks source link

Source for upgrade_tool? #138

Open plan44 opened 4 weeks ago

plan44 commented 4 weeks ago

I would like to look into why upgrade_tool neither correctly works on modern M2 macs, nor in virtual machines, probably due to timing issues (after a promising start, always: "communication error"). Also, upgrade_tool segfaults when the current directory path contains spaces.

However, I only found prebuilt binaries - it would help a lot if the source code was available. Maybe it is, but I haven't found it?

luckfox-eng33 commented 3 weeks ago

rk does not provide the source code of upgrade_tool, which is also a regret for us.

plan44 commented 3 weeks ago

Ok, thanks @luckfox-eng33 for the answer.

So I guess there's little we can do except hope RK will eventually create versions that also work on ARM based PCs and macs.

Usually all Win tools I need for industrial embedded development run fine in a VM on my M2 mac, be it Win or Linux, native arm or x86. upgrade_tool (and SocToolkit) is one of the few exceptions that seems to work only when run on x86 win hardware 😢