-->
Page 1 of 2

Is there no esptool for x64 Linux?

PostPosted: Sat Oct 15, 2016 7:27 am
by NopItTwice
I am currently following this guide to install the toolchain: https://github.com/esp8266/esp8266-wiki/wiki/Toolchain

It's a total pain in the ass, as it has apparently not been tested for x64 systems.
Now I've reached a point where I can't figure out the problem on my own.

The second-last point tells me to install "esptool_0.0.2-1_i386.deb".
But the installation fails saying "package architecture (i386) does not match system (amd64)".
And there doesn't seem to be a x64 package available: https://github.com/esp8266/esp8266-wiki/tree/master/deb

Is espressif not supporting x64 systems? (Why is there a x64 Debian section then?)
Is there a guide to set up the toolchain that has actually been tested?

I'm on Debian 8 (Jessie) x64 btw.

Re: Is there no esptool for x64 Linux?

PostPosted: Sun Oct 16, 2016 3:47 am
by poloking
if you want to follow the guide precisely, you have a couple options:
1. compile the code yourself - I don't imagine it should be that difficult (search google for a generic compilation guide)
2. use a multiarch solution to allow you to install 32bit on 64bit OS

Of the two options personally I would choose number 1. However my recommendation would be to use the python tool which is the next step in your install guide. https://github.com/themadinventor/esptool that same tool has the ability to build ELF into binary ".bin" blobs. Obviously then you will have to make sure that you are passing the right commands instead of just copying and pasting.

Re: Is there no esptool for x64 Linux?

PostPosted: Sun Oct 16, 2016 6:37 am
by jbro
I have Jessie on 64 bit with the full toolchain working. But I used the method suggested at the top of the page of the guide you are following:

https://github.com/pfalcon/esp-open-sdk

I don't remember running into that problem your having.

Re: Is there no esptool for x64 Linux?

PostPosted: Sun Oct 16, 2016 8:08 am
by martinayotte
You are not providing details about what went wrong with the x64 installation.
Therefore, it is difficult to help you ...