---
title: "LVGL Dashboard (E1M-X EVK)"
description: "CMake parses cleanly and the LVGL 9.1 API is verified against the upstream v9.1.0 tag. Real-hardware bring-up is gated on the display-pipeline patches landing in the Yocto layer."
source: https://docs.alplab.ai/sdk/examples/lvgl-dashboard-x-evk
---

# `lvgl-dashboard-x-evk`

:::warning[`[UNTESTED]` on silicon]
CMake parses cleanly and the LVGL 9.1 API is verified against the upstream v9.1.0 tag. Real-hardware bring-up is gated on the display-pipeline patches landing in the Yocto layer.
:::

A minimal LVGL 9 dashboard on the E1M-X V2N MIPI-DSI panel (RK055HDMIPI4MA0, 720×1280 @ 60 Hz).

Source: [`examples/display/lvgl-dashboard-x-evk/`](https://github.com/alplabai/alp-sdk/tree/main/examples/display/lvgl-dashboard-x-evk).

## What makes it different

This is the SDK's first **Linux-side** display example, and it deliberately sits outside the `<alp/display.h>` migration that the Zephyr LVGL examples went through.

On the Renesas RZ/V2N family the display pipeline is owned by the A55 Linux cluster, so the app talks to DRM/KMS directly:

```c
lv_init();
lv_display_t *disp = lv_linux_drm_create();
lv_linux_drm_set_file(disp, "/dev/dri/card0", -1);   /* -1 = first connected connector */
```

There is no `alp_display_*` indirection on Linux — the OS-provided DRM stack *is* the portable surface. Contrast with [`lvgl-widgets-demo`](https://docs.alplab.ai/sdk/examples/lvgl-widgets-demo), which runs on Zephyr and therefore opens its panel via [`alp_display_open()`](https://docs.alplab.ai/sdk/api/display) + [`alp_gui_lvgl_attach()`](https://docs.alplab.ai/sdk/api/gui).

The panel is a **platform device** (DRM/KMS via the carrier device tree), not an SDK chip driver — so there is no `chips:` entry. LVGL 9 comes from the Yocto distro (meta-oe `lvgl` package, DRM backend), not the Zephyr `libraries:` loader.

## `board.yaml`

First example with this shape: no `libraries:`, no `chips:`, no `pins:`.

```yaml
som:
  sku: E1M-V2N101            # any V2x SKU works -- same PCB, same panel path

preset: e1m-x-evk

cores:
  a55_cluster:
    app: ./src               # Linux userspace app (DRM/KMS + evdev)
    recipe: alp-lvgl-dashboard   # the recipe that packages `app:` above --
                                  # `app:` alone is a source path, never a
                                  # valid bitbake target

  m33_sm:
    os: "off"                # display is wholly A55-owned

diagnostics:
  log_level: info
```

The `recipe:` key names the bitbake target that packages the `app:` source path. A Yocto app-only slice needs it — `app:` alone is a source path, not a buildable target.

## Hardware

- E1M-X EVK with a V2x SoM.
- RK055HDMIPI4MA0 panel on the carrier's **Display 1** connector (J6).
- Backlight enable on GPT1 CH2.

## Build and run

Two consumer paths:

- **Recommended** — the Yocto recipe at `meta-alp-sdk/recipes-examples/alp-lvgl-dashboard/` packages the app into `alp-image-edge`. Boot the image and run `alp-lvgl-dashboard`.
- **Standalone** — cross-compile against the SDK sysroot with plain CMake.

Either way, stop the compositor first — DRM allows a single master:

```bash
systemctl stop weston
alp-lvgl-dashboard
```

## What's on screen

A title label, a 360×360 arc at 62 %, and a "Touch me" button.

:::note[Touch is not wired yet]
The app creates an evdev pointer if `/dev/input/event0` is readable. On the X-EVK V2 carrier, the GT911 touch controller sits on the J6 display I²C, which is designed to be E1M-X I2C3 — served through the GD32 bridge's I²C proxy (bridge protocol 0.17) — but the carrier does **not** connect it (a carrier fix is needed), I2C3 has no pull-ups on the SoM or carrier segment, and the Linux touch binding is not wired yet. So `/dev/input/event0` does not exist and the dashboard runs display-only; the `access(2)` guard in `main.c` needs no change once touch is wired.
:::

## See also

- [`lvgl-widgets-demo`](https://docs.alplab.ai/sdk/examples/lvgl-widgets-demo) · [`lvgl-benchmark`](https://docs.alplab.ai/sdk/examples/lvgl-benchmark) — the Zephyr-side LVGL examples
- [`<alp/display.h>`](https://docs.alplab.ai/sdk/api/display) · [`<alp/gui.h>`](https://docs.alplab.ai/sdk/api/gui) — the Zephyr display/LVGL surfaces this example intentionally bypasses
- [Examples overview](https://docs.alplab.ai/sdk/examples/overview)
