All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Stewart <christian@paral.in>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/rpi-userland: add support for aarch64 build
Date: Wed, 19 Aug 2020 13:54:09 -0700	[thread overview]
Message-ID: <CA+h8R2rB+_t02w2YbqBR74_9iEg67EPZB4o_tGUrqSeuz7Ekjg@mail.gmail.com> (raw)
In-Reply-To: <20200818201612.GR24264@scaer>

Hi Yann,


On Tue, Aug 18, 2020 at 1:16 PM Yann E. MORIN <yann.morin.1998@free.fr> wrote:
> > In the userland commit you link just above, they disable some things
> > when targeting ARM64. We set ARM64 correctly in this patch with
> > -DARM64=ON if BR2_aarch64, so this addresses everything correctly.
>
> So, this would, amongst others, not build:
>
>   - MMAL, so no low-level programming,
>
>   - interface/khronos, so no OpenGL EGL/GLES, no OpenVG,
>
>   - middleware/openmaxil, so no OpenMAX
>
> Unless I'm missing something non-obvious, I do not see how that can be
> irrelevant...

Of course, not having everything is not irrelevant. However, this is
something we expect the rpi-userland developers to address, not the
Buildroot developers, correct?

As far as I can tell, adding this patch will install the tools that
the rpi developers currently have deemed compatible with aarch64. This
is vcgencmd and others. This basically would add early support for
aarch64 to rpi-userland in Buildroot. Although not everything is
there, installing the package with the parts that are compatible with
that arch makes sense, right?

As an example: I was writing a package which adds support for the
argon one fan controller for pi 4. It added a dependency for
rpi-userland for the vcgencmd command. I wrote this patch so that
vcgencmd and the package will be installed correctly, and also so that
my package which depends on RPI_USERLAND, could also build and be
installed. Everything works as expected.

Other packages that depend on the arm-only binaries should already
have BR2_arm dependency anyway, correct?

Best regards,
Christian Stewart

  reply	other threads:[~2020-08-19 20:54 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
2020-08-18 19:48   ` Christian Stewart
2020-08-18 20:16     ` Yann E. MORIN
2020-08-19 20:54       ` Christian Stewart [this message]
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=CA+h8R2rB+_t02w2YbqBR74_9iEg67EPZB4o_tGUrqSeuz7Ekjg@mail.gmail.com \
    --to=christian@paral.in \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.