OK-MX9352-C Single Board Computer
1. NTP Synchronization Time
The iMX9352 chip supports the Network Time Protocol (NTP) synchronized time function, which allows users to obtain time information from an NTP server by entering the NTP command at the terminal. NTP timing can be easily achieved by ensuring that the board can connect to an external network.2. Time Zone Setting
The /usr/share/zoneinfo/ path contains the time zone files supported by imx93; changing the time zone is simply a matter of replacing /etc/localtime with the time zone file in that path.As an example, let's use the time zone of Shanghai for the eastern eight zones, and soft link /usr/share/zoneinfo/Asia/Shanghai to /etc/localtime: first delete /etc/localtime, and then generate the soft link:
3. Modify the time zone file in the file system image
When using batch burning, to replace the time zone file board by board is obviously unrealistic, so we can directly modify the file system zip➔modify the time zone file to repackage the file system➔replace the zip in the burning tool➔burn with the new burning tool.The path to the iMX93 file system in the source code is
OKMX93-linux-sdk/OKMX93-linux-fs/rootfs.
Run the following command in the Ubuntu development environment:
Originally published at www.forlinx.net.