Part Number: AM5718
Hi,
while the customer board runs Linux, I want to ask the question generically first:
What could prevent access to the RTC module registers?
The customer board fails to boot Linux with nothing after Starting kernel... and we have used CCS to debug the early phase of the kernel boot and traced the issue to a place in omap_hwmod.c that attempts to access the RTC_SS module registers specifically 0x48838078. The kernel uses a virtual address for this but it translates to this physical address. The kernel is unable to complete a read from this location and this causes a Data Abort.
Further examination shows that in this particular place of the kernel, it is unable to access the RTC_SS Module Target port at address 0x48838000...0x48838FFF.
First I checked the interface clock in CM_RTC_CLKSTCTRL at 0x4A006740, which reads 0x502 and would suggest that the module has clock activity on AUX clock and interface clock RTC_L4_GICLK.
The register CM_RTC_RTCSS_CLKCTRL shows value 0x2, which suggests that the module is enabled.
Could you confirm that from a clock standpoint, this is ok?
Secondly I am going to check into the VD_RTC, that it has power.
Are there any other things to pay attention to?
Thanks,
--Gunter