Skip to content

CI: Set up for an arm64 runner

Tom Rini u-boot 1 version Applied

Status from this message: Applied to sjg/master, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v6 Latest12 patches 14 repliesApplied

Changes in v6 from the cover letter

- Re-introduce patches dropped in v4
- Add x86_64 toolchain
- Move to grub-2.12 and then build that (with -j$(nproc)) for all architectures

Patches in v6 Applied

#Subject and filesSizeRepliesApplied
1/12sandbox: efi_loader: Correct use of addresses as pointersarch/sandbox/cpu/cache.c drivers/remoteproc/rproc-elf-loader.c lib/efi_loader/efi_image_loader.c+20 -97 replies
2/12test: Adjust print_ut test to use unsigned chartest/common/print.c+4 -40 replies
3/12docker: Add kernel.org x86_64 toolchaintools/docker/Dockerfile+1 -11 reply
4/12docker: Use "make -j$(nproc)" when invoking maketools/docker/Dockerfile+4 -41 reply
5/12docker: Update to grub-2.12tools/docker/Dockerfile+2 -31 reply
6/12docker: Build grub for all architectures.azure-pipelines.yml .gitlab-ci.yml tools/docker/Dockerfile+26 -101 reply
7/12docker: Use cache mounts for apttools/docker/Dockerfile+7 -41 reply
8/12docker: Support building for multiple architecturesdoc/build/docker.rst tools/docker/Dockerfile+30 -20 replies
9/12docker: Adjust installed packages slightlytools/docker/Dockerfile+1 -20 replies
10/12docker: Fix LegacyKeyValueFormat warning with PYTHONPATHtools/docker/Dockerfile+1 -10 replies
11/12docker: Install toolchains on arm64 hosttools/docker/Dockerfile+26 -150 replies
12/12CI: Add platform variable.gitlab-ci.yml+1 -00 replies

Reviews trailers per patch

All 12 patches have a Reviewed-by or Acked-by.

PatchHeinrich SchuchardtTom RiniIlias ApalodimasSimon Glass
1/12A-b R-b
2/12R-b
3/12R-b
4/12R-b
5/12R-b
6/12R-b
7/12R-b
8/12R-b
9/12R-b
10/12R-b R-b
11/12R-b
12/12R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v6 thread

Cover letter [v6 0/12] CI: Set up for an arm64 runner

Hey all,

This is picking up Simon's v5 of the above-named series and making a few more changes so that the follow-up series I have leads to arm64 being supported for almost all jobs. To quote Simon's cover letter:

All gitlab runners are currently amd64 machines. This series attempts to create a docker image which can also support arm64 so that sandbox tests can be run on it.

The TARGET_... environment variables for grub could perhaps be adjusted, using the new variables, but I have not done that for now.

Adding to what Simon said, we now build grub for all architectures as the reason to install it was to be able to use the binaries in QEMU. That won't provide us with amd64 binaries on arm64 hosts so we can't use that shortcut anymore.

Changes in v6:
- Re-introduce patches dropped in v4
- Add x86_64 toolchain
- Move to grub-2.12 and then build that (with -j$(nproc)) for all architectures

Changes in v5:
- Drop the comment in the gitlab file
- Add back a final missing sudo

Changes in v4:
- Leave the 'sudo' in

Changes in v3:
- Move ARGs to the top
- Revise documentation to explain a common error and building on arm64
- Use grub-efi and linux-image-generic for both archs
- Add patch to install toolchains on arm64 host
- Drop patches which remove grub and tracing for arm64

Changes in v2:
- Update docs also
- Add comments to the ARG variables
- Swap order so that amd64 is the exception

Signature · 1 line
Tom