From: Denys Dmytriyenko <denys@ti.com>
To: Sam Nelson <sam.nelson@ti.com>
Cc: meta-arago@arago-project.org
Subject: Re: [PATCH v3] parse-ip: Add support for keystone platforms
Date: Fri, 16 Jan 2015 22:43:17 -0500 [thread overview]
Message-ID: <20150117034316.GE4759@edge> (raw)
In-Reply-To: <1421380969-17405-1-git-send-email-sam.nelson@ti.com>
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
next prev parent reply other threads:[~2015-01-17 3:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-16 4:02 [PATCH v3] parse-ip: Add support for keystone platforms Sam Nelson
2015-01-17 3:43 ` Denys Dmytriyenko [this message]
2015-01-17 4:18 ` Nelson, Sam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150117034316.GE4759@edge \
--to=denys@ti.com \
--cc=meta-arago@arago-project.org \
--cc=sam.nelson@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.