The problem is 32-bit Ubuntu.
The included toolchain is built for 64-bit Linux and can't work on 32-bit.
Here is what you can do:
Change the working directory to MicroPython_ESP32_psRAM_LoBo/Tools and execute:
Code: Select all
rm ver20171105.id
cd Linux
wget http://loboris.eu/ESP32/xtensa-esp32-elf_32.tar.xz
rm xtensa-esp32-elf.tar.xz
mv xtensa-esp32-elf_32.tar.xz xtensa-esp32-elf.tar.xz
Execute:
Code: Select all
./BUILD menuconfig
./BUILD all
When working with Linux VM without desktop it is better to access the Linux system via ssh using Putty.
In VirtualBox set the network as "Bridged adapter"
If not installed, install ssh in Ubuntu (sudo apt-get install ssh).
Check your IP address with ifconfig (you will need it for Putty)
In Putty you can set the desired screen size, and copy/paste will also be possible.
It is also recommended to set the number of processors in VirtualBox to at least 2, that way you can use -j2 (-j4) options with BUILD.sh to speed the build process.