Skip to content

lvgl: Upgrade to LVGL 9 series

Marek Vasut openembedded-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8lvgl: Drop dialog-lvglmeta-oe/recipes-graphics/lvgl/dialog-lvgl/0001-wayland-Switch-to-custom-timer-tick.patch meta-oe/recipes-graphics/lvgl/dialog-lvgl/0002-wayland-Fix-callback-data-type.patch meta-oe/recipes-graphics/lvgl/dialog-lvgl_git.bb+0 -1330 replies
2/8lvgl: Upgrade to LVGL 9 seriesmeta-oe/recipes-graphics/lvgl/lv-drivers.inc meta-oe/recipes-graphics/lvgl/lv-drivers_8.3.0.bb meta-oe/recipes-graphics/lvgl/lv-lib-png_8.0.2.bb +4 more+95 -1714 replies
3/8lvgl: Rename lv-drivers.inc to lv-conf.incmeta-oe/recipes-graphics/lvgl/lv-conf.inc meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.0.0.bb meta-oe/recipes-graphics/lvgl/lvgl_9.0.0.bb+2 -20 replies
4/8lvgl: Add SDL2 fullscreen mode configuration optionmeta-oe/recipes-graphics/lvgl/lv-conf.inc+2 -00 replies
5/8lvgl: Configure assertions based on DEBUG_BUILDmeta-oe/recipes-graphics/lvgl/lv-conf.inc+8 -00 replies
6/8lvgl: Default to XRGB8888 DRM framebuffermeta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.0.0.bb meta-oe/recipes-graphics/lvgl/lvgl_9.0.0.bb+8 -00 replies
7/8lvgl: Build shared librarymeta-oe/recipes-graphics/lvgl/lvgl_9.0.0.bb+1 -10 replies
8/8lvgl: Replace sed patching with real patchesmeta-oe/recipes-graphics/lvgl/files/0001-fix-drm-Default-to-XRGB8888-framebuffer.patch meta-oe/recipes-graphics/lvgl/files/0002-fix-sdl-handle-both-LV_IMAGE_SRC_FILE-and-LV_IMAGE_S.patch meta-oe/recipes-graphics/lvgl/files/0003-Make-fbdev-device-node-runtime-configurable-via-envi.patch +5 more+337 -220 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] lvgl: Upgrade to LVGL 9 series

This series updates LVGL to new 9 series. The 9 series contains significant changes, which are documented in patch 2/8, which is also the main patch of this series and the changes are listed there in further detail.

In short, the library API and configuration has changed considerably. Build time configuration has been reworked to match and moved into one place. Some recipes are no longer needed and/or compatible, so they are dropped.

The current patching of code using sed has been left in place only for the library configuration where it kind-of makes sense, the rest of the code patching is now done using actual patches, all with already opened upstream MRs.

DRM/KMS and SDL2 support in LVGL and lvgl-demo-fb now actually works well, SDL2 backend even does some rudimentary GPU accelerated blitting.

LVGL is now compiled as shared library instead of static library.

Note that it seems LVGL 9.1 release is close, so depending on the feedback here, there will be either a follow up series, or V2, to update to LVGL 9.1. LVGL 9.1 contains quite a few fixes:
https://github.com/lvgl/lvgl/issues/5843

Marek Vasut (8):
lvgl: Drop dialog-lvgl
lvgl: Upgrade to LVGL 9 series
lvgl: Rename lv-drivers.inc to lv-conf.inc
lvgl: Add SDL2 fullscreen mode configuration option
lvgl: Configure assertions based on DEBUG_BUILD
lvgl: Default to XRGB8888 DRM framebuffer
lvgl: Build shared library
lvgl: Replace sed patching with real patches

 ...-wayland-Switch-to-custom-timer-tick.patch | 72 -------------------
 .../0002-wayland-Fix-callback-data-type.patch | 30 --------
 .../recipes-graphics/lvgl/dialog-lvgl_git.bb  | 31 --------
 ...-drm-Default-to-XRGB8888-framebuffer.patch | 36 ++++++++++
 ...oth-LV_IMAGE_SRC_FILE-and-LV_IMAGE_S.patch | 63 ++++++++++++++++
 ...e-node-runtime-configurable-via-envi.patch | 45 ++++++++++++
 ...Factor-out-fbdev-initialization-code.patch | 52 ++++++++++++++
 .../0005-Add-DRM-KMS-example-support.patch    | 59 +++++++++++++++
 .../files/0006-Add-SDL2-example-support.patch | 69 ++++++++++++++++++
 meta-oe/recipes-graphics/lvgl/lv-conf.inc     | 54 ++++++++++++++
 meta-oe/recipes-graphics/lvgl/lv-drivers.inc  | 48 -------------
 .../recipes-graphics/lvgl/lv-drivers_8.3.0.bb | 28 --------
 .../recipes-graphics/lvgl/lv-lib-png_8.0.2.bb | 31 --------
 .../lvgl/lvgl-demo-fb_8.3.0.bb                | 46 ------------
 .../lvgl/lvgl-demo-fb_9.0.0.bb                | 44 ++++++++++++
 meta-oe/recipes-graphics/lvgl/lvgl_8.3.11.bb  | 44 ------------
 meta-oe/recipes-graphics/lvgl/lvgl_9.0.0.bb   | 32 +++++++++
 17 files changed, 454 insertions(+), 330 deletions(-)
 delete mode 100644 meta-oe/recipes-graphics/lvgl/dialog-lvgl/0001-wayland-Switch-to-custom-timer-tick.patch
 delete mode 100644 meta-oe/recipes-graphics/lvgl/dialog-lvgl/0002-wayland-Fix-callback-data-type.patch
 delete mode 100644 meta-oe/recipes-graphics/lvgl/dialog-lvgl_git.bb
 create mode 100644 meta-oe/recipes-graphics/lvgl/files/0001-fix-drm-Default-to-XRGB8888-framebuffer.patch
 create mode 100644 meta-oe/recipes-graphics/lvgl/files/0002-fix-sdl-handle-both-LV_IMAGE_SRC_FILE-and-LV_IMAGE_S.patch
 create mode 100644 meta-oe/recipes-graphics/lvgl/files/0003-Make-fbdev-device-node-runtime-configurable-via-envi.patch
 create mode 100644 meta-oe/recipes-graphics/lvgl/files/0004-Factor-out-fbdev-initialization-code.patch
 create mode 100644 meta-oe/recipes-graphics/lvgl/files/0005-Add-DRM-KMS-example-support.patch
 create mode 100644 meta-oe/recipes-graphics/lvgl/files/0006-Add-SDL2-example-support.patch
 create mode 100644 meta-oe/recipes-graphics/lvgl/lv-conf.inc
 delete mode 100644 meta-oe/recipes-graphics/lvgl/lv-drivers.inc
 delete mode 100644 meta-oe/recipes-graphics/lvgl/lv-drivers_8.3.0.bb
 delete mode 100644 meta-oe/recipes-graphics/lvgl/lv-lib-png_8.0.2.bb
 delete mode 100644 meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_8.3.0.bb
 create mode 100644 meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.0.0.bb
 delete mode 100644 meta-oe/recipes-graphics/lvgl/lvgl_8.3.11.bb
 create mode 100644 meta-oe/recipes-graphics/lvgl/lvgl_9.0.0.bb

---
Cc: Fabio Estevam <[email protected]>
Cc: Khem Raj <[email protected]>
Cc: Martin Jansa <[email protected]>

Signature · 1 line
2.43.0