Skip to content

feat(build): add Raspberry Pi 5 (Cortex-A76) support#1

Open
sbs44 wants to merge 2 commits intocifrom
feature/add-pi5-cpu-support
Open

feat(build): add Raspberry Pi 5 (Cortex-A76) support#1
sbs44 wants to merge 2 commits intocifrom
feature/add-pi5-cpu-support

Conversation

@sbs44
Copy link
Owner

@sbs44 sbs44 commented Jan 12, 2026

Summary

  • Add pi5 CPU enum with cortex-a76+nocrypto compiler flags
  • Add pi5_64 target for 64-bit ARM engine builds
  • Update README with Pi 5 build configuration and documentation

Details

The Raspberry Pi 5 uses a BCM2712 SoC with Cortex-A76 cores (ARMv8.2-A architecture). This PR adds support for building CPU-tuned engine binaries optimized for the Pi 5.

Compiler flags

-mcpu=cortex-a76+nocrypto -mtune=cortex-a76

GCC tuning differences

  • Cortex-A72 (Pi4): uses cortexa72 tuning model
  • Cortex-A76 (Pi5): uses neoversen1 tuning model with additional features (F16, DOTPROD, RCPC)

New build jobs

  • build engine (for: pi5-64, flavor: profile)
  • build engine (for: pi5-64, flavor: release)

Note: Using +nocrypto for consistency with Pi 3/Pi 4 builds, though the A76 in Pi 5 does support crypto extensions.

sbs44 added 2 commits January 12, 2026 04:40
- Add pi5 CPU enum with cortex-a76+nocrypto compiler flags
- Add pi5_64 target for 64-bit ARM engine builds
- Update README with Pi 5 build configuration and docs
The Cortex-A76 in Raspberry Pi 5 supports crypto extensions,
so there's no need to disable them like on Pi3/Pi4.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant