-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
boards: emlid_navio - support 64-bit OS on Raspberry Pi 4,5 #24006
Conversation
@dagar - please take a look. RPi 5 is mainstream now and it doesn't support 32-bit Ubuntu |
@slgrobotics the build is failing here, but I'm not yet sure why. |
@dagar - it builds for me after I apply changes per #23994 I build on an Intel I7 Ubuntu 24.04 desktop machine, all updates applied.
Here is the trace:
|
BTW, But this still fails after I merged the #23994 from main: Build all targets / Build Group [aarch64-0] (pull_request) Failing after 1m Is it related to https://github.com/PX4/PX4-Autopilot/actions/runs/11946532582/job/33301066857?pr=24006
|
Stripped comments from boards/emlid/navio2/arm64.px4board - maybe this affects build? Well, same failure - https://github.com/PX4/PX4-Autopilot/actions/runs/11946837888/job/33301868373?pr=24006 |
Build failure is likely related to CONFIG_MODULES_UXRCE_DDS_CLIENT=y in the boards/emlid/navio2/default.px4board boards/scumaker/pilotpi/default.px4board does not have that switch and seems to compile fine before navio2 |
Hey just a heads up, I rebased this branch so it can pick up the latest fixes to CI, maybe this helps smooth things up. Here's the original error so we don't loose track of it https://github.com/PX4/PX4-Autopilot/actions/runs/11956021085/job/33329873334?pr=24006#step:8:1281 |
This pull request has been mentioned on Discussion Forum for PX4, Pixhawk, QGroundControl, MAVSDK, MAVLink. There might be relevant details there: |
The error should be fixed by #24045. |
To support 64-bit OS on Raspberry Pi 4,5
stripped comments
ee5db68
to
7e6650c
Compare
Not sure what's crashing MAVROS, but the "Build all targets / Build Group [aarch64-0]" is successful. |
Thanks @slgrobotics, you are right tests are unrelated and will be fixed soon in #24039 |
Solved Problem
Raspberry Pi 4,5 support 64-bit OS (Ubuntu) and "aarch64-linux-gnu" toolchain.
This PR adds a single file that optionally allows cross-builds for ARM64 target architecture.
Solution
sudo apt install g++-aarch64-linux-gnu
The 32-bit toolchain can be installed by
sudo apt install g++-arm-linux-gnueabihf
Now both 32-bit and 64-bit builds are available: