Hello,
I’m trying to build kernel for PI4 using official repo ( eoan ).
This repo has snapcraft.yml so I’m using it to build it.
However if I try to build kernel for arm64 target I get build error -
make: *** No rule to make target ‘zImage’. Stop
What is correct config to build arm64 kernel for pi4?
No other errors seen.
If I set target as armhf build succeeds.
If I remove kernel-image-target: zImage from snapcraft.yml build also succeeds.
However, then when I build ubuntu image, boot fails in u-boot with following error Bad Linux ARM64 Image magic!
I managed to find a solution to the following runtime error:
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
You need to set the following environmental variable for the snap to be able to find the EGL drivers:
__EGL_VENDOR_LIBRARY_DIRS: $SNAP/usr/share/glvnd/egl_vendor.d
I’m not sure why desktop-helpers isn’t doing this by default.