On Tue, 12 Feb 2008 23:45:35 -0600
Kumar Gala <[EMAIL PROTECTED]> wrote:

> I can't seem to find anything that says we can do thus, but wondering  
> if there was any way to get simple math (addition) out of the u-boot  
> shell?  Was looking for something like 'expr'.

hush doesn't do expressions - everything's a string - you need to
import something like shell/ash.c from the busybox package into
u-boot.  If you have an extremely limited amount of math, it can be
done with trivial comparison logic already available in hush.

btw, u-boot users and developers should start prepending new hex values
with "0x", btw.

Kim

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to