From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/rpi-userland: add support for aarch64 build
Date: Tue, 18 Aug 2020 21:33:38 +0200 [thread overview]
Message-ID: <20200818193338.GP24264@scaer> (raw)
In-Reply-To: <20200818191130.2888592-1-christian@paral.in>
Christian, All,
On 2020-08-18 12:11 -0700, Christian Stewart spake thusly:
> Tested on Pi4 Model B (aarch64).
There was previous proposal for this:
http://lists.busybox.net/pipermail/buildroot/2020-June/285000.html
http://lists.busybox.net/pipermail/buildroot/2020-January/271588.html
where it wsa noticed and pointed out that not all libraries were
installed for tghe 64-bit variants, and that parts of the 64-bit
support even git reverted upstream:
https://github.com/raspberrypi/userland/commit/f97b1af1b3e653f9da2c1a3643479bfd469e3b74
How does that patch address these issues?
Regards,
Yann E. MORIN.
> Signed-off-by: Christian Stewart <christian@paral.in>
> ---
> package/rpi-userland/Config.in | 4 ++--
> package/rpi-userland/rpi-userland.mk | 4 ++++
> 2 files changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/package/rpi-userland/Config.in b/package/rpi-userland/Config.in
> index 342faf26e3..81f3588822 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
> @@ -40,6 +40,6 @@ config BR2_PACKAGE_RPI_USERLAND_HELLO
> endif
>
> comment "rpi-userland needs a toolchain w/ C++, threads, dynamic library"
> - depends on BR2_arm
> + depends on BR2_arm || BR2_aarch64
> depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
> BR2_STATIC_LIBS
> diff --git a/package/rpi-userland/rpi-userland.mk b/package/rpi-userland/rpi-userland.mk
> index 9edc92344e..ec5e26f140 100644
> --- a/package/rpi-userland/rpi-userland.mk
> +++ b/package/rpi-userland/rpi-userland.mk
> @@ -13,6 +13,10 @@ RPI_USERLAND_CONF_OPTS = -DVMCS_INSTALL_PREFIX=/usr
>
> RPI_USERLAND_PROVIDES = libegl libgles libopenmax libopenvg
>
> +ifeq ($(BR2_aarch64),y)
> +RPI_USERLAND_CONF_OPTS += -DARM64=ON
> +endif
> +
> ifeq ($(BR2_PACKAGE_RPI_USERLAND_HELLO),y)
>
> RPI_USERLAND_CONF_OPTS += -DALL_APPS=ON
> --
> 2.28.0
>
--
.-----------------.--------------------.------------------.--------------------.
| 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. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2020-08-18 19:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-18 19:11 [Buildroot] [PATCH 1/1] package/rpi-userland: add support for aarch64 build Christian Stewart
2020-08-18 19:33 ` Yann E. MORIN [this message]
2020-08-18 19:48 ` Christian Stewart
2020-08-18 20:16 ` Yann E. MORIN
2020-08-19 20:54 ` Christian Stewart
2020-08-19 21:42 ` Yann E. MORIN
2020-08-19 22:05 ` Christian Stewart
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=20200818193338.GP24264@scaer \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/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