Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Aarch64 support? #3

Closed
ilg-ul opened this issue Dec 4, 2019 · 7 comments
Closed

Aarch64 support? #3

ilg-ul opened this issue Dec 4, 2019 · 7 comments

Comments

@ilg-ul
Copy link

ilg-ul commented Dec 4, 2019

Are there any plans to upgrade stm32duino to run on Aarch64?

If the only limitation is a toolchain, please note that I'm considering adding Aarch support to the xPack binaries, but no date when this will be available is set yet.

@fpistm
Copy link
Member

fpistm commented Dec 5, 2019

Hi @ilg-ul
This is something requested by the community:
stm32duino/Arduino_Core_STM32#708

And yes the main (only) limitation is the toolchain. So if you add it this would be great.
Arduino IDE support those 2 targets:

  • aarch64-linux-gnu
  • arm-linux-gnueabihf

@ilg-ul
Copy link
Author

ilg-ul commented Dec 5, 2019

Yes, I'll try to add it, but currently finding an environment to build these images is not easy.

I'll probably have to buy a Pi 4, although performances are modest for such an intensive task as building toolchains.

For the moment, for Aarch64, you can repack the recently released Arm binary:

https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads

@ilg-ul
Copy link
Author

ilg-ul commented Dec 5, 2019

I did a quick review, and it looks like some of my assumptions were too optimistic.

At this moment, even if the hardware supports 64-bit since Pi 3, the Arm mini-pc world is mainly 32-bit, with Raspbian still a 32-bit OS.

There are some 3rd party projects adding 64-bit support to existing Linux distros, but I would not go that route.

There are other small boards that come with initial support for Debian Arm 64-bit (like https://www.pine64.org/rockpro64/).

I'll further investigate, and probably order one such board, but I don't expect this to happen before the end of this year.

Anyway, what also results from this quick analysis is that both aarch64 and armhf should be considered.

@fpistm
Copy link
Member

fpistm commented Dec 6, 2019

Don't worry
Again thanks a lot for your great work 🥇

@ilg-ul
Copy link
Author

ilg-ul commented Dec 6, 2019

You're welcome!

The 9.x toolchain is ready, I have to test it, it'll probably be public in 1-2 days.

@fpistm
Copy link
Member

fpistm commented Dec 8, 2019

@ilg-ul
I close this one as it will be handled here:
stm32duino/Arduino_Core_STM32#708

Moreover, I will probably archive this repo.

@fpistm fpistm closed this as completed Dec 8, 2019
@ilg-ul
Copy link
Author

ilg-ul commented Dec 8, 2019

Ok, no problem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants