I’m using a Colibri iMX6DL 512MB V1.1A board and I tested if setting the date to 2038 will work. Setting the date was successful by setting it via
date --set "2038-07-02 10:29:21"
I played around with my app, then suddenly the system rebooted and does not come up anymore. On the console I get the error message:
ostree-prepare-root: stat(/rootfs/ostree/deploy/torizon/deploy/e4e3b13d26ab8a104275700c1410ed317cb904539702c81370a492ad349c209f.0) failed: Value too large for defined data type
ERROR: There's no '/dev' on rootfs
Here is the complete boot log:
Commercial temperature grade DDR3 timings, 64bit bus width.
Trying to boot from MMC1
U-Boot 2022.07-6.6.1+git.e092e3250270 (Jan 01 1970 - 00:00:00 +0000)
CPU: Freescale i.MX6DL rev1.4 996 MHz (running at 792 MHz)
CPU: Commercial temperature grade (0C to 95C) at 45C
Reset cause: POR
DRAM: 512 MiB
PMIC: device id: 0x10, revision id: 0x21, programmed
Core: 72 devices, 17 uclasses, devicetree: separate
MMC: FSL_SDHC: 1, FSL_SDHC: 0
Loading Environment from MMC... OK
In: serial@2020000
Out: serial@2020000
Err: serial@2020000
Model: Toradex 0079 Colibri iMX6DL 512MB V1.1A
Serial#: 11370950
Net: eth0: ethernet@2188000
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
973 bytes read in 1 ms (950.2 KiB/s)
## Executing script at 18280000
6668 bytes read in 2 ms (3.2 MiB/s)
65273 bytes read in 4 ms (15.6 MiB/s)
69 bytes read in 2 ms (33.2 KiB/s)
Applying Overlay: colibri-imx6_panel-cap-touch-7inch_adapter_overlay.dtbo
1975 bytes read in 3 ms (642.6 KiB/s)
11571712 bytes read in 305 ms (36.2 MiB/s)
5071839 bytes read in 134 ms (36.1 MiB/s)
Kernel image @ 0x14200000 [ 0x000000 - 0xb09200 ]
## Flattened Device Tree blob at 18200000
Booting using the fdt blob at 0x18200000
Loading Ramdisk to 1fb29000, end 1ffff3df ... OK
Loading Device Tree to 1faf6000, end 1fb28fff ... OK
Starting kernel ...
[ 1.513020] physmap-flash 8000000.sram: map_probe failed
[ 1.523903] physmap-flash a000000.sram: map_probe failed
Starting version 250.5+
ostree-prepare-root: stat(/rootfs/ostree/deploy/torizon/deploy/e4e3b13d26ab8a104275700c1410ed317cb904539702c81370a492ad349c209f.0) failed: Value too large for defined data type
ERROR: There's no '/dev' on rootfs.
This sounds like a 2038 problem.