The Security monitor has a HP RTC and a SM_LP SRTC.
I noticed that they both can not be enabled on TWR-LS1021A board.
I use uboot SDK 1.3 to test, below are logs:
=> md 1e90000
01e90000: 00000000 00000000 00000000 00000000 ................
01e90010: 00000000 88000b00 00000000 00000000 ................
01e90020: 00000000 00000000 00000000 00000000 ................
01e90030: 00000000 00000000 00000000 00000000 ................
01e90040: 00000000 00000000 00000000 00000000 ................
01e90050: 00000000 00000000 00000000 00000000 ................
01e90060: 00000000 00000000 00000000 00000000 ................
01e90070: 00000000 00000000 00000000 00000000 ................
01e90080: 00000000 00000000 00000000 00000000 ................
01e90090: 00000000 00000000 00000000 00000000 ................
01e900a0: 00000000 00000000 00000000 00000000 ................
01e900b0: 00000000 00000000 00000000 00000000 ................
01e900c0: 00000000 00000000 00000000 00000000 ................
01e900d0: 00000000 00000000 00000000 00000000 ................
01e900e0: 00000000 00000000 00000000 00000000 ................
01e900f0: 00000000 00000000 00000000 00000000 ................
=> mm 1e90038
01e90038: 00000000 ? ffffffff
01e9003c: 00000000 ? .
=> mm 1e90008
01e90008: 00000000 ? ffffffff
01e9000c: 00000000 ? .
=> md 1e90000
01e90000: 00000000 00000000 00007cf8 00000000 .........|......
01e90010: 00000000 88000b00 00000000 00000000 ................
01e90020: 00000000 00000000 00000001 00000000 ................
01e90030: 00000000 00000000 00000000 00000000 ................
01e90040: 00000000 00000000 00000000 00000000 ................
01e90050: 00000000 00000000 00000000 00000000 ................
01e90060: 00000000 00000000 00000000 00000000 ................
01e90070: 00000000 00000000 00000000 00000000 ................
01e90080: 00000000 00000000 00000000 00000000 ................
01e90090: 00000000 00000000 00000000 00000000 ................
01e900a0: 00000000 00000000 00000000 00000000 ................
01e900b0: 00000000 00000000 00000000 00000000 ................
01e900c0: 00000000 00000000 00000000 00000000 ................
01e900d0: 00000000 00000000 00000000 00000000 ................
01e900e0: 00000000 00000000 00000000 00000000 ................
01e900f0: 00000000 00000000 00000000 00000000 ................
It seems that below bits can not be modified, so that the SRTC can not be enabled.
RTC_EN - HP Real Time Counter Enable 0 RTC is disabled 1 RTC is enabled
SRTC_ENV - Secure Real Time Counter Enable and Valid
When set, the SRTC becomes operational. This bit cannot be changed once SRTC_SL or SRTC_HL bit is set.
0 SRTC is disabled or invalid.
1 SRTC is enabled and valid.
Is this because both below are not used?
TA_BB_RTC and RTC_CLK
Any update on this?