CI: Set up for an arm64 runner
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest6 patches 0 repliesNew
- v49 patches 2 repliesSuperseded
- v39 patches 14 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 9 patches | 6 replies | Superseded | |
| v1 | 9 patches | 25 replies | Superseded |
Changes in v5 from the cover letter
- Drop the comment in the gitlab file
- Add back a final missing sudo
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | docker: Support building for multiple architecturesdoc/ tools/ | +30 | 2 replies | |
| 2/6 | docker: Adjust packages for arm64tools/ | +7 | 0 replies | |
| 3/6 | docker: Drop coreboot for arm64tools/ | +4 | 0 replies | |
| 4/6 | docker: Fix LegacyKeyValueFormat warning with PYTHONPATHtools/ | +1 | 0 replies | |
| 5/6 | docker: Install toolchains on arm64 hosttools/ | +26 | 0 replies | |
| 6/6 | CI: Add platform variable.gitlab-ci.yml | +1 | 0 replies |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Tom Rini | Heinrich Schuchardt | Ilias Apalodimas |
|---|---|---|---|
| 1/6 | R-b | ||
| 2/6 | R-b | ||
| 3/6 | R-b | ||
| 4/6 | R-b | R-b | |
| 5/6 | R-b | ||
| 6/6 | R-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 3 reviewers.
Cover letter [PATCH v5 0/6] CI: Set up for an arm64 runner
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.
Currently this builds OK on amd64 but fails when built on arm64, in grub on arm64-efi:
2022.6 gcc -DHAVE_CONFIG_H -I. -I../../.. -D_FILE_OFFSET_BITS=64
-MT argp-pvh.o -MD -MP -MF $depbase.Tpo -c -o argp-pvh.o argp-pvh.c &&\
2022.6 mv -f $depbase.Tpo $depbase.Po
2023.0 gcc: internal compiler error: Segmentation fault signal terminated program cc1 2023.0 Please submit a full bug report,
2023.0 with preprocessed source if appropriate.
2023.0 See <file:///usr/share/doc/gcc-11/README.Bugs> for instructions. 2023.0 make[4]: *** [Makefile:1714: argp-pvh.o] Error 4
Perhaps this doesn't matter, though, at least for now.
This passes gitlab:
https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines
but still fails on arm64:
https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/23346
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
Simon Glass (6):
docker: Support building for multiple architectures
docker: Adjust packages for arm64
docker: Drop coreboot for arm64
docker: Fix LegacyKeyValueFormat warning with PYTHONPATH
docker: Install toolchains on arm64 host
CI: Add platform variable
.gitlab-ci.yml | 1 + doc/build/docker.rst | 23 ++++++++++++-- tools/docker/Dockerfile | 69 ++++++++++++++++++++++++++++------------- 3 files changed, 69 insertions(+), 24 deletions(-)
Signature · 1 line
2.34.1