Skip to contentSkip to conversation

TODC on ppc440

DISCUSSION Shawn Jin 2 participants 2 messages Apr 22, 2005

lore
Share & tools
lore

Shawn Jin

author
#0 lore raw

Hi,

Our SoC using ppc440 core will run on an emulator first. It doesn't have an external RTC. Hence time_init, set_rtc_time, get_rtc_time of ppc_md are all set to NULL. No TODC_ALLOC() is defined.

I'm wondering if todc is vital to make OS run correctly. Is there any other choice?

I grepped ppc_md.time_init in the kernel source. It seems that linux can run without ppc_md.time_init.

Any ideas?

-Shawn.

#1 lore raw
Quoted 6 lines · Shawn Jin

Our SoC using ppc440 core will run on an emulator first. It doesn't have an external RTC. Hence time_init, set_rtc_time, get_rtc_time of ppc_md are all set to NULL. No TODC_ALLOC() is defined.

I'm wondering if todc is vital to make OS run correctly. Is there any other choice?

No, RTC isn't required for Linux to run, but usually is useful to have.

Signature · 1 line
Eugene