superna9999 / meta-meson

Upstream Linux Amlogic Meson Yocto/OpenEmbedded Layer
https://github.com/superna9999/meta-meson/wiki
MIT License
100 stars 67 forks source link

Only compiles on x86 host #131

Open m5p3nc3r opened 2 years ago

m5p3nc3r commented 2 years ago

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):

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 commented 2 years ago

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

superna9999 commented 2 years ago

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

superna9999 commented 2 years ago

And meson-tools recipe in 70118f9

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

superna9999 commented 2 years ago

@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.