Skip to contentSkip to conversation

hwclock doesn't work

Buildroot JNY 2 participants 3 messages Aug 24, 2010 – Aug 25, 2010

lore
Share & tools
lore

JNY

author
#0 lore raw

When I try to use hwclock on my target system I get the error:

can't open '/dev/misc/rtc'

Is there a buildroot option or setting I've not noticed to enable hwclock?

Signature · 2 lines
View this message in context: http://old.nabble.com/hwclock-doesn%27t-work-tp29519433p29519433.html
Sent from the Buildroot (busybox) mailing list archive at Nabble.com.
#1 lore raw

Am 24.08.2010 09:39, schrieb JNY:

Quoted 4 lines

When I try to use hwclock on my target system I get the error:

can't open '/dev/misc/rtc'
Is there a buildroot option or setting I've not noticed to enable hwclock?

Hi,

Please verify the output of the kernel during bootup. Also accessible via "dmesg" after login. Make sure to have some sort of message, which confirms to activate a real time clock. Setting up a real time clock module is an issue of the kernel. Not buildroot itself.

Quoted 1 line

dmesg|grep -i clock

or

Quoted 1 line

dmesg|grep -i rtc

Regards,
Marcus

author
#2 lore raw
In reply to JNY

When I use dmesg|grep -i rtc, I get the response:
platform rtc-cmos: registered platform RTC device (no PNP device found)

When I use dmesg|grep -i clock, I get the response:
Switching to clocksource pit

If this is dealt with by the kernel, do I have to look through the linux26 menuconfig instead?

Signature · 2 lines
View this message in context: http://old.nabble.com/hwclock-doesn%27t-work-tp29519433p29529545.html
Sent from the Buildroot (busybox) mailing list archive at Nabble.com.