NTP with colibri imx6 issue

hello dear support
i am using Colibri imx 6 ntp with timedatectl commands and /etc/systemd/timesyncd.conf configuration and updated opkg install tzdata*
I have set timedatectl set-ntp false, but the output has changed to:

root@colibri-imx6:~# timedatectl
      Local time: Sat 2023-10-14 09:26:42
  Universal time: Sat 2023-10-14 05:56:42 UTC
        RTC time: Sat 2023-10-14 05:57:10
       Time zone: right/America/Bahia
 Network time on: no
NTP synchronized: yes
 RTC in local TZ: no

Everything is fine when DNS and gateway are not available. However, whenever I set these two items, the time changes to NTP automatically, which is not what I want.
What am I doing wrong in this process?
what should i do to prevent NTP updating my time even if the server is available
I have tried using the command “systemctl mask systemd-timesyncd” and stopping it, but it didn’t work as I intended.
appreciate your support

Hello @me_ahani98 ,
Can you please share with us the output of tdx-info?

Best regards,
Josep

Hello again, my dear friend.
Unfortunately, I am not using BSP above version 6. As mentioned on your website by your engineer, if you are using BSP 6 or later, simply run the following steps. However, I am currently using the 2.8b6 customized image with Yocto.

Hello @me_ahani98 ,
I have tried to reproduce your issue with 2.8b7 and I don’t see any issue:

root@colibri-imx6:~# timedatectl set-time "2015-01-31 11:13:54"
Failed to set time: Automatic time synchronization is enabled
root@colibri-imx6:~# timedatectl set-ntp false
root@colibri-imx6:~# timedatectl set-time "2015-01-31 11:13:54"
root@colibri-imx6:~# timedatectl
      Local time: Sat 2015-01-31 11:14:00 UTC
  Universal time: Sat 2015-01-31 11:14:00 UTC
        RTC time: Sat 2015-01-31 11:14:00
       Time zone: Universal (UTC, +0000)
 Network time on: no
NTP synchronized: no
 RTC in local TZ: no
root@colibri-imx6:~# cat /etc/issue
.---O---.
|       |                  .-.           o o
|   |   |-----.-----.-----.| |   .----..-----.-----.
|       |     | __  |  ---'| '--.|  .-'|     |     |
|   |   |  |  |     |---  ||  --'|  |  |  '  | | | |
'---'---'--'--'--.  |-----''----''--'  '-----'-'-'-'
                -'  |
                '---'

The Angstrom Distribution \n \l

Angstrom v2017.12 - Kernel

Colibri-iMX6_LXDE-Image 2.8b7. 20200610

Best regards,
Josep