From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: "Nuno Gonçalves" <nunojpg@gmail.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH] package/rpi-userland: support ARM64 build
Date: Sat, 20 Aug 2022 20:38:03 +0200 [thread overview]
Message-ID: <20220820183803.GP2167049@scaer> (raw)
In-Reply-To: <CAEXMXLSj4tsDDdHcidQo+kFy61TiB00GMfp9SSuewu5eMnA+wQ@mail.gmail.com>
Nuno, All,
On 2022-08-20 18:35 +0100, Nuno Gonçalves spake thusly:
> Signed-off-by: Nuno Gonçalves <nunojpg@gmail.com>
Thanks for submitting this patch.
This has been proposed quite a few times already:
http://lists.busybox.net/pipermail/buildroot/2020-August/289559.html
http://lists.busybox.net/pipermail/buildroot/2020-January/271577.html
https://lore.kernel.org/buildroot/20201017082525.GF3466@scaer/
And there were at the time quite a lot of concerns about it, and a
conclusion that arm64 was in fact not trule supported.
In short, on arm64, the set of libraries was not the same as that on
arm32, and so rpi-userland could not be, in arm64, a provider for
OpneGLES, OpenGL-EGL, or OpenMAX.
And I'll quote my previous reply:
Has that situation improved now?
If the situation is better now, then please address that in the commit
log. If not, please see the the aforementioned threads for suggested
improvements (like making the EGL/GLES/OPENMAX provider conditional).
Please note that there is one big question, about libfdt, in one of
those threads, which must be addressed too (although it does not seem to
be AArch64-related?).
For now, I've marked this patch as changes requested.
Regards,
Yann E. MORIN.
> ---
> package/rpi-userland/Config.in | 2 +-
> package/rpi-userland/rpi-userland.mk | 4 ++++
> 2 files changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/package/rpi-userland/Config.in b/package/rpi-userland/Config.in
> index 342faf26e3..809ec6a6a2 100644
> --- a/package/rpi-userland/Config.in
> +++ b/package/rpi-userland/Config.in
> @@ -1,6 +1,6 @@
> config BR2_PACKAGE_RPI_USERLAND
> bool "rpi-userland"
> - depends on BR2_arm
> + depends on BR2_arm || BR2_aarch64
> depends on BR2_INSTALL_LIBSTDCPP
> depends on BR2_TOOLCHAIN_HAS_THREADS
> depends on !BR2_STATIC_LIBS
> diff --git a/package/rpi-userland/rpi-userland.mk
> b/package/rpi-userland/rpi-userland.mk
> index 1204196e19..4ea51fa7f5 100644
> --- a/package/rpi-userland/rpi-userland.mk
> +++ b/package/rpi-userland/rpi-userland.mk
> @@ -17,6 +17,10 @@ ifeq ($(BR2_PACKAGE_LIBEXECINFO),y)
> RPI_USERLAND_DEPENDENCIES += libexecinfo
> endif
>
> +ifeq ($(BR2_aarch64),y)
> +RPI_USERLAND_CONF_OPTS += -DARM64=1
> +endif
> +
> ifeq ($(BR2_PACKAGE_RPI_USERLAND_HELLO),y)
>
> RPI_USERLAND_CONF_OPTS += -DALL_APPS=ON
> --
> 2.37.2
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2022-08-20 18:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAEXMXLT9gkCfFjEyR6=H6qaQ29wbLCJe=6cne9Kmw84KkbdfkQ@mail.gmail.com>
2022-08-20 17:35 ` [Buildroot] [PATCH] package/rpi-userland: support ARM64 build Nuno Gonçalves
2022-08-20 18:38 ` Yann E. MORIN [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220820183803.GP2167049@scaer \
--to=yann.morin.1998@free.fr \
--cc=buildroot@buildroot.org \
--cc=nunojpg@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox