This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/PROCESSOR-SDK-AM335X: Disable RTC

Part Number: PROCESSOR-SDK-AM335X

Tool/software: Linux

I am trying to disable RTC on the linux 4.4.41 kernel.

* I changed the RTC status to disabled in .dts file.

* Removed the RTC entries in the config file.

*tried removing  am33xx_l4_wkup__rtc from array am33xx_hwmod_ocp_ifs from kernel source code, as described here:

https://e2e.ti.com/support/arm/sitara_arm/f/791/t/485319?tisearch=e2e-quicksearch&keymatch=remove%20rtc

The board boots up fine without the crystal.

However, some errors can be seen on the kernel boot log:

[ 14.231638] pm33xx: Unknown symbol rtc_write_scratch (err 0)
[ 14.231666] pm33xx: Unknown symbol rtc_class_open (err 0)
[ 14.231709] pm33xx: Unknown symbol rtc_read_scratch (err 0)

[ 14.455049] pm33xx: Unknown symbol rtc_write_scratch (err 0)
[ 14.455079] pm33xx: Unknown symbol rtc_class_open (err 0)
[ 14.455122] pm33xx: Unknown symbol rtc_read_scratch (err 0)

Does anyone know why that is?

Kind regards,

Ugnius