linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Kiran Kumar <kiran1677@gmail.com>
To: linuxppc-embedded-confirm+7f24a11fc6fcc59e94e351a947756ea5a83eabaf@ozlabs.org,
	linuxppc-dev <linuxppc-dev@lists.ozlabs.org>
Subject: Regarding storing and parsing in Uboot
Date: Sun, 19 Apr 2015 13:20:34 +0530	[thread overview]
Message-ID: <CAPbBx=5chsiOxT+GiEX19At6p-pCaa7GckZFUPYo-7YGuphN2g@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 540 bytes --]

Hello team,

I have a problem.

In uboot, i run some IPMI commands and I have to store that value in uboot
and also extract the interim byte of the output value.

I dont see the support for the same in Uboot or I'm missing something.

eg:

uboot> run <IPMIcmd>
The output of this has to be stored in some variable of Uboot, which I'm
unable to do.

Output of above step would be something like this: b1 87 98 76 *90 *87 00 91
I have to extract the value '*90*' out of it and do some oprations

Your help is much appreciated

regards,
Kiran

[-- Attachment #2: Type: text/html, Size: 760 bytes --]

             reply	other threads:[~2015-04-19  7:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-19  7:50 Kiran Kumar [this message]
2015-04-19  8:53 ` Regarding storing and parsing in Uboot Wolfgang Denk

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='CAPbBx=5chsiOxT+GiEX19At6p-pCaa7GckZFUPYo-7YGuphN2g@mail.gmail.com' \
    --to=kiran1677@gmail.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=linuxppc-embedded-confirm+7f24a11fc6fcc59e94e351a947756ea5a83eabaf@ozlabs.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).