Go to file
Matt Weber 5e08d92947 package/ntp: sntp time sync script
This patch adds the installation of a startup script if the sntp
utility is selected as an option. The utility is design to do a
one time step/slew adjustment of the system time (similar to the
ntpdate tool http://support.ntp.org/bin/view/Dev/DeprecatingNtpdate).
One nice benefit over ntpdate is that sntp can run while ntpd is still
running. However, ntpd may still need to be restarted if the time
step was large enough.

The script provides the ability to override the arguments as part of a
/etc/defaults/sntp file.

On a local LAN, the initial large step adjustment took less then
one second to be retrieved and system time updated. If a user already
has a RTC maintaining the time and the system was powered off for
a long period of time, the script assumes a slew adjustment when
+/- 128ms, rather then a time step(jump). This could be further
tuned by a user with the /etc/defaults/sntp configuration file.

One NTP pool server is being set as sntp uses all of the servers
provided when the DNS is resolved as servers to attempt to retrieve
time from before timing out. It looks like currently that is 4 servers
per *pool.ntp.org hostname.

Cc: Oscar Gomez Fuente <oscargomezf@gmail.com>
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Tested-by: Oscar Gomez Fuente <oscargomezf@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2019-02-03 20:35:26 +01:00
arch arch: add support for RISC-V 32-bit (riscv32) architecture 2019-01-06 14:09:31 +01:00
board qemu/aarch64-virt: Emulate cortex-a53 in qemu to match Buildroot config 2019-01-27 22:38:45 +01:00
boot boot/uboot: use HOSTCC_NOCCACHE as kconfig HOSTCC 2019-01-16 23:38:13 +01:00
configs qemu_riscv64_virt_defconfig: fix linux header selection 2019-01-28 22:04:33 +01:00
docs docs/website: update for 2018.02.10 2019-01-31 22:39:37 +01:00
fs fs/common.mk: make sure that static devices from packages are created 2018-12-04 21:53:14 +01:00
linux linux: add option to enable support for Device Tree overlays 2019-02-03 20:27:41 +01:00
package package/ntp: sntp time sync script 2019-02-03 20:35:26 +01:00
support support/testing/infra/basetest: support br2-external 2019-01-29 22:16:33 +01:00
system skeleton: use BR2_SYSTEM_DEFAULT_PATH as default PATH 2018-12-31 14:32:44 +01:00
toolchain toolchain-external: update Arm AArch64 toolchain 8.2-2018.11 2019-01-04 12:45:17 +01:00
utils utils/check-package: handle ifdef/ifndef in .mk files 2019-01-29 16:38:41 +01:00
.defconfig arch: remove support for sh64 2016-09-08 22:15:15 +02:00
.flake8 .flake8: ignore utils/diffconfig 2018-03-13 22:37:54 +01:00
.gitignore
.gitlab-ci.yml support/testing: add atop test 2019-01-28 10:00:45 +01:00
.gitlab-ci.yml.in .gitlab-ci.yml: store .config files as artefacts for defconfig tests 2018-12-09 17:31:13 +01:00
CHANGES Update for 2018.02.10 2019-01-31 22:12:51 +01:00
Config.in core/download: drop the SSH command 2018-11-19 22:11:31 +01:00
Config.in.legacy package/boost: bump to version 1.69.0 2019-01-13 21:45:43 +01:00
COPYING
DEVELOPERS package/rtc-tools: new package 2019-01-16 10:56:25 +01:00
Makefile Makefile: move definition of TARGET_DIR inside .config condition 2019-01-17 22:38:52 +01:00
Makefile.legacy Remove BR2_DEPRECATED 2016-10-15 23:14:45 +02:00
README

Buildroot is a simple, efficient and easy-to-use tool to generate embedded
Linux systems through cross-compilation.

The documentation can be found in docs/manual. You can generate a text
document with 'make manual-text' and read output/docs/manual/manual.text.
Online documentation can be found at http://buildroot.org/docs.html

To build and use the buildroot stuff, do the following:

1) run 'make menuconfig'
2) select the target architecture and the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) find the kernel, bootloader, root filesystem, etc. in output/images

You do not need to be root to build or run buildroot.  Have fun!

Buildroot comes with a basic configuration for a number of boards. Run
'make list-defconfigs' to view the list of provided configurations.

Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@buildroot.org
You can also find us on #buildroot on Freenode IRC.

If you would like to contribute patches, please read
https://buildroot.org/manual.html#submitting-patches