PROCESSOR-SDK-AM57X: SDK 9.3 and Y2K38 issue (Year 2038)

Part Number: PROCESSOR-SDK-AM57X

Tool/software:

Hello,

We are upgrading our design to  SDK 9.3.2. I am investigating if the Y2K38 issue is already fixed. The kernel version does support it, and I am able to build applications with the -D_TIME_BITS=64 flag and the size of time_t looks good with it (I'm following this ST guide).

However, when I set the system time beyond 2038 I get some weird behavior for example when trying to cd into a different directory. I can do an "ls" and the files are there, but it just can't change into that directory. I suspect something is missing in the BusyBox binary or I need to pass something extra to the Yocto build. However, I was not able to find any recent reference in this forum to this issue.

I did find this "how to" but it's for a different family: https://software-dl.ti.com/processor-sdk-linux/esd/AM335X/09_03_05_02/exports/docs/linux/How_to_Guides/Target/How_to_fix_y2k38.html 

There, TI says that kirkstone images still don't fix this and we'd need to wait until scarthgap or "just" use the scarthgap rootfs. Does that apply to AM57X SDK as well? Is there a roadmap for TI for this known issue?

Thank you very much for your time on this.

  • Hello Sebastian,

    Yes, this applies to AM57x. The issue was solved at the kernel level but unfortunately not at the  filesystem level as explained in the documentation you cited. (I am getting a similar note added to the upcoming documentation of 11.x release).

    Unfortunately it is true that Kirkstone did not fix this and the Scarthgap will be the release that truly fixies the issue.

    -Josue