Re: [U-Boot] [PATCH] sandbox: Add timer simulation

2011-11-29 Thread Mike Frysinger
On Tuesday 29 November 2011 04:35:06 Matthias Weißer wrote: > Am 28.11.2011 23:57, schrieb Mike Frysinger: > > On Monday 28 November 2011 16:40:29 Matthias Weisser wrote: > >> Making sleep command work > > > > i like the idea, but using clock_xxx funcs makes me sad (generally > > requires a "newer

Re: [U-Boot] [PATCH] sandbox: Add timer simulation

2011-11-29 Thread Matthias Weißer
Am 28.11.2011 23:57, schrieb Mike Frysinger: > On Monday 28 November 2011 16:40:29 Matthias Weisser wrote: >> Making sleep command work > > i like the idea, but using clock_xxx funcs makes me sad (generally requires a > "newerish" glibc and -lrt). my only alternative proposal is to use usec's >

Re: [U-Boot] [PATCH] sandbox: Add timer simulation

2011-11-28 Thread Mike Frysinger
On Monday 28 November 2011 16:40:29 Matthias Weisser wrote: > Making sleep command work i like the idea, but using clock_xxx funcs makes me sad (generally requires a "newerish" glibc and -lrt). my only alternative proposal is to use usec's with gettimeofday ... maybe that's good enough ? altho

[U-Boot] [PATCH] sandbox: Add timer simulation

2011-11-28 Thread Matthias Weisser
Making sleep command work Signed-off-by: Matthias Weisser --- arch/sandbox/config.mk |1 + arch/sandbox/cpu/cpu.c |2 +- arch/sandbox/cpu/os.c | 15 +++ board/sandbox/sandbox/sandbox.c |4 +++- include/os.h| 14 +