Skip to contentSkip to conversation

Time of day clock on arm?

Qemu-devel Rob Landley 3 participants 3 messages Jul 4, 2007

lore
Share & tools
lore
#0 lore raw

Does arm (versatilepb) have any kind of battery backed clock? I can't find a way to init the linux kernel's clock from the kernel command line, and if there's clock hardware that should be initializing it I haven't enabled the driver in the kernel config. It's coming up set to Jan 1 1970, which is making the binutils build I tried go a little screwy...

Rob

Signature · 2 lines
"One of my most productive days was throwing away 1000 lines of code."
  - Ken Thompson.
#1 lore raw
Quoted 5 lines · Rob Landley

Does arm (versatilepb) have any kind of battery backed clock? I can't find a way to init the linux kernel's clock from the kernel command line, and if there's clock hardware that should be initializing it I haven't enabled the driver in the kernel config. It's coming up set to Jan 1 1970, which is making the binutils build I tried go a little screwy...

Fixed a few days ago.

Paul

#2 lore raw
In reply to Rob Landley
Quoted 5 lines · Rob Landley

Does arm (versatilepb) have any kind of battery backed clock? I can't find a way to init the linux kernel's clock from the kernel command line, and if there's clock hardware that should be initializing it I haven't enabled the driver in the kernel config. It's coming up set to Jan 1 1970, which is making the binutils build I tried go a little screwy...

See here: http://lists.gnu.org/archive/html/qemu-devel/2007-06/msg00211.html
about linux support. The Spitz etc. emulation also has a working RTC. Unless you're on a laptop, it's not battery backed but it should do ;)

Regards,