[Buildroot] [PATCH v2 1/1] package/rpi-userland: add support for aarch64 build

Christian Stewart christian at paral.in
Mon Mar 7 23:03:25 UTC 2022


Hi Peter,

You're probably right about that:

On Mon, Mar 7, 2022 at 2:54 PM Peter Seiderer <ps.report at gmx.net> wrote:
> On Mon,  7 Mar 2022 14:42:26 -0800, Christian Stewart via buildroot <buildroot at buildroot.org> wrote:
>
> > Tested on Pi4 Model B (aarch64).
> >
> > Note: rpi-userland and upstream rpi os now support arm64.
>
> All issues/questions solved since discussion [1], [2] about
> missing libraries/features?
>
> As far as I know rpi os graphic support is based on mesa3d v3d/vc4
> instead of rpi-userland libraries?

I use this package on arm64 for vcgencmd (videocore) and other commands,

however I have not verified that graphics work correctly, and you're
most likely correct,

the arm64 stack probably is using mesa3d vc4. I boot the pi4 64 bit with:

arm_64bit=1
dtoverlay=vc4-fkms-v3d

So this is using vc4, as you've mentioned here.

I suppose to fix this patch, it needs something like:

ifeq ($(BR2_aarch64),y)
RPI_USERLAND_CONF_OPTS += -DARM64=ON
else
RPI_USERLAND_PROVIDES = libegl libgles libopenmax libopenvg
endif

Is this correct?

Thanks & best,
Christian Stewart

> Regards,
> Peter
>
> [1] http://lists.busybox.net/pipermail/buildroot/2020-June/587538.html
> [2] http://lists.busybox.net/pipermail/buildroot/2021-October/626080.html

PS: I've noticed that my e-mail / name is wrong again:

Christian Stewart via buildroot <buildroot at buildroot.org>

is this on your end or mine?



More information about the buildroot mailing list