-
Notifications
You must be signed in to change notification settings - Fork 13
RDKEVL-7414: M2 Release preparation for RPi. #313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
4281d20
bfd0476
db84721
cf55f50
a2bcae8
dab0ae3
6b3dc82
84a1dc1
0ec48d5
5cb25a0
ad8b3a0
4f99bcd
b5d32f0
783dce1
988957e
7c773da
547a0e1
fd558d4
9f1fdeb
04fc1d8
74f290b
96dad29
e0b94cd
6b24b65
507a208
0463eb3
feae7a0
bbc00c1
018e131
f8fa2de
1d62ba8
2139c21
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -8,7 +8,7 @@ inherit packagegroup | |||||
|
|
||||||
| DEPENDS = " virtual/kernel make-mod-scripts" | ||||||
|
|
||||||
| PV = "4.9.1" | ||||||
| PV = "4.10.0" | ||||||
| PR = "r0" | ||||||
|
|
||||||
| RDEPENDS:${PN} = " \ | ||||||
|
|
@@ -54,6 +54,6 @@ RDEPENDS:${PN}:append:rdkv-oss = " \ | |||||
| westeros \ | ||||||
| westeros-simplebuffer \ | ||||||
| westeros-simpleshell \ | ||||||
| wayland-default-egl \ | ||||||
| ${@bb.utils.contains('DISTRO_FEATURES', 'vulkan', " vulkan-loader vulkan-tools ", "", d)} \ | ||||||
| gpu-layer \ | ||||||
| ${@bb.utils.contains('DISTRO_FEATURES', 'vulkan', " vulkan-loader vulkan-tools ", "", d)} \ | ||||||
|
||||||
| ${@bb.utils.contains('DISTRO_FEATURES', 'vulkan', " vulkan-loader vulkan-tools ", "", d)} \ | |
| ${@bb.utils.contains('DISTRO_FEATURES', 'vulkan', " vulkan-loader vulkan-tools ", "", d)} \ |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| { | ||
| "vendorGpuSupport": { | ||
| "devNodes": [ | ||
| "/dev/dma_heap/system", | ||
| "/dev/dma_heap/system-uncached", | ||
| "/dev/dri/card1", | ||
| "/dev/dri/renderD128" | ||
| ], | ||
| "groupIds": [ | ||
| "video" | ||
| ] | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,97 @@ | ||||||||||||||||||||||||
| SUMMARY = "GPU layer libraries and configuration" | ||||||||||||||||||||||||
| DESCRIPTION = "Install GPU shared libraries into gpu-layer rootfs and deploy JSON configuration" | ||||||||||||||||||||||||
| LICENSE = "Apache-2.0" | ||||||||||||||||||||||||
| LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| # GPU configuration file | ||||||||||||||||||||||||
| SRC_URI += "file://config.json" | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| # Build-time providers for GPU / graphics components | ||||||||||||||||||||||||
| DEPENDS += "\ | ||||||||||||||||||||||||
| mesa \ | ||||||||||||||||||||||||
| libdrm \ | ||||||||||||||||||||||||
| wayland-default-egl \ | ||||||||||||||||||||||||
| westeros-soc-drm \ | ||||||||||||||||||||||||
| expat \ | ||||||||||||||||||||||||
| " | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| # gpu-layer layout inside target rootfs | ||||||||||||||||||||||||
| GPU_LAYER_LIBDIR = "${D}/usr/share/gpu-layer/rootfs/usr/lib" | ||||||||||||||||||||||||
| GPU_LAYER_DRIDIR = "${GPU_LAYER_LIBDIR}/dri" | ||||||||||||||||||||||||
| GPU_LAYER_CONFDIR = "${D}/usr/share/gpu-layer" | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| # Shared libraries to bundle into gpu-layer (SONAME-based) | ||||||||||||||||||||||||
| GPU_LAYER_LIBS = "\ | ||||||||||||||||||||||||
| libdrm.so.2 \ | ||||||||||||||||||||||||
| libEGL.so.1 \ | ||||||||||||||||||||||||
| libGLESv2.so.2 \ | ||||||||||||||||||||||||
| libGLESv1_CM.so.1 \ | ||||||||||||||||||||||||
| libgbm.so.1 \ | ||||||||||||||||||||||||
| libglapi.so.0 \ | ||||||||||||||||||||||||
| libexpat.so.1 \ | ||||||||||||||||||||||||
| libwayland-egl.so.1 \ | ||||||||||||||||||||||||
| libwesteros_gl.so.0 \ | ||||||||||||||||||||||||
| " | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| # DRI drivers required by Mesa (software + VC4) | ||||||||||||||||||||||||
| GPU_LAYER_DRI_LIBS = "\ | ||||||||||||||||||||||||
| swrast_dri.so \ | ||||||||||||||||||||||||
| vc4_dri.so \ | ||||||||||||||||||||||||
| " | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| do_install() { | ||||||||||||||||||||||||
| # Create gpu-layer directory structure | ||||||||||||||||||||||||
| install -d \ | ||||||||||||||||||||||||
| ${GPU_LAYER_LIBDIR} \ | ||||||||||||||||||||||||
| ${GPU_LAYER_DRIDIR} \ | ||||||||||||||||||||||||
| ${GPU_LAYER_CONFDIR} | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| # | ||||||||||||||||||||||||
| # copy_and_symlink: | ||||||||||||||||||||||||
| # - Copy a SONAME shared library from sysroot | ||||||||||||||||||||||||
| # - Create an unversioned .so symlink | ||||||||||||||||||||||||
| # | ||||||||||||||||||||||||
| # Example: | ||||||||||||||||||||||||
| # libEGL.so.1 → copied | ||||||||||||||||||||||||
| # libEGL.so → symlink → libEGL.so.1 | ||||||||||||||||||||||||
| # | ||||||||||||||||||||||||
| copy_and_symlink() { | ||||||||||||||||||||||||
| soname="$1" | ||||||||||||||||||||||||
| src="${STAGING_LIBDIR}/${soname}" | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| # Skip if library is not present in sysroot | ||||||||||||||||||||||||
| [ -e "${src}" ] || return | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| # Derive unversioned linker name (libXYZ.so) | ||||||||||||||||||||||||
| linkname="$(echo "${soname}" | sed 's/\.so\..*/.so/')" | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| # Install the SONAME library (read-only, runtime use) | ||||||||||||||||||||||||
| install -m 0444 "${src}" "${GPU_LAYER_LIBDIR}/${soname}" | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| # Create symlink for linker compatibility | ||||||||||||||||||||||||
| ln -sf "${soname}" "${GPU_LAYER_LIBDIR}/${linkname}" | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| # Install GPU shared libraries | ||||||||||||||||||||||||
| for lib in ${GPU_LAYER_LIBS}; do | ||||||||||||||||||||||||
| copy_and_symlink "$lib" | ||||||||||||||||||||||||
| done | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| # Install Mesa DRI drivers | ||||||||||||||||||||||||
| for dri in ${GPU_LAYER_DRI_LIBS}; do | ||||||||||||||||||||||||
| install -m 0444 "${STAGING_LIBDIR}/dri/${dri}" "${GPU_LAYER_DRIDIR}/${dri}" | ||||||||||||||||||||||||
|
Comment on lines
+80
to
+82
|
||||||||||||||||||||||||
| # Install Mesa DRI drivers | |
| for dri in ${GPU_LAYER_DRI_LIBS}; do | |
| install -m 0444 "${STAGING_LIBDIR}/dri/${dri}" "${GPU_LAYER_DRIDIR}/${dri}" | |
| # Install Mesa DRI drivers (skip if not present in sysroot) | |
| for dri in ${GPU_LAYER_DRI_LIBS}; do | |
| src="${STAGING_LIBDIR}/dri/${dri}" | |
| # Skip if DRI driver is not present in sysroot | |
| [ -e "${src}" ] || continue | |
| install -m 0444 "${src}" "${GPU_LAYER_DRIDIR}/${dri}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The release entry for version 4.10.0 is missing a release date. For consistency with other release entries (e.g., version 4.9.1 has "> 18 December 2025"), consider adding a date marker for this release.