* [PATCH] parse-ip: Extend to support k2g-evm
@ 2016-03-16 18:14 Jacob Stiffler
2016-03-16 18:16 ` Denys Dmytriyenko
0 siblings, 1 reply; 2+ messages in thread
From: Jacob Stiffler @ 2016-03-16 18:14 UTC (permalink / raw)
To: meta-arago
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
.../recipes-tisdk/parse-ip/parse-ip.bb | 2 +-
.../recipes-tisdk/parse-ip/parse-ip/k2g-evm/init | 52 ++++++++++++++++++++++
2 files changed, 53 insertions(+), 1 deletion(-)
create mode 100644 meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/k2g-evm/init
diff --git a/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip.bb b/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip.bb
index 2cfc675..c83bb19 100644
--- a/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip.bb
+++ b/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip.bb
@@ -7,7 +7,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
SRC_URI = "file://init"
-PR = "r3"
+PR = "r4"
S = "${WORKDIR}"
diff --git a/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/k2g-evm/init b/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/k2g-evm/init
new file mode 100644
index 0000000..a2efc71
--- /dev/null
+++ b/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/k2g-evm/init
@@ -0,0 +1,52 @@
+#!/bin/sh
+
+# This distribution contains contributions or derivatives under copyright
+# as follows:
+#
+# Copyright (c) 2016, Texas Instruments Incorporated
+# All rights reserved.
+#
+# 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 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 HOLDER 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.
+
+case "$1" in
+ start )
+ /bin/stty -F /dev/ttyS2 115200
+
+ echo ' ' > ipaddr
+ echo ' ' >> ipaddr
+ echo '#>>>>> LCD 12' >> ipaddr
+ echo 'IP Address:' >> ipaddr
+ cat ipaddr > /dev/ttyS2
+ wait
+ sleep 1
+
+ echo `ifconfig | grep 'inet addr:' | grep -v '127.0.0.1' | cut -d: -f2 | awk '{print $1}'` > ipaddr
+ cat ipaddr > /dev/ttyS2
+ wait
+ sleep 1
+ ;;
+ stop )
+ exit 0;;
+esac
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] parse-ip: Extend to support k2g-evm
2016-03-16 18:14 [PATCH] parse-ip: Extend to support k2g-evm Jacob Stiffler
@ 2016-03-16 18:16 ` Denys Dmytriyenko
0 siblings, 0 replies; 2+ messages in thread
From: Denys Dmytriyenko @ 2016-03-16 18:16 UTC (permalink / raw)
To: Jacob Stiffler; +Cc: meta-arago
Ack
On Wed, Mar 16, 2016 at 02:14:14PM -0400, Jacob Stiffler wrote:
> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> ---
> .../recipes-tisdk/parse-ip/parse-ip.bb | 2 +-
> .../recipes-tisdk/parse-ip/parse-ip/k2g-evm/init | 52 ++++++++++++++++++++++
> 2 files changed, 53 insertions(+), 1 deletion(-)
> create mode 100644 meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/k2g-evm/init
>
> diff --git a/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip.bb b/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip.bb
> index 2cfc675..c83bb19 100644
> --- a/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip.bb
> +++ b/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip.bb
> @@ -7,7 +7,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
>
> SRC_URI = "file://init"
>
> -PR = "r3"
> +PR = "r4"
>
> S = "${WORKDIR}"
>
> diff --git a/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/k2g-evm/init b/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/k2g-evm/init
> new file mode 100644
> index 0000000..a2efc71
> --- /dev/null
> +++ b/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/k2g-evm/init
> @@ -0,0 +1,52 @@
> +#!/bin/sh
> +
> +# This distribution contains contributions or derivatives under copyright
> +# as follows:
> +#
> +# Copyright (c) 2016, Texas Instruments Incorporated
> +# All rights reserved.
> +#
> +# 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 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 HOLDER 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.
> +
> +case "$1" in
> + start )
> + /bin/stty -F /dev/ttyS2 115200
> +
> + echo ' ' > ipaddr
> + echo ' ' >> ipaddr
> + echo '#>>>>> LCD 12' >> ipaddr
> + echo 'IP Address:' >> ipaddr
> + cat ipaddr > /dev/ttyS2
> + wait
> + sleep 1
> +
> + echo `ifconfig | grep 'inet addr:' | grep -v '127.0.0.1' | cut -d: -f2 | awk '{print $1}'` > ipaddr
> + cat ipaddr > /dev/ttyS2
> + wait
> + sleep 1
> + ;;
> + stop )
> + exit 0;;
> +esac
> --
> 1.9.1
>
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-03-16 18:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-16 18:14 [PATCH] parse-ip: Extend to support k2g-evm Jacob Stiffler
2016-03-16 18:16 ` 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.