Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only compiles on x86 host #131

Open
m5p3nc3r opened this issue May 20, 2022 · 4 comments
Open

Only compiles on x86 host #131

m5p3nc3r opened this issue May 20, 2022 · 4 comments
Labels
bug test needed feature implemented but test is needed to validate

Comments

@m5p3nc3r
Copy link
Contributor

Describe the bug
This is a know issue, as it is clearly marked in recipes-bsp/trusted-firmware-a/amlogic-boot-fip.bb
But as infrastructure is being enabled on aarch64 hosts, it would be good to get ahead of the problem and track a solution.
The binary tools supplied as a part of https://github.com/LibreELEC/amlogic-boot-fip are x86 only, so its not possible to build images on an arm host.

Build Context
Host machine is aarch64

Expected behavior
The image should build normally

System (please complete the following information):

  • Host OS: Fedora
  • Version 36
  • Architecture aarch64
  • Specific packages: amlogic-boot-fip

Additional context
This issue is clearly documented here

It looks like there may be options to build without using the binary only amlogic tools. Extract of details here, source from https://github.com/LibreELEC/amlogic-boot-fip

@superna9999
Copy link
Owner

Thanks, I was thinking about it. Did you try adding support for it ?

it may be help but I opened a PR to use gxlimg tools: LibreELEC/amlogic-boot-fip#4

@superna9999
Copy link
Owner

If it can help, I pushed a gxlimg recipe in 64a8446

@superna9999
Copy link
Owner

And meson-tools recipe in 70118f9

GXBB isn't handled by gxlimg, but only by meson-tools.

@superna9999
Copy link
Owner

superna9999 commented May 30, 2022

@m5p3nc3r I pushed an experimental support on f7a34a8 on master-dev, this should work but since it doesn't emit a .sd.bin file I'm not sure if it works on GXL/GXM.

@superna9999 superna9999 added bug test needed feature implemented but test is needed to validate labels Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug test needed feature implemented but test is needed to validate
Projects
None yet
Development

No branches or pull requests

2 participants