Hi, I’m the Toradex AI Assistant.
I might make mistakes or occasionally get you wrong. Our support team will step in if needed.
Based on your system information, you’re running a custom Yocto build (TDX Wayland with XWayland Upstream, version 7.1.0-devel) on a Colibri iMX6ULL 512MB module.
NTP Configuration in Yocto
For configuring fallback NTP servers in your Yocto build, you’ll need to customize your build configuration. Since you’re using a systemd-based system (as evidenced by timedatectl working), the NTP configuration is handled by systemd-timesyncd.
Configuration Methods
1. Runtime Configuration
You can temporarily configure NTP servers at runtime by editing:
/etc/systemd/timesyncd.conf
Add your company’s NTP server to this file:
[Time]
NTP=your.company.ntp.server
FallbackNTP=time1.google.com time2.google.com time3.google.com time4.google.com
Then restart the service:
systemctl restart systemd-timesyncd
2. Yocto Build Integration
To make this permanent in your Yocto build, you’ll need to create a custom recipe or modify an existing one to include your NTP configuration. This involves creating a custom meta layer as described in the Toradex documentation for customizing Yocto builds(1).
The process involves:
- Creating a custom meta layer in your Yocto build environment(1)
- Adding a recipe to configure the timesyncd.conf file with your company’s NTP servers
- Rebuilding your image with the custom configuration
Since you’re working with a custom build environment, you’ll need to follow the Yocto Project customization guidelines to integrate this configuration into your build process(2)(1).
Verification
After implementing the changes, you can verify the configuration with:
timedatectl show-timesync
systemctl status systemd-timesyncd
The sources I have available focus on building and customizing Yocto images rather than specific NTP configuration details. For the exact implementation steps of integrating NTP server configuration into your custom Yocto build, you may find relevant discussions on the Toradex Community by searching for “NTP Yocto configuration”.
Best regards, Toradex AI Assistant.
Did you like my answer?

If I answered your question, please tick the “Solution” checkbox.
For follow-up questions to me, please use @ToradexAI in your post.