[ntp:questions] (no subject)

Richard B. Gilbert rgilbert88 at comcast.net
Fri Apr 3 23:24:11 UTC 2009


Ryan Malayter wrote:
> On Fri, Apr 3, 2009 at 7:32 AM, Varrun Ashok <varrunashok at yahoo.com> wrote:
>> Hello everybody,   Why does ntp (ntp-4.2.4p4 in specific) require an
> operating system?
>> I use embedded Linux (kernel-2.6.23-rc3+Busybox+grub) to run ntpd and ntpq.I
> would
>> like to run NTP (ntpd and ntpq) in a product developent kit of LPC 2378
> microcontroller
>> that does not have support for uClinux,Linux or WINCE.Is it possible?Can I
> use a part
>> of the source code inside the ntp4.2.4p4.tar.gz package and compile it and
> run it
>> without any OS.Please give me your suggestions,links and other materials
> that
>> answer the above questions.
> 
> ntpd relies on the host OS for a great many functions, including:
>    IP networking services
>    Hardware device drivers
>    Process management
>    Interrupt handling
>    File-system management (for configuration files and logs)
>    System clock and timer services
> 
> If you your microcontroller development kit can supply all of those
> services using similar APIs as the ntp code requires, then you can
> probably hack ntp into working on that microcontroller. But if not,
> then you will have to add all of that functionality into ntpd's code
> base yourself.
> 
> 
> --
> RPM

ISTR that PHK has been running NTPD on Soekris single board computers 
with the program and O/S (if any) in PROM.  When you don't have a file 
system or much in the way of hardware and you run a single application, 
you don't NEED much of an O/S.




More information about the questions mailing list