meta-meson
meta-meson copied to clipboard
Only compiles on x86 host
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
- https://github.com/afaerber/meson-tools (GXBB, GXL & GXM only)
- https://github.com/repk/gxlimg (GXBB, GXL, GXM & AXG only)
- https://github.com/angerman/meson64-tools (developed for G12B, should work on G12A & SM1)
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: https://github.com/LibreELEC/amlogic-boot-fip/pull/4
If it can help, I pushed a gxlimg recipe in 64a8446
And meson-tools recipe in 70118f9
GXBB isn't handled by gxlimg, but only by meson-tools.
@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.