Skip to content

Revive ARMv6 support #34874

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
5 tasks
zanderso opened this issue Oct 19, 2018 · 4 comments
Closed
5 tasks

Revive ARMv6 support #34874

zanderso opened this issue Oct 19, 2018 · 4 comments
Labels
area-infrastructure Use area-infrastructure for SDK infrastructure issues, like continuous integration bot changes. area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. closed-not-planned Closed as we don't intend to take action on the reported issue customer-flutter type-enhancement A request for a change that isn't a bug

Comments

@zanderso
Copy link
Member

zanderso commented Oct 19, 2018

This has several components.

  • Triage and fix simarmv6 test failures
  • Find Linux and Android ARMv6 cross toolchains. Teach gclient sync or gclient runhooks to download them.
  • Add GN toolchain definitions for the ARMv6 toolchains
  • Make sure we're passing all the right flags to the ARMv6 toolchains
  • Obtain ARMv6 hardware (Linux and/or Android), attach to bots, run tests on hardware. This can mirror the ARMv7 setup.
@zanderso zanderso added area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. area-infrastructure Use area-infrastructure for SDK infrastructure issues, like continuous integration bot changes. type-enhancement A request for a change that isn't a bug customer-flutter labels Oct 19, 2018
@zanderso
Copy link
Member Author

See: flutter/flutter#22380

@robertmuth
Copy link

I would be great if, as a side effect of this, we would end up with an SDK for "Raspian",
the Linux distribution for Raspberry Pi's.
Modern Raspis (2/3 models) are ARMv7 but the Pi Zeros are ARMv6.

To see where things are WRT ARMv6 compatibility, one could build and SDK
on Raspi 3 and then try it out on an Zero

@zanderso
Copy link
Member Author

To see where things are WRT ARMv6 compatibility, one could build and SDK
on Raspi 3 and then try it out on an Zero

By default when targeting 32-bit ARM, the Dart VM compiler definitely generates instructions that require ARMv7, so the SDK that we build that works on ARMv7 is not designed to work on ARMv6.

This process for Raspberry Pi 1 worked at one point in time, and would be a good starting point for future ARMv6 support.

@mit-mit
Copy link
Member

mit-mit commented Oct 24, 2018

I would like to reconsider this. Currently Flutter formally only supports ARMv7 and ARM64:
https://flutter.io/faq/#what-devices-and-os-versions-does-flutter-run-on

@zanderso zanderso added the closed-not-planned Closed as we don't intend to take action on the reported issue label Oct 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-infrastructure Use area-infrastructure for SDK infrastructure issues, like continuous integration bot changes. area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. closed-not-planned Closed as we don't intend to take action on the reported issue customer-flutter type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

3 participants