All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] initscript-debugfs recipe: needed by ti-multiprocmgr, system printf messages coming from debugfs
@ 2013-05-06 21:19 zhoujt
  2013-05-06 21:19 ` [PATCH 2/2] added initscrip-debugfs into the server-extrapackage group zhoujt
  2013-05-08 13:04 ` [PATCH 1/2] initscript-debugfs recipe: needed by ti-multiprocmgr, system printf messages coming from debugfs Maupin, Chase
  0 siblings, 2 replies; 4+ messages in thread
From: zhoujt @ 2013-05-06 21:19 UTC (permalink / raw)
  To: meta-arago, zhoujt

From: Jingting Zhou <a0221004@ares-ubuntu>

---
 .../initscript-debugfs/files/debugfs.sh            |   40 ++++++++++++++++++++
 .../initscript-debugfs/initscript-debugfs.bb       |   20 ++++++++++
 2 files changed, 60 insertions(+)
 create mode 100755 meta-arago-extras/recipes-bsp/initscript-debugfs/files/debugfs.sh
 create mode 100755 meta-arago-extras/recipes-bsp/initscript-debugfs/initscript-debugfs.bb

diff --git a/meta-arago-extras/recipes-bsp/initscript-debugfs/files/debugfs.sh b/meta-arago-extras/recipes-bsp/initscript-debugfs/files/debugfs.sh
new file mode 100755
index 0000000..9b26279
--- /dev/null
+++ b/meta-arago-extras/recipes-bsp/initscript-debugfs/files/debugfs.sh
@@ -0,0 +1,40 @@
+#!/bin/sh
+
+#   Copyright 2012, Texas Instruments, Inc.
+#  
+#   Redistribution and use in source and binary forms, with or without 
+#   modification, are permitted provided that the following conditions 
+#   are met:
+# 
+#     Redistributions of source code must retain the above copyright 
+#     notice, this list of conditions and the following disclaimer.
+# 
+#     Redistributions in binary form must reproduce the above copyright
+#     notice, this list of conditions and the following disclaimer in the 
+#     documentation and/or other materials provided with the   
+#     distribution.
+# 
+#     Neither the name of Texas Instruments Incorporated nor the names of
+#     its contributors may be used to endorse or promote products derived
+#     from this software without specific prior written permission.
+# 
+#   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
+#   "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
+#   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+#   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 
+#   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
+#   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 
+#   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+#   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+#   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
+#   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
+#   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 
+
+
+if ! [ -e /debug ] ; then
+  mkdir -p /debug
+fi
+mount -t debugfs debugfs /debug
+
+exit 0
diff --git a/meta-arago-extras/recipes-bsp/initscript-debugfs/initscript-debugfs.bb b/meta-arago-extras/recipes-bsp/initscript-debugfs/initscript-debugfs.bb
new file mode 100755
index 0000000..f8145ba
--- /dev/null
+++ b/meta-arago-extras/recipes-bsp/initscript-debugfs/initscript-debugfs.bb
@@ -0,0 +1,20 @@
+DESCRIPTION = "Initscripts for debugfs"
+LICENSE = "BSD"
+
+LIC_FILES_CHKSUM = "file://debugfs.sh;startline=3;endline=32;md5=4d96701a693bf321ad2d15026a285446"
+
+PR ="r0"
+
+SRC_URI = "file://debugfs.sh"
+		   
+INITSCRIPT_NAME = "debugfs.sh"
+INITSCRIPT_PARAMS = "start 09 S ."
+
+inherit update-rc.d
+
+S = "${WORKDIR}"
+
+do_install () {
+	install -d ${D}${sysconfdir}/init.d/ 
+	install -c -m 755 ${WORKDIR}/debugfs.sh ${D}${sysconfdir}/init.d/debugfs.sh 
+}
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] added initscrip-debugfs into the server-extrapackage group
  2013-05-06 21:19 [PATCH 1/2] initscript-debugfs recipe: needed by ti-multiprocmgr, system printf messages coming from debugfs zhoujt
@ 2013-05-06 21:19 ` zhoujt
  2013-05-08 13:04 ` [PATCH 1/2] initscript-debugfs recipe: needed by ti-multiprocmgr, system printf messages coming from debugfs Maupin, Chase
  1 sibling, 0 replies; 4+ messages in thread
From: zhoujt @ 2013-05-06 21:19 UTC (permalink / raw)
  To: meta-arago, zhoujt

From: Jingting Zhou <a0221004@ares-ubuntu>

---
 .../packagegroup-arago-base-tisdk-server-extra.bb  |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk-server-extra.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk-server-extra.bb
index 46db7c2..dfc78c2 100755
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk-server-extra.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk-server-extra.bb
@@ -1,7 +1,7 @@
 DESCRIPTION = "Additional packages beyond console packages shared by TI SDKs"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
-PR = "r7"
+PR = "r8"
 
 inherit packagegroup
 
@@ -95,4 +95,5 @@ RDEPENDS_${PN} = "\
     ti-netapi \
     ti-ipc \
     ebtables \
+    initscript-debugfs \
 	"
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] initscript-debugfs recipe: needed by ti-multiprocmgr, system printf messages coming from debugfs
  2013-05-06 21:19 [PATCH 1/2] initscript-debugfs recipe: needed by ti-multiprocmgr, system printf messages coming from debugfs zhoujt
  2013-05-06 21:19 ` [PATCH 2/2] added initscrip-debugfs into the server-extrapackage group zhoujt
@ 2013-05-08 13:04 ` Maupin, Chase
  2013-05-08 14:14   ` Denys Dmytriyenko
  1 sibling, 1 reply; 4+ messages in thread
From: Maupin, Chase @ 2013-05-08 13:04 UTC (permalink / raw)
  To: Zhou, Jingting, meta-arago@arago-project.org

> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Zhou, Jingting
> Sent: Monday, May 06, 2013 4:19 PM
> To: meta-arago@arago-project.org; Zhou, Jingting
> Subject: [meta-arago] [PATCH 1/2] initscript-debugfs recipe:
> needed by ti-multiprocmgr, system printf messages coming from
> debugfs
> 
> From: Jingting Zhou <a0221004@ares-ubuntu>

So close you are almost there.  A couple of points.

1. You need to fix your e-mail.  You should use your ti.com address.  This is the e-mail setting in your u-boot config.
2. The commit message should be something like:

Recipe: brief description of change

* Detail 1 about change and why
* Detail 2 about change and why

Signed-off-by: your name <your email>


If you have your e-mail configured then you can have your signed-off-by automatically added to your commit message by using -s when commiting.  I'll send you a git presentation that has some info on setting these.

> 
> ---
>  .../initscript-debugfs/files/debugfs.sh            |   40
> ++++++++++++++++++++
>  .../initscript-debugfs/initscript-debugfs.bb       |   20
> ++++++++++
>  2 files changed, 60 insertions(+)
>  create mode 100755 meta-arago-extras/recipes-bsp/initscript-
> debugfs/files/debugfs.sh
>  create mode 100755 meta-arago-extras/recipes-bsp/initscript-
> debugfs/initscript-debugfs.bb
> 
> diff --git a/meta-arago-extras/recipes-bsp/initscript-
> debugfs/files/debugfs.sh b/meta-arago-extras/recipes-
> bsp/initscript-debugfs/files/debugfs.sh
> new file mode 100755
> index 0000000..9b26279
> --- /dev/null
> +++ b/meta-arago-extras/recipes-bsp/initscript-
> debugfs/files/debugfs.sh
> @@ -0,0 +1,40 @@
> +#!/bin/sh
> +
> +#   Copyright 2012, Texas Instruments, Inc.
> +#
> +#   Redistribution and use in source and binary forms, with or
> without
> +#   modification, are permitted provided that the following
> conditions
> +#   are met:
> +#
> +#     Redistributions of source code must retain the above
> copyright
> +#     notice, this list of conditions and the following
> disclaimer.
> +#
> +#     Redistributions in binary form must reproduce the above
> copyright
> +#     notice, this list of conditions and the following
> disclaimer in the
> +#     documentation and/or other materials provided with the
> +#     distribution.
> +#
> +#     Neither the name of Texas Instruments Incorporated nor the
> names of
> +#     its contributors may be used to endorse or promote
> products derived
> +#     from this software without specific prior written
> permission.
> +#
> +#   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
> CONTRIBUTORS
> +#   "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
> BUT NOT
> +#   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
> FITNESS FOR
> +#   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
> COPYRIGHT
> +#   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
> INCIDENTAL,
> +#   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
> NOT
> +#   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
> LOSS OF USE,
> +#   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
> AND ON ANY
> +#   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
> OR TORT
> +#   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
> OF THE USE
> +#   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
> DAMAGE.
> +#
> +
> +
> +if ! [ -e /debug ] ; then
> +  mkdir -p /debug
> +fi
> +mount -t debugfs debugfs /debug
> +
> +exit 0
> diff --git a/meta-arago-extras/recipes-bsp/initscript-
> debugfs/initscript-debugfs.bb b/meta-arago-extras/recipes-
> bsp/initscript-debugfs/initscript-debugfs.bb
> new file mode 100755
> index 0000000..f8145ba
> --- /dev/null
> +++ b/meta-arago-extras/recipes-bsp/initscript-
> debugfs/initscript-debugfs.bb
> @@ -0,0 +1,20 @@
> +DESCRIPTION = "Initscripts for debugfs"
> +LICENSE = "BSD"
> +
> +LIC_FILES_CHKSUM =
> "file://debugfs.sh;startline=3;endline=32;md5=4d96701a693bf321ad2
> d15026a285446"
> +
> +PR ="r0"
> +
> +SRC_URI = "file://debugfs.sh"
> +
> +INITSCRIPT_NAME = "debugfs.sh"
> +INITSCRIPT_PARAMS = "start 09 S ."
> +
> +inherit update-rc.d
> +
> +S = "${WORKDIR}"
> +
> +do_install () {
> +	install -d ${D}${sysconfdir}/init.d/
> +	install -c -m 755 ${WORKDIR}/debugfs.sh
> ${D}${sysconfdir}/init.d/debugfs.sh
> +}
> --
> 1.7.9.5
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] initscript-debugfs recipe: needed by ti-multiprocmgr, system printf messages coming from debugfs
  2013-05-08 13:04 ` [PATCH 1/2] initscript-debugfs recipe: needed by ti-multiprocmgr, system printf messages coming from debugfs Maupin, Chase
