Mac M1 Linux aarch64 support

peterglen
Posts: 27
Joined: Thu Mar 22, 2018 5:55 pm

Mac M1 Linux aarch64 support

Postby peterglen » Fri Sep 17, 2021 1:37 am

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.

ESP_igrr
Posts: 2071
Joined: Tue Dec 01, 2015 8:37 am

Re: Mac M1 Linux aarch64 support

Postby ESP_igrr » Fri Sep 17, 2021 6:18 am

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.

peterglen
Posts: 27
Joined: Thu Mar 22, 2018 5:55 pm

Re: Mac M1 Linux aarch64 support

Postby peterglen » Mon Sep 20, 2021 1:05 am

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 3728 times

Jason2866
Posts: 1
Joined: Tue Apr 05, 2022 7:58 pm

Re: Mac M1 Linux aarch64 support

Postby Jason2866 » Tue Apr 05, 2022 8:04 pm

@peterglen do you have tried to compile latest toolchains (patch3)?
My try fails whith `m4`

Who is online

Users browsing this forum: No registered users and 220 guests