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: [email protected] > 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 <[email protected]> > > > > --- > > 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 > > [email protected] > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
