저장소
https://gerrit.automotivelinux.org/gerrit/AGL/meta-agl-cluster-demo
리드미
자세한사항은 meta-agl 의 README-AGL.md 참고
하드웨어 의존성은 Turbot board intel 보드이다.
Packagegroups
-------------
AGL Cluster Demo Platform's package group design:
* packagegroup-agl-cluster-demo-platform
This is for generating the image 'agl-cluster-demo-platform' which is a full
image for the Instrument Cluster profile of the AGL distro.
Following meta-agl's design of packagegroups, ``agl-cluster-demo-platform.bb``
contains only ``packagegroup-agl-cluster-demo-platform``.
``packagegroup-agl-cluster-demo-platform`` has one packagegroup in it,
``packagegroup-agl-profile-cluster-qt5``, and the packages required for the DEMO
applications.
폴더들은 다음과같다.
recipes-config recipes-connectivity recipes-demo-hmi recipes-graphics recipes-platform templates
- recipes-config/agl-login-manager/agl-login-manager_%.bbappend
- recipes-connectivity/cluster-connman-conf/cluster-connman-conf_1.0.bb
- 파일이 추가된다. lib/connman/cluster.config
- CLUSTER_DEMO_SERVER_IP ?= "192.168.20.99"
- cluster.config 정보\
[service_cluster_ethernet] Type=ethernet IPv4=@CLUSTER_DEMO_SERVER_IP@/255.255.255.0 |
cluster-dashboard cluster-receiver cluster-windowmanager-conf
1. cluster-dashboard / cluster-dashboard_git.bb
LIC_FILES_CHKSUM = "file://LICENSE;md5=ae6497158920d9524cf208c09cc4c984 \
file://app/cluster-gauges.qml;beginline=9;endline=48;md5=54187d50b29429abee6095fe8b7c1a78"
SRC_URI = "gitsm://gerrit.automotivelinux.org/gerrit/apps/agl-cluster-demo-dashboard;protocol=https;branch=${AGL_BRANCH}"
DEPENDS += "qtquickcontrols2 qtwebsockets qlibwindowmanager"
RDEPENDS_${PN} += " \
qlibwindowmanager \
qtquickcontrols \
qtquickcontrols-qmlplugins \
qtquickcontrols2 \
qtquickcontrols2-qmlplugins \
qtwebsockets \
qtwebsockets-qmlplugins \"
2. cluster-receiver / cluster-receiver_git.bb
SRC_URI = "gitsm://gerrit.automotivelinux.org/gerrit/apps/agl-cluster-demo-receiver;protocol=https;branch=${AGL_BRANCH}"
DEPENDS = "wayland wayland-ivi-extension libwindowmanager gstreamer1.0"
RDEPENDS_${PN} += " \
gstreamer1.0-plugins-base \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-bad \
gstreamer1.0-vaapi \
"
3. cluster-windowmanager-conf / cluster-windowmanager-conf_1.0.bb
윈도우 매니져 관련 파일 추가
SRC_URI = "file://layers.json \ file://areas.db \ file://roles.db \
install -m 0644 ${WORKDIR}/layers.json ${D}${sysconfdir}/xdg/windowmanager/layers.json
install -m 0644 ${WORKDIR}/areas.db ${D}${sysconfdir}/xdg/windowmanager/areas.db
install -m 0644 ${WORKDIR}/roles.db ${D}${sysconfdir}/xdg/windowmanager/roles.db
- recipes-graphics/wayland/weston-ini-conf.bbappend
file://hdmi-a-1-180.cfg \
file://virtual-landscape.cfg \ 파일 추가
# A display is connected to HDMI-A-1
[output]
name=HDMI-A-1
transform=180
[output]
name=Virtual-1
mode=1920x1080
- recipes-platform / images or packagegroups
- images
- agl-cluster-demo-platform.bb agl-cluster-demo-platform-crosssdk.bb agl-cluster-demo-platform.inc
- /meta-agl-cluster-demo/recipes-platform/images
- packagegroups
SUMMARY = "The software for demo platform of AGL cluster profile"
DESCRIPTION = "A set of packages belong to AGL Cluster Demo Platform"
LICENSE = "MIT"
inherit packagegroup
PACKAGES = "\
packagegroup-agl-cluster-demo-platform \
"
ALLOW_EMPTY_${PN} = "1"
RDEPENDS_${PN} += "\
packagegroup-agl-profile-cluster-qt5 \
"
# fonts
TTF_FONTS = " \
ttf-bitstream-vera \
ttf-dejavu-sans \
ttf-dejavu-sans-mono \
ttf-dejavu-serif \
source-han-sans-cn-fonts \
source-han-sans-jp-fonts \
source-han-sans-tw-fonts \
"
AGL_APPS = " \
cluster-dashboard \
cluster-receiver \
"
AGL_APIS = " \
agl-service-windowmanager \
"
RDEPENDS_${PN}_append = " \
wayland-ivi-extension \
cluster-windowmanager-conf \
hmi-debug \
libva-utils \
linux-firmware-ralink \
connman \
connman-client \
connman-tools \
cluster-connman-conf \
iproute2 \
dhcp-client \
${TTF_FONTS} \
${AGL_APPS} \
${AGL_APIS} \
"