Re: kselftest rtctests failed on arm64 Raspberry Pi 4 - rtctest.c:34:date_read:Expected -1 (-1) != self->fd (-1)

From: Alexandre Belloni
Date: Tue Nov 08 2022 - 16:35:37 EST


Hello,

On 08/11/2022 15:17:04+0530, Naresh Kamboju wrote:
> kselftest rtctests failed on arm64 Raspberry Pi 4 Model B device and
> passed on other devices and qemu emulators. Please refer to the
> full logs and test comparison results links.
>

It seems your board doesn't have an rtc at all, the tests will not run
unless you add one.

You can try the following patch: