* [ECOS] What I need to run "cyg_thread_delay" on redboot(motorola MBX)
@ 2001-09-20 22:26 syyi04
2001-09-20 22:37 ` [ECOS] What I need to run "cyg_thread_delay" onredboot(motorola MBX) Gary Thomas
0 siblings, 1 reply; 2+ messages in thread
From: syyi04 @ 2001-09-20 22:26 UTC (permalink / raw)
To: ecos-discuss
Hello, everyone.
Q : How can I run "cyg_thread_delay" on redboot? (Motorola MBX)
The following is what I've done to enable it on redboot.
It works fine in the ECOS(ram version) but not on redboot(rom version).
I add some packages to use the ECOS kernel on redboot.
- eCos kernel
- Dynamic memory allocation
- ISO C and POSIX infrastructure, etc.....
After cyg_scheduler_start, context switching works between threads
which created by cyg_thread_create(...).
But stuck in the cyg_thread_delay() function. It never ends.
What should I initialize to use
the clock and alarm related functions such as cyg_thread_delay()??
I'm really wit's end.
Thanks in advance.... Good luck..
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ECOS] What I need to run "cyg_thread_delay" onredboot(motorola MBX)
2001-09-20 22:26 [ECOS] What I need to run "cyg_thread_delay" on redboot(motorola MBX) syyi04
@ 2001-09-20 22:37 ` Gary Thomas
0 siblings, 0 replies; 2+ messages in thread
From: Gary Thomas @ 2001-09-20 22:37 UTC (permalink / raw)
To: syyi04; +Cc: ecos-discuss
On Fri, 2001-09-21 at 14:27, syyi04 wrote:
> Hello, everyone.
> Q : How can I run "cyg_thread_delay" on redboot? (Motorola MBX)
>
> The following is what I've done to enable it on redboot.
> It works fine in the ECOS(ram version) but not on redboot(rom version).
> I add some packages to use the ECOS kernel on redboot.
> - eCos kernel
> - Dynamic memory allocation
> - ISO C and POSIX infrastructure, etc.....
> After cyg_scheduler_start, context switching works between threads
> which created by cyg_thread_create(...).
> But stuck in the cyg_thread_delay() function. It never ends.
> What should I initialize to use
> the clock and alarm related functions such as cyg_thread_delay()??
> I'm really wit's end.
>
> Thanks in advance.... Good luck..
Sorry, but none of this belongs in a RedBoot configuration.
RedBoot is designed as a single [thread] environment, to run stand-alone
on your hardware. It is only there to help with bootstrapping and
development and, in deployed systems, aid in system startup and
initialization.
Exactly what are you trying to accomplish?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-09-20 22:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-20 22:26 [ECOS] What I need to run "cyg_thread_delay" on redboot(motorola MBX) syyi04
2001-09-20 22:37 ` [ECOS] What I need to run "cyg_thread_delay" onredboot(motorola MBX) Gary Thomas
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 read-only IMAP folder(s) and NNTP newsgroup(s).