On 08/06/2015 10:04 AM, Tom Rini wrote:
On Thu, Aug 06, 2015 at 09:48:27AM -0500, Nishanth Menon wrote:
This allows us to do basic math in hush shell. For example:
U-Boot# r1=10
U-Boot# r2=20
U-Boot# setexpr.l r3 $r1 + $r2
U-Boot# echo $r3
30
Reported-by: Vitaly Andrianov vita...@ti.com
This allows us to do basic math in hush shell. For example:
U-Boot# r1=10
U-Boot# r2=20
U-Boot# setexpr.l r3 $r1 + $r2
U-Boot# echo $r3
30
Reported-by: Vitaly Andrianov vita...@ti.com
Suggested-by: Tom Rini tr...@ti.com
Signed-off-by: Nishanth Menon n...@ti.com
---
On Thu, Aug 06, 2015 at 09:48:27AM -0500, Nishanth Menon wrote:
This allows us to do basic math in hush shell. For example:
U-Boot# r1=10
U-Boot# r2=20
U-Boot# setexpr.l r3 $r1 + $r2
U-Boot# echo $r3
30
Reported-by: Vitaly Andrianov vita...@ti.com
Suggested-by: Tom Rini tr...@ti.com
On 08/06/2015 11:31 AM, Tom Rini wrote:
On Thu, Aug 06, 2015 at 10:08:59AM -0500, Nishanth Menon wrote:
On 08/06/2015 10:04 AM, Tom Rini wrote:
On Thu, Aug 06, 2015 at 09:48:27AM -0500, Nishanth Menon wrote:
This allows us to do basic math in hush shell. For example:
U-Boot# r1=10
U-Boot#
On Thu, Aug 06, 2015 at 10:08:59AM -0500, Nishanth Menon wrote:
On 08/06/2015 10:04 AM, Tom Rini wrote:
On Thu, Aug 06, 2015 at 09:48:27AM -0500, Nishanth Menon wrote:
This allows us to do basic math in hush shell. For example:
U-Boot# r1=10
U-Boot# r2=20
U-Boot# setexpr.l r3 $r1 +
5 matches
Mail list logo