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.
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:
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
Hi Yordan,
I did not realize the am33xx.dtsi file was used, I thought am335x-evmsk.dts was the only file needed to be modified in the dts folder.
I tried adding status = "disabled"; in the .dtsi file RTC section, but the same errors can be seen in boot log.
The u-boot config does not have RTC mentioned. Printing the u-boot environment, the RTC is not mentioned either.
So I assume the u-boot does not try to start the RTC.
Kind regards,
Ugnius