[Buildroot] hwclock again

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Sep 2 12:02:03 UTC 2010


On Thu, 2 Sep 2010 04:29:07 -0700 (PDT)
JNY <jny0 at hotmail.com> wrote:

> I've enabled 
> CONFIG_RTC=y
> CONFIG_GEN_RTC=y
> in linux-2.6.32.9.config and set the environment variable to read
> this file. After building and installing, I still get
> '/dev/misc/rtc': No such file or directory when I use hwclock.
> 
> Why won't the hwclock work?

Because nobody created /dev/misc/rtc. By default, Buildroot uses a
static /dev, so you have to manually add the missing device files.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com


More information about the buildroot mailing list