mbox series

[v8,0/5] aarch64 -> aarch32 cross compilation support

Message ID 1598360684-8975-1-git-send-email-juraj.linkes@pantheon.tech (mailing list archive)
Headers show
Series aarch64 -> aarch32 cross compilation support | expand

Message

Juraj LinkeŇ° Aug. 25, 2020, 1:04 p.m. UTC
Add support for aarch32 cross build in meson
and add aarch64 -> aarch32 cross build to Travis.

Aarch32 is an execution state that allows execution of 32-bit code on
armv8 machines. This execution state contains a superset of previous
armv7 32-bit instructions and features. Thus the aarch32 build is
distinct from arvm7 build.

Tested here:
[v6] https://travis-ci.com/github/jlinkes/dpdk/builds/179252628
[v7] https://travis-ci.com/github/jlinkes/dpdk/builds/179723067
[v8] https://travis-ci.com/github/jlinkes/dpdk/builds/181307330

v4:
Removed disabled drivers which actually build on arm32.
Also tested the patchset with series 9609 which fixes underlying
failures.

v5:
Changed the condition for running test-null.sh in ci.
Re-uploaded after underlying fixes have been committed.

v6:
Changed the condition for running test-null.sh again.
Reworked the patch to do aarch32 build instead of arvm7-a build.
Simplified meson build flags. Changed commit msgs.
Added 32b qualifier to .travis.yml.
Added a patch with fixes for bnxt.
Added a patch with cross compilation docs.

v7:
Rebased the patchset.

v8:
Removed Makefile additions from net/bnxt patch.

Juraj LinkeŇ° (3):
  build: add aarch32 meson build flags
  build: add aarch32 to meson cross-compilation
  ci: add aarch64 -> aarch32 cross compiling jobs

Phil Yang (1):
  doc: add aarch32 build guidance

Ruifeng Wang (1):
  net/bnxt: add support for aarch32

 .ci/linux-build.sh                            |  7 ++++-
 .travis.yml                                   | 19 ++++++++++++
 config/arm/arm32_armv8a_linux_gcc             | 17 +++++++++++
 config/arm/meson.build                        | 20 +++++++++++--
 .../linux_gsg/cross_build_dpdk_for_arm64.rst  | 30 ++++++++++++++-----
 drivers/net/bnxt/bnxt_rxq.h                   |  2 +-
 drivers/net/bnxt/bnxt_rxr.h                   |  2 +-
 drivers/net/bnxt/bnxt_txr.h                   |  2 +-
 8 files changed, 86 insertions(+), 13 deletions(-)
 create mode 100644 config/arm/arm32_armv8a_linux_gcc