Re: clock_settime fail on qemu-xilinx-zynq-a9

2020-04-14 Thread Heinz Junkes
Hello, Sebastian, thanks for the patches. Of course, I only came up with that mistake by chance. In my program I try to get the current time from a ntp-server and set it afterwards with clock_settime on the target. The access to the ntp-server failed and the timespec variable for the clock_sett

Re: clock_settime fail on qemu-xilinx-zynq-a9

2020-04-13 Thread Sebastian Huber
Hello Heinz, this assertion is definitely an error (clock_settime should return EINVAL instead), however, why do you want to set a time after Wednesday, May 30, 2514? ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/use

clock_settime fail on qemu-xilinx-zynq-a9

2020-04-13 Thread Heinz Junkes
When calling clock_settime(CLOCK_REALTIME, &now) under qemu (arm-rtems5-xilinx_zynq_a9_qemu) I get an error: assertion "!_Watchdog_Is_far_future_timespec( ts )" failed: file "/home/h1/GSOC/RTEMS_DEV/rtems-5.0.0-m2003/cpukit/include/rtems/score/watchdogimpl.h”, line 530, function: _Watchdog_Ti