镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Continuing aarch64/arm64 Issues with QEMU static #262

Closed

Description

@jxmx

This is a follow-on to #240 which is still not fixed after PR #251. On aarch64/arm64 platforms, the logic in custompios is still trying to use qemu-aarch64-static unnecessarily. Part of my original patch didn't make it into PR #251.

#261

Activity

  1. jxmx commented on Oct 15, 2025

    @jxmx
    ContributorAuthor

    Specifically, see #261

  2. Wardstein commented on Feb 8, 2026

    @Wardstein

    Wanted to ask about the state and success building 64bit images. I tried this for a few days, but had no luck building a 64bit image on the Github Action Runner.
    My pipeline works fine with the RaspberryPiOS Trixie 32bit image (but the dependencies of my software do not work on the 32bit image...).

    I created a variant config file (as in the docs):

    export BASE_DISTRO=raspios64
    export BASE_ARCH=aarch64
    export BASE_BOARD=raspberrypiarm64
    export BASE_IGNORE_VARIANT_NAME=yes
    export BASE_IMAGE_RASPBIAN=no
    

    and use the latest commit from CustomPiOS in the pipeline:

    repository: 'guysoft/CustomPiOS'
    path: CustomPiOS
    ref: "79b77a4c1a34ef551ab09e9bd84710d048b65e55"
    

    But I get this error when running the pipeline: qemu-arm-static: /usr/bin/bash: Invalid ELF image for this architecture
    Don't know if it detects the image version wrong, as the output states Building on non-ARM device a armv7l system, using qemu-arm-static and I would expect something else than "arm7l" there?

    If you need, I can link my build pipeline, it is nothing proprietary.

  3. guysoft commented on Feb 8, 2026

    @guysoft
    Owner

    @Wardstein
    The current release process in OctoPi builds successfully arm64 images. So it should work. according the the error its not detecting BASE_BOARD. Can you link the build.log?

  4. Wardstein commented on Feb 8, 2026

    @Wardstein

    Hey @guysoft,
    Don't know if somebody else can see the build logs here https://github.com/Wardstein/image-build-test/actions/runs/21800544341, but I attached them.

    job-logs-21800544341.txt

    Thanks for having a look. In the repo you can find my normal config file and then the "raspberrypiarm64" variant config file

  5. guysoft commented on Feb 9, 2026

    @guysoft
    Owner

    Ok, I made it so config.local and variants have a higher priority, try now to use the latest devel build and tell me if it works.
    also make sure you are using an up to date docker image, or up to date source.

  6. Wardstein commented on Feb 10, 2026

    @Wardstein

    That works, thank you very much for the quick help/fix :)
    Will definitely link to CustomPiOS in my repo 👍

  7. guysoft commented on Feb 10, 2026

    @guysoft
    Owner

    @Wardstein glad to hear - you can pull request your repo to the projects section in the CustomPiOS readme too :)

  8. jxmx commented on Feb 10, 2026

    @jxmx
    ContributorAuthor

    Any chance of merging #261?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions