Difference between revisions of "IoTGateway/BSP/Linux/iMX6/2038y"
(Created page with " NXP IMX6 Arm32 2038 The Year 2038 problem is a time formatting bug in computer systems with representing times after 03:14:07 UTC on 19 January 2038. The bug will happen on...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
The Year 2038 problem is a time formatting bug in computer systems with representing times after 03:14:07 UTC on 19 January 2038. The bug will happen on Unix-like system (so on Linux) because, on 32-bits platforms, the time is coded on a signed 32-bits integer. At 03:14:07 UTC on 19 January 2038, it will loop and then be understood as 20:45:52 UTC on 13 December 1901. | The Year 2038 problem is a time formatting bug in computer systems with representing times after 03:14:07 UTC on 19 January 2038. The bug will happen on Unix-like system (so on Linux) because, on 32-bits platforms, the time is coded on a signed 32-bits integer. At 03:14:07 UTC on 19 January 2038, it will loop and then be understood as 20:45:52 UTC on 13 December 1901. | ||
− | + | [[File:2038 issue.jpg|400x300px|2038_issue.jpg]] | |
− | + | Fixed the NXP IMX6 Arm32 2038 issue in Yocto. | |
− | + | In Yocto, the time64.inc file is primarily used for handling and configuring 64-bit time (time64) support. | |
1. Add the “<font color="#f00">include conf/distro/include/time64.inc</font>” to defaultsetup.conf or advantech-imx6-settings.inc | 1. Add the “<font color="#f00">include conf/distro/include/time64.inc</font>” to defaultsetup.conf or advantech-imx6-settings.inc | ||
− | source/poky/meta/conf/distro/defaultsetup.conf | + | Modify source/poky/meta/conf/distro/defaultsetup.conf or source/meta-advantech/meta-fsl-imx/conf/machine/include/advantech-imx6-settings.inc |
+ | <pre>include conf/distro/include/default-providers.inc | ||
+ | include conf/distro/include/default-versions.inc | ||
+ | include conf/distro/include/default-distrovars.inc | ||
+ | include conf/distro/include/maintainers.inc | ||
+ | include conf/distro/include/time64.inc</pre> | ||
− | + | 2. Modify the "conf/local.conf" | |
− | + | <pre>DL_DIR ?= "${BSPDIR}/downloads/" ACCEPT_FSL_EULA = "1" | |
− | 2. | + | PACKAGE_INSTALL:remove = " packagegroup-fsl-gstreamer1.0-full packagegroup-fsl-gstreamer1.0 imx-gst1.0-plugin-grecorder " |
− | + | PACKAGE_INSTALL:remove = " imx-test packagegroup-fsl-tools-testapps "</pre> | |
− | |||
− | |||
− | PACKAGE_INSTALL:remove = " packagegroup-fsl-gstreamer1.0-full packagegroup-fsl-gstreamer1.0 imx-gst1.0-plugin-grecorder " PACKAGE_INSTALL:remove = " imx-test packagegroup-fsl-tools-testapps " |
Latest revision as of 04:23, 11 September 2024
NXP IMX6 Arm32 2038
The Year 2038 problem is a time formatting bug in computer systems with representing times after 03:14:07 UTC on 19 January 2038. The bug will happen on Unix-like system (so on Linux) because, on 32-bits platforms, the time is coded on a signed 32-bits integer. At 03:14:07 UTC on 19 January 2038, it will loop and then be understood as 20:45:52 UTC on 13 December 1901.
Fixed the NXP IMX6 Arm32 2038 issue in Yocto.
In Yocto, the time64.inc file is primarily used for handling and configuring 64-bit time (time64) support.
1. Add the “include conf/distro/include/time64.inc” to defaultsetup.conf or advantech-imx6-settings.inc
Modify source/poky/meta/conf/distro/defaultsetup.conf or source/meta-advantech/meta-fsl-imx/conf/machine/include/advantech-imx6-settings.inc
include conf/distro/include/default-providers.inc include conf/distro/include/default-versions.inc include conf/distro/include/default-distrovars.inc include conf/distro/include/maintainers.inc include conf/distro/include/time64.inc
2. Modify the "conf/local.conf"
DL_DIR ?= "${BSPDIR}/downloads/" ACCEPT_FSL_EULA = "1" PACKAGE_INSTALL:remove = " packagegroup-fsl-gstreamer1.0-full packagegroup-fsl-gstreamer1.0 imx-gst1.0-plugin-grecorder " PACKAGE_INSTALL:remove = " imx-test packagegroup-fsl-tools-testapps "