Skip to contentSkip to conversation

evse-hmi : add new demo

PATCH In review Manisha Agrawal 2 participants 9 messages Aug 30, 2017 – Aug 31, 2017

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/7 evse-hmi : add new demo

EVSE stands for electronic vehicle supply station. This demo is created as part of TID on EVSE to demonsrate drawing the gui for EVSE application using QT QWidget and rendering on LCD panel using linuxfb QPA.

---
 .../recipes-apps/evse-hmi/evse-hmi_git.bb            | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100755 meta-arago-extras/recipes-apps/evse-hmi/evse-hmi_git.bb
meta-arago-extras/recipes-apps/evse-hmi/evse-hmi_git.bb new file +20 -0
new file mode 100755
index 00000000..27a58a96
@@ -0,0 +1,20 @@
+SUMMARY = "HMI demo for electronic vehicle charging station (EVSE) using QT QWidget tools"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://main.cpp;beginline=1;endline=33;md5=a9cde3921a8be42ed79ab74661799104"
+
+inherit qt-provider
+
+PV = "1.0"
+PR = "r0"
+
+BRANCH = "master"
+SRC_URI = "git://git.ti.com/sitara-linux/evse-hmi.git;protocol=git;branch=${BRANCH}"
+
+SRCREV = "a257dfc05db311c74cb50838ff5b9e2cfb87dbfe"
+
+S = "${WORKDIR}/git"
+
+do_install() {
+    install -d ${D}${bindir}
+    install -m 755 evse_hmi ${D}${bindir}
+}
Signature · 1 line
2.13.0
#1 lore raw

PATCH v3 2/7 matrix : add new EVSE HMI demo

Create sub menu for HMI.
Update the matrix revision for matrix-gui-upadte-v2.

---
 meta-arago-extras/recipes-core/matrix/matrix-gui-apps-git.inc    | 4 ++--
 meta-arago-extras/recipes-core/matrix/matrix-gui-submenus_2.0.bb | 3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-git.inc +2 -2
index b805f5e1..551416d9 100644
@@ -4,9 +4,9 @@ LICENSE_CHECKSUM = "LICENSE;md5=6e0ae7214f6c74c149cb25f373057fa9"
 LIC_FILES_CHKSUM := "file://../${LICENSE_CHECKSUM}"
 
 SRC_URI = "git://git.ti.com/matrix-gui-v2/matrix-gui-v2-apps.git;protocol=git;branch=${BRANCH}"
-SRCREV = "38afccb5335216ececa874cf4cf72a67c4164fc3"
+SRCREV = "50a2f2ec7043e17bc7af72186e3d0a8d7773ec0a"
 BRANCH = "master"
-INC_PR = "r47"
+INC_PR = "r48"
 
 # Pull in the base package for installing matrix applications
 require matrix-gui-apps.inc
meta-arago-extras/recipes-core/matrix/matrix-gui-submenus_2.0.bb +3 -0
index f592f7aa..b9973dd1 100644
@@ -35,6 +35,7 @@ SUBMENUS = " arm_submenu \
              machinevision_submenu \
              touch_submenu \
              browser_submenu \
+	     hmi_submenu \
 "
 
 do_install(){
@@ -68,6 +69,7 @@ PACKAGES += " ${PN}-arm \
               ${PN}-machinevision \
               ${PN}-touch \
               ${PN}-browser \
+              ${PN}-hmi \
 "
 
 # Make sure app images has been installed
@@ -96,3 +98,4 @@ FILES_${PN}-videoanalytics = "${MATRIX_APP_DIR}/videoanalytics_submenu/*"
 FILES_${PN}-machinevision = "${MATRIX_APP_DIR}/machinevision_submenu/*"
 FILES_${PN}-touch = "${MATRIX_APP_DIR}/touch_submenu/*"
 FILES_${PN}-browser = "${MATRIX_APP_DIR}/browser_submenu/*"
+FILES_${PN}-hmi = "${MATRIX_APP_DIR}/hmi_submenu/*"
Signature · 1 line
2.13.0
#2 lore raw

PATCH v3 3/7 matrix-gui-hmi-demos : hmi demo descriptions for matrix

In reply to Manisha Agrawal
---
 .../matrix/matrix-gui-hmi-demos_2.0.bb             | 26 ++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100755 meta-arago-extras/recipes-core/matrix/matrix-gui-hmi-demos_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui-hmi-demos_2.0.bb new file +26 -0
new file mode 100755
index 00000000..f751f8f8
@@ -0,0 +1,26 @@
+SUMMARY = "HMI demo descriptions for Matrix v2"
+HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
+
+require recipes-core/matrix/matrix-gui-apps-git.inc
+
+PR = "${INC_PR}.0"
+
+inherit allarch
+
+S = "${WORKDIR}/git/hmi_apps"
+
+# Make sure machinevision submenu and app images has been installed
+HMI_RDEPENDS += "matrix-gui-apps-images matrix-gui-submenus-hmi"
+
+FILES_${PN} += "${MATRIX_BASE_DIR}/*"
+
+PACKAGES = "matrix-hmi-demo-evse \
+"
+
+RDEPENDS_matrix-hmi-demo-evse = " \
+    ${HMI_RDEPENDS} \
+    evse-hmi \
+"
+
+FILES_matrix-hmi-demo-evse    = "${MATRIX_APP_DIR}/hmi_evse/*"
+FILES_matrix-hmi-demo-evse  += "${bindir}/runHmiEvse.sh"
Signature · 1 line
2.13.0
#3 lore raw

PATCH v3 4/7 packagegroup-arago-tisdk-matrix : add evse-hmi demo

In reply to Manisha Agrawal
---
 .../recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb   | 6 ++++++
 1 file changed, 6 insertions(+)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb +6 -0
index 02d46c49..0fa50f85 100644
@@ -95,6 +95,8 @@ MATRIX_APPS_append_ti33x = "        \
                                     \
     matrix-gui-ethernet-demos       \
                                     \
+    matrix-hmi-demo-evse            \
+                                    \
     ${MATRIX_OPENCV_ARM_ONLY_APPS}  \
 "
 
@@ -112,12 +114,16 @@ MATRIX_APPS_append_ti43x = "        \
     matrix-gui-apps-dual-camera     \
     matrix-gui-apps-image-gallery   \
                                     \
+    matrix-hmi-demo-evse            \
+                                    \
     ${MATRIX_OPENCV_ARM_ONLY_APPS}  \
 "
 
 MATRIX_APPS_append_omap-a15 = "     \
     matrix-multimedia-demo-aac      \
     matrix-multimedia-demo-h265dec  \
+    matrix-hmi-demo-evse            \
+                                    \
     ${@bb.utils.contains('MACHINE_FEATURES','mmip','matrix-multimedia-demo-ivahdh264dec','matrix-multimedia-demo-h264dec',d)} \
     ${@bb.utils.contains('MACHINE_FEATURES','mmip','matrix-multimedia-demo-ivahdh264enc','',d)} \
     ${@bb.utils.contains('MACHINE_FEATURES','mmip','matrix-multimedia-demo-ivahdmjpegenc','',d)} \
Signature · 1 line
2.13.0
#4 lore raw

PATCH v3 5/7 packagegroup-arago-tisdk-hmi: add hmi specific packagegroups

In reply to Manisha Agrawal

Create packagegroup for HMI related demos. HMI is one of the focus growth area for Sitara platform and demos planned for individual target end equipments. Add evse-hmi demo to the packagegroup.

---
 .../packagegroup-arago-tisdk-hmi-sdk-host.bb       | 26 ++++++++++++++++++++
 .../packagegroups/packagegroup-arago-tisdk-hmi.bb  | 28 ++++++++++++++++++++++
 2 files changed, 54 insertions(+)
 create mode 100755 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb
 create mode 100755 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi.bb
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb new file +26 -0
new file mode 100755
index 00000000..735dda8e
@@ -0,0 +1,26 @@
+SUMMARY = "Task to add HMI related sources into the SDK"
+LICENSE = "MIT"
+PR = "r0"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+inherit packagegroup
+
+HMI = ""
+
+HMI_append_ti43x = " \
+    evse-hmi-src \
+"
+
+HMI_append_ti33x = " \
+    evse-hmi-src \
+"
+
+
+HMI_append_omap-a15 = " \
+    evse-hmi-src \
+"
+
+RDEPENDS_${PN} = "\
+    ${HMI} \
+"
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi.bb new file +28 -0
new file mode 100755
index 00000000..38ff06b4
@@ -0,0 +1,28 @@
+SUMMARY = "Task to add HMI related packages"
+LICENSE = "MIT"
+PR = "r0"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+inherit packagegroup
+
+HMI = " \
+"
+
+
+HMI_append_ti33x = " \
+    evse-hmi \
+"
+
+HMI_append_ti43x = " \
+    evse-hmi \
+"
+
+HMI_append_omap-a15 = " \
+    evse-hmi \
+"
+
+
+RDEPENDS_${PN} = "\
+	${HMI} \
+"
Signature · 1 line
2.13.0
#5 lore raw

PATCH v3 6/7 arago-source-ipk : Add evse-hmi source ipk

In reply to Manisha Agrawal
---
 meta-arago-distro/conf/distro/include/arago-source-ipk.inc | 3 +++
 1 file changed, 3 insertions(+)
meta-arago-distro/conf/distro/include/arago-source-ipk.inc +3 -0
index c598d5d5..5dd1ca64 100644
@@ -67,6 +67,9 @@ SRCIPK_INSTALL_DIR_pn-qt-tstat = "example-applications/${PN}-${PV}"
 CREATE_SRCIPK_pn-dual-camera-demo = "1"
 SRCIPK_INSTALL_DIR_pn-dual-camera-demo = "example-applications/${PN}-${PV}"
 
+CREATE_SRCIPK_pn-evse-hmi = "1"
+SRCIPK_INSTALL_DIR_pn-evse-hmi = "example-applications/${PN}-${PV}"
+
 CREATE_SRCIPK_pn-image-gallery = "1"
 SRCIPK_INSTALL_DIR_pn-image-gallery = "example-applications/${PN}"
 
Signature · 1 line
2.13.0
#6 lore raw

PATCH v3 7/7 arago-core-tisdk-image : add hmi specific packagegroup

In reply to Manisha Agrawal
---
 meta-arago-distro/recipes-core/images/arago-core-tisdk-image.inc | 1 +
 1 file changed, 1 insertion(+)
meta-arago-distro/recipes-core/images/arago-core-tisdk-image.inc +1 -0
index fbc31617..63f97a55 100644
@@ -59,6 +59,7 @@ IMAGE_INSTALL = "\
     ${@bb.utils.contains('MACHINE_FEATURES','sgx','packagegroup-arago-tisdk-graphics-sdk-host','',d)} \
     packagegroup-arago-tisdk-matrix-sdk-host \
     packagegroup-arago-tisdk-multimedia-sdk-host \
+    packagegroup-arago-tisdk-hmi-sdk-host \
     packagegroup-arago-tisdk-amsdk-sdk-host${ARAGO_KERNEL_SUFFIX} \
     ${IMAGE_INSTALL_QT} \
 "
Signature · 1 line
2.13.0
#7 lore raw
In reply to Manisha Agrawal

Thanks. The entire series now looks good. Though your separate patch for tisdk-rootfs-image should have been part of this series as well, somewhere between patch #6 and #7...

Signature · 1 line
Denys
Quoted 39 lines · Manisha Agrawal

EVSE stands for electronic vehicle supply station. This demo is created as part of TID on EVSE to demonsrate drawing the gui for EVSE application using QT QWidget and rendering on LCD panel using linuxfb QPA.

---
 .../recipes-apps/evse-hmi/evse-hmi_git.bb            | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100755 meta-arago-extras/recipes-apps/evse-hmi/evse-hmi_git.bb
meta-arago-extras/recipes-apps/evse-hmi/evse-hmi_git.bb new file +20 -0
new file mode 100755
index 00000000..27a58a96
@@ -0,0 +1,20 @@
+SUMMARY = "HMI demo for electronic vehicle charging station (EVSE) using QT QWidget tools"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://main.cpp;beginline=1;endline=33;md5=a9cde3921a8be42ed79ab74661799104"
+
+inherit qt-provider
+
+PV = "1.0"
+PR = "r0"
+
+BRANCH = "master"
+SRC_URI = "git://git.ti.com/sitara-linux/evse-hmi.git;protocol=git;branch=${BRANCH}"
+
+SRCREV = "a257dfc05db311c74cb50838ff5b9e2cfb87dbfe"
+
+S = "${WORKDIR}/git"
+
+do_install() {
+    install -d ${D}${bindir}
+    install -m 755 evse_hmi ${D}${bindir}
+}
Signature · 1 line
2.13.0
#8 lore raw

Thanks Denys for the feedback.

Somehow my git send-email was not letting me send the more than 7 patches in one email, so I had to split the patches in two emails.

Regards,
Manisha

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Thursday, August 31, 2017 2:03 PM
To: Agrawal, Manisha
Cc: [email protected]; Stiffler, Jacob
Subject: Re: [meta-arago][morty][PATCH v3 1/7] evse-hmi : add new demo

Thanks. The entire series now looks good. Though your separate patch for tisdk-rootfs-image should have been part of this series as well, somewhere between patch #6 and #7...

--
Denys

Quoted 39 lines · Manisha Agrawal

EVSE stands for electronic vehicle supply station. This demo is created as part of TID on EVSE to demonsrate drawing the gui for EVSE application using QT QWidget and rendering on LCD panel using linuxfb QPA.

---
 .../recipes-apps/evse-hmi/evse-hmi_git.bb            | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100755 meta-arago-extras/recipes-apps/evse-hmi/evse-hmi_git.bb
meta-arago-extras/recipes-apps/evse-hmi/evse-hmi_git.bb new file +20 -0
new file mode 100755
index 00000000..27a58a96
@@ -0,0 +1,20 @@
+SUMMARY = "HMI demo for electronic vehicle charging station (EVSE) using QT QWidget tools"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://main.cpp;beginline=1;endline=33;md5=a9cde3921a8be42ed79ab74661799104"
+
+inherit qt-provider
+
+PV = "1.0"
+PR = "r0"
+
+BRANCH = "master"
+SRC_URI = "git://git.ti.com/sitara-linux/evse-hmi.git;protocol=git;branch=${BRANCH}"
+
+SRCREV = "a257dfc05db311c74cb50838ff5b9e2cfb87dbfe"
+
+S = "${WORKDIR}/git"
+
+do_install() {
+    install -d ${D}${bindir}
+    install -m 755 evse_hmi ${D}${bindir}
+}
Signature · 1 line
2.13.0