we are using an imx8 with an Ixora rev 1.2 carrier board.
We try to use the external RTC of the carrier board to not lose date and time when the board is powered off.
I put a CR1220 battery in the battery slot of the RTC but it is not recognized by the imx8.
I found this page how to use the RTC on the imx8 board.
Using dmesg I get the following output:
n11-em11:~$ dmesg | grep rtc [ 1.160618] imx-drm display-subsystem: bound imx-dpu-crtc.0 (ops dpu_crtc_ops) [ 1.161183] imx-drm display-subsystem: bound imx-dpu-crtc.1 (ops dpu_crtc_ops) [ 1.161564] imx-drm display-subsystem: bound imx-dpu-crtc.3 (ops dpu_crtc_ops) [ 1.161935] imx-drm display-subsystem: bound imx-dpu-crtc.4 (ops dpu_crtc_ops) [ 2.695359] [drm] Cannot find any crtc or sizes [ 2.862350] imx_sc_rtc rtc: rtc core: registered rtc as rtc0 [ 3.712565] [drm] Cannot find any crtc or sizes [ 3.834169] imx_sc_rtc rtc: setting system clock to 1970-01-01 00:00:07 UTC (7)
So it looks like the external RTC is not found by the device.
Did i miss something?
In the datasheet of the ixora boad is written, that the RTC is accessed via I2C. Do we have to write our own driver to use it?
Or is this issue fixed in a newer torizon version? (Mine is TorizonCore 4.0.0-devel-202007+build.17 (zeus))
Thanks for your help,