Page 1 of 1

Mac M1 Linux aarch64 support

Posted: Fri Sep 17, 2021 1:37 am
by peterglen
I am running the ESP32 dev on Linux Ubuntu x86_64. Works fantastic. I installed Ubuntu on the new Mac book Air in a UTM virtual machine, and trying to compile ESP32 project(s). On installation, I encounter the message 'aarch(64)' is not supported. It would be nice to see this platform supported on the xtensa cross compiler (crosstool-NG) support. The M1 chip based platforms are awesome, here to get popular and stay. PS I tried to install the source ... difficult to compile; broken dependencies; Please help.

Re: Mac M1 Linux aarch64 support

Posted: Fri Sep 17, 2021 6:18 am
by ESP_igrr
Hi peterglen,
We are going to release a toolchain for aarch64 (Linux) hosts soon, please go to https://github.com/espressif/esp-idf/issues/6432 and click "Subscribe" to get notified when the toolchain will be released.
We don't yet have plan for the native aarch64 macOS toolchain release (relevant Github issue: https://github.com/espressif/esp-idf/issues/6113) but for the time being the x64_64 macOS toolchain should get installed on M1 and should run fine (albeit slower) under Rosetta emulation.

Re: Mac M1 Linux aarch64 support

Posted: Mon Sep 20, 2021 1:05 am
by peterglen
Thank you; Look forward to it; I was able to compile the crosstool (after banging my head against the wall for two days) The actual solution was simple, minor corrections for the expat component configuration. Screenshot below.
Screenshot_2021-09-19_20-48-36.png
screen shot
Screenshot_2021-09-19_20-48-36.png (93.72 KiB) Viewed 3553 times

Re: Mac M1 Linux aarch64 support

Posted: Tue Apr 05, 2022 8:04 pm
by Jason2866
@peterglen do you have tried to compile latest toolchains (patch3)?
My try fails whith `m4`