* [PATCH v3] parse-ip: Add support for keystone platforms
@ 2015-01-16 4:02 Sam Nelson
2015-01-17 3:43 ` Denys Dmytriyenko
0 siblings, 1 reply; 3+ messages in thread
From: Sam Nelson @ 2015-01-16 4:02 UTC (permalink / raw)
To: meta-arago
- Added separate script for keystone platforms
- Script parses ip and sends to uart, picked up by BMC and display on LCD screen
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
---
Changes from previous patch
- Removed keystene/init from SRC URI
---
---
.../recipes-tisdk/parse-ip/parse-ip.bb | 4 ++--
.../parse-ip/parse-ip/{ => keystone}/init | 16 ++++++++--------
2 files changed, 10 insertions(+), 10 deletions(-)
copy meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/{ => keystone}/init (87%)
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 f20db31..2cfc675 100644
--- a/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip.bb
+++ b/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip.bb
@@ -2,12 +2,12 @@ DESCRIPTION = "Script to parse ip address during boot and make it available to t
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://init;beginline=3;endline=31;md5=fc4b04a33df6d892c9f4d4a9d92b945e"
-COMPATIBLE_MACHINE = "ti33x|ti43x"
+COMPATIBLE_MACHINE = "ti33x|ti43x|keystone"
PACKAGE_ARCH = "${MACHINE_ARCH}"
SRC_URI = "file://init"
-PR = "r2"
+PR = "r3"
S = "${WORKDIR}"
diff --git a/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/init b/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/keystone/init
similarity index 87%
copy from meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/init
copy to meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/keystone/init
index 4050efb..7f260fb 100644
--- a/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/init
+++ b/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/keystone/init
@@ -32,15 +32,15 @@
case "$1" in
start )
- if [ -e /run/media/mmcblk0p1 ]
- then
- echo `ifconfig | grep 'inet addr:' | grep -v '127.0.0.1' | cut -d: -f2 | awk '{print $1}'` > /run/media/mmcblk0p1/.ipaddr
- sync
- sync
- fi
+ echo '#>>>>> LCD 12' > ipaddr
+ echo 'IP Address:' >> ipaddr
+ cat ipaddr
+
+ echo `ifconfig | grep 'inet addr:' | grep -v '127.0.0.1' | cut -d: -f2 | awk '{print $1}'` > ipaddr
+ cat ipaddr
+
+ sleep 1
;;
stop )
exit 0;;
esac
-
-exit 0
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH v3] parse-ip: Add support for keystone platforms
2015-01-16 4:02 [PATCH v3] parse-ip: Add support for keystone platforms Sam Nelson
@ 2015-01-17 3:43 ` Denys Dmytriyenko
2015-01-17 4:18 ` Nelson, Sam
0 siblings, 1 reply; 3+ messages in thread
From: Denys Dmytriyenko @ 2015-01-17 3:43 UTC (permalink / raw)
To: Sam Nelson; +Cc: meta-arago
This looks good now! I take it that you've tested it yourself :)
--
Denys
On Thu, Jan 15, 2015 at 11:02:49PM -0500, Sam Nelson wrote:
> - Added separate script for keystone platforms
> - Script parses ip and sends to uart, picked up by BMC and display on LCD screen
>
> Signed-off-by: Sam Nelson <sam.nelson@ti.com>
>
> ---
> Changes from previous patch
> - Removed keystene/init from SRC URI
> ---
> ---
> .../recipes-tisdk/parse-ip/parse-ip.bb | 4 ++--
> .../parse-ip/parse-ip/{ => keystone}/init | 16 ++++++++--------
> 2 files changed, 10 insertions(+), 10 deletions(-)
> copy meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/{ => keystone}/init (87%)
>
> 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 f20db31..2cfc675 100644
> --- a/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip.bb
> +++ b/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip.bb
> @@ -2,12 +2,12 @@ DESCRIPTION = "Script to parse ip address during boot and make it available to t
> LICENSE = "BSD"
> LIC_FILES_CHKSUM = "file://init;beginline=3;endline=31;md5=fc4b04a33df6d892c9f4d4a9d92b945e"
>
> -COMPATIBLE_MACHINE = "ti33x|ti43x"
> +COMPATIBLE_MACHINE = "ti33x|ti43x|keystone"
> PACKAGE_ARCH = "${MACHINE_ARCH}"
>
> SRC_URI = "file://init"
>
> -PR = "r2"
> +PR = "r3"
>
> S = "${WORKDIR}"
>
> diff --git a/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/init b/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/keystone/init
> similarity index 87%
> copy from meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/init
> copy to meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/keystone/init
> index 4050efb..7f260fb 100644
> --- a/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/init
> +++ b/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/keystone/init
> @@ -32,15 +32,15 @@
>
> case "$1" in
> start )
> - if [ -e /run/media/mmcblk0p1 ]
> - then
> - echo `ifconfig | grep 'inet addr:' | grep -v '127.0.0.1' | cut -d: -f2 | awk '{print $1}'` > /run/media/mmcblk0p1/.ipaddr
> - sync
> - sync
> - fi
> + echo '#>>>>> LCD 12' > ipaddr
> + echo 'IP Address:' >> ipaddr
> + cat ipaddr
> +
> + echo `ifconfig | grep 'inet addr:' | grep -v '127.0.0.1' | cut -d: -f2 | awk '{print $1}'` > ipaddr
> + cat ipaddr
> +
> + sleep 1
> ;;
> stop )
> exit 0;;
> esac
> -
> -exit 0
> --
> 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] 3+ messages in thread* Re: [PATCH v3] parse-ip: Add support for keystone platforms
2015-01-17 3:43 ` Denys Dmytriyenko
@ 2015-01-17 4:18 ` Nelson, Sam
0 siblings, 0 replies; 3+ messages in thread
From: Nelson, Sam @ 2015-01-17 4:18 UTC (permalink / raw)
To: Dmytriyenko, Denys; +Cc: meta-arago@arago-project.org
Yes. I have tested on k2 platform.
Sam
> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Friday, January 16, 2015 10:43 PM
> To: Nelson, Sam
> Cc: meta-arago@arago-project.org
> Subject: Re: [meta-arago] [PATCH v3] parse-ip: Add support for keystone
> platforms
>
> This looks good now! I take it that you've tested it yourself :)
>
> --
> Denys
>
>
> On Thu, Jan 15, 2015 at 11:02:49PM -0500, Sam Nelson wrote:
> > - Added separate script for keystone platforms
> > - Script parses ip and sends to uart, picked up by BMC and display on LCD
> screen
> >
> > Signed-off-by: Sam Nelson <sam.nelson@ti.com>
> >
> > ---
> > Changes from previous patch
> > - Removed keystene/init from SRC URI
> > ---
> > ---
> > .../recipes-tisdk/parse-ip/parse-ip.bb | 4 ++--
> > .../parse-ip/parse-ip/{ => keystone}/init | 16 ++++++++--------
> > 2 files changed, 10 insertions(+), 10 deletions(-)
> > copy meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/{ => keystone}/init
> (87%)
> >
> > 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 f20db31..2cfc675 100644
> > --- a/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip.bb
> > +++ b/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip.bb
> > @@ -2,12 +2,12 @@ DESCRIPTION = "Script to parse ip address during
> boot and make it available to t
> > LICENSE = "BSD"
> > LIC_FILES_CHKSUM =
> "file://init;beginline=3;endline=31;md5=fc4b04a33df6d892c9f4d4a9d92b94
> 5e"
> >
> > -COMPATIBLE_MACHINE = "ti33x|ti43x"
> > +COMPATIBLE_MACHINE = "ti33x|ti43x|keystone"
> > PACKAGE_ARCH = "${MACHINE_ARCH}"
> >
> > SRC_URI = "file://init"
> >
> > -PR = "r2"
> > +PR = "r3"
> >
> > S = "${WORKDIR}"
> >
> > diff --git a/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/init b/meta-
> arago-distro/recipes-tisdk/parse-ip/parse-ip/keystone/init
> > similarity index 87%
> > copy from meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/init
> > copy to meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/keystone/init
> > index 4050efb..7f260fb 100644
> > --- a/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/init
> > +++ b/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/keystone/init
> > @@ -32,15 +32,15 @@
> >
> > case "$1" in
> > start )
> > - if [ -e /run/media/mmcblk0p1 ]
> > - then
> > - echo `ifconfig | grep 'inet addr:' | grep -v '127.0.0.1' | cut -d: -f2 |
> awk '{print $1}'` > /run/media/mmcblk0p1/.ipaddr
> > - sync
> > - sync
> > - fi
> > + echo '#>>>>> LCD 12' > ipaddr
> > + echo 'IP Address:' >> ipaddr
> > + cat ipaddr
> > +
> > + echo `ifconfig | grep 'inet addr:' | grep -v '127.0.0.1' | cut -d: -f2 | awk
> '{print $1}'` > ipaddr
> > + cat ipaddr
> > +
> > + sleep 1
> > ;;
> > stop )
> > exit 0;;
> > esac
> > -
> > -exit 0
> > --
> > 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] 3+ messages in thread
end of thread, other threads:[~2015-01-17 4:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-16 4:02 [PATCH v3] parse-ip: Add support for keystone platforms Sam Nelson
2015-01-17 3:43 ` Denys Dmytriyenko
2015-01-17 4:18 ` Nelson, Sam
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.