Skip to content

Possibly corrupted .bin after Github Actions build #8

@hntirgeam

Description

@hntirgeam

I was trying to add some new features to the firmware, but got stuck compiling a working .bin file.

The problem is that after building the master branch and flashing the resulting artifact (.bin), the goggles won't start at all:

  • no boot image - only black screens
  • fan speed 100% all the time
  • no responses to inputs (obviously)

*I fix this by flashing recovery

What I have tried so far:

  • Building locally on my M4 Mac via the provided Devcontainer - fails due to toolchain mismatch (x86_64 vs ARM)
  • Building locally on my M4 Mac via a custom Devcontainer with a native compiler - builds complete, but the resulting .bin seems corrupted or contains mismatched instructions (probably due to different toolchain) and produces the same “bricked” state as above
  • Building with GitHub Actions - builds complete and produces the same “bricked” state as above

In all cases, the .bin file was taken only from builds that completed successfully without any compiler errors or warnings that would stop the build.

.bin from official site flashes normally

How should I correctly build the master (any) branch so that I can flash it to the HDZero Goggles V2?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions