Skip to contentSkip to conversation

meta-arago-extras : recipe-apps : evse-hmi : new demo

PATCH In review Manisha Agrawal 2 participants 16 messages Aug 29, 2017

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/6 meta-arago-extras : recipe-apps : evse-hmi : new demo

Recipe to build EVSE HMI 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 0000000..4c7c8c6
@@ -0,0 +1,20 @@
+DESCRIPTION = "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 = "01.00.00"
+PR = "r1"
+
+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 v2 2/6 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 b805f5e..551416d 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 f592f7a..b9973dd 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

Re: [morty][PATCH v2 2/6] matrix : add new EVSE HMI demo

This one looks good, thanks.

Quoted 53 lines · Manisha Agrawal

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 b805f5e..551416d 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 f592f7a..b9973dd 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
#3 lore raw

PATCH v2 3/6 meta-arago-extras : matrix : recipe for evse hmi

In reply to Manisha Agrawal

Recipe to enable adding the evse-hmi demo to the matrix launcher

---
 .../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 0000000..36eaebc
@@ -0,0 +1,26 @@
+DESCRIPTION = "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
#4 lore raw

Re: [morty][PATCH v2 3/6] meta-arago-extras : matrix : recipe for evse hmi

Quoted 6 lines

meta-arago-extras : matrix : recipe for evse hmi

matrix-gui-hmi-demos: hmi demo descriptions for matrix

Recipe to enable adding the evse-hmi demo to the matrix launcher

This is redundant if the above subject is used.

meta-arago-extras/recipes-core/matrix/matrix-gui-hmi-demos_2.0.bb line 1

Quoted 13 lines
---
 .../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 +1 -0
new file mode 100755
index 0000000..36eaebc
@@ -0,0 +1,26 @@
+DESCRIPTION = "HMI demo descriptions for Matrix v2"

SUMMARY.

Quoted 28 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-hmi-demos_2.0.bb new file +25 -0
+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
#5 lore raw

PATCH v2 4/6 recipes-core : packagegroups: hmi

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  | 27 ++++++++++++++++++++++
 2 files changed, 53 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 0000000..d58536c
@@ -0,0 +1,26 @@
+DESCRIPTION = "Task to add HMI related sources into the SDK"
+LICENSE = "BSD-3-Clause"
+PR = "r1"
+
+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 +27 -0
new file mode 100755
index 0000000..9066c72
@@ -0,0 +1,27 @@
+DESCRIPTION = "Task to add HMI related packages"
+LICENSE = "BSD-3-Clause"
+PR = "r1"
+
+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} = "\
+"
Signature · 1 line
2.13.0
#6 lore raw

Re: [morty][PATCH v2 4/6] recipes-core : packagegroups: hmi

Manisha,

From this:

Quoted 1 line

recipes-core : packagegroups: hmi

To this:

Quoted 1 line

packagegroup-*-hmi: add hmi specific packagegroups

Quoted 18 lines · 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  | 27 ++++++++++++++++++++++
 2 files changed, 53 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 +0 -0
new file mode 100755
index 0000000..d58536c

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb line 1

Quoted 1 line
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb new file +1 -0
@@ -0,0 +1,26 @@
+DESCRIPTION = "Task to add HMI related sources into the SDK"

SUMMARY is missing.

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb line 2

Quoted 1 line
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb new file +1 -0
+LICENSE = "BSD-3-Clause"

By default all OE metadata is licensed under MIT. Unless you have a very specific need to license packagegroup under BSD, I'd suggest leaving it as is. BTW since MIT is default, LICENSE can be omitted when inheriting packagegroup.

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb line 3

Quoted 1 line
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb new file +1 -0
+PR = "r1"

Not critical, but PR can also be omitted for new recipes.

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi.bb

Quoted 28 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb new file +22 -0
+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 +0 -0
new file mode 100755
index 0000000..9066c72
@@ -0,0 +1,27 @@

Same comments here.

Quoted 30 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi.bb new file +27 -0
+DESCRIPTION = "Task to add HMI related packages"
+LICENSE = "BSD-3-Clause"
+PR = "r1"
+
+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} = "\
+"
Signature · 1 line
2.13.0
#7 lore raw

Re: [morty][PATCH v2 4/6] recipes-core : packagegroups: hmi

Quoted 98 lines · Denys Dmytriyenko

Manisha,

From this:

Quoted 1 line

recipes-core : packagegroups: hmi

To this:

Quoted 1 line

packagegroup-*-hmi: add hmi specific packagegroups

Quoted 18 lines · 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  | 27 ++++++++++++++++++++++
 2 files changed, 53 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 +0 -0
new file mode 100755
index 0000000..d58536c

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb line 1

Quoted 1 line
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb new file +1 -0
@@ -0,0 +1,26 @@
+DESCRIPTION = "Task to add HMI related sources into the SDK"

SUMMARY is missing.

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb line 2

Quoted 1 line
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb new file +1 -0
+LICENSE = "BSD-3-Clause"

By default all OE metadata is licensed under MIT. Unless you have a very specific need to license packagegroup under BSD, I'd suggest leaving it as is. BTW since MIT is default, LICENSE can be omitted when inheriting packagegroup.

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb line 3

Quoted 1 line
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb new file +1 -0
+PR = "r1"

Not critical, but PR can also be omitted for new recipes.

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi.bb

Quoted 28 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb new file +22 -0
+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 +0 -0
new file mode 100755
index 0000000..9066c72
@@ -0,0 +1,27 @@

Same comments here.

Quoted 19 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi.bb new file +19 -0
+DESCRIPTION = "Task to add HMI related packages"
+LICENSE = "BSD-3-Clause"
+PR = "r1"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+inherit packagegroup
+
+HMI = " \
+"
+
+
+HMI_append_ti33x = " \
+    evse-hmi \
+"
+
+HMI_append_ti43x = " \
+    evse-hmi \
+"
Quoted 8 lines

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi.bb line 27

Quoted 8 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi.bb new file +8 -0
+
+HMI_append_omap-a15 = " \
+    evse-hmi \
+"
+
+
+RDEPENDS_${PN} = "\
+"

Also, you seem to be missing to add anything in RDEPENDS...

Quoted 7 lines
Quoted 3 lines
Signature · 1 line
2.13.0

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

#8 lore raw

Re: [morty][PATCH v2 4/6] recipes-core : packagegroups: hmi

Quoted 23 lines · Denys Dmytriyenko
Quoted 22 lines · Denys Dmytriyenko

Manisha,

From this:

Quoted 1 line

recipes-core : packagegroups: hmi

To this:

Quoted 1 line

packagegroup-*-hmi: add hmi specific packagegroups

Quoted 12 lines · 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  | 27 ++++++++++++++++++++++
 2 files changed, 53 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
Quoted 8 lines
Quoted 8 lines

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb line 1

Quoted 7 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb new file +1 -0
new file mode 100755
index 0000000..d58536c
@@ -0,0 +1,26 @@
+DESCRIPTION = "Task to add HMI related sources into the SDK"

SUMMARY is missing.

I see either SUMMARY or DESCRIPTION in other packagefroup files. Do you want me to rename the DESCRIPTION as SUMMARY or you want to see more information as part of SUMMARY. If yes, what additional information should I add there.

Quoted 2 lines
Quoted 2 lines

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb line 2

Quoted 2 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb new file +1 -0
+LICENSE = "BSD-3-Clause"

This was suggested by Vivek. His comment was "Any user-space demo applications that we develop should be in TI BSD-3-clause license, as that’s the most friendliest and can be used by others (RTOS, VxWorks, etc.)…"

Quoted 7 lines
Quoted 7 lines

By default all OE metadata is licensed under MIT. Unless you have a very specific need to license packagegroup under BSD, I'd suggest leaving it as is. BTW since MIT is default, LICENSE can be omitted when inheriting packagegroup.

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb line 3

Quoted 1 line
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb new file +1 -0
+PR = "r1"

Not critical, but PR can also be omitted for new recipes.

I am keeping it for now else in future I will forget to add the revision. If I keep it, would you suggest it to be "r0" or "r1".

Quoted 70 lines
Quoted 52 lines

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi.bb

Quoted 30 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb new file +22 -0
+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 +0 -0
new file mode 100755
index 0000000..9066c72
@@ -0,0 +1,27 @@

Same comments here.

Quoted 19 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi.bb new file +19 -0
+DESCRIPTION = "Task to add HMI related packages"
+LICENSE = "BSD-3-Clause"
+PR = "r1"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+inherit packagegroup
+
+HMI = " \
+"
+
+
+HMI_append_ti33x = " \
+    evse-hmi \
+"
+
+HMI_append_ti43x = " \
+    evse-hmi \
+"
Quoted 8 lines

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi.bb line 27

Quoted 8 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi.bb new file +8 -0
+
+HMI_append_omap-a15 = " \
+    evse-hmi \
+"
+
+
+RDEPENDS_${PN} = "\
+"

Also, you seem to be missing to add anything in RDEPENDS...

Quoted 7 lines
Quoted 3 lines
Signature · 1 line
2.13.0

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

#9 lore raw

Re: [morty][PATCH v2 4/6] recipes-core : packagegroups: hmi

Quoted 34 lines · Manisha Agrawal
Quoted 23 lines · Denys Dmytriyenko
Quoted 22 lines · Denys Dmytriyenko

Manisha,

From this:

Quoted 1 line

recipes-core : packagegroups: hmi

To this:

Quoted 1 line

packagegroup-*-hmi: add hmi specific packagegroups

Quoted 12 lines · 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  | 27 ++++++++++++++++++++++
 2 files changed, 53 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
Quoted 8 lines
Quoted 8 lines

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb line 1

Quoted 7 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb new file +1 -0
new file mode 100755
index 0000000..d58536c
@@ -0,0 +1,26 @@
+DESCRIPTION = "Task to add HMI related sources into the SDK"

SUMMARY is missing.

Quoted 4 lines

I see either SUMMARY or DESCRIPTION in other packagefroup files. Do you want me to rename the DESCRIPTION as SUMMARY or you want to see more information as part of SUMMARY. If yes, what additional information should I add there.

Please see my comment for patch #1 with the link.

Quoted 10 lines
Quoted 5 lines
Quoted 5 lines

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb line 2

Quoted 1 line
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb new file +1 -0
+LICENSE = "BSD-3-Clause"

By default all OE metadata is licensed under MIT. Unless you have a very specific need to license packagegroup under BSD, I'd suggest leaving it as is. BTW since MIT is default, LICENSE can be omitted when inheriting packagegroup.

This was suggested by Vivek. His comment was "Any user-space demo applications that we develop should be in TI BSD-3-clause license, as that’s the most friendliest and can be used by others (RTOS, VxWorks, etc.)…"

A packagegroup is not a user-space demo application, hence my comment above.

Quoted 5 lines
Quoted 2 lines
Quoted 2 lines

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb line 3

Quoted 1 line
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb new file +1 -0
+PR = "r1"

Not critical, but PR can also be omitted for new recipes.

I am keeping it for now else in future I will forget to add the revision. If I keep it, would you suggest it to be "r0" or "r1".

Doesn't matter, but it defaults to "r0".

Quoted 69 lines
Quoted 68 lines
Quoted 50 lines

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi.bb

Quoted 28 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb new file +22 -0
+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 +0 -0
new file mode 100755
index 0000000..9066c72
@@ -0,0 +1,27 @@

Same comments here.

Quoted 19 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi.bb new file +19 -0
+DESCRIPTION = "Task to add HMI related packages"
+LICENSE = "BSD-3-Clause"
+PR = "r1"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+inherit packagegroup
+
+HMI = " \
+"
+
+
+HMI_append_ti33x = " \
+    evse-hmi \
+"
+
+HMI_append_ti43x = " \
+    evse-hmi \
+"
Quoted 8 lines

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi.bb line 27

Quoted 8 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi.bb new file +8 -0
+
+HMI_append_omap-a15 = " \
+    evse-hmi \
+"
+
+
+RDEPENDS_${PN} = "\
+"

Also, you seem to be missing to add anything in RDEPENDS...

Quoted 7 lines
Quoted 3 lines
Signature · 1 line
2.13.0

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

#10 lore raw

Re: [morty][PATCH v2 4/6] recipes-core : packagegroups: hmi

Quoted 33 lines · Denys Dmytriyenko
Quoted 32 lines · Manisha Agrawal
Quoted 30 lines · Denys Dmytriyenko
Quoted 29 lines · Denys Dmytriyenko

Manisha,

From this:

Quoted 1 line

recipes-core : packagegroups: hmi

To this:

Quoted 1 line

packagegroup-*-hmi: add hmi specific packagegroups

Quoted 18 lines · 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  | 27 ++++++++++++++++++++++
 2 files changed, 53 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 +0 -0
new file mode 100755
index 0000000..d58536c

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb line 1

Quoted 1 line
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb new file +1 -0
@@ -0,0 +1,26 @@
+DESCRIPTION = "Task to add HMI related sources into the SDK"

SUMMARY is missing.

Quoted 7 lines
Quoted 4 lines

I see either SUMMARY or DESCRIPTION in other packagefroup files. Do you want me to rename the DESCRIPTION as SUMMARY or you want to see more information as part of SUMMARY. If yes, what additional information should I add there.

Please see my comment for patch #1 with the link.

Sorry missed seeing that earlier. I am keeping SUMMARY and removing DESCRIPTION as DESCRIPTION defaults to SUMMARY and nothing much to describe there.

Quoted 10 lines
Quoted 8 lines
Quoted 4 lines
Quoted 4 lines

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb line 2

Quoted 1 line
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb new file +1 -0
+LICENSE = "BSD-3-Clause"

By default all OE metadata is licensed under MIT. Unless you have a very specific need to license packagegroup under BSD, I'd suggest leaving it as is. BTW since MIT is default, LICENSE can be omitted when inheriting packagegroup.

This was suggested by Vivek. His comment was "Any user-space demo applications that we develop should be in TI BSD-3-clause license, as that's the most friendliest and can be used by others (RTOS, VxWorks, etc.)."

A packagegroup is not a user-space demo application, hence my comment above.

Got it. Thanks.

Quoted 75 lines
Quoted 4 lines
Quoted 2 lines
Quoted 2 lines

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb line 3

Quoted 1 line
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb new file +1 -0
+PR = "r1"

Not critical, but PR can also be omitted for new recipes.

I am keeping it for now else in future I will forget to add the revision. If I keep it, would you suggest it to be "r0" or "r1".

Doesn't matter, but it defaults to "r0".

Quoted 68 lines
Quoted 68 lines
Quoted 50 lines

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi.bb

Quoted 28 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb new file +22 -0
+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 +0 -0
new file mode 100755
index 0000000..9066c72
@@ -0,0 +1,27 @@

Same comments here.

Quoted 19 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi.bb new file +19 -0
+DESCRIPTION = "Task to add HMI related packages"
+LICENSE = "BSD-3-Clause"
+PR = "r1"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+inherit packagegroup
+
+HMI = " \
+"
+
+
+HMI_append_ti33x = " \
+    evse-hmi \
+"
+
+HMI_append_ti43x = " \
+    evse-hmi \
+"
Quoted 8 lines

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi.bb line 27

Quoted 8 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi.bb new file +8 -0
+
+HMI_append_omap-a15 = " \
+    evse-hmi \
+"
+
+
+RDEPENDS_${PN} = "\
+"

Also, you seem to be missing to add anything in RDEPENDS...

Quoted 7 lines
Quoted 3 lines
Signature · 1 line
2.13.0

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

#11 lore raw

PATCH v2 5/6 meta-arago-distro: conf : arago-source-ipk.inc

In reply to Manisha Agrawal

Add the source code for evse-hmi demo in example-applications of PLSDK.

---
 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 c598d5d..5dd1ca6 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
#12 lore raw

Re: [morty][PATCH v2 5/6] meta-arago-distro: conf : arago-source-ipk.inc

Same comment about the subject.

Basically, the commit log in over-simplified form looks like:

=================
where: what changed

why the change is needed

sign-offs:
=================

Quoted 24 lines · Manisha Agrawal

Add the source code for evse-hmi demo in example-applications of PLSDK.

---
 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 c598d5d..5dd1ca6 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
#13 lore raw

PATCH v2 6/6 arago-distro : recipes-core : tisdk-rootfs-image

In reply to Manisha Agrawal

Add evse-hmi image to the rootfs.

---
 meta-arago-distro/recipes-core/images/tisdk-rootfs-image.bb | 1 +
 1 file changed, 1 insertion(+)
meta-arago-distro/recipes-core/images/tisdk-rootfs-image.bb +1 -0
index 1a477d1..e40dc1f 100644
@@ -20,6 +20,7 @@ IMAGE_INSTALL += "\
     packagegroup-arago-tisdk-amsdk \
     packagegroup-arago-tisdk-addons \
     packagegroup-arago-tisdk-addons-extra \
+    packagegroup-arago-tisdk-hmi \
     "
 
 export IMAGE_BASENAME = "tisdk-rootfs-image"
Signature · 1 line
2.13.0
#14 lore raw

Re: [morty][PATCH v2 6/6] arago-distro : recipes-core : tisdk-rootfs-image

Change subject:

Quoted 6 lines

arago-distro : recipes-core : tisdk-rootfs-image

tisdk-rootfs-image: add evse-hmi packagegroup

Add evse-hmi image to the rootfs.

If you change subject like above, this won't be needed.

Quoted 20 lines
---
 meta-arago-distro/recipes-core/images/tisdk-rootfs-image.bb | 1 +
 1 file changed, 1 insertion(+)
meta-arago-distro/recipes-core/images/tisdk-rootfs-image.bb +1 -0
index 1a477d1..e40dc1f 100644
@@ -20,6 +20,7 @@ IMAGE_INSTALL += "\
     packagegroup-arago-tisdk-amsdk \
     packagegroup-arago-tisdk-addons \
     packagegroup-arago-tisdk-addons-extra \
+    packagegroup-arago-tisdk-hmi \
     "
 
 export IMAGE_BASENAME = "tisdk-rootfs-image"
Signature · 1 line
2.13.0
#15 lore raw
In reply to Manisha Agrawal

Manisha,

https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines#Patch_Headers_and_Commit_Messages

Change Subject from:

Quoted 1 line

meta-arago-extras : recipe-apps : evse-hmi : new demo

To:

Quoted 4 lines

evse-hmi: add new demo

Recipe to build EVSE HMI demo.

Please drop this sentence ^^^

Quoted 17 lines

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 +0 -0
new file mode 100755
index 0000000..4c7c8c6

meta-arago-extras/recipes-apps/evse-hmi/evse-hmi_git.bb line 1

Quoted 1 line
meta-arago-extras/recipes-apps/evse-hmi/evse-hmi_git.bb new file +1 -0
@@ -0,0 +1,20 @@
+DESCRIPTION = "HMI demo for electronic vehicle charging station (EVSE) using QT QWidget tools"

SUMMARY is missing:
https://lists.yoctoproject.org/pipermail/meta-ti/2017-July/010261.html

Quoted 22 lines
meta-arago-extras/recipes-apps/evse-hmi/evse-hmi_git.bb new file +19 -0
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://main.cpp;beginline=1;endline=33;md5=a9cde3921a8be42ed79ab74661799104"
+
+inherit qt-provider
+
+PV = "01.00.00"
+PR = "r1"
+
+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