1) Since pico ultra boards require luckfox-config > enable csi procedure, how can I enable it within buildroot firmware for production environment?
2) The overlay date&time on RTSP stream is not in sync with local NTP server.
2.a) I added local server ip in /etc/ntp.conf as "server 192.168.100.100 version 3" and reboot but date -R show a date from 2021. I also enabled ntp logs and perform UDP cap trace using wireshark. I can confirm server-client communication is in place. Note that nap services is provided by windows 10 machine in local network.
Code: Select all
[root@luckfox root]# grep ntpd /var/log/messages
Jan 1 14:58:59 luckfox daemon.notice ntpd[222]: ntpd 4.2.8p15@1.3728-o Sun Mar 9 14:56:43 UTC 2025 (1): Starting
Jan 1 14:58:59 luckfox daemon.notice ntpd[222]: Command line: /usr/sbin/ntpd -g -p /var/run/ntpd.pid
Jan 1 14:58:59 luckfox daemon.notice ntpd[222]: ----------------------------------------------------
Jan 1 14:58:59 luckfox daemon.notice ntpd[222]: ntp-4 is maintained by Network Time Foundation,
Jan 1 14:58:59 luckfox daemon.notice ntpd[222]: Inc. (NTF), a non-profit 501(c)(3) public-benefit
Jan 1 14:58:59 luckfox daemon.notice ntpd[222]: corporation. Support and training for ntp-4 are
Jan 1 14:58:59 luckfox daemon.notice ntpd[222]: available at https://www.nwtime.org/support
Jan 1 14:58:59 luckfox daemon.notice ntpd[222]: ----------------------------------------------------
Jan 1 14:58:59 luckfox daemon.info ntpd[245]: proto: precision = 1.167 usec (-20)
Jan 1 14:58:59 luckfox daemon.info ntpd[245]: basedate set to 2025-02-25
Jan 1 14:58:59 luckfox daemon.info ntpd[245]: gps base set to 2025-03-02 (week 2356)
Jan 1 14:58:59 luckfox daemon.notice ntpd[245]: switching logging to file /var/log/ntpd.log
[root@luckfox root]# tail -f /var/log/ntpd.log
1 Jan 14:58:59 ntpd[245]: Listen and drop on 0 v4wildcard 0.0.0.0:123
1 Jan 14:58:59 ntpd[245]: Listen normally on 1 lo 127.0.0.1:123
1 Jan 14:58:59 ntpd[245]: Listening on routing socket on fd #18 for interface updates
1 Jan 14:58:59 ntpd[245]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized
1 Jan 14:58:59 ntpd[245]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized
1 Jan 14:59:05 ntpd[245]: Listen normally on 2 eth0 192.168.100.197:123
[root@luckfox root]# date -R
Sat, 09 Jan 2021 07:22:26 +0000
Code: Select all
luckfox@luckfox:~/luckfox-pico/project/app/rkipc/rkipc/common/network$ cat network.c | grep ntp_server
const char *ntp_server = rk_param_get_string("network:ntp.ntp_server", "127.0.0.1");
3) occasionally I received debug messages as follows. Is this expected?
[video.c][rkipc_ivs_get_results]:MD: md_area is 167936, md_area_threshold is 155520