Regarding storing and parsing in Uboot

Kiran Kumar kiran1677 at gmail.com
Sun Apr 19 17:50:34 AEST 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20150419/1f4dc991/attachment.html>


More information about the Linuxppc-dev mailing list