diff options
author | Kenta <murakami.kenta002@jp.panasonic.com> | 2025-01-15 17:22:25 +0900 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2025-01-17 08:58:19 +0000 |
commit | 5bf650925c8d8d6cf77139a2a2deee74e2b5cfe7 (patch) | |
tree | 53dd73e7085b6283f2d55f65e00d42036ea7d3ec /meta-uhmi/meta-agl-uhmi-demo/README.md | |
parent | d81cbb24347f42be696984087846d29c67519be8 (diff) |
Unified HMI: Preconfigured Images
A new preconfigured demo image for Unified HMI has been added.
By building and launching the images for both the sender and receiver,
and executing a few commands, you can display the application across
two displays.
It supports three boards: qemu-x86-64, raspberrypi4, and agl-refhw.
Bug-AGL: SPEC-5321
Change-Id: I682f9eef6d1861e9ec2a7153dd8f3c42f1078a05
Signed-off-by: Kenta <murakami.kenta002@jp.panasonic.com>
Diffstat (limited to 'meta-uhmi/meta-agl-uhmi-demo/README.md')
-rw-r--r-- | meta-uhmi/meta-agl-uhmi-demo/README.md | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/meta-uhmi/meta-agl-uhmi-demo/README.md b/meta-uhmi/meta-agl-uhmi-demo/README.md new file mode 100644 index 00000000..df956f04 --- /dev/null +++ b/meta-uhmi/meta-agl-uhmi-demo/README.md @@ -0,0 +1,53 @@ +# Unified HMI preconfigured demo images + +## Introduction +Unified HMI needs a litle complex environment setup, so here we provide a recipe that allow you to create a pre-configured images. + +## Unified HMI frameworks +For a detailed explanation of Unified HMI, please refer to the [AGL Documentation](https://docs.automotivelinux.org/en/master/#06_Component_Documentation/11_Unified_HMI/) + +## Demo environment +Demo images supports three boards: qemux-86-64, raspberrypi4, and agl-refhw. +Please prepare two boards, one is the sender and the other is the receiver, on any boards and build the respective images for each. + +* sender +``` +IP: 192.168.0.100 +HOSTNAME: agl-host0 +``` + +* receiver +``` +IP: 192.168.0.101 +HOSTNAME: agl-host1 +``` + +## How to build +Follow the [AGL documentation](https://docs.automotivelinux.org/en/master/#01_Getting_Started/02_Building_AGL_Image/01_Build_Process_Overview/) for the build process, and set up the "[Initializing Your Build Environment](https://docs.automotivelinux.org/en/master/#01_Getting_Started/02_Building_AGL_Image/04_Initializing_Your_Build_Environment/)" section as described below to enable the AGL feature 'agl-uhmi-demo'. + +For example: +``` +$ cd $AGL_TOP/master +$ source ./meta-agl/scripts/aglsetup.sh -m qemux86-64 -b qemux86-64 agl-devel agl-uhmi-demo +``` + +After adding the feature, execute the bitbake command: + +for sender +``` +$ bitbake agl-uhmi-demo-preconfigured-sender +``` + +for receiver +``` +$ bitbake agl-uhmi-demo-preconfigured-receiver +``` + +## How to use +After both the sender and receiver have successfully booted, you can execute the following commands on the sender to confirm that the application is displayed across two displays each connected to diferrent boards. + +on sender (IP:192.168.0.100, hostname:agl-host0): +``` +$ cat /var/local/uhmi-app/glmark2/app.json | ucl-distrib-com /etc/uhmi-framework/virtual-screen-def.json & +$ cat /var/local/uhmi-app/glmark2/initial_vscreen.json | ula-distrib-com +``` |