linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "John Zhou" <zjzhou@newrocktech.com>
To: <wd@denx.de>
Cc: "'Mailing List: linuxppc-dev'" <linuxppc-dev@lists.linuxppc.org>
Subject: RE: A question on kernel clock:
Date: Tue, 30 Dec 2003 18:45:42 +0800	[thread overview]
Message-ID: <000501c3cec2$130dbab0$b702a8c0@newrock2> (raw)
In-Reply-To: <20031230102235.32DD9C12DD@atlas.denx.de>


Dear Wolfgang,

Thanks very much and Happy New year to you and your family!

I'm sorry for my simple question description.

The processor I mentioned is MPC82xx. Now, I have kernel from kernel.org
run on the board. But, my "nsleep()" is not exactly. So, I want to
realize the timer mechanism of Linux used.

(1) which timer is used for nsleep?

(2) can udelay() be changed to be preempted by other process?

(3) which is good choice for Kernel timeslice?

Additional, could we develop a bootloader like vxworks' bootloader? (
vxworks bootloader is a little vxworks, I think.)

John

-----Original Message-----
From: wd@denx.de [mailto:wd@denx.de]
Sent: Tuesday, December 30, 2003 6:23 PM
Subject: Re: A question on kernel clock:

in message <000301c3ce9e$ff345440$b702a8c0@newrock2> you wrote:
>
> A question on kernel clock:

I wish you would explain in a bit more detail what you are talking
about...

> Normally, which is kernel clock source? Can we use any one of

Normally the kernel clock source is a quartz oscillator.

Or what do you mean? "clock source" can mean different things to
different people and may be different on differenrt processors.

The kernel uses the decrementer for the system tick.

> BRG1-8? Can we use bus clock? Which is good for choice?

Use BRG1-8? On which processor? What for?

Good for choice? On which hardware? For which purpose?

> Can anyone give me some suggestions?

Yes: please ask more specific questions.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2003-12-30 10:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-23 14:46 NULL-pointer dereference in ELF core dump, and proposed fix John Whitney
2003-12-24  3:51 ` Benjamin Herrenschmidt
2003-12-30  6:34   ` A question on kernel clock: John Zhou
2003-12-30 10:22     ` Wolfgang Denk
2003-12-30 10:45       ` John Zhou [this message]
2003-12-30 18:49         ` Wolfgang Denk
2003-12-30 21:07           ` Dale Harris
2003-12-30 21:40             ` Wolfgang Denk
2003-12-31  4:15               ` John Zhou
2003-12-31  2:44           ` John Zhou
2003-12-31  2:44           ` about small dhcp client/server and http client/server John Zhou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000501c3cec2$130dbab0$b702a8c0@newrock2' \
    --to=zjzhou@newrocktech.com \
    --cc=linuxppc-dev@lists.linuxppc.org \
    --cc=wd@denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).