Wind River Support Network

HomeDefectsLIN1018-4382
Fixed

LIN1018-4382 : Unix time built by WindRiver Linux LTS18 does not start from 1970-01-01

Created: Jul 3, 2019    Updated: Oct 14, 2019
Resolved Date: Oct 14, 2019
Found In Version: 10.18.44.7
Fix Version: 10.18.44.11
Severity: Standard
Applicable for: Wind River Linux LTS 18
Component/s: Userspace

Description

This is not a bug, more a question on usability.

In WRL LTS18, if there is no RTC or network time synchronization, the Unix time of the target image does not start from 1970-01-01, but from the kernel build time.

In order to test this, I'm running a VM with my image without time synchronization and when running "date" I get a past date:

Thu Jun 20 16:07:27 UTC 2019

which also matches the build time in /proc/stat: "btime 1561046842"
Live chat
Online