@ 2013-05-08 14:14   ` Denys Dmytriyenko
  0 siblings, 0 replies; 4+ messages in thread
From: Denys Dmytriyenko @ 2013-05-08 14:14 UTC (permalink / raw)
  To: Maupin, Chase; +Cc: meta-arago@arago-project.org, Zhou, Jingting

On Wed, May 08, 2013 at 01:04:09PM +0000, Maupin, Chase wrote:
> > Subject: [meta-arago] [PATCH 1/2] initscript-debugfs recipe:
> > needed by ti-multiprocmgr, system printf messages coming from
> > debugfs
> > 
> > From: Jingting Zhou <a0221004@ares-ubuntu>
> 
> So close you are almost there.  A couple of points.

Ah, words of encouragement - good idea :) Few more comments:


> 1. You need to fix your e-mail.  You should use your ti.com address.  This 
> is the e-mail setting in your u-boot config.

1. To quickly set your email in git configuration, use this line:

git config --global user.email zhoujt@ti.com

To check current config, git config -l
But getting more familiar with git in general is a good idea - use a 
presentation or training material.


> 2. The commit message should be something like:
> 
> Recipe: brief description of change
> 
> * Detail 1 about change and why
> * Detail 2 about change and why
> 
> Signed-off-by: your name <your email>

2. What Chase explained for the commit message is good and will start you up, 
but it's just a very brief version of the Commit Message Guidelines here:
http://openembedded.org/wiki/Commit_Patch_Message_Guidelines


> If you have your e-mail configured then you can have your signed-off-by 
> automatically added to your commit message by using -s when commiting.  I'll 
> send you a git presentation that has some info on setting these.

-- 
Denys



> > ---
> >  .../initscript-debugfs/files/debugfs.sh            |   40
> > ++++++++++++++++++++
> >  .../initscript-debugfs/initscript-debugfs.bb       |   20
> > ++++++++++
> >  2 files changed, 60 insertions(+)
> >  create mode 100755 meta-arago-extras/recipes-bsp/initscript-
> > debugfs/files/debugfs.sh
> >  create mode 100755 meta-arago-extras/recipes-bsp/initscript-
> > debugfs/initscript-debugfs.bb
> > 
> > diff --git a/meta-arago-extras/recipes-bsp/initscript-
> > debugfs/files/debugfs.sh b/meta-arago-extras/recipes-
> > bsp/initscript-debugfs/files/debugfs.sh
> > new file mode 100755
> > index 0000000..9b26279
> > --- /dev/null
> > +++ b/meta-arago-extras/recipes-bsp/initscript-
> > debugfs/files/debugfs.sh
> > @@ -0,0 +1,40 @@
> > +#!/bin/sh
> > +
> > +#   Copyright 2012, Texas Instruments, Inc.
> > +#
> > +#   Redistribution and use in source and binary forms, with or
> > without
> > +#   modification, are permitted provided that the following
> > conditions
> > +#   are met:
> > +#
> > +#     Redistributions of source code must retain the above
> > copyright
> > +#     notice, this list of conditions and the following
> > disclaimer.
> > +#
> > +#     Redistributions in binary form must reproduce the above
> > copyright
> > +#     notice, this list of conditions and the following
> > disclaimer in the
> > +#     documentation and/or other materials provided with the
> > +#     distribution.
> > +#
> > +#     Neither the name of Texas Instruments Incorporated nor the
> > names of
> > +#     its contributors may be used to endorse or promote
> > products derived
> > +#     from this software without specific prior written
> > permission.
> > +#
> > +#   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
> > CONTRIBUTORS
> > +#   "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
> > BUT NOT
> > +#   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
> > FITNESS FOR
> > +#   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
> > COPYRIGHT
> > +#   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
> > INCIDENTAL,
> > +#   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
> > NOT
> > +#   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
> > LOSS OF USE,
> > +#   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
> > AND ON ANY
> > +#   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
> > OR TORT
> > +#   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
> > OF THE USE
> > +#   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
> > DAMAGE.
> > +#
> > +
> > +
> > +if ! [ -e /debug ] ; then
> > +  mkdir -p /debug
> > +fi
> > +mount -t debugfs debugfs /debug
> > +
> > +exit 0
> > diff --git a/meta-arago-extras/recipes-bsp/initscript-
> > debugfs/initscript-debugfs.bb b/meta-arago-extras/recipes-
> > bsp/initscript-debugfs/initscript-debugfs.bb
> > new file mode 100755
> > index 0000000..f8145ba
> > --- /dev/null
> > +++ b/meta-arago-extras/recipes-bsp/initscript-
> > debugfs/initscript-debugfs.bb
> > @@ -0,0 +1,20 @@
> > +DESCRIPTION = "Initscripts for debugfs"
> > +LICENSE = "BSD"
> > +
> > +LIC_FILES_CHKSUM =
> > "file://debugfs.sh;startline=3;endline=32;md5=4d96701a693bf321ad2
> > d15026a285446"
> > +
> > +PR ="r0"
> > +
> > +SRC_URI = "file://debugfs.sh"
> > +
> > +INITSCRIPT_NAME = "debugfs.sh"
> > +INITSCRIPT_PARAMS = "start 09 S ."
> > +
> > +inherit update-rc.d
> > +
> > +S = "${WORKDIR}"
> > +
> > +do_install () {
> > +	install -d ${D}${sysconfdir}/init.d/
> > +	install -c -m 755 ${WORKDIR}/debugfs.sh
> > ${D}${sysconfdir}/init.d/debugfs.sh
> > +}
> > --
> > 1.7.9.5
> > 
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-05-08 14:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-06 21:19 [PATCH 1/2] initscript-debugfs recipe: needed by ti-multiprocmgr, system printf messages coming from debugfs zhoujt
2013-05-06 21:19 ` [PATCH 2/2] added initscrip-debugfs into the server-extrapackage group zhoujt
2013-05-08 13:04 ` [PATCH 1/2] initscript-debugfs recipe: needed by ti-multiprocmgr, system printf messages coming from debugfs Maupin, Chase
2013-05-08 14:14   ` Denys Dmytriyenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.