- Download ntp-4.2.8p15.tar.gz
- tar -xvf ntp-4.2.8p15.tar.gz
-
implement
./configure --host=arm-none-linux-gnueabi CC=/opt_WQ/4.9.3/bin/arm-cortexa9-linux-gnueabihf-gcc --with-yielding-select=yes
-
make
-
Copy the ntdate of the ntpdate folder to the development department /usr/bin
scp ntpdate [email protected]:/usr/bin
-
/etc/profile added
export TZ='cst-8'
Execute sourec /etc/profile
-
Add crontab to execute every minute
crontab -e * * * * * /usr/bin/ntpdate -u ntp.api.bz * * * * * /sbin/hwclock -w
ntpdate ported to ARM32 platform
Guess you like
Origin blog.csdn.net/yhjahjj1314/article/details/126737114
Ranking